Subversion Repositories configs

Rev

Rev 34 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
# Fail2Ban configuration file
2
#
3
# Author: Cyril Jaquier
4
#
5
#
6
 
7
[INCLUDES]
8
 
9
before = sendmail-common.conf
10
 
11
[Definition]
12
 
13
# Option:  actionban
14
# Notes.:  command executed when banning an IP. Take care that the
15
#          command is executed with Fail2Ban user rights.
16
# Tags:    See jail.conf(5) man page
17
# Values:  CMD
18
#
19
actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip> from `uname -n`
39 - 20
            Date: `LC_ALL=C date +"%%a, %%d %%h %%Y %%T %%z"`
4 - 21
            From: <sendername> <<sender>>
22
            To: <dest>\n
23
            Hi,\n
24
            The IP <ip> has just been banned by Fail2Ban after
25
            <failures> attempts against <name>.\n
26
            Regards,\n
27
            Fail2Ban" | /usr/sbin/sendmail -f <sender> <dest>
28
 
29
[Init]
30
 
31
# Default name of the chain
32
#
33
name = default
34