aboutsummaryrefslogtreecommitdiff
path: root/Fail2Ban/matrix.conf
blob: a4686de49a1abe0450ded2c6c5e1bccceb64652d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Fail2Ban configuration file
#
# Author: Oxbian
#
#
# Must be placed in the /etc/fail2ban/action.d folder

[INCLUDES]

before = mail-whois-common.conf

[Definition]

# Option: actionban
# Notes: command executed when banning an IP. Take care that the
#        command is executed with Fail2Ban user rights.
# Tags: See jail.conf(5) man page
# Values: CMD
#
actionban = YOUR_MATRIX_SH_PATH -s "The IP <ip> has just been banned by 
            Fail2Ban after <failures> attempts against <name>. \n\n Here is more infromations about <ip>:\n
            `%(_whois_command)s`" 

[Init]
init = YOUR_MATRIX_SH_PATH -s "Fail2Ban Matrix Notification enabled."
ArKa projects. All rights to me, and your next child right arm.