From: Antonio Quartulli <ordex@ritirata.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.] Blocking OGMs from a node for testing purpose
Date: Mon, 10 May 2010 13:57:55 +0200 [thread overview]
Message-ID: <20100510115755.GA2510@ritirata.org> (raw)
In-Reply-To: <201005100147.59454.lindner_marek@yahoo.de>
Hi,
On lun, mag 10, 2010 at 01:47:58 +0800, Marek Lindner wrote:
>
> Hi,
>
> welcome on our list! :-)
Thank you! :)
>
> > To do this, first of all, I should block OGMs from a particular station.
> > I tried with ebtables in order to block all the packets with source MACa
> > (where MACa is the MAC address of the station I would prevent to
> > communicate with me), but I failed.
> >
> > Does anyone know a working way to do what I described before?
>
> I think it would be easier to help you, if described in more detail what
> exactly you tried so far and why it was not successful. Please give us all the
> settings & commands involved otherwise we have to guess what is going on.
Ok, I'm going to list all the commands I used.
First of all, I'm using the svn version of batman-adv, in order to be up to date.
The topology, actually, is a simple adhoc net between two hosts.
What I did is: inserting the module, activating the if and adding the phy if to bat0:
# insmod batman-adv.ko
# ifconfig bat0 up
# batctl if add wlan0
Then I tried to block any kind of packets from a known mac (say MACa).
# ebtables -A INPUT -s MACa -j DROP
After this I checked with "battctl o" if I was still able to see the other host, and even waiting a few minutes, the host was still in the list.
What am I missing?
I tried also using the FORWARD chain of ebtables, and also adding more constraints on the filer, but it didn't help.
I hope to have explained it clearly.
Regards
Antonio
next prev parent reply other threads:[~2010-05-10 11:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-08 17:07 [B.A.T.M.A.N.] Blocking OGMs from a node for testing purpose Antonio Quartulli
2010-05-09 17:47 ` Marek Lindner
2010-05-10 11:57 ` Antonio Quartulli [this message]
2010-05-12 21:02 ` Linus Lüssing
2010-05-13 16:38 ` Antonio Quartulli
2010-05-16 19:37 ` Marek Lindner
2010-05-16 21:27 ` Antonio Quartulli
2010-05-16 22:53 ` Marek Lindner
2010-05-17 7:20 ` Antonio Quartulli
2010-05-19 1:25 ` [B.A.T.M.A.N.] [PATCH] batman-adv: Adding netfilter-bridge hooks Linus Lüssing
2010-05-21 8:21 ` Antonio Quartulli
2010-05-21 10:17 ` Linus Lüssing
2010-05-21 18:45 ` Antonio Quartulli
2010-05-22 10:51 ` Marek Lindner
2010-05-25 23:56 ` Linus Lüssing
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=20100510115755.GA2510@ritirata.org \
--to=ordex@ritirata.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