I have referred the following steps to install that modules :
========
cd /usr/local/src
wget http://www.sfr-fresh.com/unix/privat/mod_evasive_1.10.1.tar.gz
tar -zxvf mod_evasive_1.10.1.tar.gz
cd mod_evasive
For apache 2.0.x :
/usr/sbin/apxs -cia mod_evasive20.c //integrating with apache.
Then add these in httpd.conf :
DOSHashTableSize 3097
DOSPageCount 6
DOSSiteCount 100
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600
For apache 1.3.x :
/usr/local/apache/bin/apxs -cia mod_evasive.c //integrating with apache.
Then add this too httpd.conf
DOSHashTableSize 3097
DOSPageCount 6
DOSSiteCount 100
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600
========
That's it. Try :)
No comments:
Post a Comment