mirror of https://github.com/fail2ban/fail2ban
32 lines
782 B
Plaintext
32 lines
782 B
Plaintext
# Fail2Ban configuration file
|
|
#
|
|
# Author: Arturo 'Buanzo' Busleiman <buanzo@buanzo.com.ar>
|
|
#
|
|
|
|
[INCLUDES]
|
|
|
|
# Read common prefixes. If any customizations available -- read them from
|
|
# common.local
|
|
before = common.conf
|
|
|
|
|
|
[Definition]
|
|
|
|
_daemon = (?:lighttpd|suhosin)
|
|
|
|
# Option: failregex
|
|
# Notes.: regex to match ALERTS as notified by lighttpd's FastCGI Module
|
|
# Values: TEXT
|
|
#
|
|
# https://github.com/stefanesser/suhosin/blob/1fba865ab73cc98a3109f88d85eb82c1bfc29b37/log.c#L161
|
|
|
|
_lighttpd_prefix = (?:\(mod_fastcgi\.c\.\d+\) FastCGI-stderr:\s)
|
|
|
|
failregex = ^%(__prefix_line)s%(_lighttpd_prefix)s?ALERT - .* \(attacker '<HOST>', file '.*'(?:, line \d+)?\)$
|
|
|
|
# Option: ignoreregex
|
|
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
|
# Values: TEXT
|
|
#
|
|
ignoreregex =
|