Re: Odd -m state Error Msg

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

 



Rudi Starcevic <tech@xxxxxxxxxxxx> writes:

> Hi,
>
> I've just built a new 2.6.20.1 kernel and am seeing
> this error from my standard firewall script:
>
> iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
> iptables: Invalid argument

To use state, you must also specify the protocol eg 
iptables -A INPUT -p tcp -m state --state ESTABLISHED,RELATED -j ACCEPT


[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