0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-23 02:01:55 +00:00
bird/proto
Ondrej Zajicek dea6bb4899 OSPF: Fixes validation of LSA checksums
Prior to this patch, BIRD validates the OSPF LSA checksum by calculating
a new checksum and comparing it with the checksum in the header. Due to
the specifics of the Fletcher checksum used in OSPF, this is not
necessarily correct as the checkbytes in the header may be calculated via
a different means and end up with a different value that is nonetheless
still correct.

The documented means of validating the checksum as specified in RFC 905
B.4 is to calculate c0 and c1 from the unchanged contents of the packet,
which must result in a zero value to be considered valid.

Thanks to Chris Boot for the patch.
2015-04-29 13:43:15 +02:00
..
bfd Use IP_PORTRANGE_HIGH for BFD where available 2015-02-22 20:14:14 +01:00
bgp BGP: Fixes serious bug in TX handling 2015-04-01 00:10:00 +02:00
ospf OSPF: Fixes validation of LSA checksums 2015-04-29 13:43:15 +02:00
pipe Store protocol config size inside protocol structure 2015-02-21 21:08:23 +01:00
radv Store protocol config size inside protocol structure 2015-02-21 21:08:23 +01:00
rip Addition necessary includes in headers files 2015-03-17 12:39:10 +01:00
static Store protocol config size inside protocol structure 2015-02-21 21:08:23 +01:00
Doc Initial BFD commit, work in progress. 2013-09-10 12:09:36 +02:00