Thursday, May 23, 2013

ModEvasive Apache Module For DDOS Prevention


ModEvasive Apache Module For DDOS  Prevention.

To install it login into server and run the following commands:
cd /root/
wget http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz
tar zxf mode_evasive-1.10.1.tar.gz

cd mod_evasive
then type…
/usr/sbin/apxs -cia mod_evasive20.c


Now, Please edit the  Apache conf /etc/httpd/conf/httpd.conf (on RHEL/Centos/Fedora)


DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10

Restart Httpd

/etc/init.d/httpd restart

No comments:

Post a Comment