[olsr-dev] bug in mdi code
Mon Oct 23 16:27:17 CEST 2006
Here is what the node should do as far as I can remember(I have not
had time to verify this).
There is no way of telling the network that a node changes it's
IP since this is it's primary key so to speak. So when a node changes
it (main) address the old entry must time out troughout the network.
So when a MID entry is registered for node A with ip A1 and node
A changes it's IP to A2 then the A1 entry must time out in the MID set
of the other nodes before it is deleted.
Are you saying the old entry is never deleted?
Daniel Poelzleithner wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> I found a bug in the mdi code. If you have a ethernet bridge on two
> nodes both with extra ip's for the lan connection, and one node changes
> its main wifi ip. olsrd gets confused, using the old mdi entry to route
> to the old target, ignoring that the new target uses the same mdi entry.
> This also happens if you move the mdi ip from one node to another, or by
> accident have a duplicated ip. The mdi test code seems not to check if
> the anncounced mdi is actually the same, but only if he already has the
> entry in general, causing terrible, hard to find routing errors.
> kindly regards
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: GnuPT 2.7.2
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----
> olsr-dev mailing list
More information about the Olsr-dev