On ven, mag 21, 2010 at 12:17:28 +0200, Linus Lüssing wrote:
>I gave a try to this patch, but I see something strange.
>After enabling a simple ebtables rule:
>ebtables -A INPUT -s MAC -j DROP
>ebtables -A FORWARD -s MAC -j DROP (to be sure..)
>I saw that batman ping was timing out, while the "originator list" (shown
>with batctl o) is still filled with the other node entry...
thanks for trying the patch! In my case, it worked, I tried it with
ebtables -I INPUT -s MAC -j DROP or
ebtables -I INPUT -p 0x4305 -j DROP
(and the same for -I OUTPUT)
batctl td reported, that it's not receiving any batman packets anymore and also
the originator table was empty after a couple of minutes.
Hmm, and also that batping is timing out for you seems to indicate that it should work
on your side. Could you check with batctl td too? How long have you been waiting for
the originator table to clear? (dead nodes are not being cleared immediately in batman,
as they don't harm the routing decisions and we still need the last measurements in
might get alive again)
I thought that the dead node should be pushed away after a
while, not 3 minutes. So that was my mistake...indeed everything was working correctly!
I tried it again five minutes ago, and everything went as I expected!
Thanks very much!
P.S. batctl td was not so usefull since I have to point it to wlan0..and
obviously I can see all the packets there.
Ognuno di noi, da solo, non vale nulla
Ernesto "Che" Guevara