From owner-freebsd-audit Sun Feb 4 16:27: 6 2001 Delivered-To: freebsd-audit@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id E710B37B401 for ; Sun, 4 Feb 2001 16:26:41 -0800 (PST) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.2/8.11.2) with ESMTP id f150QZ207592 for ; Mon, 5 Feb 2001 00:26:39 GMT (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.2/8.11.1) with ESMTP id f150SNa01592; Mon, 5 Feb 2001 00:28:23 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200102050028.f150SNa01592@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: freebsd-audit@FreeBSD.org Cc: Brian Somers Subject: Reporting failed secondary dns transfers from /etc/security Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 05 Feb 2001 00:28:23 +0000 From: Brian Somers Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Any thoughts/objections to this ? It's half of a suggestion made by glenn@intextonline.com in April 2000 (posted to freebsd-bugs). The other half is to display the output of ``netstat -rn'' - something I don't plan on adding as it wouldn't fit in very well with people running routing daemons. I'll commit this in a few days if nobody objects. -- Brian Don't _EVER_ lose your sense of humour ! Index: security =================================================================== RCS file: /home/ncvs/src/etc/security,v retrieving revision 1.46 diff -u -r1.46 security --- security 2001/02/03 01:28:46 1.46 +++ security 2001/02/05 00:20:55 @@ -197,6 +197,13 @@ n=$(catmsgs | grep -i "^$yesterday.*refused connect" | tee /dev/stderr | wc -l) [ $n -gt 0 -a $rc -lt 1 ] && rc=1 +# Show denied secondary bind transfer attempts +# +separator +echo "$host checking for denied secondary zone transfers:" +n=$(catmsgs | grep -i "unapproved AXFR from" | tee /dev/stderr | wc -l) +[ $n -gt 0 -a $rc -lt 1 ] && rc=1 + rm -f ${TMP} exit $rc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message