mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-26 16:42:54 -05:00
- Fix for #1022: Fix ede prohibited in access control refused answers.
This commit is contained in:
parent
be626f7c53
commit
ec0b510f1c
2 changed files with 4 additions and 1 deletions
|
|
@ -1151,7 +1151,7 @@ deny_refuse(struct comm_point* c, enum acl_access acl,
|
|||
log_assert(sldns_buffer_limit(c->buffer) >= LDNS_HEADER_SIZE
|
||||
&& LDNS_QDCOUNT(sldns_buffer_begin(c->buffer)) == 1);
|
||||
|
||||
sldns_buffer_skip(c->buffer, LDNS_HEADER_SIZE); /* skip header */
|
||||
sldns_buffer_set_position(c->buffer, LDNS_HEADER_SIZE); /* skip header */
|
||||
|
||||
/* check additional section is present and that we respond with EDEs */
|
||||
if(LDNS_ARCOUNT(sldns_buffer_begin(c->buffer)) != 1
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
5 March 2024: Wouter
|
||||
- Fix for #1022: Fix ede prohibited in access control refused answers.
|
||||
|
||||
4 March 2024: Wouter
|
||||
- Fix edns subnet replies for scope zero answers to not get stored
|
||||
in the global cache, and in cachedb, when the upstream replies
|
||||
|
|
|
|||
Loading…
Reference in a new issue