mirror of https://github.com/fail2ban/fail2ban
17 lines
490 B
Plaintext
17 lines
490 B
Plaintext
# Fail2Ban filter for dante
|
|
#
|
|
# Make sure you have "log: error" set in your "client pass" directive
|
|
#
|
|
|
|
[INCLUDES]
|
|
before = common.conf
|
|
|
|
[Definition]
|
|
_daemon = danted
|
|
|
|
failregex = ^%(__prefix_line)sinfo: block\(1\): tcp/accept \]: <HOST>\.\d+ [\d.]+: error after reading \d+ bytes? in \d+ seconds?: (could not access user "\w+"'s records in the system password file: no system error|system password authentication failed for user "\w+")$
|
|
|
|
[Init]
|
|
journalmatch = _SYSTEMD_UNIT=danted.service
|
|
|