Help - iptables: Invalid argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Sir:

I'm new to network security and this is my first time to use iptables,
when I run a firewall script, I got the following error:

+ /sbin/iptables -A INPUT -m limit --limit 3/minute --limit-burst 3 -j
LOG --log-level DEBUG --log-prefix 'IPT INPUT packet died: '
iptables: Invalid argument

I also tried -m owner option, it give me same error:  "iptables: Invalid
argument".

But I don't get error for -m state. I can use iptables -L to see other
rules except the error commands.

I have the follow modules listed when I run lsmod:
ipt_owner               3976  0 
ipt_MASQUERADE          4960  1 
ipt_REJECT              8520  1 
ipt_state               2688  4 
ipt_limit               3488  0 
ipt_LOG                 8288  0 
iptable_nat            35162  2 ipt_MASQUERADE
iptable_mangle          5248  0 
ip_conntrack           62332  3 ipt_MASQUERADE,ipt_state,iptable_nat
iptable_filter          4888  1 
ip_tables              25088  9
ipt_owner,ipt_MASQUERADE,ipt_REJECT,ipt_state,ipt_limit,ipt_LOG,iptable_
nat,iptable_mangle,iptable_filter

Can anyone help me how to solve the error?

Thanks in advance,
Susan



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux