From: Claudio Lavecchia <Claudio.Lavecchia@eurecom.fr>
To: netfilter@lists.netfilter.org
Subject: iptables and wireless card in promiscuous mode
Date: Tue, 30 Nov 2004 13:53:35 +0100 [thread overview]
Message-ID: <41AC6D4F.7000001@eurecom.fr> (raw)
Hello People,
I have a little question:
I have two laptops that have 802.11 wireless cards. I am developing some
application that essentially perform sniffing functions using wireless
cards in promiscuous mode. To test my code, I need those two laptops not
to "see" each other (--> I do not want the wireless card of laptop A,
which is operating in promiscuous mode to process packets coming from
laptop B) and I tought to do it using iptables. so on laptop A i added
the following rule:
iptables -A INPUT -mac --mac-source MAC_ADDRESS_LAPTOP_B -j DROP
and on laptop B I added the rule:
iptables -A INPUT -mac --mac-source MAC_ADDRESS_LAPTOP_A -j DROP
I just executed my first tests and the feeling I got is that, for
example, the wlan card of laptop B still passes through the packet
coming from laptop A.
Can anyone confirm this analysis? If I am right, can anyone give me a
hint to possibly workaround this?
Thank you very much
Claudio
next reply other threads:[~2004-11-30 12:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-30 12:53 Claudio Lavecchia [this message]
2004-11-30 13:05 ` iptables and wireless card in promiscuous mode Cedric Blancher
2004-11-30 23:21 ` Alistair Tonner
2004-12-01 12:12 ` Claudio Lavecchia
2004-12-01 13:31 ` Jason Opperisano
-- strict thread matches above, loose matches on Subject: below --
2004-11-30 15:38 Gary W. Smith
2004-12-01 13:34 Scott Knake
2004-12-01 13:52 ` Claudio Lavecchia
2004-12-01 14:34 ` Claudio Lavecchia
2004-12-01 16:16 ` Jason Opperisano
2004-12-01 20:14 ` Sean Donner
2004-12-01 20:45 Scott Knake
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=41AC6D4F.7000001@eurecom.fr \
--to=claudio.lavecchia@eurecom.fr \
--cc=netfilter@lists.netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.