From: Mark Andrews Date: Mon, 24 Feb 2014 12:49:21 +0000 (+1100) Subject: #ifdef notyet error handling for bad sit X-Git-Tag: v9.10.0b2~107 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=53ebc0959bd1dc49b32c7043335f6ef17e2b3715;p=thirdparty%2Fbind9.git #ifdef notyet error handling for bad sit --- diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 7245558da58..0e0e9033476 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -7265,6 +7265,19 @@ resquery_response(isc_task_t *task, isc_event_t *event) { if (opt != NULL) process_opt(query, opt); +#ifdef notyet +#ifdef ISC_PLATFORM_USESIT + if (message->sitbad) { + /* + * If the SIT is bad assume it is a attack and retry. + */ + resend = ISC_TRUE; + /* XXXMPA log it */ + goto done; + } +#endif +#endif + /* * If the message is signed, check the signature. If not, this * returns success anyway.