All of lore.kernel.org
 help / color / mirror / Atom feed
* What happened to ipt_physdev.c ?
@ 2006-11-22 14:41 Paul Reilly
  2006-11-22 17:04 ` Andy Furniss
  2006-11-25 12:56 ` Pascal Hambourg
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Reilly @ 2006-11-22 14:41 UTC (permalink / raw)
  To: Paul Reilly; +Cc: netfilter


In recent kernels, 2.6.16.x   there is no longer any

net/ipv4/netfilter/ipt_physdev.c

and no option in kernel config to enable CONFIG_NETFILTER_XT_MATCH_PHYSDEV
So I have no physdev in /proc/net/ip_tables_matches
and my rules which include a -m physdev fail with:

iptables: No chain/target/match by that name

Has PHYSDEV been moved somewhere else?
How do I enable it?

Paul


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: What happened to ipt_physdev.c ?
@ 2006-11-22 23:55 Paul Reilly
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Reilly @ 2006-11-22 23:55 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: netfilter, Andy Furniss


> > grep -i phy /boot/config-2.6.19-rc6
> > CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m

Yes, I can see it in 2.6.18.3 as well.
There's no longer an ipt_physdev.c in netfilter, so it must
be included in another c file.

However I need to use 2.6.16.2x and it seems to be either missing
or buggy in there. For example it's in Kconfig, but enabling
all the dependencies does not display it in menuconfig, and when
you output the .config it's not listed in there at all.

Paul

> if you have a kernel source tree, just pop into "make menuconfig" and
> do a search for any matching options:
>
> /physdev
>
> Symbol: NETFILTER_XT_MATCH_PHYSDEV [=m]
> Prompt: "physdev" match support
>   Defined at net/netfilter/Kconfig:368
>   Depends on: NET && NETFILTER && NETFILTER_XTABLES && BRIDGE &&
>
> ... etc etc ...
>
> rday
>


-- 


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

end of thread, other threads:[~2006-11-25 12:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-22 14:41 What happened to ipt_physdev.c ? Paul Reilly
2006-11-22 17:04 ` Andy Furniss
2006-11-22 17:24   ` Robert P. J. Day
2006-11-25 12:56 ` Pascal Hambourg
  -- strict thread matches above, loose matches on Subject: below --
2006-11-22 23:55 Paul Reilly

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.