Skip to content

Commit

Permalink
dist: Update fail2ban filter
Browse files Browse the repository at this point in the history
Remove unnessecary log prefix matching.
  • Loading branch information
bn4t authored and foxcpp committed May 8, 2020
1 parent 79e3e33 commit b41ca65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/fail2ban/filter.d/maddy-auth.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
before = common.conf

[Definition]
failregex = (smtp|submission|lmtp|imap):\ authentication failed\t\{\"reason\":\".*\",\"src_ip\"\:\"<HOST>:\d+\"\,\"username\"\:\".*\"\}$
failregex = authentication failed\t\{\"reason\":\".*\",\"src_ip\"\:\"<HOST>:\d+\"\,\"username\"\:\".*\"\}$
journalmatch = _SYSTEMD_UNIT=maddy.service + _COMM=maddy

0 comments on commit b41ca65

Please sign in to comment.