about summary refs log tree commit diff
path: root/fail2ban-filters
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2024-03-25 14:52:01 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2024-03-25 14:52:01 +0700
commitc068201813845d32d55169aa495c2aace27e9502 (patch)
tree79f19bb6230c9bf2e8bd1b8fe79f567b3a9da0db /fail2ban-filters
parentaf6b4731e458b40821a18438223edc8a05014779 (diff)
downloadnixos-conf-c068201813845d32d55169aa495c2aace27e9502.tar.gz
Update filter for maddy
Diffstat (limited to 'fail2ban-filters')
-rw-r--r--fail2ban-filters/maddy.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/fail2ban-filters/maddy.conf b/fail2ban-filters/maddy.conf
new file mode 100644
index 0000000..b354315
--- /dev/null
+++ b/fail2ban-filters/maddy.conf
@@ -0,0 +1,9 @@
+[INCLUDES]
+
+before = common.conf
+
+[Definition]
+
+_daemon = maddy
+
+failregex = authentication failed\s{"reason":"auth: invalid credentials","src_ip":"<HOST>