diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-03-25 15:29:45 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-03-25 15:43:07 +0700 |
commit | 5501dcba8757cd10888756aa7da0831d0cc5ac0a (patch) | |
tree | 39727cbafaa3637b65b15aa74b7ddb49e09e0fce /fail2ban-filters | |
parent | 2df08459fab651912e9c6860b9b261f4c50ce0b8 (diff) | |
download | nixos-conf-5501dcba8757cd10888756aa7da0831d0cc5ac0a.tar.gz |
Add journalmatch for matching log
Diffstat (limited to 'fail2ban-filters')
-rw-r--r-- | fail2ban-filters/maddy.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fail2ban-filters/maddy.conf b/fail2ban-filters/maddy.conf index b354315..68f18a1 100644 --- a/fail2ban-filters/maddy.conf +++ b/fail2ban-filters/maddy.conf @@ -7,3 +7,4 @@ before = common.conf _daemon = maddy failregex = authentication failed\s{"reason":"auth: invalid credentials","src_ip":"<HOST> +journalmatch = _SYSTEMD_UNIT=maddy.service |