summaryrefslogtreecommitdiff
path: root/ansible_tools/roles/set-fail2ban/templates/zimbra.conf.ubuntu.j2
diff options
context:
space:
mode:
Diffstat (limited to 'ansible_tools/roles/set-fail2ban/templates/zimbra.conf.ubuntu.j2')
-rw-r--r--ansible_tools/roles/set-fail2ban/templates/zimbra.conf.ubuntu.j211
1 files changed, 11 insertions, 0 deletions
diff --git a/ansible_tools/roles/set-fail2ban/templates/zimbra.conf.ubuntu.j2 b/ansible_tools/roles/set-fail2ban/templates/zimbra.conf.ubuntu.j2
new file mode 100644
index 0000000..8251337
--- /dev/null
+++ b/ansible_tools/roles/set-fail2ban/templates/zimbra.conf.ubuntu.j2
@@ -0,0 +1,11 @@
+[Definition]
+
+failregex = \[ip=<HOST>;\] account - authentication failed for .* \(no such account\)$
+ \[ip=<HOST>;\] security - cmd=Auth; .* error=authentication failed for .*, invalid password;$
+ \;oip=<HOST>;.* security - cmd=Auth; .* protocol=soap; error=authentication failed for .* invalid password;$
+ \[oip=<HOST>;.* SoapEngine - handler exception: authentication failed for .*, account not found$
+ \WARN .*;ip=<HOST>;ua=ZimbraWebClient .* security - cmd=AdminAuth; .* error=authentication failed for .*;$
+ \;oip=<HOST>;.* security - cmd=Auth; .* protocol=soap; error=authentication failed for .* missing userPassword;$
+ \;oip=<HOST>;.* SoapEngine - handler exception: authentication failed for .*, invalid password;$
+ \;oip=<HOST>;.* account - Error occurred during authentication: authentication failed for .* ;$
+ignoreregex =