mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
1034. [bug] Multicast queries must not have RD set, RFC 1123.
FORMERR those that do. [RT #137]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -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
|
1033. [bug] Don't imply that we support a opcode that we don't
|
||||||
when we don't have a matching view or cannot
|
when we don't have a matching view or cannot
|
||||||
determine the class.
|
determine the class.
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* 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>
|
#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);
|
result = dns_message_peekheader(buffer, &id, &flags);
|
||||||
if (result != ISC_R_SUCCESS) {
|
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.
|
* Decide whether recursive service is available to this client.
|
||||||
* We do this here rather than in the query code so that we can
|
* We do this here rather than in the query code so that we can
|
||||||
|
Reference in New Issue
Block a user