This script is for Slackware 12.1 only and may be outdated.

SlackBuilds Repository

12.1 > Network > mod_evasive (1.10.1)

mod_evasive maneuvers module for Apache to provide evasive action in the event
of an HTTP DoS or DDoS attack or brute force attack. It is also designed
to be a detection and network management tool, and can be easily configured
to talk to ipchains, firewalls, routers, and etcetera. mod_evasive presently
reports abuses via email and syslog facilities.

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)


To enable it edit /etc/httpd/httpd.conf to have like the following:

LoadModule evasive20_module lib/httpd/modules/mod_evasive20.so

<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10
</IfModule>


To test enter the following command:

perl /usr/doc/mod_evasive-$VERSION/test.pl | more

Which should output some HTTP/1.1 200 OK lines; then HTTP/1.1 403 Forbidden

mod_evasive is fully tweakable through the Apache configuration file, see
the READE file in /usr/doc/mod_evasive-$VERSION for configuration details.

Maintained by: Menno E. Duursma
Keywords: security,anti-dos,apache
ChangeLog: mod_evasive

Homepage:
http://www.zdziarski.com/projects/mod_evasive/

Source Downloads:
mod_evasive_1.10.1.tar.gz (784fca4a124f25ccff5b48c7a69a65e5)

Download SlackBuild:
mod_evasive.tar.gz
mod_evasive.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:
README
mod_evasive.SlackBuild
mod_evasive.info
slack-desc

Validated for Slackware 12.1

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds