Subversion Repositories configs

Rev

Rev 34 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34 Rev 39
Line 13... Line 13...
13
# Option:  actionstart
13
# Option:  actionstart
14
# Notes.:  command executed once at the start of Fail2Ban.
14
# Notes.:  command executed once at the start of Fail2Ban.
15
# Values:  CMD
15
# Values:  CMD
16
#
16
#
17
actionstart = printf %%b "Subject: [Fail2Ban] <name>: started on `uname -n`
17
actionstart = printf %%b "Subject: [Fail2Ban] <name>: started on `uname -n`
18
              Date: `LC_TIME=C date +"%%a, %%d %%h %%Y %%T %%z"`
18
              Date: `LC_ALL=C date +"%%a, %%d %%h %%Y %%T %%z"`
19
              From: <sendername> <<sender>>
19
              From: <sendername> <<sender>>
20
              To: <dest>\n
20
              To: <dest>\n
21
              Hi,\n
21
              Hi,\n
22
              The jail <name> has been started successfully.\n
22
              The jail <name> has been started successfully.\n
23
              Regards,\n
23
              Regards,\n
Line 26... Line 26...
26
# Option:  actionstop
26
# Option:  actionstop
27
# Notes.:  command executed once at the end of Fail2Ban
27
# Notes.:  command executed once at the end of Fail2Ban
28
# Values:  CMD
28
# Values:  CMD
29
#
29
#
30
actionstop = printf %%b "Subject: [Fail2Ban] <name>: stopped on `uname -n`
30
actionstop = printf %%b "Subject: [Fail2Ban] <name>: stopped on `uname -n`
31
             Date: `LC_TIME=C date +"%%a, %%d %%h %%Y %%T %%z"`
31
             Date: `LC_ALL=C date +"%%a, %%d %%h %%Y %%T %%z"`
32
             From: <sendername> <<sender>>
32
             From: <sendername> <<sender>>
33
             To: <dest>\n
33
             To: <dest>\n
34
             Hi,\n
34
             Hi,\n
35
             The jail <name> has been stopped.\n
35
             The jail <name> has been stopped.\n
36
             Regards,\n
36
             Regards,\n
Line 38... Line 38...
38
 
38
 
39
# Option:  actioncheck
39
# Option:  actioncheck
40
# Notes.:  command executed once before each actionban command
40
# Notes.:  command executed once before each actionban command
41
# Values:  CMD
41
# Values:  CMD
42
#
42
#
43
actioncheck = 
43
actioncheck =
44
 
44
 
45
# Option:  actionban
45
# Option:  actionban
46
# Notes.:  command executed when banning an IP. Take care that the
46
# Notes.:  command executed when banning an IP. Take care that the
47
#          command is executed with Fail2Ban user rights.
47
#          command is executed with Fail2Ban user rights.
48
# Tags:    See jail.conf(5) man page
48
# Tags:    See jail.conf(5) man page
49
# Values:  CMD
49
# Values:  CMD
50
#
50
#
51
actionban = 
51
actionban =
52
 
52
 
53
# Option:  actionunban
53
# Option:  actionunban
54
# Notes.:  command executed when unbanning an IP. Take care that the
54
# Notes.:  command executed when unbanning an IP. Take care that the
55
#          command is executed with Fail2Ban user rights.
55
#          command is executed with Fail2Ban user rights.
56
# Tags:    See jail.conf(5) man page
56
# Tags:    See jail.conf(5) man page
57
# Values:  CMD
57
# Values:  CMD
58
#
58
#
59
actionunban = 
59
actionunban =
60
 
60
 
61
[Init]
61
[Init]
62
 
62
 
63
# Recipient mail address
63
# Recipient mail address
64
#
64
#