mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-10-01 06:04:55 +02:00
pad-queries default yes
This commit is contained in:
+1
-1
@@ -324,7 +324,7 @@ config_create(void)
|
||||
cfg->dnscrypt_nonce_cache_slabs = 4;
|
||||
cfg->pad_responses = 1;
|
||||
cfg->pad_responses_block_size = 468; /* from RFC8467 */
|
||||
cfg->pad_queries = 0;
|
||||
cfg->pad_queries = 1;
|
||||
cfg->pad_queries_block_size = 128; /* from RFC8467 */
|
||||
#ifdef USE_IPSECMOD
|
||||
cfg->ipsecmod_enabled = 1;
|
||||
|
||||
@@ -843,8 +843,7 @@ attach_edns_record_max_msg_sz(sldns_buffer* pkt, struct edns_data* edns,
|
||||
|
||||
/* By use of calc_edns_field_size, calling functions should
|
||||
* have made sure that there is enough space for at least a
|
||||
* zero sized padding option, but it cannot harm to leave it
|
||||
* out if there isn't.
|
||||
* zero sized padding option.
|
||||
*/
|
||||
log_assert(pad_pos + 4 <= msg_sz);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user