summaryrefslogtreecommitdiff
path: root/config/filter.d/dante.conf
blob: e3f6f7b2d691187d962ca9e40fe80dfe78313edf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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