Skip to content

Instantly share code, notes, and snippets.

@Dman46
Dman46 / jail.local
Last active July 15, 2020 20:20
Fail2ban - send Slack notifications
...
action_with_slack_notification = %(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]
slack[name=%(__name__)s]
action = %(action_with_slack_notification)s
...