Search This Blog

Friday, July 13, 2012

Re: An state argument.

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.


--
To UNSUBSCRIBE, email to debian-firewall-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/4FFFD57D.3070900@markusjochim.de

No comments: