mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #2546] [MERGED] Dnssec insecure delegations #3129
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#3129
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/2546
Author: @marcus0x62
Created: 11/2/2024
Status: ✅ Merged
Merged: 11/19/2024
Merged by: @djc
Base:
main← Head:dnssec_insecure_delegations📝 Commits (6)
0ca379eadd support for NSEC3 opt-out to dns-test signerd7a00adNSEC3 opt-out support75a6928DNSSEC insecure delegation support98c094bdebug logs for nsec/nsec3 proof decisions0cfdb5bfix and unignore existing insecure delegation tests917a684Add NSEC1 and NSEC3 opt-out tests to insecure tests scenarios📊 Changes
9 files changed (+415 additions, -88 deletions)
View changed files
📝
conformance/packages/conformance-tests/src/resolver/dnssec/scenarios/insecure.rs(+54 -25)📝
conformance/packages/conformance-tests/src/resolver/nsec.rs(+12 -3)📝
conformance/packages/dns-test/src/docker/bind.Dockerfile(+1 -0)📝
conformance/packages/dns-test/src/docker/hickory.Dockerfile(+1 -0)📝
conformance/packages/dns-test/src/docker/unbound.Dockerfile(+1 -0)📝
conformance/packages/dns-test/src/zone_file/mod.rs(+7 -1)📝
conformance/packages/dns-test/src/zone_file/signer.rs(+105 -24)📝
crates/proto/src/xfer/dnssec_dns_handle/mod.rs(+57 -10)📝
crates/proto/src/xfer/dnssec_dns_handle/nsec3_validation.rs(+177 -25)📄 Description
This is hopefully the last change set to close out #2503. Originally, I thought the problem was isolated to a lack of support for NSEC3 opt-out proofs, but it looks like that in addition to that problem, insecure delegations are always being marked bogus by the current code, so there is a fix for that as well.
To facilitate testing these scenarios, there is also a commit for adding support to sign zones in dns-test with NSEC3 opt-out proofs, and one that adds debug-level logs to the nsec and nsec3 verification routines to indicate why a given proof is being returned as secure or bogus.
Making this a draft for now as there is some work to do on the nsec3 opt-out proof commit.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.