2012-06-05 02:41:28 +00:00
|
|
|
# Fail2Ban main configuration file
|
2006-07-17 19:26:14 +00:00
|
|
|
#
|
2013-05-13 01:42:59 +00:00
|
|
|
# Comments: use '#' for comment lines and ';' (following a space) for inline comments
|
2006-07-17 19:26:14 +00:00
|
|
|
#
|
2012-06-05 02:41:28 +00:00
|
|
|
# Changes: in most of the cases you should not modify this
|
|
|
|
# file, but provide customizations in fail2ban.local file, e.g.:
|
|
|
|
#
|
|
|
|
# [Definition]
|
|
|
|
# loglevel = 4
|
2006-07-17 19:26:14 +00:00
|
|
|
#
|
|
|
|
|
2006-07-16 21:35:08 +00:00
|
|
|
[Definition]
|
2006-06-26 20:05:00 +00:00
|
|
|
|
2006-08-20 21:34:55 +00:00
|
|
|
# Option: loglevel
|
|
|
|
# Notes.: Set the log level output.
|
|
|
|
# 1 = ERROR
|
|
|
|
# 2 = WARN
|
|
|
|
# 3 = INFO
|
|
|
|
# 4 = DEBUG
|
|
|
|
# Values: NUM Default: 3
|
|
|
|
#
|
2006-07-08 16:51:14 +00:00
|
|
|
loglevel = 3
|
2006-06-26 20:05:00 +00:00
|
|
|
|
2006-08-20 21:34:55 +00:00
|
|
|
# Option: logtarget
|
2006-12-13 23:02:46 +00:00
|
|
|
# Notes.: Set the log target. This could be a file, SYSLOG, STDERR or STDOUT.
|
|
|
|
# Only one log target can be specified.
|
2013-01-04 15:55:14 +00:00
|
|
|
# If you change logtarget from the default value and you are
|
|
|
|
# using logrotate -- also adjust or disable rotation in the
|
|
|
|
# corresponding configuration file
|
|
|
|
# (e.g. /etc/logrotate.d/fail2ban on Debian systems)
|
2006-12-13 23:02:46 +00:00
|
|
|
# Values: STDOUT STDERR SYSLOG file Default: /var/log/fail2ban.log
|
2006-08-20 21:34:55 +00:00
|
|
|
#
|
2006-08-06 21:24:06 +00:00
|
|
|
logtarget = /var/log/fail2ban.log
|
2006-10-17 21:12:22 +00:00
|
|
|
|
|
|
|
# Option: socket
|
2006-12-18 22:33:01 +00:00
|
|
|
# Notes.: Set the socket file. This is used to communicate with the daemon. Do
|
|
|
|
# not remove this file when Fail2ban runs. It will not be possible to
|
|
|
|
# communicate with the server afterwards.
|
2007-12-14 21:33:33 +00:00
|
|
|
# Values: FILE Default: /var/run/fail2ban/fail2ban.sock
|
2006-10-17 21:12:22 +00:00
|
|
|
#
|
2007-12-14 21:33:33 +00:00
|
|
|
socket = /var/run/fail2ban/fail2ban.sock
|
2006-10-17 21:12:22 +00:00
|
|
|
|
2013-02-17 22:14:01 +00:00
|
|
|
# Option: pidfile
|
|
|
|
# Notes.: Set the PID file. This is used to store the process ID of the
|
|
|
|
# fail2ban server.
|
2013-02-17 22:42:24 +00:00
|
|
|
# Values: FILE Default: /var/run/fail2ban/fail2ban.pid
|
2013-02-17 22:14:01 +00:00
|
|
|
#
|
|
|
|
pidfile = /var/run/fail2ban/fail2ban.pid
|
|
|
|
|