mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 21:32:58 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72181
@ -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