NEXUCOM - Support / Knowledge Base

Search:     Advanced search
Browse by category:
Contact Us

How to Install mod_evasive

Views: 219
Votes: 0
Posted: 20 Dec, 2007
by: Tech A.
Updated: 20 Dec, 2007
by: Tech A.

Informations:


Mod_Evasive will help to stop basic attacks on a server (HTTP, DDoS attack and brute force attack). Detection is performed by creating an internal dynamic hash table of IP Addresses and URIs, and denying any single IP address from any of the following:

- Requesting the same page more than a few times per second

- Making more than 50 concurrent requests on the same child per second

- Making any requests while temporarily blacklisted (on a blocking list)

 




Login to your server, on command line:

# /usr/local/srcwget http://www.nuclearelephant.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz

# tar -zxvf mod_evasive_1.10.1.tar.gz
# cd mod_evasive

If you are using apache 1.3.x :
# /usr/local/apache/bin/apxs -cia mod_evasive.c

And add this to httpd.conf:
DOSHashTableSize 3097
DOSPageCount 6
DOSSiteCount 100
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600


If you are using apache 2.0.x :
# /usr/sbin/apxs -cia mod_evasive20.c

Add this to httpd.conf:
DOSHashTableSize 3097
DOSPageCount 6
DOSSiteCount 100
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600


Restart apache and the installation should be complete.
/etc/init.d/httpd restart
 

Others in this Category
document How to add Frame Forwarding to your website
document How to FTP Connection with IE6 [Internet Explorer 6]
document How to ROBOTS.TXT File Use
document How to Email Account Configuration [Microsoft Outlook 2003]
document Netstat Command [Linux/Unix]
document How to Ban an IP Address From The Server
document How to install PRM [Process Resource Monitor]
document How to Close Open DNS Servers
document How to Install DDoS Deflate
document How to Disable Direct Root Logins
document How to Creating a Welcome message for SSH logins
document How to Hide BIND version
document How to Install TeamSpeak Server [linux]



RSS

Services d'Hébergement: Hébergement Web | Serveurs Dédiés | Streaming | Colocation Serveurs | Nom de Domaine | Support |

Hosting Services: Web Hosting | Dedicated Servers | Streaming | Servers Colocation | Domain Name | Support |

Services: | Hébergement | Serveurs | Colocation |

Copyright © 2003-2008. All Rights Reserved.

Mascot - DirectAdmin - big - mf - Boiler Biomass - Mascot - Mascotte - Webmail - gt - eq - Chaudière Biomasse - Mascotte -