Bind-8.2.2P7 patch which logs all bind version requests to syslog.
0be1595096a5e37439f518e8d4ead676diff -urP bind-8.2.2-P7/src/bin/named/ns_req.c bind-8.2.2-P7/src/bin/named/ns_req.c
--- bind-8.2.2-P7/src/bin/named/ns_req.c Thu Nov 9 18:15:29 2000
+++ bind-8.2.2-P7/src/bin/named/ns_req.c Tue Nov 21 15:25:53 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!