Date: Wed, 15 Oct 2014 20:28:48 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370951 - in head/security/bruteblock: . files Message-ID: <201410152028.s9FKSmfX044279@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Oct 15 20:28:48 2014 New Revision: 370951 URL: https://svnweb.freebsd.org/changeset/ports/370951 QAT: https://qat.redports.org/buildarchive/r370951/ Log: - Fix regex to match all sshd auth errors PR: 194382 Submitted by: ronald-lists@klop.ws MFH: 2014Q4 Modified: head/security/bruteblock/Makefile head/security/bruteblock/files/patch-etc-ssh.conf Modified: head/security/bruteblock/Makefile ============================================================================== --- head/security/bruteblock/Makefile Wed Oct 15 20:27:29 2014 (r370950) +++ head/security/bruteblock/Makefile Wed Oct 15 20:28:48 2014 (r370951) @@ -3,7 +3,7 @@ PORTNAME= bruteblock PORTVERSION= 0.0.5 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= security MASTER_SITES= http://samm.kiev.ua/bruteblock/ \ http://mirror.amdmi3.ru/distfiles/ Modified: head/security/bruteblock/files/patch-etc-ssh.conf ============================================================================== --- head/security/bruteblock/files/patch-etc-ssh.conf Wed Oct 15 20:27:29 2014 (r370950) +++ head/security/bruteblock/files/patch-etc-ssh.conf Wed Oct 15 20:28:48 2014 (r370951) @@ -15,7 +15,7 @@ +# +regexp = sshd.*(?:Illegal|Invalid) user \S+ from (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +regexp1 = sshd.*Failed \S+ for (?:(?:illegal|invalid) user )?\S+ from (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) -+regexp2 = sshd.*error: PAM: authentication error for (?:(?:illegal|invalid) user )\S+ from (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) ++regexp2 = sshd.*error: PAM: authentication error for (?:(?:illegal|invalid) user )?\S+ from (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +regexp3 = sshd.*Did not receive identification string from (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) # Number of failed login attempts within time before we block
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410152028.s9FKSmfX044279>