Dear all, Thank's for your information, now all trafic from that ip already drop. Thank you. :) David Kandou ----- Original Message ----- From: "Les Mikesell" <les@xxxxxxxxxxxxxxxx> To: "david" <david@xxxxxxxxxxxxxxxxxxxx> Cc: <netfilter@xxxxxxxxxxxxxxxxxxx> Sent: Thursday, July 29, 2004 7:28 PM Subject: Re: Blocking IP > On Thu, 2004-07-29 at 07:14, david wrote: > > Dear all, > > > > My mail server received so many virus mails from ip 202.145.10.147 and after > > i look at gateway (linux) and i using iptraf i see so many traffic from > > 202.145.10.147. > > After that i try to block all traffic from 202.145.10.147 with command : > > #iptables -A INPUT -s 202.145.10.146 -j DROP > > > > but i still receiveall traffic from 202.145.10.146...... > > It might be as easy to block traffic with route as iptables: > route add -host 202.145.10.146 reject > should stop it (actually it stops your ability to respond > but for tcp that's enough). > > --- > Les Mikesell > les@xxxxxxxxxxxxxxxx > >