Subversion Repositories configs

Rev

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 = touch /var/run/fail2ban/fail2ban.dummy
14
              printf %%b "<init>\n" >> /var/run/fail2ban/fail2ban.dummy
15
 
16
# Option:  actionstop
17
# Notes.:  command executed once at the end of Fail2Ban
18
# Values:  CMD
19
#
20
actionstop = rm -f /var/run/fail2ban/fail2ban.dummy
21
 
22
# Option:  actioncheck
23
# Notes.:  command executed once before each actionban command
24
# Values:  CMD
25
#
26
actioncheck =
27
 
28
# Option:  actionban
29
# Notes.:  command executed when banning an IP. Take care that the
30
#          command is executed with Fail2Ban user rights.
31
# Tags:    See jail.conf(5) man page
32
# Values:  CMD
33
#
34
actionban = printf %%b "+<ip>\n" >> /var/run/fail2ban/fail2ban.dummy
35
 
36
# Option:  actionunban
37
# Notes.:  command executed when unbanning an IP. Take care that the
38
#          command is executed with Fail2Ban user rights.
39
# Tags:    See jail.conf(5) man page
40
# Values:  CMD
41
#
42
actionunban = printf %%b "-<ip>\n" >> /var/run/fail2ban/fail2ban.dummy
43
 
44
[Init]
45
 
46
init = 123
47