数字化技能提升教程,数字化时代生存宝典

数字化百科 / 词条 / Mod evasive

Mod evasive

查看全部词条命名空间:Main

Mod_evasive是一个用来防护DDoSApache模块。

Mod_evasive安装

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

相关条目

APF DDoS DDoS-Deflate ModSecurity CSF Apache

category:Apache category:DDoS