From 3285432916cd7d4db0d1aaffeeb948271fc068b4 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 2 May 2013 16:14:26 +0200 Subject: [PATCH] Fix sogo failregex --- root/etc/fail2ban/filter.d/sogo.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/fail2ban/filter.d/sogo.conf b/root/etc/fail2ban/filter.d/sogo.conf index 730a379..9357fc2 100644 --- a/root/etc/fail2ban/filter.d/sogo.conf +++ b/root/etc/fail2ban/filter.d/sogo.conf @@ -5,6 +5,6 @@ before = common.conf _daemon = sogod -failregex = %(__prefix_line)s\s*SOGoRootPage Login from '' for user '.*' might not have worked \-.* +failregex = ^\s*%(_daemon)s\s*%(__pid_re)s:\s*SOGoRootPage Login from '' for user '.*' might not have worked \-.*$ ignoreregex =