diff options
Diffstat (limited to 'network/mod_evasive/README')
-rw-r--r-- | network/mod_evasive/README | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/network/mod_evasive/README b/network/mod_evasive/README index 5cebd45147..30c89f0697 100644 --- a/network/mod_evasive/README +++ b/network/mod_evasive/README @@ -7,33 +7,16 @@ 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> - +You'll need to add the following line to your /etc/httpd/httpd.conf file: + Include /etc/httpd/mod_evasive.conf 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 + 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. - +the README file in the package's documentation directory. |