Skip to contentSkip to conversation

libipt_physdev.c?

DISCUSSION Bart De Schuymer 3 participants 4 messages Dec 4, 2002 – Dec 5, 2002 netfilter

lore
Share & tools
lore
#0 lore raw

Hello Harald,

As you know the 2.5 kernel has the ipt_physdev.c kernel module. However, the iptables distribution doesn't have the corresponding userspace module yet. Ofcourse I have the corresponding userspace module.
I wonder, since it's only for 2.5 kernels, if it can be added somewhere in the iptables CVS. I'm hoping it won't have to stay out of the iptables distribution for ever. Any ideas?

Signature · 2 lines
cheers,
Bart
#1 lore raw
Quoted 8 lines · Bart De Schuymer

Hello Harald,

As you know the 2.5 kernel has the ipt_physdev.c kernel module. However, the iptables distribution doesn't have the corresponding userspace module yet. Ofcourse I have the corresponding userspace module.
I wonder, since it's only for 2.5 kernels, if it can be added somewhere in the iptables CVS. I'm hoping it won't have to stay out of the iptables distribution for ever. Any ideas?

The problem is that I have moved to a different city and I'm now without a phone line for almost a month :(

So I only have about 30mins IP access every two days [when I visit a friend, ...] and I didn't have the time to do any CVS committs during that time period.

Let's hope that the two fscking phone companies will get this line to work soon (today again another technician is scheduled...)

Quoted 2 lines

cheers,
Bart

Signature · 5 lines
Live long and prosper
- Harald Welte / [email protected]               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M- 
V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)
#2 lore raw

Mr. Harald,

Quoted 13 lines · --- Harald Welte
Quoted 8 lines · Bart De Schuymer

Hello Harald,

As you know the 2.5 kernel has the ipt_physdev.c kernel module. However, the iptables distribution doesn't have the corresponding userspace module yet. Ofcourse I have the corresponding userspace module.
I wonder, since it's only for 2.5 kernels, if it can be added somewhere in the iptables CVS. I'm hoping it won't have to stay out of the iptables distribution for ever. Any ideas?

The problem is that I have moved to a different city and I'm now without a phone line for almost a month :(

Quoted 6 lines

So I only have about 30mins IP access every two days [when I visit a friend, ...] and I didn't have the time to do any CVS committs during that time period.

Let's hope that the two fscking phone companies will get this line to work soon (today again another technician is scheduled...)

Forgive my ignorance, but what does ipt_physdev.c do in the kernel? What does it match?

Quoted 7 lines
Quoted 3 lines

cheers,
Bart

Signature · 2 lines
Live long and prosper
- Harald Welte / [email protected]               http://www.gnumonks.org/

Brad

=====
Brad Chapman

Permanent e-mail: [email protected]

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

#3 lore raw
Quoted 2 lines

Forgive my ignorance, but what does ipt_physdev.c do in the kernel? What does it match?

This matches on the physical in and out device of bridges when one uses the bridge and netfilter in the 2.5 kernel.
So, if the (logical) bridge device br0 has the (physical) ports eth0 and eth1 and a IP packet arrives on the bridge via the eth0 port, the ipt_physdev.c module allows you to filter this IP packet by specifying the eth0 physical in-dev. Without ipt_physdev.c one can only filter on the logical br0 device, which is not good enough for various reasons.

Signature · 2 lines
cheers,
Bart