Bug 194382 - [patch] security/bruteblock:fix regexp to match line in the log
Summary: [patch] security/bruteblock:fix regexp to match line in the log
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 14:48 UTC by Ronald Klop
Modified: 2014-10-15 22:28 UTC (History)
0 users

See Also:
ronald-lists: maintainer-feedback? (amdmi3)


Attachments
patch to files/patch-etc-ssh.conf (945 bytes, patch)
2014-10-15 14:48 UTC, Ronald Klop
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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