mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
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
1 changed files with 7 additions and 0 deletions
|
|
@ -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 a new issue