Mod evasive:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
 
第1行: 第1行:
'''Mod_evasive'''是一个用来防护[[DDos]]的[[Apache]]模块。
'''Mod_evasive'''是一个用来防护[[DDoS]]的[[Apache]]模块。


==Mod_evasive安装==
==Mod_evasive安装==

2011年11月14日 (一) 15:48的最新版本

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