Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 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
# bypass ban/unban for restored tickets
14
norestored = 1
15
 
16
# Option:  actionban
17
# Notes.:  command executed when banning an IP. Take care that the
18
#          command is executed with Fail2Ban user rights.
19
# Tags:    See jail.conf(5) man page
20
# Values:  CMD
21
#
22
actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip> from <fq-hostname>
23
            Date: `LC_ALL=C date +"%%a, %%d %%h %%Y %%T %%z"`
24
            From: <sendername> <<sender>>
25
            To: <dest>\n
26
            Hi,\n
27
            The IP <ip> has just been banned by Fail2Ban after
28
            <failures> attempts against <name>.\n
29
            Regards,\n
30
            Fail2Ban" | <mailcmd>
31
 
32
[Init]
33
 
34
# Default name of the chain
35
#
36
name = default
37