Re: [Add] questions about the Examples section of svcb-dns-02

Ben Schwartz <bemasc@google.com> Thu, 08 April 2021 15:06 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 8C05C3A1AC5 for <add@ietfa.amsl.com>; Thu, 8 Apr 2021 08:06:06 -0700 (PDT)
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 8MOtL8Sz5MBL for <add@ietfa.amsl.com>; Thu, 8 Apr 2021 08:06:02 -0700 (PDT)
Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (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 1AC8A3A1ABD for <add@ietf.org>; Thu, 8 Apr 2021 08:06:01 -0700 (PDT)
Received: by mail-wr1-x429.google.com with SMTP id e12so2489120wro.11 for <add@ietf.org>; Thu, 08 Apr 2021 08:06:01 -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=ViBe6ecB97AU/K/Njt+XBxiEgz5OkPsU97pTwy9Ak00=; b=acqOHSTeS4kpYjR2Wze8SceG6Iy5ApwdruYSV5XOZoPzSh8iNS+Md3FrgDEoMo10OG ZQ1laeO7XcMX9YN7kpsb6aD7nfv9Txqc58C6+FQkzw5r5yG2STtb44e2sowjJ93mGJjV Kd2kOeanOyKBOd2ZHtsjcUUnYwG7ODdnhjoUJHi7TXOCeaHQSb8oN5E0ftf2kA2xeSxd zPF8wpKo8/WXPHGG8TYu6WsczZM11A6PGuViM1Jp5iNHLwlO9QTwYjToxK8Lh8aNugwv k9+4ggNxY3htV9BEQ4MqmVSOIdkKqnIbZFJTyo0RVTxgylfddQbj32NqoFGYBU7ZjzEp npHw==
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=ViBe6ecB97AU/K/Njt+XBxiEgz5OkPsU97pTwy9Ak00=; b=Xp+gQ6zlODG8xjphfMVg+PKzh1FFUISDYP5q7xjc6/+y1YhW6U7RucUnJTCSOv0Pnc sxZ794dVpt4yaBCniQJakRy4g868YgslUJmxSYxX3eR3fJfF340UcV5FxjfEQ3Bg2dXf zZ8hwAPP9q4VNriP1sTc7A7mxsKtCtDuL5NX9AaZGq1eTy5owgLh0jt2Ilxy05MHLaXZ 34vJx/5KLT4wt4W/mqA4SQnOCnnzdstTZbn0Psty+ePQkvm2UoWzL73VJQ01maSpWtuS IWJ952VTcx5Nrl7XNMznSZZ8ezq5Xzm50S+8uFLzAqnUAHQvw0GHKtEnfW7t4qmq77cO D8Dg==
X-Gm-Message-State: AOAM531zk6FBceYq6CWLNE6vLjrB7xee6ISgjaH0YZ6KugrKPjmmoCiL 0YARogiscHsW8+1udBhSm5HGeuzloq4oZIg09w2UVw==
X-Google-Smtp-Source: ABdhPJyFCuB4yxVecDtDPIm9UFlZvpK1MyKSzok2udOU2IeU4pWcsB137gMAVsKlcA4M88UyXtXxVkj2zArHGIcnQ+s=
X-Received: by 2002:a05:6000:2c7:: with SMTP id o7mr9734501wry.159.1617894359278; Thu, 08 Apr 2021 08:05:59 -0700 (PDT)
MIME-Version: 1.0
References: <4613b8d0773d1ae5f806347bbce909fa74439886.camel@powerdns.com> <CAHbrMsCM3pwu7zYVhVzCMKB37_gSMyb6KY3je3NVYQBAwt6kNg@mail.gmail.com> <dc371c7284d3c05d07cf0a550b37f9a624d968c9.camel@powerdns.com> <ba952ca3-b6fe-be9a-8829-a926cb32e148@shaw.ca>
In-Reply-To: <ba952ca3-b6fe-be9a-8829-a926cb32e148@shaw.ca>
From: Ben Schwartz <bemasc@google.com>
Date: Thu, 08 Apr 2021 11:05:47 -0400
Message-ID: <CAHbrMsAN0PkC-yUdWR6HhkrX-JJ3cCwvgGBJRD2EXLYRjbQVEw@mail.gmail.com>
To: David <opendak@shaw.ca>
Cc: ADD Mailing list <add@ietf.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="00000000000097c40a05bf776234"
Archived-At: <https://mailarchive.ietf.org/arch/msg/add/F67_XCil21OcOkAx0oa_U9Bc1Rc>
Subject: Re: [Add] questions about the Examples section of svcb-dns-02
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, 08 Apr 2021 15:06:07 -0000

OK, I've clarified (and corrected, oops) the explanation of the examples,
and added another one to highlight the default-DoT behavior:
https://github.com/bemasc/svcb-dns/commit/e59c995fa976a19b5baf1770afb231d3dcb729e1

We can certainly remove the default ALPN, but personally I like having
empty SvcParams correspond to a common default.  The size savings (~8
bytes) are probably not important, although MTU could become relevant in
the context of SVCB delegation responses as envisioned
by draft-rescorla-dprive-adox.

On Thu, Apr 8, 2021 at 10:07 AM David <opendak@shaw.ca> wrote:

> On 2021-04-08 1:38 a.m., Peter van Dijk wrote:
> > Hi Ben,
> >
> > thanks for that. Sadly, I still needed help from two other people to
> > understand how DoT over 853 came out of this set. (One of them
> > commented on your commit too.)
> >
> > (For those reading along still confused, it's this bit:
> >
> >          SVCB 1 @ alpn=h2,h3 dohpath=/dns-query{?dns}
> >
> > Because it does not say 'no-default-alpn', it actually means
> > 'alpn=dot,h2,h3' where the dot bit ignores the dohpath.)
>
> As one of these people I will also echo this seems confusing and
> surprising. A casual observer of these records would need to carefully
> read and understand the draft to realize what it actually does, and
> apparently it took some of us a while to get to that. Having it be
> explicitly required or perhaps iterated more in examples would be good.
>
> I will also point out this would also have DoT clients sending an alpn
> of 'dot' where I believe they do not today. Peter did some testing and
> sounds like that wouldn't really be an issue - but I haven't been
> following closely so not sure if this was brought up before.
>
> >
> > I think this could be even more explicit in the draft (I'm happy to
> > think about some words for that) but I really wonder if the space
> > savings are worth the confusion at all.
> >
> > On Wed, 2021-04-07 at 20:36 -0400, Ben Schwartz wrote:
> >> Thanks for the questions!  I've adjusted the text [1] to make the
> examples clearer.
> >>
> >> DoT is the "default ALPN" in this draft, so unless it is explicitly
> removed (by no-default-alpn), it is present, and uses port 853 unless
> "port-..." is specified.  This is good for compactness but can be
> surprising, which is why I used that example.
> >>
> >> I removed the "echconfig" from the examples, as that is not the focus
> of this draft (and isn't even mentioned in the text).
> >>
> >> [1]
> https://github.com/bemasc/svcb-dns/commit/f61c70ed02b550613fdbb37d3171ab1e6d359e2c
> >>
> >> On Wed, Apr 7, 2021 at 4:32 PM Peter van Dijk <
> peter.van.dijk@powerdns.com> wrote:
> >>> Hello Ben, and rest of WG,
> >>>
> >>> https://tools.ietf.org/html/draft-schwartz-svcb-dns-02#section-8 has
> an
> >>> example RRset for a resolver, containing 3 SVCB RRs. This example is
> >>> very useful!
> >>>
> >>> However, I have a few questions/comments about it:
> >>>
> >>> (1) Can you reorder the bullet list to match the order in the RRset?
> >>> (i.e. put the TLS one second)
> >>>
> >>> (2) I see one SVCB record (with priority 2) advertising a DoT server
> >>> (by leaving out the ALPN). It has port=8530. Yet, the text above says
> >>> there's DoT on 853 and 8530. Where does 853 come into play, if the
> >>> prio=2 SVCB record says port=8530?
> >>>
> >>> (3) All three example RRs have an echconfig parameter. While I
> >>> understand it makes sense for an operator to be consistent in doing ECH
> >>> over all their offerings, it somewhat looks like everybody is expected
> >>> to do echconfig - perhaps it would be clearer to not have echconfig on
> >>> all three? Then, maybe clarify that it would in fact be better to have
> >>> it always, but say that the svcb-dns protocol does not demand it.
> >>>
> >>>
> >>> For (2) it's entirely possible I'm missing something - please let me
> >>> know. Thanks!
> >>>
> >
> > Kind regards,
> >
>
> --
> Add mailing list
> Add@ietf.org
> https://www.ietf.org/mailman/listinfo/add
>