Mod evasive
来自站长百科
Mod_evasive是一个用来防护DDoS的Apache模块。
Mod_evasive安装[ ]
- 下载 mod_evasive from Nuclear Elephant
wget http://www.zdziarski.com/blog/wp-content/uploads/2010/02/mod_evasive_1.10.1.tar.gz tar -zxvf mod_evasive_1.10.1.tar.gz cd mod_evasive
- apache 2.0.x 安装
/usr/sbin/apxs -cia mod_evasive20.c
把下面的代码加到httpd.conf
DOSHashTableSize 3097 DOSPageCount 6 DOSSiteCount 100 DOSPageInterval 2 DOSSiteInterval 2 DOSBlockingPeriod 600
- apache 1.3.x 安装
/usr/local/apache/bin/apxs -cia mod_evasive.c
把下面的代码加到httpd.conf
DOSHashTableSize 3097 DOSPageCount 6 DOSSiteCount 100 DOSPageInterval 2 DOSSiteInterval 2 DOSBlockingPeriod 600
- 重启Apache:
service httpd restart