با سلام و درود ،
این آموزش یک مود هست، که روی Apache نصب میشه، و از حملات DDOS تا حد قابل توجهی جلوگیری میکنه...
Restart apache and the installation should be complete.
# /usr/local/srcwget http://www.nuclearelephant.com/proje..._1.10.1.tar.gz
# tar -zxvf mod_evasive_1.10.1.tar.gz
# cd mod_evasive
If you are using apache 1.3.x :
# /usr/local/apache/bin/apxs -cia mod_evasive.c
And add this to httpd.conf:
DOSHashTableSize 3097
DOSPageCount 6
DOSSiteCount 100
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600
If you are using apache 2.0.x :
# /usr/sbin/apxs -cia mod_evasive20.c
Add this to httpd.conf:
DOSHashTableSize 3097
DOSPageCount 6
DOSSiteCount 100
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600
/etc/init.d/httpd restart