Re: [Add] I-D Action: draft-ietf-add-dnr-01.txt

Ben Schwartz <bemasc@google.com> Tue, 04 May 2021 23:11 UTC

Return-Path: <bemasc@google.com>
X-Original-To: add@ietfa.amsl.com
Delivered-To: add@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CA85C3A1943 for <add@ietfa.amsl.com>; Tue, 4 May 2021 16:11:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.598
X-Spam-Level:
X-Spam-Status: No, score=-17.598 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, 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, RCVD_IN_DNSWL_BLOCKED=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 tSFv-fqKwfSH for <add@ietfa.amsl.com>; Tue, 4 May 2021 16:11:26 -0700 (PDT)
Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (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 C4E793A193D for <add@ietf.org>; Tue, 4 May 2021 16:11:25 -0700 (PDT)
Received: by mail-wr1-x430.google.com with SMTP id v12so11059497wrq.6 for <add@ietf.org>; Tue, 04 May 2021 16:11:25 -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=vWBFLBVzEaDr6PasrDz+SWnsjkB6ANdN4ecWsqsanYE=; b=YpcIcLpWFuQNjD4VRGdTDTsAeEsQ27kRdXzkZYUzel3jpTKNOupQzHoKQqNqG349v2 KP1xAYypJBXO6P9wlT2H8HTKsyNybZo/muLwf8ZzePZJatBYmHXzJAna5NKCR6kkW6W0 qTiJ9patkcJJUPPSzHCoVqjqXFgi/m7lmQxWDrfNwRkMMy7fCFwaLYPNDldhy/ax3N2+ 2vB1loC+dy93Qe/WhzJ5bJDmRuhlYEVyqpk57lBunYYUCEYIOuf6Lq1M7LI6I0OOaWQH LxL+0rqzPv8egpLWRCyHdIC1SzujskpgMGc1MR6kUx6QnoBl8kQtH7NjSNxkKrRWQeDt cK4A==
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=vWBFLBVzEaDr6PasrDz+SWnsjkB6ANdN4ecWsqsanYE=; b=j+Vbh5NaaAil0s31FxPJYzGFw9PlVmX5QTwYdbvg5tjVW9+0s4Ikc+TXJp7OVpGcah iIpiBs5vQzo+7VV6OQzE1JiGwkQHha/vtbjpNEQmqXp8IdQ+t3chnlW94/KRQS1+y4uI KfjdR9w3fpmy1BYEFsYGs7GfrFAcLCHZhLQOyiYfNsfnktL/wS9lBdGQ8Bpx7MvBCB9T pYLAJx2jZ6dKD+Fv713GrN0M0gD6qDoIihOkS87sZZzOzOk0HkXp2/iEDOzrVeimaDdM jYowIj6zBfkfjRrkuBK+DvREvSZLd6hSLc+iIxS7Y8I4osDev+YrYMwQOisRXb2DD+nu LU1g==
X-Gm-Message-State: AOAM533sNcaZyGpVY0koD9Zfazdx3QK78zGStTEFJO8DBC+NnJ+fwwwW CnqX0RIF9VRaSnV7Pn70OhUPqL07gdURPStJupkAlw==
X-Google-Smtp-Source: ABdhPJzM5br5XTF+6calHKVvV13eKBqMWPUloLjsbvpI8Uet8A1Tm0gg32bsiW8IMagaGUqougOrDN+Agecj7k6aoZ8=
X-Received: by 2002:adf:d22f:: with SMTP id k15mr16764629wrh.258.1620169883431; Tue, 04 May 2021 16:11:23 -0700 (PDT)
MIME-Version: 1.0
References: <162013212867.27298.8042102801502765376@ietfa.amsl.com> <31475_1620133405_6091461D_31475_9_1_787AE7BB302AE849A7480A190F8B93303537667E@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
In-Reply-To: <31475_1620133405_6091461D_31475_9_1_787AE7BB302AE849A7480A190F8B93303537667E@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
From: Ben Schwartz <bemasc@google.com>
Date: Tue, 04 May 2021 16:11:11 -0700
Message-ID: <CAHbrMsC1O6LA-MLL6XX2H2_0SZ6B-x1=A2yCLWxuLge-4xLJ6Q@mail.gmail.com>
To: mohamed.boucadair@orange.com
Cc: "add@ietf.org" <add@ietf.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="0000000000006793cf05c1893228"
Archived-At: <https://mailarchive.ietf.org/arch/msg/add/EuHclrSOKSKs_qjc8UaslsV3Fmg>
Subject: Re: [Add] I-D Action: draft-ietf-add-dnr-01.txt
X-BeenThere: add@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Applications Doing DNS <add.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/add>, <mailto:add-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/add/>
List-Post: <mailto:add@ietf.org>
List-Help: <mailto:add-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/add>, <mailto:add-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 May 2021 23:11:31 -0000

Thanks for this update.  I think this is a good design.

Some notes:

Sections 4-6:
The ADN is self-delimiting, so the ADN length field is redundant in both
encodings.  (It's also unnecessarily wide in the IPv6 encodings, since
domain names are limited to 255 octets.)  I would suggest getting rid of
the ADN length field.  For precedent, see the DNSSL option (RFC 8106
Section 5.2).

I wonder if anyone else would prefer an Addr Count instead of Addr Length?
That would allow us to have a consistent 1-byte field for v4 and v6, and
avoid the divisibility requirements.  Better to multiply than divide!

I think the draft should probably have a one-sentence warning like "Senders
SHOULD NOT include ipv4hint or ipv6hint SvcParams, which would be
superseded by the included addresses."

Section 7 and Appendices A+B:

I think these sections should move to a separate draft (where they can be
full-fledged body text, and not merely appendices).  This guidance is not
specific to DNR (it also applies to DDR), and applies to very particular
deployment scenarios.  I also think that this operational guidance is much
more speculative than the format itself, and I'd like them to be able to
make progress independently.

Section 8:

I would like this section to take a different approach.  Rather than simply
enumerating attacks, I think we should be discussing the security
properties that this process provides.  In particular, we need to be clear
that DNR can guarantee that the resolver is the one selected by the DHCP
sender, but it cannot provide any information about who that sender is.

One particular note: The draft says "Also, an attacker can use a public IP
address and get an 'IP address'-validated public certificate from a CA to
host an Encrypted DNS server.".  This is currently not supported: DNR
requires an Authentication Domain Name, which cannot be an IP address.
(That's OK with me; I just think the text should be consistent.)

On Tue, May 4, 2021 at 6:03 AM <mohamed.boucadair@orange.com> wrote:

> Hi all,
>
> This version takes into account the inputs received during the last IETF
> meeting: that is, leverage SVCB. One single option is thus defined to carry
> the authentication domain name, IP address(es), and service parameters. The
> service parameters are encoded as SvcParams specified in the SVCB I-D. We
> added text to explain the rationale of reusing that encoding + why one
> single option is defined.
>
> We also updated the structure of section 3 to take into account some of
> the comments from Michael.
>
> The DHCP part was reviewed by Bernie (co-chair of dhc wg). All seems good.
>
> Cheers,
> Med
>
> > -----Message d'origine-----
> > De : Add [mailto:add-bounces@ietf.org] De la part de internet-
> > drafts@ietf.org
> > Envoyé : mardi 4 mai 2021 14:42
> > À : i-d-announce@ietf.org
> > Cc : add@ietf.org
> > Objet : [Add] I-D Action: draft-ietf-add-dnr-01.txt
> >
> >
> > A New Internet-Draft is available from the on-line Internet-Drafts
> > directories.
> > This draft is a work item of the Adaptive DNS Discovery WG of the
> > IETF.
> >
> >         Title           : DHCP and Router Advertisement Options for
> > the Discovery of Network-designated Resolvers (DNR)
> >         Authors         : Mohamed Boucadair
> >                           Tirumaleswar Reddy
> >                           Dan Wing
> >                           Neil Cook
> >                           Tommy Jensen
> >       Filename        : draft-ietf-add-dnr-01.txt
> >       Pages           : 30
> >       Date            : 2021-05-04
> >
> > Abstract:
> >    The document specifies new DHCP and IPv6 Router Advertisement
> > options
> >    to discover encrypted DNS servers (e.g., DNS-over-HTTPS, DNS-over-
> >    TLS, DNS-over-QUIC).  Particularly, it allows to learn an
> >    authentication domain name together with a list of IP addresses
> > and a
> >    set of service parameters to reach such encrypted DNS servers.
> >
> >
> > The IETF datatracker status page for this draft is:
> > https://datatracker.ietf.org/doc/draft-ietf-add-dnr/
> >
> > There are also htmlized versions available at:
> > https://tools.ietf.org/html/draft-ietf-add-dnr-01
> > https://datatracker.ietf.org/doc/html/draft-ietf-add-dnr-01
> >
> > A diff from the previous version is available at:
> > https://www.ietf.org/rfcdiff?url2=draft-ietf-add-dnr-01
> >
> >
> > Please note that it may take a couple of minutes from the time of
> > submission until the htmlized version and diff are available at
> > tools.ietf.org.
> >
> > Internet-Drafts are also available by anonymous FTP at:
> > ftp://ftp.ietf.org/internet-drafts/
> >
> >
> > --
> > Add mailing list
> > Add@ietf.org
> > https://www.ietf.org/mailman/listinfo/add
>
>
> _________________________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations
> confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez
> recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
> electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou
> falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged
> information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and
> delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been
> modified, changed or falsified.
> Thank you.
>
> --
> Add mailing list
> Add@ietf.org
> https://www.ietf.org/mailman/listinfo/add
>