From: Dirk Morris <dmorris@metavize.com>
To: netfilter-devel@lists.netfilter.org
Subject: -m physdev iptables: Invalid Argument
Date: Fri, 24 Oct 2003 11:13:14 -0700 [thread overview]
Message-ID: <3F996BBA.5070106@metavize.com> (raw)
I'm running 2.6.0-test8 using the -m physdev --physdev-in (or
--physdev-out) and I'm getting invalid argument.
This is with iptables 1.2.9-rc1.
This problem is referenced in a couple places on the web:
http://small.dropbear.id.au/docs/adslfirewall.html
Is this a bug? (if so I can do a formal bug report)
Or has this functionality been dropped?
If so, how can I filter based on the ethernet device of a bridged packet?
~/ # sudo /sbin/iptables -m physdev -t mangle -A FORWARD --physdev-in
eth0 -p udp --source 10.0.0.0/255.255.255.0 --destination-port 7:7 -j
DIVERT --to-port 20259
iptables: Invalid argument
~/ # sudo /sbin/iptables -m physdev -t nat -A PREROUTING --physdev-in
eth0 -p tcp --source 10.0.0.0/255.255.255.0 --destination-port 7:7 -j
REDIRECT --to-port 20259
iptables: Invalid argument
-dmorris
next reply other threads:[~2003-10-24 18:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-24 18:13 Dirk Morris [this message]
2003-10-24 23:41 ` -m physdev iptables: Invalid Argument Patrick McHardy
2003-10-25 0:02 ` Dirk Morris
2003-10-25 0:12 ` Patrick McHardy
2003-10-25 0:26 ` Dirk Morris
2003-10-25 0:40 ` Patrick McHardy
2003-10-25 1:01 ` Dirk Morris
2003-10-25 9:21 ` Willy Tarreau
2003-10-25 9:38 ` Bart De Schuymer
2003-10-25 18:12 ` dmorris
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=3F996BBA.5070106@metavize.com \
--to=dmorris@metavize.com \
--cc=netfilter-devel@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.