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

Difference between revisions of "Prevent DoS attacks with mod evasive"

From Group-Office Groupware and CRM Documentation
Jump to: navigation, search
(Created page with "To protect your server from DoS attacks on te webserver you might want to install [http://www.zdziarski.com/blog/?page_id=442 mod_evasive]. Add the module to Apache: <pre> $ a2...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
To protect your server from DoS attacks on te webserver you might want to install [http://www.zdziarski.com/blog/?page_id=442 mod_evasive].
 
To protect your server from DoS attacks on te webserver you might want to install [http://www.zdziarski.com/blog/?page_id=442 mod_evasive].
 +
 +
'''Attention: Some CalDAV clients really bomb the server the fetch data. If you experience problems after installing mod_evasive disable it or try less strict settings'''
 +
 +
Install the Debian package:
 +
 +
<pre>
 +
$ apt-get install libapache2-mod-evasive
 +
</pre>
  
 
Add the module to Apache:
 
Add the module to Apache:

Latest revision as of 09:41, 11 December 2014

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

Attention: Some CalDAV clients really bomb the server the fetch data. If you experience problems after installing mod_evasive disable it or try less strict settings

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.