Show denied secondary bind transfer attempts

Submitted by:		inTEXT Communications <glenn@intextonline.com>
Ok'd by:		imp, kris
Not objected to by:	freebsd-audit
This commit is contained in:
brian 2001-02-08 20:31:21 +00:00
parent d81a133beb
commit 235a0278d6

View File

@ -197,6 +197,13 @@ echo "${host} refused connections:"
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