Bug 194382

Summary: [patch] security/bruteblock:fix regexp to match line in the log
Product: Ports & Packages Reporter: Ronald Klop <ronald-lists>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Some People Flags: ronald-lists: maintainer-feedback? (amdmi3)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to files/patch-etc-ssh.conf none

Description Ronald Klop 2014-10-15 14:48:06 UTC
Created attachment 148340 [details]
patch to files/patch-etc-ssh.conf

The regexp2 in the example ssh.conf does not match this line.

/var/log/auth.log:Oct 15 16:17:18 sheeva sshd[25744]: error: PAM: authentication error for root from 81.21.138.20

The patch fixes that. I'm running with does for a couple of months now.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-10-15 14:48:06 UTC
Auto-assigned to maintainer amdmi3@FreeBSD.org
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-10-15 20:29:05 UTC
A commit references this bug:

Author: amdmi3
Date: Wed Oct 15 20:28:49 UTC 2014
New revision: 370951
URL: https://svnweb.freebsd.org/changeset/ports/370951

Log:
  - Fix regex to match all sshd auth errors

  PR:		194382
  Submitted by:	ronald-lists@klop.ws
  MFH:		2014Q4

Changes:
  head/security/bruteblock/Makefile
  head/security/bruteblock/files/patch-etc-ssh.conf
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-10-15 22:28:20 UTC
A commit references this bug:

Author: amdmi3
Date: Wed Oct 15 22:27:34 UTC 2014
New revision: 370962
URL: https://svnweb.freebsd.org/changeset/ports/370962

Log:
  MFH: r370951

  - Fix regex to match all sshd auth errors

  PR:		194382
  Submitted by:	ronald-lists@klop.ws
  Approved by:	portmgr

Changes:
_U  branches/2014Q4/
  branches/2014Q4/security/bruteblock/Makefile
  branches/2014Q4/security/bruteblock/files/patch-etc-ssh.conf