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:
parent
58d8a85e29
commit
5a5bb7591b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user