public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] Filtering BATMAN-ADV packet
@ 2011-07-21  3:33 Nik M. Anas Kamarudin
  2011-07-21  6:56 ` Sven Eckelmann
  0 siblings, 1 reply; 9+ messages in thread
From: Nik M. Anas Kamarudin @ 2011-07-21  3:33 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hello all,

I need some help with batmand-adv packet filtering on wireless interface.
I successfully filter batman-adv packet using ebtables. This what i do:

/usr/sbin/brctl addbr br0
/usr/sbin/brctl addif br0 eth0
/sbin/ifconfig br0 up
/sbin/ifconfig eth0 192.168.5.2 up

then wait around 15 ~ 30 second.

/sbin/modprobe /lib/modules/`2.6.35.13/batman-adv/batman-adv.ko
/usr/sbin/batctl if add br0
/sbin/ifconfig bat0 192.168.5.41 up
/sbin/ifconfig br0 192.168.5.1 up

and filter up the batman-adv packet using etables like this:
`/usr/sbin/ebtables -A INPUT -s AA:AA:AA:AA:AA -j DROP`

BUT, this only work for Ethernet interface/ wire.. i need to do this
same thing using wireless interface. Anyone got any ideas?

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-07-28 12:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-21  3:33 [B.A.T.M.A.N.] Filtering BATMAN-ADV packet Nik M. Anas Kamarudin
2011-07-21  6:56 ` Sven Eckelmann
2011-07-21  7:28   ` Nik M. Anas Kamarudin
2011-07-21  8:23     ` Sven Eckelmann
2011-07-21  9:14       ` Nik M. Anas Kamarudin
2011-07-21  9:23         ` Sven Eckelmann
2011-07-21  9:32           ` Sven Eckelmann
2011-07-21 10:20         ` Andrew Lunn
2011-07-28 12:06           ` Sven Eckelmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox