How to install mod_evasive on a cPanel server

How to install mod_evasive on a cPanel servers

mkdir download

cd download

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

/usr/local/apache/bin/apxs -i -a -c mod_evasive20.c

/usr/local/cpanel/bin/apache_conf_distiller --update

 

LoadModule evasive20_module   modules/mod_evasive20.so

 

Add these to Pre VirtualHost Include

 

<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount   2
DOSSiteCount  50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 60
DOSEmailNotify [email protected]
</IfModule>

  • 0 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

Linux Malware Detect

Linux Malware Detect (LMD) uses MD5 file hashes and hex pattern matches to identify malware....

How to install ConfigServer ModSecurity Control (cmc)

wget http://configserver.com/free/cmc.tgztar zxf cmc.tgzcd cmcsh install.sh

Installing and Configuring CSF Firewall

Installing and Configuring CSF Firewall This article demonstrates how to install and configure...