[Babel-users] babels bug with uninitialized data somewhere?

Matthieu Boutier boutier at pps.univ-paris-diderot.fr
Thu Jun 26 22:32:22 UTC 2014


> There is no conf file.
> 
> ./babeld -z3 eth0 wlan0 eth6

Sorry, I mean, on the other nodes of the network... (since the route seems announced with that strange source.  Good question: does I allow martian routes to be announced?  And anyway, it should never be authorized in a config file.)

>>> picking up unitialized data somewhere?
>> 
>> Uninitialized at exactly 128 seems strange.
> 
> Yes, but the constant change in the last few bits strongly implies something
> is getting corrupted somewhere.

Well, I think there is a bug here, thanks: it seems we use "format_address" instead of "format_eui64" on a 8 bytes buffer.  But this should just change:

Rejecting martian route to ::/0 from ::/128 through a221:b7ff:feac:e456:70:9601::.
Rejecting martian route to ::/0 from ::/128 through a221:b7ff:feac:e456:7b:9601::.
Rejecting martian route to ::/0 from ::/128 through a221:b7ff:feac:e456:ef:9601::.
Rejecting martian route to ::/0 from ::/128 through a221:b7ff:feac:e456:df:9601::.
Rejecting martian route to ::/0 from ::/128 through a221:b7ff:feac:e456:80:9601::.
Rejecting martian route to ::/0 from ::/128 through a221:b7ff:feac:e456::.

to

Rejecting martian route to ::/0 from ::/128 through a221:b7ff:feac:e456
Rejecting martian route to ::/0 from ::/128 through a221:b7ff:feac:e456
Rejecting martian route to ::/0 from ::/128 through a221:b7ff:feac:e456
Rejecting martian route to ::/0 from ::/128 through a221:b7ff:feac:e456
Rejecting martian route to ::/0 from ::/128 through a221:b7ff:feac:e456
Rejecting martian route to ::/0 from ::/128 through a221:b7ff:feac:e456

Reminder: you should read that:

Rejecting martian route to <IP DEST> from <IP SRC> through <ROUTER ID>

Matthieu




More information about the Babel-users mailing list