Re: [DNSOP] [Ext] Compact DoE sentinel choice
Shumon Huque <shuque@gmail.com> Tue, 08 August 2023 18:54 UTC
Return-Path: <shuque@gmail.com>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B15DC152567 for <dnsop@ietfa.amsl.com>; Tue, 8 Aug 2023 11:54:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HY6mMtfpmtkG for <dnsop@ietfa.amsl.com>; Tue, 8 Aug 2023 11:54:53 -0700 (PDT)
Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CAB61C1522D3 for <dnsop@ietf.org>; Tue, 8 Aug 2023 11:54:53 -0700 (PDT)
Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-790fef20fafso5288639f.0 for <dnsop@ietf.org>; Tue, 08 Aug 2023 11:54:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691520893; x=1692125693; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=1mz2N1dLTnoKI+fc8TCjha4EFLnv+FZmMCnAlnFVnOs=; b=XJjRLdNyb4cNBYfkIVUs2DYdrJnhetq7zGJlnXBV64K5ST5pPpTuPTD4gFILWbohwA 9G8yv0gEeWltQ18JXdhCkfoRDA/4U1gQoyCZNBb3JwPeYniV0x9BT77ii/t5X79jNsb7 //sJ08S/R7h/NFOkVkasUHarWXO0pZmjPhZIVdQHl+ZbcTa9yuJP8LkTOiJpO3WKA93B gaYjkZSYGUDVC/X8uJ31gxFlTlEQZjirbGuCFTFH/h4/G95xRp4sbZWltV7rcOLpMnO+ /dtOsDx+WHozTMr7vVyLss0Y5xh3M1Ulg4vMmwSfGsc45WEXdIgj3dWkP+Dlguzx4/5B i1wQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691520893; x=1692125693; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1mz2N1dLTnoKI+fc8TCjha4EFLnv+FZmMCnAlnFVnOs=; b=IkMlCNdUEbhTHi3vi9PCnBEhj1UWQHOUeIXCfjAYG6xCrS+Q9CchU0+eQkf1+8ECQK FEZuDbkYBEte7dxaAikqQbyocYU1SvAalNnAATD+/SHvQY7prYX8lNZRImFLx2Rcdm9b vcBKGtR9TfMYxvqvDNjJkYRvacEIy+aYLtRob1/430gQlmuZ1TfkbMtJi5LhdZc9hDCj +yLVr2C76F7sOao8GOUkL3U/OCxxiDlt1bDVh/Rc6l/N+Qe2sQjfU+51toGUi+9SMNDr XDjRTjerCC9g8ANBg7fJNK2xjIH71VC9STfY2fUUd7vnvlyuJ4Iw1euaSIgL8FnrNvrU oz/Q==
X-Gm-Message-State: AOJu0YyTxkk/0g6elj71L46ycLJMt+1rE4JCQ2q2oubMwyTM1f+2X9Fe +XLZLEkHgSxFfO5W4ZzJvTdZDYcpIez6p2KKY5+3DB/yugY=
X-Google-Smtp-Source: AGHT+IGnBnmsxJzwU8izmaYIOnF71eApqUizidbEJS1752ZIw3NH28PyIwc3ci9WPO9jrbtNV+B9jXTGx2eYMdSJ+tg=
X-Received: by 2002:a6b:501a:0:b0:787:4735:fafa with SMTP id e26-20020a6b501a000000b007874735fafamr11613597iob.0.1691520893026; Tue, 08 Aug 2023 11:54:53 -0700 (PDT)
MIME-Version: 1.0
References: <ZL7lHPcpNpb_VFef@straasha.imrryr.org> <EE6A9C87-0D78-4179-BDBF-556459472709@icann.org>
In-Reply-To: <EE6A9C87-0D78-4179-BDBF-556459472709@icann.org>
From: Shumon Huque <shuque@gmail.com>
Date: Tue, 08 Aug 2023 14:54:41 -0400
Message-ID: <CAHPuVdW0b9WQmidJ5gfw-hsWWHvLHM36UCfjdO_=ZG0bxm1_Fw@mail.gmail.com>
To: Edward Lewis <edward.lewis@icann.org>
Cc: "dnsop@ietf.org" <dnsop@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f5858b06026de5c4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/Dtc2a6GLb_839PUJdOOMHzopiMs>
Subject: Re: [DNSOP] [Ext] Compact DoE sentinel choice
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Aug 2023 18:54:54 -0000
On Wed, Jul 26, 2023 at 11:05 PM Edward Lewis <edward.lewis@icann.org> wrote: > [...] > In some sense, this proposal is establishing a (set of) wildcard(s) > (source[s] of synthesis) that owns just an NSEC record when it applies to > otherwise NXDOMAIN responses. Mulling this over, it becomes apparent that > the next name field in the NSEC record is a problem - wildcards allow for > the inclusion of an owner name pulled from the query (and DNSSEC > accommodates that via the label count) but there is no process for > modifying the RDATA in a synthesized record. The lack of a process for > modifying the RDATA means that "this is something entirely new". > > I think that signing on the fly is a great idea. But when DNSSEC was > defined, and specifically here the NSEC record, it was assumed that DNSSEC > records would be generated on machines air-gapped from the network because > the state of the art in host security was simply poor. This forced the > design to take on an approach of showing the querier "here's what I do > have, you can deduce that your request has no answer (NXDOMAIN)". With > signing on the fly, that approach makes no sense - you should be able to > send a tailored response. > > A tailored response, i.e., "there's no name matching the QNAME", means > there's no need to mention the next name. This would be great - no need to > sort the zone, no need to assist zone walking, etc. The NSEC record is > just not built for that though, it's an entirely ill-fit. > Yes, certainly a different design would have been possible if online signing was a primary use case. But I think NSEC and its minimally covering variant(s) probably do a reasonable job of catering to both pre-computed and online signing models today. I doubt there is an appetite for a larger redesign at this point. In regard to your observations on wildcards, I don't have a direct comment to add -- but I do want to point out that Compact DoE handles wildcards quite differently, and this may not be readily apparent to the casual observer. In this system, a wildcard is not a DNS protocol element that is exposed in the wire protocol, but just an internal response provisioning instruction. Compact DoE implementations pretend that every name that matches a wildcard explicitly existed in the zone and generate an on-the-fly proof for that. This obviates the need to provide an NSEC record in the response that proves that no closer match than the wildcard is possible, and is a simplification enabled by online signing. Some details in: https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-compact-denial-of-existence-00#name-responses-for-wildcard-matc Shumon.
- [DNSOP] Compact DoE sentinel choice Viktor Dukhovni
- Re: [DNSOP] Compact DoE sentinel choice Brian Dickson
- Re: [DNSOP] Compact DoE sentinel choice Viktor Dukhovni
- Re: [DNSOP] Compact DoE sentinel choice Shumon Huque
- Re: [DNSOP] Compact DoE sentinel choice Viktor Dukhovni
- Re: [DNSOP] Compact DoE sentinel choice Shumon Huque
- Re: [DNSOP] Compact DoE sentinel choice Viktor Dukhovni
- Re: [DNSOP] Compact DoE sentinel choice Shumon Huque
- Re: [DNSOP] Compact DoE sentinel choice Viktor Dukhovni
- Re: [DNSOP] Compact DoE sentinel choice Brian Dickson
- Re: [DNSOP] Compact DoE sentinel choice Viktor Dukhovni
- Re: [DNSOP] Compact DoE sentinel choice Paul Vixie
- Re: [DNSOP] [Ext] Compact DoE sentinel choice Edward Lewis
- Re: [DNSOP] Compact DoE sentinel choice Brian Dickson
- Re: [DNSOP] Compact DoE sentinel choice Brian Dickson
- Re: [DNSOP] Compact DoE sentinel choice Viktor Dukhovni
- Re: [DNSOP] [Ext] Compact DoE sentinel choice Viktor Dukhovni
- Re: [DNSOP] [Ext] Compact DoE sentinel choice Edward Lewis
- Re: [DNSOP] Compact DoE sentinel choice Shumon Huque
- Re: [DNSOP] [Ext] Compact DoE sentinel choice Shumon Huque
- Re: [DNSOP] [Ext] Compact DoE sentinel choice Shumon Huque
- Re: [DNSOP] [Ext] Compact DoE sentinel choice Mark Andrews
- Re: [DNSOP] [Ext] Compact DoE sentinel choice Shumon Huque
- Re: [DNSOP] [Ext] Compact DoE sentinel choice Mark Andrews
- Re: [DNSOP] [Ext] Compact DoE sentinel choice Edward Lewis
- Re: [DNSOP] [Ext] Compact DoE sentinel choice Edward Lewis
- Re: [DNSOP] [Ext] Compact DoE sentinel choice Shumon Huque
- Re: [DNSOP] [Ext] Compact DoE sentinel choice Shumon Huque
- Re: [DNSOP] [Ext] Compact DoE sentinel choice Shumon Huque
- Re: [DNSOP] [Ext] Compact DoE sentinel choice Edward Lewis
- Re: [DNSOP] Compact DoE sentinel choice Viktor Dukhovni