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]
|
|
|
9 |
# loglevel = 4
|
|
|
10 |
#
|
|
|
11 |
|
|
|
12 |
[Definition]
|
|
|
13 |
|
|
|
14 |
# Option: loglevel
|
|
|
15 |
# Notes.: Set the log level output.
|
|
|
16 |
# 1 = ERROR
|
|
|
17 |
# 2 = WARN
|
|
|
18 |
# 3 = INFO
|
|
|
19 |
# 4 = DEBUG
|
|
|
20 |
# Values: [ NUM ] Default: 1
|
|
|
21 |
#
|
|
|
22 |
loglevel = 3
|
|
|
23 |
|
|
|
24 |
# Option: logtarget
|
|
|
25 |
# Notes.: Set the log target. This could be a file, SYSLOG, STDERR or STDOUT.
|
|
|
26 |
# Only one log target can be specified.
|
|
|
27 |
# If you change logtarget from the default value and you are
|
|
|
28 |
# using logrotate -- also adjust or disable rotation in the
|
|
|
29 |
# corresponding configuration file
|
|
|
30 |
# (e.g. /etc/logrotate.d/fail2ban on Debian systems)
|
|
|
31 |
# Values: [ STDOUT | STDERR | SYSLOG | FILE ] Default: STDERR
|
|
|
32 |
#
|
|
|
33 |
logtarget = SYSLOG
|
|
|
34 |
|
|
|
35 |
# Option: socket
|
|
|
36 |
# Notes.: Set the socket file. This is used to communicate with the daemon. Do
|
|
|
37 |
# not remove this file when Fail2ban runs. It will not be possible to
|
|
|
38 |
# communicate with the server afterwards.
|
|
|
39 |
# Values: [ FILE ] Default: /var/run/fail2ban/fail2ban.sock
|
|
|
40 |
#
|
|
|
41 |
socket = /var/run/fail2ban/fail2ban.sock
|
|
|
42 |
|
|
|
43 |
# Option: pidfile
|
|
|
44 |
# Notes.: Set the PID file. This is used to store the process ID of the
|
|
|
45 |
# fail2ban server.
|
|
|
46 |
# Values: [ FILE ] Default: /var/run/fail2ban/fail2ban.pid
|
|
|
47 |
#
|
|
|
48 |
pidfile = /var/run/fail2ban/fail2ban.pid
|
|
|
49 |
|