[Olsr-dev] [PATCH] fix hash handling for IP{v4,v6}

Hagen Paul Pfeifer (spam-protected)
Tue May 6 00:51:52 CEST 2008

now I know why olsrd is so incredible fast ... the hashing is complete broken!

The following patch fix the hash functionality for IP{v4,v6} addresses.
Currently the code is _really_ buggy, especially for IPv6 (where nearly[tm]
every address result in a collision). This patch try to fix them. "Try"
because the hash result should be mixed with an additional magic cookie to
prevent some kind of spoofing attacks. But because that isn't a hot topic at
the moment this patch should be fine.

Best regards, Hagen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-hash-rework.patch
Type: text/x-diff
Size: 3273 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20080506/cdb03ae7/attachment.patch>

More information about the Olsr-dev mailing list