Unrecognized iptables extension options

Chris Rode electro@mrduck.net
Tue, 8 Feb 2000 15:38:48 -0700 (MST)


Hello,

I'm new to the netfilter package, so please go easy on me :)
I've looked in the howto's and in the list archives for a resolution to my
problem but haven't found anything that pertains.

I'm using netfilter 0.1.7 with linux 2.3.42 on a P166.

When I try to use an option provided by an extension to iptables, I get an
error:

/sbin/iptables: unrecognized option '--log-level'

I get this for '--log-level', '--log-prefix', '--dport', etc.  The modules
are loaded; I've modprobe'd them, and they show up as loaded in the output
of lsmod.

The commands I'm trying to use are along the lines of:

/sbin/iptables -A LOGREJ -j LOG -p tcp --log-level info \
	--log-prefix "TCP Drop: "
/sbin/iptables -A INPUT -j ACCEPT -p tcp -s xxx.xxx.xxx.xxx \
	-d 0/0 --dport xx -i eth0

Both types of commands work fine without specifying --log-level,
--log-prefix, or --dport, but I find this not useful, especially in the
case of --dport :)

My question is, is this a known issue with 2.3.42 and 0.1.7?  Is this user
error?  Any information or insights would be greatly appreciated.

Thanks!

--Chris.