Re: An state argument.
Markus Jochim <[email protected]> Fri, 13 Jul 2012 09:59:57 +0200
| Newsgroups | gmane.linux.debian.devel.firewall |
|---|---|
| Message-ID | <[email protected]> |
On 13.07.2012 09:53, Sthu Deus wrote: > Good time of the day. > > > This does not work for me: > > /sbin/iptables -I INPUT 4 -p tcp -m tcp --dport 25 -m state NEW -m > recent --update --seconds 60 --hitcount 10 -j LOG --log-prefix > INPUT-EXTRA_SMTP-> --log-level 1 > > giving this error: > > Bad argument `NEW' > > According to man, it is correct. Please advice how I can accomplish > this. OR Is it a bug and should be reported? > > > Thanks for Your time. > > With -m state you only load the module, you can't specify another argument there. Try -m state --state NEW.