From b2f6a3a658f83fa6e2ec80deffa44c837775e80a Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Sun, 4 Apr 2021 00:21:59 +0200 Subject: [PATCH] remove unneeded substitution it is enough to add `apprise` to action --- config/jail.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/jail.conf b/config/jail.conf index dbca2e8f..e17a1892 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -231,10 +231,10 @@ action_xarf = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(prot # See https://github.com/caronc/apprise/wiki for details on what is supported. # # You may optionally over-ride the default configuration line (containing the Apprise URLs) -# by using 'apprise[name=%(__name__)s, config="/alternate/path/to/apprise.cfg"]' otherwise +# by using 'apprise[config="/alternate/path/to/apprise.cfg"]' otherwise # /etc/fail2ban/apprise.conf is sourced for your supported notification configuration. -action_apprise = %(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"] - apprise[name=%(__name__)s] +# action = %(action_)s +# apprise # ban IP on CloudFlare & send an e-mail with whois report and relevant log lines # to the destemail.