httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Sean Conner)
Subject Re: [users@httpd] How to fight a client causing DoS ?
Date Fri, 12 Aug 2005 19:05:12 GMT
It was thus said that the Great Maxim Vexler once stated:
> The DoS was caused because a client tried to use one of the popular
> spiders to download the whole site.
> I've attached a clip from the error log & the access log (CR/LF terminated).
> As you can see the DoS client can be identified by his IP address.
> The same behavior continued for ~8 hours :(
> What can be done to stop the "attack" ?
> Thank you.

  It's pretty easy to stop this under Linux (this may work under other Unix
flavors if you adjust the command accordingly), by doing, as root:

#GenericRootUnixPrompt> route add -host <ip.address.of.attacker> reject

This will cause Linux to ignore any packets from the given IP address (if it
doesn't work, try "route add <ip.address> netmask reject").  


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message