Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Gerard París Aixalà" <gerard.paris@estudiants.urv.cat>
To: netfilter@lists.netfilter.org
Subject: Filtering MAC addresses and Multicast
Date: Tue, 01 Aug 2006 10:35:50 +0200	[thread overview]
Message-ID: <44CF1266.5090109@estudiants.urv.cat> (raw)

Hello all,

I have a strange problem using iptables that had been reported yet in 
this list two years ago, but it has not been solved: 
http://lists.netfilter.org/pipermail/netfilter/2004-October/056506.html

I emulate a MANET on an Ethernet by adding iptables rules like these 
(filtering at MAC layer):

/sbin/iptables -t mangle -A PREROUTING -m mac --mac-source 
00:06:5B:12:C9:7A -j DROP
/sbin/iptables -t mangle -A PREROUTING -m mac --mac-source 
00:06:5B:13:4A:69 -j DROP

These rules drop Unicast traffic but they do not drop Multicast traffic.
How can I fix it?

Thank you in advance
Kind regards,
Gerard


             reply	other threads:[~2006-08-01  8:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-01  8:35 Gerard París Aixalà [this message]
     [not found] ` <44CFB3EE.2010007@rtij.nl>
2006-08-02  7:17   ` Filtering MAC addresses and Multicast Gerard París Aixalà
2006-08-02  7:23     ` Martijn Lievaart
2006-08-02  9:40       ` Gáspár Lajos
2006-08-02 11:55         ` Gerard París Aixalà
2006-08-02 12:12           ` Gáspár Lajos
2006-08-02 16:04             ` Gerard París Aixalà

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=44CF1266.5090109@estudiants.urv.cat \
    --to=gerard.paris@estudiants.urv.cat \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox