mirror of https://github.com/fail2ban/fail2ban
34 lines
903 B
Plaintext
34 lines
903 B
Plaintext
![]() |
[Definition]
|
||
|
|
||
|
# Option: maxretry
|
||
|
# Notes.: number of failures before IP gets banned.
|
||
|
# Values: NUM Default: 5
|
||
|
#
|
||
|
maxretry = 5
|
||
|
|
||
|
# Option: logfile
|
||
|
# Notes.: logfile to monitor.
|
||
|
# Values: FILE Default: /var/log/vsftpd.log
|
||
|
#
|
||
|
logfile = /var/log/vsftpd.log
|
||
|
|
||
|
# Option: timeregex
|
||
|
# Notes.: regex to match timestamp in VSFTPD logfile.
|
||
|
# 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)
|
||
|
# 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 = FAIL LOGIN
|