mirror of https://github.com/fail2ban/fail2ban
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
# Fail2Ban main configuration file
|
|
#
|
|
# Comments: use '#' for comment lines and ';' for inline comments
|
|
#
|
|
# Changes: in most of the cases you should not modify this
|
|
# file, but provide customizations in fail2ban.local file, e.g.:
|
|
#
|
|
# [Definition]
|
|
# loglevel = 4
|
|
#
|
|
|
|
[Definition]
|
|
|
|
# Option: loglevel
|
|
# Notes.: Set the log level output.
|
|
# 1 = ERROR
|
|
# 2 = WARN
|
|
# 3 = INFO
|
|
# 4 = DEBUG
|
|
# Values: NUM Default: 3
|
|
#
|
|
loglevel = 3
|
|
|
|
# Option: logtarget
|
|
# Notes.: Set the log target. This could be a file, SYSLOG, STDERR or STDOUT.
|
|
# Only one log target can be specified.
|
|
# Values: STDOUT STDERR SYSLOG file Default: /var/log/fail2ban.log
|
|
#
|
|
logtarget = /var/log/fail2ban.log
|
|
|
|
# Option: socket
|
|
# 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.
|
|
# Values: FILE Default: /var/run/fail2ban/fail2ban.sock
|
|
#
|
|
socket = /var/run/fail2ban/fail2ban.sock
|
|
|