httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] Blocking harrassment
Date Tue, 20 Sep 2005 06:49:40 GMT
On 9/20/05, Jean-Christophe Montigny <jcm@assoces.com> wrote:

> I tried to add a firewall rule to block the guy :
> iptables -A INPUT -p tcp -s 69.50.168.130 -j DROP

iptables -A adds a rule ad the end. It could be that there is an
earlier rule that accepts this guy. In this case the rule is never
reached.

Do an "iptables -L -v" to see if the rule ever gets reached. 

Better to do an 
iptables -I INPUT -p tcp -s  69.50.168.130 -j DROP

This puts the rule at the head...

Krist


-- 
krist.vanbesien@gmail.com
Solothurn, Switzerland

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message