mirror of https://github.com/fail2ban/fail2ban
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
988 B
33 lines
988 B
19 years ago
|
[DEFAULT]
|
||
|
|
||
|
maxretry = 22
|
||
|
|
||
|
# Option: logpath
|
||
|
# Notes.: logfile to monitor.
|
||
|
# Values: FILE Default: /var/log/secure
|
||
|
#
|
||
|
logpath = testcases/files/testcase01.log
|
||
|
|
||
|
# Option: timeregex
|
||
|
# Notes.: regex to match timestamp in SSH logfile. For TAI64N format,
|
||
|
# use timeregex = @[0-9a-f]{24}
|
||
|
# Values: [Mar 7 17:53:28]
|
||
|
# Default: \S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2}
|
||
|
#
|
||
|
timeregex = \S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2}
|
||
|
|
||
|
# Option: timepattern
|
||
|
# Notes.: format used in "timeregex" fields definition. Note that '%' must be
|
||
|
# escaped with '%' (see http://rgruet.free.fr/PQR2.3.html#timeModule).
|
||
|
# For TAI64N format, use timepattern = tai64n
|
||
|
# Values: TEXT Default: %%b %%d %%H:%%M:%%S
|
||
|
#
|
||
|
timepattern = %%b %%d %%H:%%M:%%S
|
||
|
|
||
|
# Option: failregex
|
||
|
# Notes.: regex to match the password failures messages in the logfile.
|
||
|
# Values: TEXT Default: Authentication failure|Failed password|Invalid user
|
||
|
#
|
||
|
failregex = Authentication failure|Failed password|Invalid user
|
||
|
|