From 05f6ad4fcc337a9cf6a4f53d00f8f867a97c6086 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Sun, 1 Feb 2026 20:52:06 -0500 Subject: [PATCH 1/2] small fix to url for Apprise doc source --- config/jail.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/jail.conf b/config/jail.conf index aa2da268..18749e1b 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -230,7 +230,7 @@ action_xarf = %(action_)s # ban & send a notification to one or more of the 120+ services supported by Apprise. # action = %(action_)s # apprise[config="/alternate/path/to/apprise.yaml", args='--tag fail2ban'] -# See https://github.com/caronc/apprise/wiki for details on what is supported. +# See https://appriseit.com/services/ for details on what is supported. # Or action.d/apprise.conf for more details how to configure or customize it. # ban IP on CloudFlare & send an e-mail with whois report and relevant log lines From 3bead7c011aa5c695586203349599fa32f9d7fa9 Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Mon, 2 Feb 2026 03:04:25 +0100 Subject: [PATCH 2/2] Update comments in action jail.conf shall be unmodified (jails are ideally in jail.local or jail.d/*.conf) --- config/action.d/apprise.conf | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/config/action.d/apprise.conf b/config/action.d/apprise.conf index 4b8708a3..899b1e5f 100644 --- a/config/action.d/apprise.conf +++ b/config/action.d/apprise.conf @@ -31,12 +31,10 @@ # # /etc/fail2ban/apprise.conf # fail2ban=mailto://user:pass@example.com # ``` -# 2 In /etc/fail2ban/jail.conf +# 2 In jail: # ``` -# # ... # action = %(action_)s # apprise[args='--tag fail2ban'] -# # ... # ``` # # Config Example #2: YAML an Custom path @@ -47,21 +45,19 @@ # - mailto://user:pass@example.com: # tags: f2b # ``` -# 2. In /etc/fail2ban/jail.conf +# 2. In jail: # ``` -# # ... # action = %(action_)s # apprise[config='/etc/fail2ban/apprise.yaml',args='--tag f2b'] -# # ... # ``` # # Config Example #3: Apprise API -# 1. in /etc/fail2ban/jail.conf +# 1. In jail: # ``` -# # ... # action = %(action_)s # apprise[config='http://apprise.example.ca/get/mykey',args='-g f2b'] -# # ... +# ``` + [Definition] # Option: actionstart