How to Install Apache mod_evasive on AWS Linux/CentOS

Published Date Author: , Posted July 26th, 2014 at 11:02:17am

I was getting tired of using iptables to block the various hackers and bots constantly slamming my servers (the Chinese are the worst offenders by far – curse them!).

I found the Apache module mod_evasive and installed it.

Here are links to various articles about mod_evasive:
http://www.zdziarski.com/blog/?page_id=442
https://coderwall.com/p/eouy3g
http://www.crucialp.com/resources/tutorials/server-administration/flood-protection-dos-ddos-protection-apache-1.3-2.0-mod_dosevasive-avoiding-denial-of-service-attacks.php

Add the Module to Apache
I keep my httpd.conf under source code control, so you can safely ignore the first and last lines of the following procedure unless you use RCS…

/etc/httpd/conf/httpd.conf

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.