mod_evasive

mod_evasive_1.10.1.tar.gz
/etc/httpd/bin/apxs -i -a -c mod_evasive20.c
chcon -t textrel_shlib_t /etc/httpd/modules/mod_evasive20.so
 
<IfModule mod_evasive20.c>
     DOSHashTableSize    3097
     DOSPageCount        5
     DOSSiteCount        50
     DOSPageInterval     1
     DOSSiteInterval     1
     DOSBlockingPeriod   360
     DOSLogDir “/var/log/mod_evasive”
</IfModule>
ab测试
ab -n 1000 -c 50 http://xxx/