Skip to contentSkip to conversation

physdev match

DISCUSSION Mohamed Eldesoky 2 participants 4 messages Sep 23, 2004 – Sep 27, 2004

lore
Share & tools
lore
#0 lore raw

Ok, I got a stock kernel 2.4.27 patched with ebtables-bnrf, and noticed that it has added physdev match.
But whenever I try to test a rule with -m physdev --physdev-in <int> it gives me

iptables: Invalid argument

Any special requirements to use it ??

Signature · 3 lines
Mohamed Eldesoky
www.eldesoky.net
RHCE
#1 lore raw
Quoted 7 lines · Mohamed Eldesoky

Ok, I got a stock kernel 2.4.27 patched with ebtables-bnrf, and noticed that it has added physdev match.
But whenever I try to test a rule with -m physdev --physdev-in <int> it gives me

iptables: Invalid argument

Any special requirements to use it ??

Have you patched both userspace (iptables utility) and kernel? This sounds like iptables utility wasn't patched. Look into /lib/iptables directory and see what modules you have.

Signature · 3 lines
Aleksandar Milivojevic <[email protected]>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7
#2 lore raw

I have this in that path.
libipt_physdev.so

However, I will try again.

Quoted 20 lines · Aleksandar Milivojevic
Quoted 8 lines · Mohamed Eldesoky

Ok, I got a stock kernel 2.4.27 patched with ebtables-bnrf, and noticed that it has added physdev match.
But whenever I try to test a rule with -m physdev --physdev-in <int> it gives me

iptables: Invalid argument

Any special requirements to use it ??

Have you patched both userspace (iptables utility) and kernel? This sounds like iptables utility wasn't patched. Look into /lib/iptables directory and see what modules you have.

--

Aleksandar Milivojevic <[email protected]>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7
Signature · 3 lines
Mohamed Eldesoky
www.eldesoky.net
RHCE
#3 lore raw

Still the problem, doing

iptables -A INPUT -m physdev --physdev-in eth1 -j LOG

Gives me

iptables: Invalid argument

Any ideas !!!

Quoted 35 lines · Mohamed Eldesoky

I have this in that path.
libipt_physdev.so

However, I will try again.

Quoted 10 lines · Aleksandar Milivojevic
Quoted 8 lines · Mohamed Eldesoky

Ok, I got a stock kernel 2.4.27 patched with ebtables-bnrf, and noticed that it has added physdev match.
But whenever I try to test a rule with -m physdev --physdev-in <int> it gives me

iptables: Invalid argument

Any special requirements to use it ??

Quoted 10 lines

Have you patched both userspace (iptables utility) and kernel? This sounds like iptables utility wasn't patched. Look into /lib/iptables directory and see what modules you have.

--

Aleksandar Milivojevic <[email protected]>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7

--
Mohamed Eldesoky
www.eldesoky.net
RHCE

Signature · 3 lines
Mohamed Eldesoky
www.eldesoky.net
RHCE