2013-06-11 18:56:25 +00:00
|
|
|
# Generic configuration items (to be used as interpolations) in other
|
2013-10-30 13:02:59 +00:00
|
|
|
# apache filters.
|
2013-06-11 18:56:25 +00:00
|
|
|
|
|
|
|
[INCLUDES]
|
|
|
|
|
|
|
|
# Load customizations if any available
|
|
|
|
after = apache-common.local
|
|
|
|
|
|
|
|
[DEFAULT]
|
|
|
|
|
2013-10-30 13:02:59 +00:00
|
|
|
_apache_error_client = \[[^]]*\] \[(error|\S+:\S+)\]( \[pid \d+:\S+ \d+\])? \[client <HOST>(:\d{1,5})?\]
|
|
|
|
|
2013-06-11 18:56:25 +00:00
|
|
|
# Common prefix for [error] apache messages which also would include <HOST>
|
2013-06-28 13:34:12 +00:00
|
|
|
# Depending on the version it could be
|
|
|
|
# 2.2: [Sat Jun 01 11:23:08 2013] [error] [client 1.2.3.4]
|
|
|
|
# 2.4: [Thu Jun 27 11:55:44.569531 2013] [core:info] [pid 4101:tid 2992634688] [client 1.2.3.4:46652]
|
2013-10-30 13:02:59 +00:00
|
|
|
#
|
2013-06-28 13:34:12 +00:00
|
|
|
# Reference: https://github.com/fail2ban/fail2ban/issues/268
|
2013-10-30 13:02:59 +00:00
|
|
|
#
|
|
|
|
# Author: Yaroslav Halchenko
|