diff options
author | 1997-05-07 22:43:29 +0000 | |
---|---|---|
committer | 1997-05-07 22:43:29 +0000 | |
commit | a3b5b9bb8cb785d87e601cc78d43d3f435d0e496 (patch) | |
tree | ec2cc489bc3d609cd888fd85621fa526f99cd136 | |
parent | need 8k ffs to avoid cluster bug, and increase ramdisk to 4MB (diff) | |
download | wireguard-openbsd-a3b5b9bb8cb785d87e601cc78d43d3f435d0e496.tar.xz wireguard-openbsd-a3b5b9bb8cb785d87e601cc78d43d3f435d0e496.zip |
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. |