0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-23 10:11:53 +00:00
bird/proto/ospf
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
..
config.Y Store protocol config size inside protocol structure 2015-02-21 21:08:23 +01:00
dbdes.c Fininshing integrated OSPF. 2014-11-03 10:42:55 +01:00
Doc Doc. 2000-06-07 23:23:37 +00:00
hello.c Fininshing integrated OSPF. 2014-11-03 10:42:55 +01:00
iface.c Bugfix in latest OSPF changes. 2014-11-03 20:35:25 +01:00
lsack.c Fininshing integrated OSPF. 2014-11-03 10:42:55 +01:00
lsalib.c OSPF: Fixes validation of LSA checksums 2015-04-29 13:43:15 +02:00
lsalib.h OSPF: Fixes validation of LSA checksums 2015-04-29 13:43:15 +02:00
lsreq.c Fininshing integrated OSPF. 2014-11-03 10:42:55 +01:00
lsupd.c OSPF: Fixes validation of LSA checksums 2015-04-29 13:43:15 +02:00
Makefile Routing table calculation. Dijkstra done. 2000-04-26 12:54:23 +00:00
neighbor.c Fininshing integrated OSPF. 2014-11-03 10:42:55 +01:00
ospf.c Store protocol config size inside protocol structure 2015-02-21 21:08:23 +01:00
ospf.h Minor fixes 2015-04-12 10:47:17 +02:00
packet.c Fininshing integrated OSPF. 2014-11-03 10:42:55 +01:00
rt.c OSPF: Fixes handling of external routes with immediate gw 2015-04-18 13:26:45 +02:00
rt.h Temporary integrated OSPF commit. 2014-07-18 18:24:12 +02:00
topology.c Bugfix in latest OSPF changes. 2014-11-03 20:35:25 +01:00
topology.h Whitespace cleanup in OSPF. 2014-07-19 17:28:38 +02:00