Security Basics mailing list archives

iptable reports bad argument state


From: "J. Bakshi" <bakshi12 () gmail com>
Date: Sat, 22 Aug 2009 10:56:51 +0530

Dear list,

Here are some rules ( collected from net ) to prevent distributed ( from different machine) port scan.


``````````````````
IFACE=eth0
iptables -A INPUT -p tcp -i $IFACE -m state --state NEW -m recent --set
iptables -A INPUT -p tcp -i $IFACE -m state --state NEW -m recent \
--update --seconds 30 --hitcount   10 -j DROP
iptables -A FORWARD -p tcp -i $IFACE -m state --state NEW -m recent --set 
iptables -A FORWARD -p tcp -i $IFACE -m state --state NEW -m recent \
--update --seconds 30 --hitcoun  10 -j DROP
`````````````````````````````

But whenevr I insert these rules in my existing iptables rule it reports  "bad argument state"
The version of iptables is  1.4.4-2

Any clue ?
thanks

------------------------------------------------------------------------
Securing Apache Web Server with thawte Digital Certificate
In this guide we examine the importance of Apache-SSL and who needs an SSL certificate.  We look at how SSL works, how 
it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, 
install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are 
highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727d1
------------------------------------------------------------------------


Current thread: