-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I'm having issues with this fork ignoring my .conf files. It continues to log to /tmp and whitelisted IPs get blocked. I'm on Ubuntu 14.04 LTS and Apache 2.4.
Relevant configs + permissions:
ryan@ip-10-0-5-164:~$ sudo cat /etc/apache2/mods-available/evasive20.conf
<IfModule mod_evasive24.so>
DOSHashTableSize 3097
DOSPageCount 1
DOSSiteCount 1
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 90
DOSWhitelist 127.0.0.1
#DOSEmailNotify you@yourdomain.com
#DOSSystemCommand "su - someuser -c '/sbin/... %s ...'"
DOSLogDir /var/log/apache2/mod_evasive
</IfModule>
ryan@ip-10-0-5-164:~$ sudo cat /etc/apache2/mods-available/evasive20.load
LoadModule evasive20_module /usr/lib/apache2/modules/mod_evasive24.so
ryan@ip-10-0-5-164:~$ ls -l /usr/lib/apache2/modules/ | grep evasive
-rw-r--r-- 1 root root 58838 Feb 18 00:12 mod_evasive24.so
mod is enabled:
ryan@ip-10-0-5-164:~$ sudo a2enmod evasive20
Module evasive20 already enabled
Running the conventional Perl test script results in 403s and log files output to /tmp:
ryan@ip-10-0-5-164:~$ perl test.pl
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
ryan@ip-10-0-5-164:~$ ls -l /tmp
total 16
-rw-r--r-- 1 www-data www-data 6 Feb 18 17:02 dos-127.0.0.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels