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

Ben Schwartz <bemasc@google.com> Thu, 09 December 2021 21:37 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 7856D3A0FF2 for <add@ietfa.amsl.com>; Thu, 9 Dec 2021 13:37:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 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, 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 vVYAs12plfr3 for <add@ietfa.amsl.com>; Thu, 9 Dec 2021 13:37:15 -0800 (PST)
Received: from mail-ua1-x934.google.com (mail-ua1-x934.google.com [IPv6:2607:f8b0:4864:20::934]) (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 CAAA53A0FE2 for <add@ietf.org>; Thu, 9 Dec 2021 13:37:15 -0800 (PST)
Received: by mail-ua1-x934.google.com with SMTP id t13so13381494uad.9 for <add@ietf.org>; Thu, 09 Dec 2021 13:37:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L+q8weAuT1EGJl/olbu2pRkAJRpklQvxZhLkA1hN8PQ=; b=CTYro6bWmc4agw4Rh+cblLkrRPa+rUCQ6vDM3QMJEVfZz2DoGI10WbKR3BOL6iRUzC Gsbb6OU/Cvbcz1Ss87Nd1bacjtExbgiBNo3qnzys92lR7pjS8YHx7T0ZTlr/QSgxaKGJ C8IT8Y/zN7STRtqWY8T+Yr9+pDI6qpJdRJ26opvn+od1KKZtHhdBOt3O9ISFbm6Pbe2d w53mSUxrIX3ScCNtseTLfUKS6a38sbz05Ack2Z5k5ruAZ5Pmzb40YQrXpQg3EVVn5lER zZL8IozexPvUp1ssHpssiNL2HWyR6S08XgJbRlbmMeCBHtfCetrgOyfiW/Q3KiKEtOxA d2nA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L+q8weAuT1EGJl/olbu2pRkAJRpklQvxZhLkA1hN8PQ=; b=j8lRBlPam9AQWqN7/LPXQkL8+Ujh3MgZC4Olzvalds7JghjkmuNT/KlDVmfQY3tWUc /H7Kiv3fzV4GgG+pGV8HoSwoyNq0eQJMr2/c9O1wzEJtDLwgGZg6WiTXbTPK8cQhXZyf Me5emxwiZ3NTtx31DMR8oCuNkwLUk8QLKyjFO2V9NIpRhdZP51mYc2y8EHIC5GrbQhlM g4P97w14oZBu4BH34ZTItZ5yeCalz01gZxy8hZ2lgOixjRT/WqkZDp/kWgppP+U2ARcU e5QHjT0sKDo9BMmAeN3fQVDlECIjWZ96zTGqE1YNmZ4BFtYz9r+SonqPd6d19ofx4Jda ekFA==
X-Gm-Message-State: AOAM5318ilYIqj9V3k7nLJl0wIZ+CyglHkoPV1sTzwa/1jYF7JNZrgsd 94Sjdoyx4AZlVCkltBGV0LoJrujHGG/SshfH2DO3QF0ffJQ=
X-Google-Smtp-Source: ABdhPJzW9pW6u2N2DJx10CPTqM6zRUD4nmJfBzV1vrIHQDcCpGWA/XOa2rXLoXJHVoj9OHDELLkl62md9/iHFXa1O4U=
X-Received: by 2002:ab0:6883:: with SMTP id t3mr22621154uar.66.1639085834279; Thu, 09 Dec 2021 13:37:14 -0800 (PST)
MIME-Version: 1.0
References: <163903270649.6465.5137287913333383312@ietfa.amsl.com> <18246_1639033141_61B1A935_18246_427_1_787AE7BB302AE849A7480A190F8B933035461678@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
In-Reply-To: <18246_1639033141_61B1A935_18246_427_1_787AE7BB302AE849A7480A190F8B933035461678@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
From: Ben Schwartz <bemasc@google.com>
Date: Thu, 09 Dec 2021 16:37:03 -0500
Message-ID: <CAHbrMsAkj28Bsm=c+VDQo71-gNZgC7EEm+Jr7Ch1F2xm9e9zcQ@mail.gmail.com>
To: mohamed.boucadair@orange.com
Cc: "add@ietf.org" <add@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e8feff05d2bd6844"
Archived-At: <https://mailarchive.ietf.org/arch/msg/add/QmwY1Aadp0prYoK4EqyzvePTrBE>
Subject: Re: [Add] I-D Action: draft-ietf-add-dnr-04.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: Thu, 09 Dec 2021 21:37:21 -0000

Now that the SvcPriority is included in the payload, I would suggest moving
the IP addresses to the beginning of the payload.  That would allow the
remainder to be syntactically identical to SVCB RDATA, so it can be
synthesized and parsed using the exact same code used for SVCB records.
(It would also save one byte.)

As I mentioned previously I would also prefer to provide the _count_ of IP
addresses, rather than the _length_ of the IP address field.  This avoids
the potential for memory safety vulnerabilities when Addr Length is
impossible (e.g. 13) and saves one byte for IPv6.

On Thu, Dec 9, 2021 at 1:59 AM <mohamed.boucadair@orange.com> wrote:

> Hi all,
>
> This version fixes an issue about DHCP option ordering: we used to rely
> upon the options appearance but this is against RFC7227.
>
> We also made some editorial changes to clean the reference to the
> deployment I-D.
>
> Looking forward seeing the I-D in WGLC.
>
> Cheers,
> Med
>
> > -----Message d'origine-----
> > De : Add <add-bounces@ietf.org> De la part de internet-drafts@ietf.org
> > Envoyé : jeudi 9 décembre 2021 07:52
> > À : i-d-announce@ietf.org
> > Cc : add@ietf.org
> > Objet : [Add] I-D Action: draft-ietf-add-dnr-04.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-04.txt
> >       Pages           : 21
> >       Date            : 2021-12-08
> >
> > 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 is also an htmlized version available at:
> > https://datatracker.ietf.org/doc/html/draft-ietf-add-dnr-04
> >
> > A diff from the previous version is available at:
> > https://www.ietf.org/rfcdiff?url2=draft-ietf-add-dnr-04
> >
> >
> > Internet-Drafts are also available by rsync at rsync.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
>