summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-02-08 20:31:21 +0000
committerbrian <brian@FreeBSD.org>2001-02-08 20:31:21 +0000
commit4fd931631404328f678c24ab0b2ef0969b352b1a (patch)
tree69c623dec777cdb8d81f2022037e7d5f63a3291c
parentfad0d5dcfa9629e077bc94701a7839be736a61a3 (diff)
downloadFreeBSD-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/security7
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
OpenPOWER on IntegriCloud