« Previous | Next » 

Revision 024c310b

ID024c310b537abc3ddbac3054de71fd759d422824
Parent b722fe7e
Child c8a6b9a3

Added by Ondrej Zajicek about 12 years ago

Fixes broken cryptographic authentication in OSPF

Cryptographic authentication in OSPF is defective by
design - there might be several packets independently
sent to the network (for example HELLO, LSUPD and LSACK)
where they might be reordered and that causes crypt.
sequence number error.

That can be workarounded by not incresing sequence number
too often. Now we update it only when last packet was sent
before at least one second. This can constitute a risk of
replay attacks, but RFC supposes something similar (like time
in seconds used as CSN).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences