From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 1 09:20:25 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED25B16A4CE for ; Wed, 1 Sep 2004 09:20:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD02443D49 for ; Wed, 1 Sep 2004 09:20:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i819KOpN023530 for ; Wed, 1 Sep 2004 09:20:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i819KO3t023527; Wed, 1 Sep 2004 09:20:24 GMT (envelope-from gnats) Date: Wed, 1 Sep 2004 09:20:24 GMT Message-Id: <200409010920.i819KO3t023527@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Ceri Davies Subject: Re: conf/70973 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ceri Davies List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 09:20:25 -0000 The following reply was made to PR conf/70973; it has been noted by GNATS. From: Ceri Davies To: FreeBSD Gnats Submit Cc: Subject: Re: conf/70973 Date: Wed, 1 Sep 2004 10:11:15 +0100 --oXNgvKVxGWJ0RPMJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Adding to audit trail. --oXNgvKVxGWJ0RPMJ Content-Type: message/rfc822 Content-Disposition: inline Return-path: Envelope-to: ceri@submonkey.net Delivery-date: Tue, 31 Aug 2004 20:44:15 +0100 Received: from mx2.freebsd.org ([216.136.204.119]) by shrike.submonkey.net with esmtp (Exim 4.42 (FreeBSD)) id 1C2EY2-000OR0-VT for ceri@submonkey.net; Tue, 31 Aug 2004 20:44:15 +0100 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id A35ED56806; Tue, 31 Aug 2004 19:43:53 +0000 (GMT) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 5013316A505; Tue, 31 Aug 2004 19:43:49 +0000 (GMT) Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FAC116A4CE for ; Tue, 31 Aug 2004 19:43:31 +0000 (GMT) Received: from mailserv1.neuroflux.com (mailserv1.neuroflux.com [204.228.228.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5ED743D48 for ; Tue, 31 Aug 2004 19:43:30 +0000 (GMT) (envelope-from ryans@gamersimpact.com) Received: (qmail 41930 invoked by uid 89); 31 Aug 2004 19:49:21 -0000 Received: from unknown (HELO www2.neuroflux.com) (127.0.0.1) by localhost with SMTP; 31 Aug 2004 19:49:21 -0000 Received: from 208.4.77.15 (SquirrelMail authenticated user ryans@gamersimpact.com) by www2.neuroflux.com with HTTP; Tue, 31 Aug 2004 13:49:21 -0600 (MDT) Message-ID: <50241.208.4.77.15.1093981761.squirrel@www2.neuroflux.com> Date: Tue, 31 Aug 2004 13:49:21 -0600 (MDT) From: "Ryan Sommers" To: current@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: Periodic security X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on shrike.private.submonkey.net X-Spam-Status: No, hits=-3.7 required=5.0 tests=AWL,BAYES_00,PRIORITY_NO_NAME autolearn=no version=2.64 Slight modification to the loginfail script for periodics. This will catch sshd, proftpd and su errors, as well as other programs, better. --- 800.loginfail Mon Aug 30 21:50:50 2004 +++ 800.loginfail Mon Aug 30 21:51:53 2004 @@ -59,7 +59,7 @@ [Yy][Ee][Ss]) echo "" echo "${host} login failures:" - n=$(catmsgs | grep -ia "^$yesterday.*fail" | + n=$(catmsgs | egrep -ia "^$yesterday.*(fail|invalid|bad|illegal)" | tee /dev/stderr | wc -l) [ $n -gt 0 ] && rc=1 || rc=0;; *) rc=0;; -- Ryan "leadZERO" Sommers Gamer's Impact President ryans@gamersimpact.com ICQ: 1019590 AIM/MSN: leadZERO -= http://www.gamersimpact.com =- _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" --oXNgvKVxGWJ0RPMJ--