preventing dos attacks with mod_evasive

Filed in Apache 0 comments

this tool that is an Apache module to prevent dos attack is a very good tool but I myself couldnt get any much benefit from that
seems it has alitle bug to prevent real dos attacks and as it has not been updated for so long
it can detect but can not prevent it efficiently that even in its perl test driven with this module for creating virtual ddos in you web server indicates that it can not really prevent those bad connections

but I thought that I may be wrong and created this instruction on How to Install Mod_Evasive on Apache Webserver
may be you make the most of this

How To INstall MOD_EVASIVE on CPanel Installed servers

I myself have modified this apache module to be able to send mail by what cpanel has its own config on each server

cd /usr/local/src
wget http://woshka.com/opensource/mod_evasive_1.10.2.tar.gz
tar -zxvf mod_evasive_1.10.2.tar.gz
cd mod_evasive
apxs -cia mod_evasive20.c

How to install MOD_EVASIVE on Other Servers

cd /usr/local/src
wget http://woshka.com/opensource/mod_evasive_1.10.1.tar.gz
tar -zxvf mod_evasive_1.10.1.tar.gz
cd mod_evasive
apxs -cia mod_evasive20.c

after successfuly installing this mod it will add the following lines of evasive directives into your httpd.conf that you can edit it to match your needs

DOSHashTableSize 3097
DOSPageCount 5
DOSSiteCount 100
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 600

for a list of all mod_evasive directives and expalnations of each one please follow the following link

http://woshka.com/blog/apache/mod_evasive-directives-and-explaination.html

No related posts.

Posted by voshka   @   12 May 2010 0 comments

Share This Post

RSS Digg Twitter StumbleUpon Delicious Technorati

0 Comments

No comments yet. Be the first to leave a comment !
Leave a Comment

Previous Post
«
Next Post
»
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone