Subversion Repositories configs

Rev

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: Mark McKinstry
4
#
5
[Definition]
6
 
7
# Option:  actionstart
8
# Notes.:  command executed once at the start of Fail2Ban.
9
# Values:  CMD
10
#
11
actionstart =
12
 
13
# Option:  actionstop
14
# Notes.:  command executed once at the end of Fail2Ban
15
# Values:  CMD
16
#
17
actionstop =
18
 
19
# Option:  actioncheck
20
# Notes.:  command executed once before each actionban command
21
# Values:  CMD
22
#
23
actioncheck =
24
 
25
# Option:  actionban
26
# Notes.:  command executed when banning an IP. Take care that the
27
#          command is executed with Fail2Ban user rights.
28
# Tags:    <ip>  IP address
29
#          <failures>  number of failures
30
#          <time>  unix timestamp of the ban time
31
# Values:  CMD
32
#
33
actionban = apf --deny <ip> "banned by Fail2Ban <name>"
34
 
35
# Option:  actionunban
36
# Notes.:  command executed when unbanning an IP. Take care that the
37
#          command is executed with Fail2Ban user rights.
38
# Tags:    <ip>  IP address
39
#          <failures>  number of failures
40
#          <time>  unix timestamp of the ban time
41
# Values:  CMD
42
#
43
actionunban = apf --remove <ip>