Mark Andrews pushed to project branch 2099-implement-zonemd-signature-generation-and-verification at ISC Open Source Projects / BIND
Mark Andrews (5d43ac9a) at 19 Nov 22:39 fixup! Check ZONEMD records when loading or transferring a zone
Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.
Mark Andrews (5d43ac9a) at 19 Nov 22:39 fixup! Check ZONEMD records when loading or transferring a zone
Mark Andrews (3793023a) at 19 Nov 22:29 fixup! fixup! fixup! Add a "zonemd" option to "dnssec-policy"
Mark Andrews (8649f1c6) at 19 Nov 22:27 fixup! fixup! Add a "zonemd" option to "dnssec-policy"
1. A check-zonemd list in options that does not name all three zone types aborts named at startup and on reload Whoopsie. I removed the merge function as a temporary experiment and didn't realized I'd pushed it. Fixed by editing the commit history, I didn't bother with a fixup.
Mark Andrews (4984b133) at 19 Nov 22:25 fixup! Add a "zonemd" option to "dnssec-policy"
AI-generated review — Claude Code, Claude Fable 5.2 (claude-fable-5-2), reasoning effort xhigh. Reviewed commit e33fed70d1. Posted through this account at its owner's request. The findings are the model's, not a human review. This follows the earlier AI-generated reviews in note 785129, note 785579 and note 788236. The replies since the last note were read first. This round covered the complete diff of e33fed70d1 against its merge base e68fc6f174. The code diff was re-read in full, apart from…
Evan Hunt (e33fed70) at 19 Nov 21:18 Test ZONEMD signing ... and 12 more commits
Replace boilerplate code signing the zones used by the ans1 custom server with canonical bootstrap() code employing isctest.zone.Zone. Replace boilerplate code crafting DNSSEC responses in ans1/ans.py with zone file data in ans1/zones/ and minimal handler logic implementing the attacks attempted by the test. Backport of MR !13044 (merged)
Hi, thank you for the report. Because this requires malicious server (or on-path attacker), this is PR:H resulting in 4.8 CVSS score: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N%2FAC:L%2FPR:H%2FUI:N%2FS:U%2FC:N%2FI:N%2FA:H&version=3.1 Thus, we are not handling this as a security issue, just as a bug.
Summary For a stub zone named first sends the primary an SOA query. refresh_callback() (lib/dns/zone.c:12172) checks the reply's opcode, rcode, AA bit, CNAME/referral/NODATA shape and SOA count, finds the SOA with dns_message_findname(&zone->origin, soa) and compares serials, but never compares the reply's class with the zone's. For a stub zone it then calls ns_query(zone, rdataset, NULL) (zone.c:12510), which creates the stub database with zone->rdclass and inserts the reply's SOA rdataset…
Evan Hunt (f5b99c74) at 15 Nov 03:10 Test ZONEMD signing
Evan Hunt (d29e2932) at 15 Nov 01:00 Test ZONEMD signing ... and 12 more commits
Evan Hunt (d0eee0fb) at 15 Nov 00:52 Test ZONEMD signing ... and 10 more commits
Mark Andrews (5de24a4d) at 15 Nov 00:36 fixup! Test ZONEMD signing
Evan Hunt (c550536e) at 15 Nov 00:33 fixup! fixup! Test ZONEMD signing
Mark Andrews (457f521d) at 15 Nov 00:26 fixup! Test ZONEMD signing
Mark Andrews (55f83116) at 15 Nov 00:16 fixup! fixup! Test ZONEMD signing
Mark Andrews (433fb51a) at 15 Nov 00:02 fixup! Test ZONEMD signing
Mark Andrews (17fdff03) at 14 Nov 23:46 fixup! fixup! fixup! fixup! fixup! Test ZONEMD signing
Evan Hunt (2156bf00) at 14 Nov 23:02 fixup! fixup! fixup! fixup! Test ZONEMD signing ... and 1 more commit
Evan Hunt (7591f5b7) at 14 Nov 21:46 fixup! fixup! fixup! fixup! Test ZONEMD signing ... and 1 more commit
Evan Hunt (176db425) at 14 Nov 21:10 fixup! fixup! fixup! Test ZONEMD signing
Evan Hunt (9a20beac) at 14 Nov 21:05 fixup! fixup! fixup! Test ZONEMD signing ... and 7 more commits
Mark Andrews (c3c9e70f) at 14 Nov 19:43 fixup! dnssec-signzone now updates ZONEMD records ... and 15 more commits
Current status: In !5217 (comment 785129), all issues have been addressed but we need tests for items 7, 10 , and 11. In !5217 (comment 785579), there is a note that no test covers multi-delta IXFR handling In !5217 (comment 780842), @marka notes that there's no test for unsupported DS digest In !5217 (comment 780843), same for unsupported algorithm In !5217 (comment 780844), same for failure to match any DS
Evan Hunt (a775b785) at 14 Nov 19:34 fixup! dnssec-signzone now updates ZONEMD records
Evan Hunt (86a31811) at 14 Nov 19:32 fixup! fixup! Test ZONEMD signing
Remove some inefficiencies from zone_postload, leading to a 15% speedup in the 1m zones startup time test in perflab. Closes #6437