This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Prevent DoS attacks with mod evasive

From Group-Office Groupware and CRM Documentation
Revision as of 09:07, 26 July 2013 by Admin (Talk | contribs)

Jump to: navigation, search

To protect your server from DoS attacks on te webserver you might want to install mod_evasive.

Install the Debian package:

$ apt-get install libapache2-mod-evasive

Add the module to Apache:

$ a2enmod evasive

Edit /etc/apache2/mods-enabled/evasive.conf and enter the following:

<IfModule mod_evasive20.c>
    DOSHashTableSize    3097
    DOSPageCount        100
    DOSSiteCount        100
    DOSPageInterval     15
    DOSSiteInterval     15
    DOSBlockingPeriod   60
</IfModule>

We tested this configuration it works well with Group-Office.