mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-28 20:54:53 +02:00
fix test and add mapage entry
This commit is contained in:
@@ -503,6 +503,15 @@ Enable udp upstream even if do-udp is no. Default is no, and this does not
|
||||
change anything. Useful for TLS service providers, that want no udp downstream
|
||||
but use udp to fetch data upstream.
|
||||
.TP
|
||||
.B upstream-cookies: \fI<yes or no>
|
||||
Enable EDNS cookies from upstream connections. DNS Cookies, as specified in
|
||||
RFC 7873 and 9018 provide a limited-protection transaction security mechanism.
|
||||
Once a cookie has been exchanged, the resolver and upstream are known to each
|
||||
other and requests to the upstream can be exempted from rate limiting, for
|
||||
example. Note that RFC9018 specifies that cookies should not be reused for
|
||||
multiple outgoing interfaces, which is not supported at this time. The default
|
||||
is no.
|
||||
.TP
|
||||
.B tls\-upstream: \fI<yes or no>
|
||||
Enabled or disable whether the upstream queries use TLS only for transport.
|
||||
Default is no. Useful in tunneling scenarios. The TLS contains plain DNS in
|
||||
|
||||
+1
-2
@@ -1894,9 +1894,8 @@ adjust_packet(struct entry* match, uint8_t** answer_pkt, size_t *answer_len,
|
||||
|
||||
reslen = origlen + 28;
|
||||
} else if (sldns_read_uint16(walk_query+2) == 24) {
|
||||
/* update the RDLEN and OPTLEN */
|
||||
/* update the RDLEN */
|
||||
sldns_write_uint16(rdlen_ptr_response, 28);
|
||||
sldns_write_uint16(walk_response+2, 24);
|
||||
|
||||
/* we fake verification of the cookie and send
|
||||
* it back like it's still valid. We renew the cookie
|
||||
|
||||
Reference in New Issue
Block a user