Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 - 1
# Fail2Ban configuration file
2
#
3
# Author: Cyril Jaquier
4
#
5
#
6
 
7
[Definition]
8
 
9
# Option:  actionstart
10
# Notes.:  command executed once at the start of Fail2Ban.
11
# Values:  CMD
12
#
13
actionstart = printf %%b "Hi,\n
14
              The jail <name> has been started successfully.\n
15
              Regards,\n
16
              Fail2Ban"|mail -s "[Fail2Ban] <name>: started  on `uname -n`" <dest>
17
 
18
# Option:  actionstop
19
# Notes.:  command executed once at the end of Fail2Ban
20
# Values:  CMD
21
#
22
actionstop = printf %%b "Hi,\n
23
             The jail <name> has been stopped.\n
24
             Regards,\n
25
             Fail2Ban"|mail -s "[Fail2Ban] <name>: stopped on `uname -n`" <dest>
26
 
27
# Option:  actioncheck
28
# Notes.:  command executed once before each actionban command
29
# Values:  CMD
30
#
31
actioncheck =
32
 
33
# Option:  actionban
34
# Notes.:  command executed when banning an IP. Take care that the
35
#          command is executed with Fail2Ban user rights.
36
# Tags:    See jail.conf(5) man page
37
# Values:  CMD
38
#
39
actionban = printf %%b "Hi,\n
40
            The IP <ip> has just been banned by Fail2Ban after
41
            <failures> attempts against <name>.\n
42
            Regards,\n
43
            Fail2Ban"|mail -s "[Fail2Ban] <name>: banned <ip> from `uname -n`" <dest>
44
 
45
# Option:  actionunban
46
# Notes.:  command executed when unbanning an IP. Take care that the
47
#          command is executed with Fail2Ban user rights.
48
# Tags:    See jail.conf(5) man page
49
# Values:  CMD
50
#
51
actionunban =
52
 
53
[Init]
54
 
55
# Default name of the chain
56
#
57
name = default
58
 
59
# Destination/Addressee of the mail
60
#
61
dest = root
62