From 3122f5eeae809bcac6d5eaa16d77df49881a2691 Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Sun, 20 Feb 2005 13:38:10 +0000 Subject: [PATCH] - Added PID lock file option - Added more comments git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@63 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- config/fail2ban.conf.default | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/config/fail2ban.conf.default b/config/fail2ban.conf.default index 5aa5b740..fc9be3ab 100644 --- a/config/fail2ban.conf.default +++ b/config/fail2ban.conf.default @@ -16,6 +16,10 @@ background = false # and bypass root user test. debug = false +# pidlock: the path of the PID lock file. Fail2Ban must be +# able to write into that file. +#pidlock = /var/run/fail2ban.pid + # logfile: the path of the file for logging messages of # fail2ban. logfile = /var/log/fail2ban.log @@ -54,12 +58,13 @@ logfile = log-test/apache timeregex = \S{3} \S{3} \d{2} \d{2}:\d{2}:\d{2} \d{4} # timepattern: indicates the "timeregex" fields signification. +# Notice that '%' must be espaced with '%'. # See syntax here: http://rgruet.free.fr/PQR2.3.html#timeModule timepattern = %%a %%b %%d %%H:%%M:%%S %%Y # failregex: regular expression which have to match the # message written in the log file in case of password failure. -failregex = authentication failure +failregex = authentication failure|user .* not found [SSH] # logfile: file to monitor. @@ -71,10 +76,11 @@ logfile = log-test/current timeregex = \S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2} # timepattern: indicates the "timeregex" fields signification. +# Notice that '%' must be espaced with '%'. # See syntax here: http://rgruet.free.fr/PQR2.3.html#timeModule timepattern = %%b %%d %%H:%%M:%%S # failregex: regular expression which have to match the # message written in the log file in case of password failure. -failregex = Authentication failure +failregex = Authentication failure|Failed password