mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Merge pull request #4143 from caronc/apprise-tag-support-v2
Some checks failed
Codespell / Check for spelling errors (push) Has been cancelled
CI / build (3.10) (push) Has been cancelled
CI / build (3.11) (push) Has been cancelled
CI / build (3.12) (push) Has been cancelled
CI / build (3.13) (push) Has been cancelled
CI / build (3.14) (push) Has been cancelled
CI / build (3.15.0-alpha.5) (push) Has been cancelled
CI / build (3.8) (push) Has been cancelled
CI / build (3.9) (push) Has been cancelled
CI / build (pypy3.11) (push) Has been cancelled
Some checks failed
Codespell / Check for spelling errors (push) Has been cancelled
CI / build (3.10) (push) Has been cancelled
CI / build (3.11) (push) Has been cancelled
CI / build (3.12) (push) Has been cancelled
CI / build (3.13) (push) Has been cancelled
CI / build (3.14) (push) Has been cancelled
CI / build (3.15.0-alpha.5) (push) Has been cancelled
CI / build (3.8) (push) Has been cancelled
CI / build (3.9) (push) Has been cancelled
CI / build (pypy3.11) (push) Has been cancelled
Small amend to #4141, adjust Apprise URL doc source and action comments
This commit is contained in:
commit
243876e60a
2 changed files with 6 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue