+5387. [func] Warn about AXFR streams that are incompatible with
+ BIND 9.17.2. [GL #1674]
+
--- 9.11.18 released ---
5380. [contrib] Fix building MySQL DLZ modules against MySQL 8
dns_name_t name; /*%< Name of zone to transfer */
dns_rdataclass_t rdclass;
- bool checkid;
+ bool checkid, logit;
dns_messageid_t id;
/*%
isc_random_get(&tmp);
xfr->checkid = true;
xfr->id = (uint16_t)(tmp & 0xffff);
+ xfr->logit = true;
xfr->reqtype = reqtype;
xfr->dscp = dscp;
&xfr->ixfr.request_serial));
xfr->checkid = true;
+ xfr->logit = true;
xfr->id++;
xfr->nmsg = 0;
xfr->nrecs = 0;
xfr->state = XFRST_SOAQUERY;
(void)xfrin_start(xfr);
return;
+ } else if (!xfr->checkid && msg->id != xfr->id && xfr->logit) {
+ xfrin_log(xfr, ISC_LOG_WARNING,
+ "detected message ID mismatch on incoming AXFR "
+ "stream, transfer will fail in BIND 9.17.2 and "
+ "later if AXFR source is not fixed");
+ xfr->logit = false;
}
/*