Subversion Repositories configs

Rev

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

Rev 4 Rev 71
Line 108... Line 108...
108
# Option:  protocol
108
# Option:  protocol
109
# Notes.:  The protocol over which the attack is happening
109
# Notes.:  The protocol over which the attack is happening
110
# Values:  [ tcp | udp | icmp | (any other protocol name from /etc/protocols) | NUM ] Default: tcp
110
# Values:  [ tcp | udp | icmp | (any other protocol name from /etc/protocols) | NUM ] Default: tcp
111
#
111
#
112
protocol = tcp
112
protocol = tcp
-
 
113
 
-
 
114
# Option:  agent
-
 
115
# Default: Fail2ban
-
 
116
agent = Fail2ban
113
 
117
 
114
# Option:  getcmd
118
# Option:  getcmd
115
# Notes.:  A command to fetch a URL. Should output page to STDOUT
119
# Notes.:  A command to fetch a URL. Should output page to STDOUT
116
# Values:  CMD  Default: wget
120
# Values:  CMD  Default: wget
117
#
121
#
118
getcmd = wget --no-verbose --tries=3 --waitretry=10 --connect-timeout=10 --read-timeout=60 --retry-connrefused --output-document=- --user-agent=Fail2Ban
122
getcmd = wget --no-verbose --tries=3 --waitretry=10 --connect-timeout=10 --read-timeout=60 --retry-connrefused --output-document=- --user-agent=<agent>
119
# Alternative value:
123
# Alternative value:
120
# getcmd = curl --silent --show-error --retry 3 --connect-timeout 10 --max-time 60 --user-agent Fail2Ban
124
# getcmd = curl --silent --show-error --retry 3 --connect-timeout 10 --max-time 60 --user-agent <agent>
121
 
125
 
122
# Option:  srcport
126
# Option:  srcport
123
# Notes.:  The source port of the attack. You're unlikely to have this info, so
127
# Notes.:  The source port of the attack. You're unlikely to have this info, so
124
#          you can leave the default
128
#          you can leave the default
125
# Values:  [ NUM ]  Default: 0
129
# Values:  [ NUM ]  Default: 0