Subversion Repositories configs

Rev

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

Rev Author Line No. Line
4 - 1
# Fail2Ban main configuration file
2
#
3
# Comments: use '#' for comment lines and ';' (following a space) for inline comments
4
#
5
# Changes:  in most of the cases you should not modify this
6
#           file, but provide customizations in fail2ban.local file, e.g.:
7
#
8
# [Definition]
34 - 9
# loglevel = DEBUG
4 - 10
#
11
 
12
[Definition]
13
 
14
# Option: loglevel
15
# Notes.: Set the log level output.
34 - 16
#         CRITICAL
17
#         ERROR
18
#         WARNING
19
#         NOTICE
20
#         INFO
21
#         DEBUG
22
# Values: [ LEVEL ]  Default: ERROR
4 - 23
#
34 - 24
loglevel = INFO
4 - 25
 
26
# Option: logtarget
27
# Notes.: Set the log target. This could be a file, SYSLOG, STDERR or STDOUT.
28
#         Only one log target can be specified.
29
#         If you change logtarget from the default value and you are
30
#         using logrotate -- also adjust or disable rotation in the
31
#         corresponding configuration file
32
#         (e.g. /etc/logrotate.d/fail2ban on Debian systems)
33
# Values: [ STDOUT | STDERR | SYSLOG | FILE ]  Default: STDERR
34
#
35
logtarget = SYSLOG
36
 
34 - 37
# Option: syslogsocket
38
# Notes: Set the syslog socket file. Only used when logtarget is SYSLOG
39
#        auto uses platform.system() to determine predefined paths
40
# Values: [ auto | FILE ]  Default: auto
41
syslogsocket = auto
42
 
4 - 43
# Option: socket
44
# Notes.: Set the socket file. This is used to communicate with the daemon. Do
45
#         not remove this file when Fail2ban runs. It will not be possible to
46
#         communicate with the server afterwards.
47
# Values: [ FILE ]  Default: /var/run/fail2ban/fail2ban.sock
48
#
49
socket = /var/run/fail2ban/fail2ban.sock
50
 
51
# Option: pidfile
52
# Notes.: Set the PID file. This is used to store the process ID of the
53
#         fail2ban server.
54
# Values: [ FILE ]  Default: /var/run/fail2ban/fail2ban.pid
55
#
56
pidfile = /var/run/fail2ban/fail2ban.pid
57
 
34 - 58
# Options: dbfile
59
# Notes.: Set the file for the fail2ban persistent data to be stored.
60
#         A value of ":memory:" means database is only stored in memory
61
#         and data is lost when fail2ban is stopped.
62
#         A value of "None" disables the database.
63
# Values: [ None :memory: FILE ] Default: /var/lib/fail2ban/fail2ban.sqlite3
64
dbfile = /var/lib/fail2ban/fail2ban.sqlite3
65
 
66
# Options: dbpurgeage
67
# Notes.: Sets age at which bans should be purged from the database
68
# Values: [ SECONDS ] Default: 86400 (24hours)
69
dbpurgeage = 86400