iptables MAC problem

alok pathak alokpathak79 at gmail.com
Sat Nov 25 09:10:55 CET 2006

I am using CentOS3.8 (with kernel version 2.4.21-47.EL, iptables
version 1.2.8-12.3, on AMD sampron x68_64).  I want to restrict my
users based on their MAC, and used the command:

# iptables -A INPUT -m --mac-source 12:12:12:12:12:12 -j DROP

but i am getting error :
iptables v1.2.8: Couldn't load match
`--mac-source':/lib64/iptables/libipt_--mac-source.so: cannot open
shared object file: No such file or directory

I also installed latest iptables version from the site (
iptables-1.3.6.tar.bz2) but still getting the same error.

please help me.

Alok Pathak

More information about the netfilter mailing list