30d09eb96e
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. |
||
---|---|---|
.. | ||
config.Y | ||
dbdes.c | ||
Doc | ||
hello.c | ||
iface.c | ||
lsack.c | ||
lsalib.c | ||
lsalib.h | ||
lsreq.c | ||
lsupd.c | ||
Makefile | ||
neighbor.c | ||
ospf.c | ||
ospf.h | ||
packet.c | ||
rt.c | ||
rt.h | ||
topology.c | ||
topology.h |