mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
future cookie code
This commit is contained in:
@@ -6973,6 +6973,15 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifdef __notyet__
|
||||||
|
/*
|
||||||
|
* XXXMPA Wait until BADCOOKIE is officially allocated.
|
||||||
|
* Policy knob?
|
||||||
|
*/
|
||||||
|
} else if (WANTCOOKIE(client) && !HAVECOOKIE(client)) {
|
||||||
|
client->message->rcode = dns_rcode_badcookie;
|
||||||
|
goto cleanup;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!RECURSING(client) &&
|
if (!RECURSING(client) &&
|
||||||
|
Reference in New Issue
Block a user