Collect NSEC3 hashes and match them offline instead of dismissing NSEC3 zones
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go
- Lĩnh vực
- cli, networking
Hướng nghiên cứu
Read internal/dns/nsec.go at denialOf and the NSEC3 handling in internal/axfr/axfr.go; then inspect the NSEC3-serving lab code in internal/dnsserver/server.go and examples/labs/lab8-nsec-walk.zone. The issue outlines collection, candidate matching, stats, and lab work, but the feature spans DNS parsing, query strategy, reporting, and documentation. Done means NSEC3 collection respects the stated budgets, reports matches and zone counts, and the lab exercises a full chain.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
NSEC3-signed zones are detected and then dismissed ("NSEC3 would hide them"). With the parameters RFC 9276 recommends (0 extra iterations, no salt), the NSEC3 chain can be collected in a few hundred NXDOMAIN answers and its hashes matched offline against every candidate subenum already has (the nsec3map/nsec3walker technique).
Where
internal/dns/nsec.go:158(denialOfrecordsDenialNSEC3and skips the record's contents)internal/axfr/axfr.go:100("NSEC3 would hide them"),:260(WalkStop = "the zone is signed with NSEC3, which hides its names")internal/dnsserver/server.go:651(the lab server already serves NSEC3)examples/labs/lab8-nsec-walk.zone:6(Lab 8 asks the learner to switch to nsec3)
Impact
DNSSEC zones most often use NSEC3. Instead of a "not walkable" note, users could get:
- names confirmed with no per-name queries;
- the exact number of names in the zone, which turns the run-quality report into "found 41 of 57";
- a finding when the zone uses zero iterations and no salt.
Suggested fix
Add -nsec3-collect, bounded by -max-queries, -max-duration and -rate:
- Parse NSEC3 RDATA from denial answers, and query random labels aimed at uncovered hash gaps until the ring closes or the budget ends.
- Hash every wordlist, source and permutation candidate locally with the zone's parameters, and mark matches as found after one confirming lookup, as sources are verified.
- Report
nsec3: {names_in_zone, hashes_collected, cracked, iterations, salt}in-stats. - Extend
dnsserver.addDenialto serve a full NSEC3 chain so the lab can test it. - Document that opt-out zones cover only delegations.
Related: #437, #234
Filed by repo-audit/full-audit at a45b999. Severity: medium. Effort: L. audit-key: enhancement|internal/dns/nsec.go|DenialNSEC3
- Ngôn ngữ chính
- Go
- Star
- 1
- Fork
- 1
- Merge trung bình
- 10 giờ
- Pull request đã merge (30 ngày)
- 26
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TMHSDigital/subenum
-
-diff's removed-name budget ignores the names the -ptr pass testedCó thể đã có người làm @nova-loop đã nhận hôm nay. Đang mởarea: cli bug good first issue severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
TMHSDigital/subenum#495 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: tui bug good first issue severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
TMHSDigital/subenum#494 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
security
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
TMHSDigital/subenum#453 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement help wanted severity: low
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 57/100
TMHSDigital/subenum#489 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
TMHSDigital/subenum#457 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của TMHSDigital/subenum
Issue tương tự
-
good first issue tools
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
Edwin-metcalf/MetCode#76 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
deskclose human-decided leaves the legacy decision-needed label and applies no human-decidedĐang mởbug effort:s impact:med raised-by:worker risk:low to:worker
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
medici-finance/assay#8120 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
factory:subtask
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
reportedBy/community
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openchoreo/openchoreo#5751 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
agent-substrate/substrate#4308 ·
Maintainer thường phản hồi trong vòng 2 ngày