Package: fail2ban
Version: 0.8.6-3wheezy3
Severity: important
Tags: patch
Dear Maintainer,
With the original /etc/fail2ban/filter.d/apache-common.conf regexp doesn't
match. I have hundred of
thousands of connections of an IP that makes this log entries on my
/var/log/apache/error.log:
[Fri Mar 06 16:01:25.519865 2015] [:error] [pid 824] [client
XXX.YYY.ZZZ.AAA:PPPPP] script '/var/www/pruebas/wp-login.php' not found or
unable to stat
Original regexp in the file is simlar to this (don't know now):
_apache_error_client = \[[^]]+\] \[:error\] \[client <HOST>\]
I solved the problem editing /etc/fail2ban/filter.d/apache-common.conf and
modifying that line to:
_apache_error_client = \[[^]]+\] \[:error\].*\[client <HOST>(:\d*)]
-- System Information:
Debian Release: 7.8
APT prefers stable
APT policy: (990, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to es_ES.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages fail2ban depends on:
ii lsb-base 4.1+Debian8+deb7u1
ii python 2.7.8-2
ii python-central 0.6.17
Versions of packages fail2ban recommends:
ii iptables 1.4.21-2+b1
ii python-gamin 0.1.10-4.1
ii whois 5.1.1~deb7u1
Versions of packages fail2ban suggests:
ii heirloom-mailx [mailx] 12.5-2+deb7u1
-- no debconf information
Agur: Javier Ortega Conde
_____________________________________________________________________________
MetaUniversidad: formación y aprendizaje online http://metauniversidad.com
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]