Re: [dns-privacy] [Ext] DS Hacks

Ben Schwartz <bemasc@google.com> Fri, 06 August 2021 19:05 UTC

Return-Path: <bemasc@google.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CA5783A112C for <dns-privacy@ietfa.amsl.com>; Fri, 6 Aug 2021 12:05:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -18.097
X-Spam-Level:
X-Spam-Status: No, score=-18.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.499, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LkNppVUaPVua for <dns-privacy@ietfa.amsl.com>; Fri, 6 Aug 2021 12:05:21 -0700 (PDT)
Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E3623A1117 for <dns-privacy@ietf.org>; Fri, 6 Aug 2021 12:05:21 -0700 (PDT)
Received: by mail-wm1-x32d.google.com with SMTP id u15so6229736wmj.1 for <dns-privacy@ietf.org>; Fri, 06 Aug 2021 12:05:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pziOOg0q+O+o8Ld0lOldV6guyLHXqWwMIcE8AxvMjZY=; b=gtUuwEcqG0gRXIagZGYJVfTz2JAnipD7eLaZSU7GjEajo7xJj9gNKWCEuiit5laCIh snWy6RiOyBoh68cX47B865I0I77ZhkrxqP7OkPojss+xhZ/6B0ckyu7tsJyn5EB6LbE8 DLMrCLDnfZ0D03N0Ul9wYRP8v0/VAwOCA5HIL5S8yFdDQWd30zoCPHAh8FsIit/dlx5D A1yzPkKeCc7j7FLzRHo9UDGhUb5XP/03DcJ5JBPv5TAVvjGe/LUOEGEm4T2JePQYCVFU dcEh1HqZ03LjDZASSJgOMzMUlti2EBQbUvXTy4QsCLXnsUi9bW1BiX6B474LstL42duW z2+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pziOOg0q+O+o8Ld0lOldV6guyLHXqWwMIcE8AxvMjZY=; b=Y0ljv1XDM+54KPQUQVSDmHo20Noyvia1sEs3FsAIyChVP33GdxdlEATtc8xGN77VzQ lC2S6D8anCNdH9u6CzpnaSjBWVjpQ4+vKobtCamotBoogzettqJni0C3dBU/mBzos0nB vqK01sbOd5d3yxw7SYqSeaLWxrUy5tBZ2KdkADrOQsaN0cvBxKi61UgjmMQKBlZATVfF s+RR22ySPfS2u2Mq63kkd6KA6u1cZEs7IZJPuU/MHuel6PB7O0sq34P3BzequKdmJhol eAczQ7fJzeRGRpU1fsdSPNrg5aWIS6a8VeQ0yXGEtQxxpnY0huOUxRONVBAtUvUBkPk4 Ux4g==
X-Gm-Message-State: AOAM530An/5B+AQkeG8H9G86ddyRqV3rxIiNfV9ZyzZ1iX4dYqTUw1Mv CwRHRzkQyOr4c3lPs9TTvf/kZqvFLVqGV5abKBnR3g==
X-Google-Smtp-Source: ABdhPJy3cdw3BrfbeWu1yi4xMJ2WWixYp45Mj5g8DUIh1slUsKFZ4px6nxmSqrQ4m3sEO4mX6cRIK2d9xw54jrFVxYg=
X-Received: by 2002:a1c:5449:: with SMTP id p9mr21700527wmi.101.1628276717423; Fri, 06 Aug 2021 12:05:17 -0700 (PDT)
MIME-Version: 1.0
References: <CAHbrMsAXFiPT_P_hdWXborXnbw3YagjW6aXXvGJnxWbtRofB2g@mail.gmail.com> <5f649d68-94be-579a-31c6-6ad02466cd15@time-travellers.org> <CAHbrMsCj8LzJff7BXwnY4TOcOU2POuZfP4h+fyA6VUKeGpksCQ@mail.gmail.com> <E0430A84-D844-4B79-B71F-A92A21942329@icann.org> <CAHbrMsCPPq-o8U4mhFPZ1U+GE+57yneEGo7AD5uDQ_QDDUO0rw@mail.gmail.com> <03FDA925-2BC3-4830-B27B-5F6E19676678@icann.org> <CAPp9mxJM1b4+OFHX0x6QwhoJpE+8Sz82K_e=DJ9EJFaK691_3Q@mail.gmail.com> <4AE29BBE-9B29-4E89-93CF-14153B25FD5C@icann.org> <CAHbrMsBQ88mKx-FLU0KT8W-AGyi=3HS3f5nuSO93-TOo_HTyNw@mail.gmail.com> <YQ2C2IA/TQ5wXdQ/@LK-Perkele-VII2.locald>
In-Reply-To: <YQ2C2IA/TQ5wXdQ/@LK-Perkele-VII2.locald>
From: Ben Schwartz <bemasc@google.com>
Date: Fri, 06 Aug 2021 15:05:05 -0400
Message-ID: <CAHbrMsDzuXV7EbdPyNSWeKj0pei4BE2JhnOAe+GrVmDQFUZTMw@mail.gmail.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: DNS Privacy Working Group <dns-privacy@ietf.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="0000000000005cb5b105c8e8b703"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dns-privacy/u67VY2dA2r4pO-C2Y9qZqUCxTkM>
Subject: Re: [dns-privacy] [Ext] DS Hacks
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Addition of privacy to the DNS protocol <dns-privacy.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dns-privacy/>
List-Post: <mailto:dns-privacy@ietf.org>
List-Help: <mailto:dns-privacy-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Aug 2021 19:05:28 -0000

The NSEC and NSEC3 records are supposed to work exactly as usual.  I didn't
provide any examples of NSEC3 because I didn't dare to attempt to write
NSEC3 records by hand.

I think you're right, and the NSEC examples are wrong.  Would you kindly
review this change to fix them:
https://github.com/bemasc/ds-glue/pull/1/files ?

Thanks,
Ben

On Fri, Aug 6, 2021 at 2:44 PM Ilari Liusvaara <ilariliusvaara@welho.com>
wrote:

> On Fri, Aug 06, 2021 at 11:21:35AM -0400, Ben Schwartz wrote:
> > Hi DPRIVE.  I've written this up as a proper I-D at
> > https://datatracker.ietf.org/doc/html/draft-schwartz-ds-glue-00.  Please
> > review.
> >
> > In addition to the precise description of how to extend "DS" in this way,
> > there's also some text explaining how this interacts with DANE and PKI
> > authentication, making creative use of NSEC for performance.
>
> I am confused about the NSEC parts.
>
> - Usually NSEC lists the next name and present types for current name.
> - In this draft, it seems to be  list of types that are not present.
> - In this draft, I do not see any explanation on how the name in the
>   NSEC record should be set. In the examples, it seems to be the set
>   to full owner name.
> - The draft mentions NSEC3 too, but as far as I can see, no
>   explanation or examples of its use.
>
>
>
> -Ilari
>
> _______________________________________________
> dns-privacy mailing list
> dns-privacy@ietf.org
> https://www.ietf.org/mailman/listinfo/dns-privacy
>