Re: [users@httpd] How to fight a client causing DoS ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 255.255.255.255 reject").  

  -spc 



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux