From 3d73f45531d695d8e9101250a695324b825d82d2 Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Sun, 6 Aug 2006 21:23:06 +0000 Subject: [PATCH] - Added 'host' group in failregex git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@262 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- config/filter.d/sshd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/filter.d/sshd.conf b/config/filter.d/sshd.conf index 7b847fbd..42806e20 100644 --- a/config/filter.d/sshd.conf +++ b/config/filter.d/sshd.conf @@ -39,5 +39,5 @@ timepattern = %%b %%d %%H:%%M:%%S # Notes.: regex to match the password failures messages in the logfile. # Values: TEXT Default: Authentication failure|Failed password|Invalid user # -failregex = Authentication failure|Failed password|Invalid user +failregex = : (?:(?:Authentication failure|Failed [-/\w+]+) for(?: [iI](?:llegal|nvalid) user)?|[Ii](?:llegal|nvalid) user|ROOT LOGIN REFUSED) .*(?: from|FROM) (?:::f{4,6}:)?(?P\S*)