simple patch for RIPng

Goesta Smekal goesta at smekal.at
Sat Jan 21 14:03:57 CET 2012


Dear List,

  as I stated earlier last November, there are some simple issues, which
prevent RIPng (aka IPv6 RIP) from working. Despite my rather basic
knowledge of C I endeavoured to try and fix it.

  So far, two things are fixed by my patch: the UDP port is set to 521
(instead of 520 for IPv4 RIP) and the version number set to 1.

  At least the protocol dissector of wireshark now accepts the packets
as correct RIPng messages (instead of "unknown protocol"). Anyway, my
virtualized test setup does not yet exchange routes. This may as well be
due to an error in my setup.

  Feedback is very appreciated ...

  Goesta

-- 
#!/usr/bin/perl
foreach $c (split(/ /,"47 6f 65 73 74 61 20 53 6d 65 6b 61 6c 0d 0a")) {
print pack("C", hex($c));}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bird_ripng.patch
Type: text/x-patch
Size: 1020 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20120121/fcfd2aba/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20120121/fcfd2aba/attachment.asc>


More information about the Bird-users mailing list