You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
468 B
21 lines
468 B
|
|
[Definition]
|
|
|
|
actionstart =
|
|
actionstop =
|
|
actioncheck =
|
|
actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip>
|
|
From: Fail2Ban <<sender>>
|
|
To: <dest>\n
|
|
Hi,\n
|
|
The IP <ip> has just been banned by Fail2Ban after
|
|
<failures> attempts against <name>.\n
|
|
Regards,\n
|
|
Fail2Ban" | /usr/sbin/sendmail -f <sender> <dest>
|
|
actionunban =
|
|
|
|
[Init]
|
|
name = default
|
|
dest = root
|
|
sender = fail2ban
|
|
|
|
|