Protect yourself from DOS attacks on Linux with mod_evasive
- Lucas
- September 03, 2012
The following tutorial explains how to install the “mod_evasive” module for the Apache webserver on Debian, which temporarily blocks the client in the event of several attempted connections to the server, called a DOS attack. Installation: apt-get install libapache2-mod-evasive Create a directory to store the mod_evasive logs mkdir -p /var/log/apache2/evasive chown -R www-data:root /var/log/apache2/evasive Now