mirror of
https://github.com/linuxserver/fail2ban-confs.git
synced 2026-02-20 05:02:42 +08:00
18 lines
467 B
Plaintext
18 lines
467 B
Plaintext
## Version 2022/12/15
|
|
# 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 |system password authentication failed for )user "<F-USER>[^"]+</F-USER>"
|
|
|
|
[Init]
|
|
journalmatch = _SYSTEMD_UNIT=danted.service
|
|
|