Date: Sun, 23 Mar 2014 13:06:27 +0000 (UTC) From: Christian Brueffer <brueffer@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r263663 - stable/8/etc/periodic/security Message-ID: <201403231306.s2ND6RXt099373@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brueffer Date: Sun Mar 23 13:06:27 2014 New Revision: 263663 URL: http://svnweb.freebsd.org/changeset/base/263663 Log: MFC: r262273 Further refine the auth fail regex to catch more auth failures and reduce false positives. The committed patch was provided by Christian Marg. PR: 91732 Submitted by: Daniel O'Connor <doconnor at gsoft.com.au> Skye Poier <spoier at gmail.com> Alan Amesbury <amesbury at umn.edu> Christian Marg <marg at rz.tu-clausthal.de> Modified: stable/8/etc/periodic/security/800.loginfail Directory Properties: stable/8/etc/ (props changed) Modified: stable/8/etc/periodic/security/800.loginfail ============================================================================== --- stable/8/etc/periodic/security/800.loginfail Sun Mar 23 13:03:46 2014 (r263662) +++ stable/8/etc/periodic/security/800.loginfail Sun Mar 23 13:06:27 2014 (r263663) @@ -59,7 +59,7 @@ case "$daily_status_security_loginfail_e [Yy][Ee][Ss]) echo "" echo "${host} login failures:" - n=$(catmsgs | egrep -ia "^$yesterday.*: .*(fail|invalid|bad|illegal)" | + n=$(catmsgs | egrep -ia "^$yesterday.*: .*\b(fail(ures?|ed)?|invalid|bad|illegal|auth.*error)\b" | tee /dev/stderr | wc -l) [ $n -gt 0 ] && rc=1 || rc=0;; *) rc=0;;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403231306.s2ND6RXt099373>