X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Ftools.md;h=8746e9c15021810e5db1f67eae97470a8b6b325f;hb=065ab017c7508ef1d2aa39a13bfc4b68af3aa38d;hp=cb6aa1c3aa924ecf384aee6b4c91e2bb533d4103;hpb=ce31ccaade3874233950e283b580007ea314f3aa;p=friendica.git diff --git a/doc/tools.md b/doc/tools.md index cb6aa1c3aa..8746e9c150 100644 --- a/doc/tools.md +++ b/doc/tools.md @@ -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 .*$ + failregex = ^.*authenticate\: failed login attempt.*\"ip\"\:\"\".*$ ignoreregex = Additionally you have to define the number of failed logins before the ban should be activated.