Subversion Repositories configs

Rev

Rev 5 | Go to most recent revision | Details | 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
[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\n
42
            Here are more information about <ip>:\n
43
            `whois <ip>`\n
44
            Regards,\n
45
            Fail2Ban"|mail -s "[Fail2Ban] <name>: banned <ip> from `uname -n`" <dest>
46
 
47
# Option:  actionunban
48
# Notes.:  command executed when unbanning an IP. Take care that the
49
#          command is executed with Fail2Ban user rights.
50
# Tags:    See jail.conf(5) man page
51
# Values:  CMD
52
#
53
actionunban =
54
 
55
[Init]
56
 
57
# Default name of the chain
58
#
59
name = default
60
 
61
# Destination/Addressee of the mail
62
#
63
dest = root
64