Subversion Repositories configs

Rev

Rev 4 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
# Fail2Ban configuration file
2
#
3
# Author: Cyril Jaquier
4
#
5
#
6
# The default Shorewall configuration is with "BLACKLISTNEWONLY=Yes" (see
7
# file /etc/shorewall/shorewall.conf). This means that when Fail2ban adds a
8
# new shorewall rule to ban an IP address, that rule will affect only new
9
# connections. So if the attempter goes on trying using the same connection
10
# he could even log in. In order to get the same behavior of the iptable
11
# action (so that the ban is immediate) the /etc/shorewall/shorewall.conf
5 - 12
# file should me modified with "BLACKLISTNEWONLY=No". Note that as of
13
# Shorewall 4.5.13 BLACKLISTNEWONLY is deprecated; however the equivalent
14
# of BLACKLISTNEWONLY=No can now be achieved by setting BLACKLIST="ALL".
4 - 15
#
16
 
17
[Definition]
18
 
19
# Option:  actionstart
20
# Notes.:  command executed once at the start of Fail2Ban.
21
# Values:  CMD
22
#
23
actionstart =
24
 
25
# Option:  actionstop
26
# Notes.:  command executed once at the end of Fail2Ban
27
# Values:  CMD
28
#
29
actionstop =
30
 
31
# Option:  actioncheck
32
# Notes.:  command executed once before each actionban command
33
# Values:  CMD
34
#
35
actioncheck =
36
 
37
# Option:  actionban
38
# Notes.:  command executed when banning an IP. Take care that the
39
#          command is executed with Fail2Ban user rights.
40
# Tags:    See jail.conf(5) man page
41
# Values:  CMD
42
#
43
actionban = shorewall <blocktype> <ip>
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 = shorewall allow <ip>
52
 
53
[Init]
54
 
55
# Option:  blocktype
56
# Note:    This is what the action does with rules.
57
#          See man page of shorewall for options that include drop, logdrop, reject, or logreject
58
# Values:  STRING
59
blocktype = reject