diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-05-07 22:43:30 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-05-07 22:43:30 +0000 |
commit | 29a28578952659860c3c0391b8e415dffdd0cc44 (patch) | |
tree | e84a43a4aa57d5edded25e6024958c3182999bee | |
parent | 4101e8f0b2ca5ac77b0d7457d11da1b9017d6ead (diff) |
Disable "version.bind" hack since it makes mass info gathering
attacks trivial.
-rw-r--r-- | usr.sbin/named/named/ns_req.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/named/named/ns_req.c b/usr.sbin/named/named/ns_req.c index f4051154415..56add68532d 100644 --- a/usr.sbin/named/named/ns_req.c +++ b/usr.sbin/named/named/ns_req.c @@ -1,11 +1,11 @@ -/* $OpenBSD: ns_req.c,v 1.2 1997/03/12 10:42:32 downsj Exp $ */ +/* $OpenBSD: ns_req.c,v 1.3 1997/05/07 22:43:29 millert Exp $ */ #if !defined(lint) && !defined(SABER) #if 0 static char sccsid[] = "@(#)ns_req.c 4.47 (Berkeley) 7/1/91"; static char rcsid[] = "$From: ns_req.c,v 8.27 1996/10/08 04:51:03 vixie Exp $"; #else -static char rcsid[] = "$OpenBSD: ns_req.c,v 1.2 1997/03/12 10:42:32 downsj Exp $"; +static char rcsid[] = "$OpenBSD: ns_req.c,v 1.3 1997/05/07 22:43:29 millert Exp $"; #endif #endif /* not lint */ @@ -481,6 +481,7 @@ req_query(hp, cpp, eom, qsp, buflenp, msglenp, msg, dfd, from) qtypeIncr(type); +#if 0 /* * Yow! */ @@ -507,6 +508,7 @@ req_query(hp, cpp, eom, qsp, buflenp, msglenp, msg, dfd, from) *msglenp = *cpp - msg; /* Total message length */ return (Finish); } +#endif /* * Process query. |