diff options
-rw-r--r-- | config/jail.conf | 9 | ||||
-rwxr-xr-x | files/gentoo-initd | 3 |
2 files changed, 8 insertions, 4 deletions
diff --git a/config/jail.conf b/config/jail.conf index 41cb3529..1dabafe6 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -190,10 +190,11 @@ action_cf_mwl = cloudflare[cfuser="%(cfemail)s", cftoken="%(cfapikey)s"] # Report block via blocklist.de fail2ban reporting service API # -# See the IMPORTANT note in action.d/blocklist_de.conf for when to -# use this action. Create a file jail.d/blocklist_de.local containing -# [Init] -# blocklist_de_apikey = {api key from registration] +# See the IMPORTANT note in action.d/blocklist_de.conf for when to use this action. +# Specify expected parameters in file action.d/blocklist_de.local or if the interpolation +# `action_blocklist_de` used for the action, set value of `blocklist_de_apikey` +# in your `jail.local` globally (section [DEFAULT]) or per specific jail section (resp. in +# corresponding jail.d/my-jail.local file). # action_blocklist_de = blocklist_de[email="%(sender)s", service=%(filter)s, apikey="%(blocklist_de_apikey)s", agent="%(fail2ban_agent)s"] diff --git a/files/gentoo-initd b/files/gentoo-initd index d4e52bcb..0fb157cd 100755 --- a/files/gentoo-initd +++ b/files/gentoo-initd @@ -18,6 +18,9 @@ # Author: Sireyessire, Cyril Jaquier # +description="Daemon to ban hosts that cause multiple authentication errors" +description_reload="reload configuration" +description_showlog="show fail2ban logs" extra_started_commands="reload showlog" FAIL2BAN="/usr/bin/fail2ban-client ${FAIL2BAN_OPTIONS}" |