mirror of https://github.com/fail2ban/fail2ban
Fixed Apache section to point at error.log
parent
5ca08578af
commit
f22d4912c2
|
@ -258,24 +258,23 @@ port = http
|
||||||
|
|
||||||
# Option: logfile
|
# Option: logfile
|
||||||
# Notes.: logfile to monitor.
|
# Notes.: logfile to monitor.
|
||||||
# Values: FILE Default: /var/log/apache/access.log
|
# Values: FILE Default: /var/log/apache/error.log
|
||||||
#
|
#
|
||||||
logfile = /var/log/apache/access.log
|
logfile = /var/log/apache/error.log
|
||||||
|
|
||||||
# Option: timeregex
|
# Option: timeregex
|
||||||
# Notes.: regex to match timestamp in Apache logfile. Seems to be
|
# Notes.: regex to match timestamp in Apache error logfile.
|
||||||
# Debian specific configuration
|
# Values: [Wed Jan 05 15:08:01 2005]
|
||||||
# Values: [08/Feb/2006:01:08:46]
|
|
||||||
# Default: \S{3} \S{3} \d{2} \d{2}:\d{2}:\d{2} \d{4}
|
# Default: \S{3} \S{3} \d{2} \d{2}:\d{2}:\d{2} \d{4}
|
||||||
#
|
#
|
||||||
timeregex = \d{2}/\S{3}/\d{4}:\d{2}:\d{2}:\d{2}
|
timeregex = \S{3} \S{3} \d{2} \d{2}:\d{2}:\d{2} \d{4}
|
||||||
|
|
||||||
# Option: timepattern
|
# Option: timepattern
|
||||||
# Notes.: format used in "timeregex" fields definition. Note that '%' must be
|
# Notes.: format used in "timeregex" fields definition. Note that '%' must be
|
||||||
# escaped with '%' (see http://rgruet.free.fr/PQR2.3.html#timeModule)
|
# escaped with '%' (see http://rgruet.free.fr/PQR2.3.html#timeModule)
|
||||||
# Values: TEXT Default: %%a %%b %%d %%H:%%M:%%S %%Y
|
# Values: TEXT Default: %%a %%b %%d %%H:%%M:%%S %%Y
|
||||||
#
|
#
|
||||||
timepattern = %%d/%%b/%%Y:%%H:%%M:%%S
|
timepattern = %%a %%b %%d %%H:%%M:%%S %%Y
|
||||||
|
|
||||||
# Option: failregex
|
# Option: failregex
|
||||||
# Notes.: regex to match the password failure messages in the logfile.
|
# Notes.: regex to match the password failure messages in the logfile.
|
||||||
|
@ -309,16 +308,16 @@ logfile = /var/log/apache/access.log
|
||||||
maxfailures = 2
|
maxfailures = 2
|
||||||
|
|
||||||
# Option: timeregex
|
# Option: timeregex
|
||||||
# Notes.: regex to match timestamp in Apache logfile.
|
# Notes.: regex to match timestamp in Apache access logfile.
|
||||||
# Values: [Wed Jan 05 15:08:01 2005]
|
# Values: [19/Feb/2006:08:38:18]
|
||||||
# Default: \S{3} \S{3} \d{2} \d{2}:\d{2}:\d{2} \d{4}
|
# Default: \d{2}/\S{3}/\d{4}:\d{2}:\d{2}:\d{2}
|
||||||
#
|
#
|
||||||
timeregex = \d{2}/\S{3}/\d{4}:\d{2}:\d{2}:\d{2}
|
timeregex = \d{2}/\S{3}/\d{4}:\d{2}:\d{2}:\d{2}
|
||||||
|
|
||||||
# Option: timepattern
|
# Option: timepattern
|
||||||
# Notes.: format used in "timeregex" fields definition. Note that '%' must be
|
# Notes.: format used in "timeregex" fields definition. Note that '%' must be
|
||||||
# escaped with '%' (see http://rgruet.free.fr/PQR2.3.html#timeModule)
|
# escaped with '%' (see http://rgruet.free.fr/PQR2.3.html#timeModule)
|
||||||
# Values: TEXT Default: %%a %%b %%d %%H:%%M:%%S %%Y
|
# Values: TEXT Default: %%d/%%b/%%Y:%%H:%%M:%%S
|
||||||
#
|
#
|
||||||
timepattern = %%d/%%b/%%Y:%%H:%%M:%%S
|
timepattern = %%d/%%b/%%Y:%%H:%%M:%%S
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
fail2ban (0.6.0-5) unstable; urgency=low
|
||||||
|
|
||||||
|
* Fixed Apache section: changed filepath to point at error.log, thus I had
|
||||||
|
to revert timeregex and timepattern to user RFC 2822 format (closes:
|
||||||
|
#354346)
|
||||||
|
|
||||||
|
-- Yaroslav Halchenko <debian@onerussian.com> Sat, 25 Feb 2006 19:56:46 -0500
|
||||||
|
|
||||||
fail2ban (0.6.0-4) unstable; urgency=low
|
fail2ban (0.6.0-4) unstable; urgency=low
|
||||||
|
|
||||||
* Modifications in README.Debian to reflect a "finding" on
|
* Modifications in README.Debian to reflect a "finding" on
|
||||||
|
|
Loading…
Reference in New Issue