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 Somers 2001-02-08 20:31:21 +00:00
parent 58d8a85e29
commit 5a5bb7591b

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