All of lore.kernel.org
 help / color / mirror / Atom feed
* -m physdev iptables: Invalid Argument
@ 2003-10-24 18:13 Dirk Morris
  2003-10-24 23:41 ` Patrick McHardy
  0 siblings, 1 reply; 10+ messages in thread
From: Dirk Morris @ 2003-10-24 18:13 UTC (permalink / raw)
  To: netfilter-devel

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-10-25 18:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-24 18:13 -m physdev iptables: Invalid Argument Dirk Morris
2003-10-24 23:41 ` 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

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.