mirror of https://github.com/fail2ban/fail2ban
- Removed debug option
- Added SMTP authentification support - Added TAI64N support git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@226 a942ae1a-1317-0410-a47c-b1dcaea8d6050.6
parent
3eb0ca0ee5
commit
be26cd5b75
|
@ -11,12 +11,6 @@
|
||||||
#
|
#
|
||||||
background = false
|
background = false
|
||||||
|
|
||||||
# Option: debug
|
|
||||||
# Notes.: enable debug mode. More verbose output and bypass root user test.
|
|
||||||
# Values: [true | false] Default: false
|
|
||||||
#
|
|
||||||
debug = false
|
|
||||||
|
|
||||||
# Option: logtargets
|
# Option: logtargets
|
||||||
# Notes.: log targets. Space separated list of logging targets.
|
# Notes.: log targets. Space separated list of logging targets.
|
||||||
# Values: STDERR SYSLOG file Default: /var/log/fail2ban.log
|
# Values: STDERR SYSLOG file Default: /var/log/fail2ban.log
|
||||||
|
@ -120,6 +114,19 @@ host = localhost
|
||||||
#
|
#
|
||||||
port = 25
|
port = 25
|
||||||
|
|
||||||
|
# Option: user
|
||||||
|
# Notes.: the username for smtp-server if authentification is required.
|
||||||
|
# if user is empty, no authentification is done.
|
||||||
|
# Values: STR Default:
|
||||||
|
#
|
||||||
|
user =
|
||||||
|
|
||||||
|
# Option: password
|
||||||
|
# Notes.: the smtp-user's password if authentification is required.
|
||||||
|
# Values: STR Default:
|
||||||
|
#
|
||||||
|
password =
|
||||||
|
|
||||||
# Option: from
|
# Option: from
|
||||||
# Notes.: e-mail address of the sender.
|
# Notes.: e-mail address of the sender.
|
||||||
# Values: MAIL Default: fail2ban
|
# Values: MAIL Default: fail2ban
|
||||||
|
@ -229,7 +236,8 @@ fwban = iptables -I fail2ban-http 1 -s <ip> -j DROP
|
||||||
fwunban = iptables -D fail2ban-http -s <ip> -j DROP
|
fwunban = iptables -D fail2ban-http -s <ip> -j DROP
|
||||||
|
|
||||||
# Option: timeregex
|
# Option: timeregex
|
||||||
# Notes.: regex to match timestamp in Apache logfile.
|
# Notes.: regex to match timestamp in Apache logfile. For TAI64N format,
|
||||||
|
# use timeregex = @[0-9a-f]{24}
|
||||||
# Values: [Wed Jan 05 15:08:01 2005]
|
# Values: [Wed Jan 05 15:08:01 2005]
|
||||||
# Default: \S{3} \S{3} \d{2} \d{2}:\d{2}:\d{2} \d{4}
|
# Default: \S{3} \S{3} \d{2} \d{2}:\d{2}:\d{2} \d{4}
|
||||||
#
|
#
|
||||||
|
@ -237,7 +245,8 @@ timeregex = \S{3} \S{3} \d{2} \d{2}:\d{2}:\d{2} \d{4}
|
||||||
|
|
||||||
# Option: timepattern
|
# Option: timepattern
|
||||||
# Notes.: format used in "timeregex" fields definition. Note that '%' must be
|
# Notes.: format used in "timeregex" fields definition. Note that '%' must be
|
||||||
# escaped with '%' (see http://rgruet.free.fr/PQR2.3.html#timeModule)
|
# escaped with '%' (see http://rgruet.free.fr/PQR2.3.html#timeModule).
|
||||||
|
# For TAI64N format, use timepattern = tai64n
|
||||||
# Values: TEXT Default: %%a %%b %%d %%H:%%M:%%S %%Y
|
# Values: TEXT Default: %%a %%b %%d %%H:%%M:%%S %%Y
|
||||||
#
|
#
|
||||||
timepattern = %%a %%b %%d %%H:%%M:%%S %%Y
|
timepattern = %%a %%b %%d %%H:%%M:%%S %%Y
|
||||||
|
@ -308,7 +317,8 @@ fwban = iptables -I fail2ban-ssh 1 -s <ip> -j DROP
|
||||||
fwunban = iptables -D fail2ban-ssh -s <ip> -j DROP
|
fwunban = iptables -D fail2ban-ssh -s <ip> -j DROP
|
||||||
|
|
||||||
# Option: timeregex
|
# Option: timeregex
|
||||||
# Notes.: regex to match timestamp in SSH logfile.
|
# Notes.: regex to match timestamp in SSH logfile. For TAI64N format,
|
||||||
|
# use timeregex = @[0-9a-f]{24}
|
||||||
# Values: [Mar 7 17:53:28]
|
# Values: [Mar 7 17:53:28]
|
||||||
# Default: \S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2}
|
# Default: \S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2}
|
||||||
#
|
#
|
||||||
|
@ -316,7 +326,8 @@ timeregex = \S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2}
|
||||||
|
|
||||||
# Option: timepattern
|
# Option: timepattern
|
||||||
# Notes.: format used in "timeregex" fields definition. Note that '%' must be
|
# Notes.: format used in "timeregex" fields definition. Note that '%' must be
|
||||||
# escaped with '%' (see http://rgruet.free.fr/PQR2.3.html#timeModule)
|
# escaped with '%' (see http://rgruet.free.fr/PQR2.3.html#timeModule).
|
||||||
|
# For TAI64N format, use timepattern = tai64n
|
||||||
# Values: TEXT Default: %%b %%d %%H:%%M:%%S
|
# Values: TEXT Default: %%b %%d %%H:%%M:%%S
|
||||||
#
|
#
|
||||||
timepattern = %%b %%d %%H:%%M:%%S
|
timepattern = %%b %%d %%H:%%M:%%S
|
||||||
|
|
Loading…
Reference in New Issue