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

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.


Reply to: