mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[PR #2183] [MERGED] SVCB/HTTPS RFC updates, ECH config tweaks #2867
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#2867
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hickory-dns/hickory-dns/pull/2183
Author: @cpu
Created: 4/15/2024
Status: ✅ Merged
Merged: 4/18/2024
Merged by: @djc
Base:
main← Head:cpu-svcb-updates_dev📝 Commits (10+)
0190b08ci: offer a branch push pattern for easy testing745bf13svcb: update docs to ref RFC 9460381a084proto: correct ECH service parameter key606dd36rdata_parsers: reorder svcb parse helpers658b02eproto: rename ECH SVCB types4d7435crdata: store wire-encoded form of ECH configs7022955rdata_parsers: support quoted SVCB parameter values2cc190ardata_parsers: add RFC 9460 test vectors832a8beproto: fix parse of arbitrary keys in pres. syntax1f846a1rdata_parsers: fix handling of escaped list delim📊 Changes
3 files changed (+464 additions, -255 deletions)
View changed files
📝
.github/workflows/test.yml(+1 -0)📝
crates/proto/src/rr/rdata/svcb.rs(+172 -173)📝
crates/proto/src/serialize/txt/rdata_parsers/svcb.rs(+291 -82)📄 Description
This branch brings in some changes I've found helpful while working on client ECH support downstream in Rustls.
"ech", where as hickory was using"echconfig".EchConfigtoEchConfigListto better emphasize that the returned value's wire-encoding is a TLS-encodedECHConfigList, as specified in draft-ietf-tls-esni-18 §4.EchConfigListto be the wire-encoding, removing pre-processing that stripped the TLS encoded list length prefix. Downstream users will have an easier time with this based on existing TLS list decoding capabilities inherit to a TLS implementation. Similarly, the BASE64 presentation format is updated to encode the wire-encoded value with the prefixed length. This matches what tools likedigrender for what some public implementations have published in DNS.I haven't attempted to offer backwards compatible options based on the earlier draft content. I think that it's probably not worthwhile based on the very early state of ECH support broadly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.