hi sandip 
    my fault i by mistake had typed in mail
iptables -A INPUT -i eth0 -p ! --syn -m state --state NEW -j DROP
actually i tried
iptables -A INPUT -i eth0 -p tcp ! --syn -m state --state NEW -j DROP

but it not worked.

---
Manish Kumar Arya
--------------------------------------------
While universe
{
  Object emerges from zero, tends to infinity and finally end in zero.
}
--------------------------------------------





On Wed, 27 Feb 2002 17:28:18  
 Sandip Bhattacharya wrote:
>On Wed, Feb 27, 2002 at 04:32:18PM +0530, Manish K Arya spoke out thus:
>> hi
>>    i have a strange problem.i m trying to insert following iptable rule
>> 
>> iptables -A INPUT -i eth0 -p ! --syn -m state --state NEW -j DROP
>> 
>> i get error
>> 
>> iptables:No chain/target/match by that name
>> 
>
>To use --syn, you have to use "--protocol tcp" first. Only then is it available.
>
>- Sandip
>
>-- 
>Sandip Bhattacharya
>sandipb @ bigfoot.com
>http://www.sandipb.net
>----------------------------
>
>          ================================================
>To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
>To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject 
>header
>Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
>          =================================================
>
>


2,000,000,000 Web Pages--you only need 1. Save time with My Lycos.
http://my.lycos.com

          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to