Blocking IP


#1

Is there anyway I can put an access list to block a certain IP before it hits my Web server ? Some idiot is running a DoS on my server and right now my only option is to put his IP in the .htaccess deny list.
However, with 100-200 hits a seconds, it took up CPU from other users and disk space(logs) and I don’t want to get moved because I used too much CPU.

Thanks


#2

yep, use a text editor to create a plain text file. In the htaccess file put:

Order Deny,Allow
Deny from 0.0.0.0
Allow from all

Just replace the example ip address with the one you wish to deny. Windows does not allow an extention without a files name so save the file as .htaccess.txt, upload the file then rename it by removing the .txt and you should be done.
Silk


#3

E-mail support, let them know what is going on. You might also want to consider contacting his ISP.

digitalrundown.com
Promo Code: WJD97 - $97.00 off any new DreamHost plan (except month-month payments).


#4

I’m already doing the .htaccess. But I’d prefer to block on the firewall side, ie. ipfilter so I do not waste any ressource to process the logs, or overload the apache server in processing those request.


#5

Make a note of the IP address and email support, I am sure they’ll resolve the issue pretty quickly.

Mark


Save [color=#CC0000]$50[/color] on DreamHost hosting using promo code [color=#CC0000]SAVEFIFTY[/color] ( Click for details )