Down- and upstream padding a la RFC7830 & RFC8467

This commit is contained in:
Willem Toorop
2020-04-02 18:34:03 +02:00
parent 94e92b197a
commit 4f78b37c61
20 changed files with 7866 additions and 9388 deletions
+1
View File
@@ -1222,6 +1222,7 @@ struct serviced_query* outnet_serviced_query(struct outside_network* outnet,
edns.opt_list = qstate->edns_opts_back_out;
if(dnssec)
edns.bits = EDNS_DO;
edns.padding_block_size = 0;
attach_edns_record(pend->buffer, &edns);
}
memcpy(&pend->addr, addr, addrlen);