summaryrefslogtreecommitdiff
path: root/ansible_tools/roles/set-fail2ban/templates/zimbra.conf.ubuntu.j2
diff options
context:
space:
mode:
authorAntoine Ouvrard <antoine.ouvrard@zextras.fr>2023-03-09 16:44:05 +0100
committerAntoine Ouvrard <antoine.ouvrard@zextras.fr>2023-03-09 16:44:05 +0100
commit38129c2455892386eb8c9171c90154192d5480ac (patch)
treefe0a52f9a2763b7248460cc42601dc6923b8184a /ansible_tools/roles/set-fail2ban/templates/zimbra.conf.ubuntu.j2
ajoute les archives
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 =