[DNSOP] Re: Working Group Last Call for draft-ietf-dnsop-ns-revalidation "Delegation Revalidation by DNS Resolvers"
Willem Toorop <willem@nlnetlabs.nl> Thu, 20 March 2025 15:45 UTC
Return-Path: <willem@nlnetlabs.nl>
X-Original-To: dnsop@mail2.ietf.org
Delivered-To: dnsop@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id CE7DEFB8C9E; Thu, 20 Mar 2025 08:45:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=nlnetlabs.nl
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3AoNJb0B7WWu; Thu, 20 Mar 2025 08:45:23 -0700 (PDT)
Received: from mout-b-107.mailbox.org (mout-b-107.mailbox.org [195.10.208.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 62C72FB8C83; Thu, 20 Mar 2025 08:45:23 -0700 (PDT)
Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-b-107.mailbox.org (Postfix) with ESMTPS id 4ZJVJt2RkHzDr87; Thu, 20 Mar 2025 16:45:18 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nlnetlabs.nl; s=MBO0001; t=1742485518; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=3B6JQ6ZJ3tE2ReGXu2puWAdvDGvR92f4XFPeCxQIvOQ=; b=Hk4V7krNk2B0zmTxpQg2VNw6cBKB+ZmDtkVwbcdEhObwofLxcfd0K0fuqoeh1pRKrfM443 VPMmQQH4Y8oInFe1e0L+ayLwwryKnPe12YT32+rVhlavifFkfOdGiHKMN3Jgxw+uhAcGMk T8wj8gsfDNm7IWk9hllfOTvaxYYlXmP30XIoH1FzpPFVS21RRadFORfdXI7WDUd3nxio06 qybqOftkt09rpotCwpYC4zakC3NW0DZXNv+4yhxZARfTVRSy6hLD26NUpnrBxIOFUOE2J4 0q+69zWlHMke0SCuUYMphbBj76oZyDA0K6w+PU9eY8kkksh+rLpRx56kWlGMCQ==
Message-ID: <9bc4a7c1-64af-491c-8f78-2df13ae2839f@nlnetlabs.nl>
Date: Thu, 20 Mar 2025 16:45:16 +0100
MIME-Version: 1.0
To: Shumon Huque <shuque@gmail.com>, Petr Špaček <pspacek@isc.org>
References: <CADyWQ+GHwYS3T=M+7655Ps5f-mJ7H3FfstDGvHsR_D=eHXf43g@mail.gmail.com> <SA1PR15MB43705D3DBC37FB92F3BA5714B3DF2@SA1PR15MB4370.namprd15.prod.outlook.com> <551bb4a8-f787-4caf-8615-c284203d7b7e@nic.cz> <CAHPuVdWwFGKE7QRHXP1Ru9geQdV+VY4-Z-AYgkhac7dQuB9cZw@mail.gmail.com> <6fa27e23-ec6d-4989-8068-aafb4925d1dd@nic.cz> <CAHPuVdUy1s9gaQyJ=GiqdxAPZwUc2-4HvQBCb77c-Zh5feAjvg@mail.gmail.com> <C5ABE18F-AB8B-4654-BF93-D660D4240446@fl1ger.de> <2a6088fb-3275-464d-bca1-92a4cbaa78aa@nlnetlabs.nl> <2b862da9-e428-47f3-9ecc-c55a4e589bac@desec.io> <a23915b8-3a28-417c-a709-ef3123c4a74d@nlnetlabs.nl> <bc9d2dba-9a9c-4fe5-a484-ace272836007@desec.io> <94da4d77-2904-43ba-9bcd-27e22e6a4604@nlnetlabs.nl> <88915437-56F7-4393-A1D5-CF95661ACAE6@isc.org> <c7ccfdde-04fa-454e-84db-b1a9565c7dc9@nlnetlabs.nl> <SA1PR15MB437055EF91FD5EDDCC54D5CDB3DE2@SA1PR15MB4370.namprd15.prod.outlook.com> <309c847b-f7ef-4de8-af8b-3d1fee6710bc@isc.org> <CAHPuVdX=WAfHsOdi6D975tJ8p7jJg6D2=-L=e4Ln6hUMqUkB=A@mail.gmail.com>
Content-Language: en-US
From: Willem Toorop <willem@nlnetlabs.nl>
Autocrypt: addr=willem@nlnetlabs.nl; keydata= xsFNBE1s81EBEACuJzGgccrmYEAzHc//vBq66gH7orM0GtKfQZHh4uR1FMxZXl07WevUYNuB ywTpinU9rpY1Q3S4w6QgNklgpsaHXmbOpyFjJ8FpllV8TRPiXiNrNxTpMnlb6InoszopX69t kBVHTP6cJkNgPx6R4BM0ARqEGQmOL8mAcoWyGVzbsamuGRaia54zs/kc3i9yiqEzRkoQmfwr 7sr49n7gOpmaqXvonOSiUvgEziep77emMcqVa/qZxR1r7KUq85qTNTqsQwl2cQdKS7WwOeuG 6ZIJmJ1bakriKzLBYF5xIHKSYJW0ZA20tNFrVKgTkEjiXvAJh4HlJEIi35tqa/IzWUJSc1ai nhBjxbwSl8BRq5aaPgwB+xXiDqY6BrQW1slvl5TF2A6Xr7JJ0rkH3EZgXxABAZ3WJ3RLwq1z 8jnNYj+UW/mSLsbOtgfOiBhFUXMZneHvVVvz6F6XAtyrejDl5sD2gnzm1VDfK6T6bvLtR7zr kWre0lpycDmgmUKgaEiXzfLvwT9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2zZayDCoX82+UI0jtubwz1rFMqCdzID8n3PPn0AlmcHAsSNnCv4mIhI+tofc6bndNcu tJZMjoYA1MmEhgx1TStQptAQP/ZRNwV2TZFR20gwQWV1p/5R/GTlP3olNdC9Ojy0AmFMBLZb x7PI75HVJ2wtF8aq7vo2iltEM1k1zhl0Su5Ov/TEBq6JhqD5UzpqJPV6tTz76EEXfx58AxFh fVkytieLXCPI0kQTWfenexd9DUANCoa/TfYIEOi7YHJGYx/DpjfSPfThDxTGfWt0WaMILpOq +YTFA468fQW5xgeVvJlBNry4dT1XXgVbe/H+CN7q7C0Y1Ng11VOfO65X
In-Reply-To: <CAHPuVdX=WAfHsOdi6D975tJ8p7jJg6D2=-L=e4Ln6hUMqUkB=A@mail.gmail.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="------------fv7IUqeHzqYfzxmep0QEZWc2"
Message-ID-Hash: DIDLFPZWU3WDIZFA3SISM7ZUDY7GO7LY
X-Message-ID-Hash: DIDLFPZWU3WDIZFA3SISM7ZUDY7GO7LY
X-MailFrom: willem@nlnetlabs.nl
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dnsop.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Ben Schwartz <bemasc=40meta.com@dmarc.ietf.org>, DNSOP Working Group <dnsop@ietf.org>, DNSOP-Chairs <dnsop-chairs@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [DNSOP] Re: Working Group Last Call for draft-ietf-dnsop-ns-revalidation "Delegation Revalidation by DNS Resolvers"
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/JuX_DCTBqoJKZD6t_6mL6AleEIw>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Owner: <mailto:dnsop-owner@ietf.org>
List-Post: <mailto:dnsop@ietf.org>
List-Subscribe: <mailto:dnsop-join@ietf.org>
List-Unsubscribe: <mailto:dnsop-leave@ietf.org>
Thanks Petr, Sorry, but I currently also don't have the opportunity to respond to all your observations, but I promise that I will do so next week. But yes, Unbound has the opportunistic version (5.2) implemented with the harden-referral-path option. My interest and involvement with the NS revalidation draft, was a direct result of a research (done together with Yorgos and SIDN labs folk) looking into whether or not it makes sense to sign root name server addresses (see "The reduced risk of redirected query traffic with signed root name server data", https://www.icann.org/en/system/files/files/reduced-risk-redirected-query-traffic-signed-root-name-server-data-22may24-en.pdf) In that research we were able to put a number to the positive effect signed root server addresses would have, by looking at the amount of explicitly queried for addresses in proportion to the non-authoritative obtained addresses (through priming) in DITL data. Revalidation was found as the only option to get the maximum protection from authoritative (and signed) root name server addresses. Revalidation without DNSSEC already has a positive effect in hardening the query redirection attack, because the set of IP addresses chosen from in the resolution process is larger, thereby enlarging the chance that the resolver is using one that is not hijacked. With an attacker that hijacked all the referral IP addresses (which is quite possible if it manages to hijack the priming query), strict revalidation (5.1) is needed. This is how it got introduced in the revalidation draft. Strict validation is on my wish-list/roadmap for unbound. I imagine it to have a number associated with to limit it's scope, for example "strict-revalidation: 1" would only revalidate the priming query, "strict-revalidation: 2" the root and the first level of delegations etc. The non strict revalidation (i.e. harden-referral-path) can also be similarly scoped. I hope this clarifies things already a bit. I'll respond to your observations individually next week. Cheers, -- Willem PS. We also note in the report that a root zone local to the resolver with a verified and validated ZONEMD RR would provide protection similarly strong to the combination of revalidating the root server IP addresses and the delegations from the root. This is also mentioned in the draft. We also evaluate other hardening measures and their relative effect, such as for example DNS Cookies and RPKI. Op 19-03-2025 om 23:42 schreef Shumon Huque: > On Thu, Mar 20, 2025 at 12:28 AM Petr Špaček <pspacek@isc.org> wrote: > > TL;DR > In the light of an experiment outlined below, using a current > version of > Unbound, I'm not convinced the protocol in this draft is proven to > work. > Most importantly, it does not have running code for section 5.1, > which > is advertised as security measure in the discussions during this WGLC. > > Based on this observation, I claim draft version -09 is not > suitable for > publication as a Standards Track RFC. > > > > Petr, > > I don't have time right now to review your lengthy investigation of > the Unbound implementation, and will defer to Willem to respond later. > > But let me make a few quick points: > > As far as I'm aware, Unbound has the "basic" revalidation feature that > was originally described in 2009 and 2010 in the > resolver-side-mitigations (Wijngaards) and res-improve (Vixie, Joffe, > Neves) drafts. I'm sure they will have a complete implementation once > this doc is published. There have also been other implementations in > the field, but I'm not familiar with them. > > A complete running code implementation is NOT a requirement for a > document to be initially published on the Standards Track (although > per the IETF motto, running code is always highly desirable). > > To quote RFC 2606, Section 4.1: > https://datatracker.ietf.org/doc/html/rfc2026#section-4.1 > > (I quickly scanned the many RFCs that "Update" 2606, but none appear > to have revised this section at all, and some re-confirm it). > > 4.1.1 Proposed Standard > > The entry-level maturity for the standards track is "Proposed > Standard". A specific action by the IESG is required to move a > specification onto the standards track at the "Proposed Standard" > level. > > A Proposed Standard specification is generally stable, has resolved > known design choices, is believed to be well-understood, has received > significant community review, and appears to enjoy enough community > interest to be considered valuable. However, further experience > might result in a change or even retraction of the specification > before it advances. > > Usually, neither implementation nor operational experience is > required for the designation of a specification as a Proposed > Standard. However, such experience is highly desirable, and will > usually represent a strong argument in favor of a Proposed Standard > designation. > > [...] > > Shumon. >
- [DNSOP] Working Group Last Call for draft-ietf-dn… Tim Wicinski
- [DNSOP] Re: Working Group Last Call for draft-iet… Ben Schwartz
- [DNSOP] Re: Working Group Last Call for draft-iet… Shumon Huque
- [DNSOP] Re: Working Group Last Call for draft-iet… Vladimír Čunát
- [DNSOP] Re: Working Group Last Call for draft-iet… Shumon Huque
- [DNSOP] Re: Working Group Last Call for draft-iet… Vladimír Čunát
- [DNSOP] Re: Working Group Last Call for draft-iet… Shumon Huque
- [DNSOP] Re: Working Group Last Call for draft-iet… Ralf Weber
- [DNSOP] Re: Working Group Last Call for draft-iet… Willem Toorop
- [DNSOP] Re: Working Group Last Call for draft-iet… Peter Thomassen
- [DNSOP] Re: Working Group Last Call for draft-iet… Willem Toorop
- [DNSOP] Re: Working Group Last Call for draft-iet… Peter Thomassen
- [DNSOP] Re: Working Group Last Call for draft-iet… Willem Toorop
- [DNSOP] Re: Working Group Last Call for draft-iet… Petr Špaček
- [DNSOP] Re: Working Group Last Call for draft-iet… Willem Toorop
- [DNSOP] Re: Working Group Last Call for draft-iet… Ondřej Surý
- [DNSOP] Re: Working Group Last Call for draft-iet… Shumon Huque
- [DNSOP] Re: Working Group Last Call for draft-iet… Peter Thomassen
- [DNSOP] Re: Working Group Last Call for draft-iet… Shumon Huque
- [DNSOP] Re: Working Group Last Call for draft-iet… Shumon Huque
- [DNSOP] Re: Working Group Last Call for draft-iet… Peter Thomassen
- [DNSOP] Re: Working Group Last Call for draft-iet… Shumon Huque
- [DNSOP] Re: Working Group Last Call for draft-iet… Peter Thomassen
- [DNSOP] Re: Working Group Last Call for draft-iet… Shumon Huque
- [DNSOP] Re: Working Group Last Call for draft-iet… Willem Toorop
- [DNSOP] Re: Working Group Last Call for draft-iet… Shreyas Zare
- [DNSOP] Re: Working Group Last Call for draft-iet… Ralf Weber
- [DNSOP] Re: Working Group Last Call for draft-iet… Ondřej Surý
- [DNSOP] Re: Working Group Last Call for draft-iet… Willem Toorop
- [DNSOP] Re: Working Group Last Call for draft-iet… Shumon Huque
- [DNSOP] Re: Working Group Last Call for draft-iet… Petr Špaček
- [DNSOP] Re: Working Group Last Call for draft-iet… Shreyas Zare
- [DNSOP] Re: Working Group Last Call for draft-iet… Willem Toorop
- [DNSOP] Re: Working Group Last Call for draft-iet… Peter Thomassen
- [DNSOP] Re: Working Group Last Call for draft-iet… Vladimír Čunát
- [DNSOP] Re: Working Group Last Call for draft-iet… Petr Špaček
- [DNSOP] Re: Working Group Last Call for draft-iet… Philip Homburg
- [DNSOP] Re: Working Group Last Call for draft-iet… Vladimír Čunát
- [DNSOP] Re: Working Group Last Call for draft-iet… Philip Homburg
- [DNSOP] Re: Working Group Last Call for draft-iet… Vladimír Čunát
- [DNSOP] Re: Working Group Last Call for draft-iet… Willem Toorop
- [DNSOP] Re: Working Group Last Call for draft-iet… Petr Špaček
- [DNSOP] Re: Working Group Last Call for draft-iet… Petr Špaček
- [DNSOP] Re: Working Group Last Call for draft-iet… Philip Homburg
- [DNSOP] Re: Working Group Last Call for draft-iet… Peter Thomassen
- [DNSOP] Re: Working Group Last Call for draft-iet… Vladimír Čunát
- [DNSOP] Re: Working Group Last Call for draft-iet… Philip Homburg
- [DNSOP] Re: Working Group Last Call for draft-iet… Willem Toorop
- [DNSOP] Re: Working Group Last Call for draft-iet… Willem Toorop
- [DNSOP] Re: Working Group Last Call for draft-iet… Ben Schwartz
- [DNSOP] Re: fujiwara-dnsop-resolver-update Ondřej Surý
- [DNSOP] Re: Working Group Last Call for draft-iet… Petr Špaček
- [DNSOP] Re: Working Group Last Call for draft-iet… Ralf Weber
- [DNSOP] Re: Working Group Last Call for draft-iet… Shumon Huque
- [DNSOP] Re: Working Group Last Call for draft-iet… Shumon Huque
- [DNSOP] Re: fujiwara-dnsop-resolver-update Kazunori Fujiwara
- [DNSOP] Re: fujiwara-dnsop-resolver-update Shumon Huque
- [DNSOP] Re: fujiwara-dnsop-resolver-update Ondřej Surý
- [DNSOP] Re: Working Group Last Call for draft-iet… Willem Toorop
- [DNSOP] Re: Working Group Last Call for draft-iet… Shumon Huque
- [DNSOP] Re: Working Group Last Call for draft-iet… Petr Špaček
- [DNSOP] Re: Working Group Last Call for draft-iet… Willem Toorop
- [DNSOP] Re: Working Group Last Call for draft-iet… Shumon Huque
- [DNSOP] Re: Working Group Last Call for draft-iet… Benno Overeinder