From owner-svn-ports-branches@FreeBSD.ORG Wed Oct 15 22:27:34 2014 Return-Path: Delivered-To: svn-ports-branches@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DBAABA64; Wed, 15 Oct 2014 22:27:34 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE7D0B06; Wed, 15 Oct 2014 22:27:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9FMRYYJ002125; Wed, 15 Oct 2014 22:27:34 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9FMRYs2002123; Wed, 15 Oct 2014 22:27:34 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201410152227.s9FMRYs2002123@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 15 Oct 2014 22:27:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r370962 - in branches/2014Q4/security/bruteblock: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2014 22:27:35 -0000 Author: amdmi3 Date: Wed Oct 15 22:27:33 2014 New Revision: 370962 URL: https://svnweb.freebsd.org/changeset/ports/370962 QAT: https://qat.redports.org/buildarchive/r370962/ Log: MFH: r370951 - Fix regex to match all sshd auth errors PR: 194382 Submitted by: ronald-lists@klop.ws Approved by: portmgr Modified: branches/2014Q4/security/bruteblock/Makefile branches/2014Q4/security/bruteblock/files/patch-etc-ssh.conf Directory Properties: branches/2014Q4/ (props changed) Modified: branches/2014Q4/security/bruteblock/Makefile ============================================================================== --- branches/2014Q4/security/bruteblock/Makefile Wed Oct 15 22:26:24 2014 (r370961) +++ branches/2014Q4/security/bruteblock/Makefile Wed Oct 15 22:27:33 2014 (r370962) @@ -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: branches/2014Q4/security/bruteblock/files/patch-etc-ssh.conf ============================================================================== --- branches/2014Q4/security/bruteblock/files/patch-etc-ssh.conf Wed Oct 15 22:26:24 2014 (r370961) +++ branches/2014Q4/security/bruteblock/files/patch-etc-ssh.conf Wed Oct 15 22:27:33 2014 (r370962) @@ -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