]> git.mxchange.org Git - friendica.git/blobdiff - doc/tools.md
Change key-value table
[friendica.git] / doc / tools.md
index d068a2cc7834d4691c948ca6bf02a27c88fc2ed3..fac1f4b392b12d8d3e6defeb40601b276deec07a 100644 (file)
@@ -9,6 +9,7 @@ Friendica Tools
 Friendica has a build in command console you can find in the *bin* directory.
 The console provides the following commands:
 
+* cache:                  Manage node cache
 * config:                 Edit site config
 * createdoxygen:          Generate Doxygen headers
 * dbstructure:            Do database updates
@@ -24,6 +25,9 @@ The console provides the following commands:
 * php2po:                 Generate a messages.po file from a strings.php file
 * po2php:                 Generate a strings.php file from a messages.po file
 * typo:                   Checks for parse errors in Friendica files
+* postupdate:             Execute pending post update scripts (can last days)
+* storage:                Manage storage backend
+* relay:                  Manage ActivityPub relay servers
 
 Please consult *bin/console help* on the command line interface of your server for details about the commands.
 
@@ -47,13 +51,13 @@ In */etc/fail2ban/jail.local* create a section for Friendica:
        bantime  = 900
        filter = friendica
        port = http,https
-       logpath = /var/log/friend.log
+       logpath = /var/log/friendica.log
        logencoding = utf-8
 
 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.