Bind-8.2.2P5 patch which logs all bind version requests to syslog.
e8d661d58760ffa8b18fd8fad4be0a50diff -urP bind-8.2.2-P5/src/bin/named/ns_req.c bind-8.2.2-P5/src/bin/named/ns_req.c
--- bind-8.2.2-P5/src/bin/named/ns_req.c Fri Oct 15 15:49:04 1999
+++ bind-8.2.2-P5/src/bin/named/ns_req.c Tue Jul 18 21:45:32 2000
@@ -975,6 +975,7 @@
copyCharString(cpp, server_options->version);
PUTSHORT((*cpp) - (tp + INT16SZ), tp); /* Real RdLength */
*msglenp = *cpp - msg; /* Total message length */
+ ns_notice(ns_log_security, "%s requested version information from named", sin_ntoa(from));
return (Finish);
}
Comments
No comments yet, be the first!