Created Fail2Ban config for Nextcloud

This commit is contained in:
b.waal
2019-11-26 14:54:23 +01:00
parent 7aac9a639a
commit 8e11cfacc3

View File

@@ -0,0 +1,4 @@
[Definition]
failregex=^{"reqId":".<em>","remoteAddr":".</em>","app":"core","message":"Login failed: '.<em>' &#40;Remote IP: '<HOST>'&#41;","level":2,"time":".</em>"}$
^{"reqId":".<em>","level":2,"time":".</em>","remoteAddr":".<em>","app":"core".</em>","message":"Login failed: '.<em>' &#40;Remote IP: '<HOST>'&#41;".</em>}$
^.<em>\"remoteAddr\":\"<HOST>\".</em>Trusted domain error.*$