mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
1036. [func] Temporally drop requests received via multicast.
This commit is contained in:
parent
5f7516bee5
commit
0aba41458d
2
CHANGES
2
CHANGES
@ -1,3 +1,5 @@
|
||||
1036. [func] Temporally drop requests received via multicast.
|
||||
|
||||
1035. [bug] Respond to multicast queries from a unicast address,
|
||||
RFC 1123. [RT #137]
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: client.c,v 1.182 2001/10/09 02:39:03 marka Exp $ */
|
||||
/* $Id: client.c,v 1.183 2001/10/09 04:29:19 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@ -1161,6 +1161,17 @@ client_request(isc_task_t *task, isc_event_t *event) {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Silently drop multicast requests for the present.
|
||||
* XXXMPA look at when/if mDNS spec stabilizes.
|
||||
*/
|
||||
if ((client->attributes & NS_CLIENTATTR_MULTICAST) != 0) {
|
||||
ns_client_log(client, NS_LOGCATEGORY_CLIENT,
|
||||
NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(2),
|
||||
"dropping multicast request");
|
||||
ns_client_next(client, DNS_R_REFUSED);
|
||||
}
|
||||
|
||||
result = dns_message_peekheader(buffer, &id, &flags);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user