diff options
author | brian <brian@FreeBSD.org> | 2001-02-08 20:31:21 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-02-08 20:31:21 +0000 |
commit | 4fd931631404328f678c24ab0b2ef0969b352b1a (patch) | |
tree | 69c623dec777cdb8d81f2022037e7d5f63a3291c | |
parent | fad0d5dcfa9629e077bc94701a7839be736a61a3 (diff) | |
download | FreeBSD-src-4fd931631404328f678c24ab0b2ef0969b352b1a.zip FreeBSD-src-4fd931631404328f678c24ab0b2ef0969b352b1a.tar.gz |
Show denied secondary bind transfer attempts
Submitted by: inTEXT Communications <glenn@intextonline.com>
Ok'd by: imp, kris
Not objected to by: freebsd-audit
-rw-r--r-- | etc/security | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/security b/etc/security index 91ec8d6..4cfba53 100644 --- a/etc/security +++ b/etc/security @@ -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 |