From: Antonio Quartulli <ordex@autistici.org>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] Disconnecting the nodes in batman-adv 2011.1.0
Date: Mon, 4 Jul 2011 20:22:56 +0200 [thread overview]
Message-ID: <20110704182256.GB26734@autistici.org> (raw)
In-Reply-To: <CAJA-1Ljmeqym_Sj4zqSEqaJtVvGf3brFQPtghYYi2QT5PFLYHw@mail.gmail.com>
On Mon, Jul 04, 2011 at 06:06:19PM +0200, Max Ip wrote:
> Hi all,
>
> This is something to be posted in other forums. But just wanted to
> know if you faced the same problem.
>
> I tried to drop the connections between the end users (node_1 and node_3) of
>
> node_1 ----node_2-----node_3
>
>
> iptables -t raw -A PREROUTING -i wlan0 -m mac --mac-source
> 00:13:a9:c3:ae:8f -j DROP
>
This will not work because in this way you are blocking IP datagram with
source mac address equal to 00:13:a9:c3:ae:8f. Batman packets are not IP
datagram, so you can't block them by means of iptables.
As Marek suggested, you should use something like ebtables. But honestly I
remember that ebtables support has been removed from batman some time
ago.
Regards,
--
Antonio Quartulli
..each of us alone is worth nothing..
Ernesto "Che" Guevara
next prev parent reply other threads:[~2011-07-04 18:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-04 12:45 [B.A.T.M.A.N.] Disconnecting the nodes in batman-adv 2011.1.0 Max Ip
2011-07-04 12:55 ` Marek Lindner
2011-07-04 16:06 ` Max Ip
2011-07-04 18:22 ` Antonio Quartulli [this message]
2011-07-04 18:29 ` Sven Eckelmann
2011-07-04 18:39 ` Antonio Quartulli
2011-07-06 9:41 ` Max Ip
2011-07-06 9:47 ` Gioacchino Mazzurco
2011-07-06 9:50 ` Antonio Quartulli
2011-07-06 14:49 ` Max Ip
2011-07-06 9:47 ` Antonio Quartulli
2011-07-04 18:37 ` Marek Lindner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110704182256.GB26734@autistici.org \
--to=ordex@autistici.org \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox