]> git.mxchange.org Git - friendica.git/blobdiff - doc/tools.md
Merge pull request #9161 from MrPetovan/bug/9140-private-note-self-only
[friendica.git] / doc / tools.md
index cb6aa1c3aa924ecf384aee6b4c91e2bb533d4103..8746e9c15021810e5db1f67eae97470a8b6b325f 100644 (file)
@@ -56,7 +56,7 @@ In */etc/fail2ban/jail.local* create a section for Friendica:
 And create a filter definition in */etc/fail2ban/filter.d/friendica.conf*:
 
        [Definition]
-       failregex = ^.*Login\.php.*failed login attempt.*from IP <HOST>.*$
+       failregex = ^.*authenticate\: failed login attempt.*\"ip\"\:\"<HOST>\".*$
        ignoreregex =
 
 Additionally you have to define the number of failed logins before the ban should be activated.