OSPF/OSPFv3 supports packet authentication, whereby packets are accepted only if they are authenticated. If packets fail to be authenticated, a neighbor relationship cannot be established. If area authentication is configured, all the devices in an area must use the same authentication mode and password. For example, all devices in area 0 are configured with simple authentication and the password abc. When interface authentication is used, an authentication mode and password are set between neighboring devices. Interface authentication takes precedence over area authentication.
OSPF/OSPFv3 is susceptible to mainly forged packet-based attacks. To identify and discard these packets, packet authentication can be configured.
An attacker may use the following methods to initiate attacks:
Change the aging time of packets to the maximum value so that all devices flood these packets.
Advertise the LSAs in which the sequence numbers are equal to or close to the maximum value.
Change the sequence number when the state of the encryption sequence number resets during a neighbor restart.
Change the neighbor list in Hello packets.
None
If you use OSPFv3 area authentication, the authentication and password configurations on all routers in the same area must be the same.