| by Scott Kilroy | No comments

Installing apache mod_evasive on ubuntu

apt-get install libapache2-mod-evasive
in /etc/apache2/conf.d
create file called modevasive with the following:
<code>

<ifmodule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10
DOSLogDir /var/log/mod_evasive
DOSEmailNotify ADD_EMAIL
DOSWhitelist 127.0.0.1
</ifmodule>

Share Button

Leave a Reply