2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

1034. [bug] Multicast queries must not have RD set, RFC 1123.

FORMERR those that do.  [RT #137]
This commit is contained in:
Mark Andrews
2001-10-09 02:30:20 +00:00
parent d5169236b7
commit 2e24e82fc3
2 changed files with 13 additions and 10 deletions

View File

@@ -1,3 +1,6 @@
1034. [bug] Multicast queries must not have RD set, RFC 1123.
FORMERR those that do. [RT #137]
1033. [bug] Don't imply that we support a opcode that we don't
when we don't have a matching view or cannot
determine the class.

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: client.c,v 1.180 2001/10/09 02:05:55 marka Exp $ */
/* $Id: client.c,v 1.181 2001/10/09 02:30:20 marka Exp $ */
#include <config.h>
@@ -1160,15 +1160,6 @@ client_request(isc_task_t *task, isc_event_t *event) {
}
}
if ((client->attributes & NS_CLIENTATTR_MULTICAST) != 0) {
ns_client_log(client, NS_LOGCATEGORY_CLIENT,
NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(2),
"multicast request");
#if 0
ns_client_error(client, DNS_R_REFUSED);
#endif
}
result = dns_message_peekheader(buffer, &id, &flags);
if (result != ISC_R_SUCCESS) {
/*
@@ -1377,6 +1368,15 @@ client_request(isc_task_t *task, isc_event_t *event) {
}
}
if ((client->attributes & NS_CLIENTATTR_MULTICAST) != 0) {
ns_client_log(client, NS_LOGCATEGORY_CLIENT,
NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(2),
"multicast request");
if ((flags & DNS_MESSAGEFLAG_RD) != 0)
ns_client_error(client, notimp ? DNS_R_NOTIMP :
DNS_R_FORMERR);
}
/*
* Decide whether recursive service is available to this client.
* We do this here rather than in the query code so that we can