Re: [DNSOP] [Ext] I-D Action: draft-ietf-dnsop-svcb-https-05.txt

Eric Orth <ericorth@google.com> Wed, 12 May 2021 19:27 UTC

Return-Path: <ericorth@google.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 859E13A0DED for <dnsop@ietfa.amsl.com>; Wed, 12 May 2021 12:27:32 -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 5EYrcb5j0nkb for <dnsop@ietfa.amsl.com>; Wed, 12 May 2021 12:27:27 -0700 (PDT)
Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) (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 C860B3A0E25 for <dnsop@ietf.org>; Wed, 12 May 2021 12:27:27 -0700 (PDT)
Received: by mail-yb1-xb2a.google.com with SMTP id y2so32043077ybq.13 for <dnsop@ietf.org>; Wed, 12 May 2021 12:27:27 -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; bh=fcG0uyZ6w4QnYxwpK0tpp8KVtKSsJdaVT2P6Nhev2uQ=; b=swHCmzKR7GEj0D5R/Lz7ZtIvg/8B0ZK/0mRP38ru9eKepX3ulHAkAU+HIKMrujFvfD Yxr0LJWZUsrkij7nYgFJZVOfV4uQItgXPdMUiC3zPAxsbItJKj1g2aSU6TE9g1sRXCP4 dGRzP8ctKkrBxCrc7fv4fOxaczT7tG6QYEkM8RB6j6yfFmU/RIV88NZHiY6mMo+8oM1+ NuwYPmhTYidn+xkv7sCLeLIE4NpozrhSNSxG4z38wcC7dJNZKsq0KEZoBdV1kZfSvpN3 5jAl4brFjcxZdJaVgl8ePzAC0adsNn3SKO+W7plzG0UwY0NhrSYBiHb9SZ2knpZCXqoV cWOg==
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; bh=fcG0uyZ6w4QnYxwpK0tpp8KVtKSsJdaVT2P6Nhev2uQ=; b=bCzh510y5SC9mI60CkXcqz2EG4/9oCekP8XIXH9Ec5ZppJXholpa7qdSrZ1SEBc5+1 Z6HwphYkGAbonMYFNWVlxtjnYfwWD/TG9HCg3wygf4OAJXuqGAxfxPXeJUJEQ4CwO7tl HgPCTrbN1+nyBRXyNm9g6mA8aYDbOIHfo1tQ+zKWimPEdfj2SgRG33P6R4Lxpu6/CKdS VAzNAA3fxEI+7EOE1qcxrnozwFR0c22UhBh+UMpMF+r+GL9y4RKfG8u68T0aXaX06N4u 1E/7D5mtyNtjcU8WyddmIDD4agd6JrnCbFGNCL9yCkuHYye5T8MQxwWI7zimM46Zbhl+ Kd8w==
X-Gm-Message-State: AOAM533eoWXfq2uasRaDEgHknbYGKXtcQFS9aJbBXBoCJaKQk/HYGonR dUEsp9MF+ORNqM6YLkQeDMvlU1UZ4Ye1vn5VWFf9QjfbTDgiDQ==
X-Google-Smtp-Source: ABdhPJyy5TbecYtIRQXi55FGhQNTtfjaiP5gjyOUA0em9lGvq75gtWMNoW4k291knCgMAmiajsOooROAg3z9nQgkc9M=
X-Received: by 2002:a25:fc0c:: with SMTP id v12mr16673644ybd.490.1620847645630; Wed, 12 May 2021 12:27:25 -0700 (PDT)
MIME-Version: 1.0
References: <F4CE48A1-7AB0-45D0-97FF-158CE3A04EE1@icann.org> <3EE971EE-0777-44D6-9CD2-771B92FFE938@hopcount.ca> <1d822219-8ab9-2cb7-d0a4-9b8afc39058d@powerdns.com> <2952D408-117B-40D0-B859-7A8E4111629E@hopcount.ca> <CAHbrMsD+uiaYQ8i58VRjF=3AtW9uAoAtgbKzNzrPZC3QCmD2pQ@mail.gmail.com> <CAH1iCirykCpqkQEizYUBYMJEXMYRGkWvnzyo-jP=XOT-4fP-EA@mail.gmail.com> <123fd984-a3e1-0d09-b745-9a7ed6260759@nic.cz> <CAHbrMsCrf8GS3N=HF53X-M0oq09yw_vKGFLU_qA6wt94-+vNXg@mail.gmail.com> <346afc4d-f8c2-7a2b-e606-344e15230e61@nic.cz> <6782960c9c8f84e1df330d6ddf4d2cfaa7b5d7a7.camel@powerdns.com>
In-Reply-To: <6782960c9c8f84e1df330d6ddf4d2cfaa7b5d7a7.camel@powerdns.com>
From: Eric Orth <ericorth@google.com>
Date: Wed, 12 May 2021 15:27:13 -0400
Message-ID: <CAMOjQcEHf0=nes+PGZWi7=18u_N5WaS7=i4Sd-9d+9+_BEypFA@mail.gmail.com>
To: dnsop <dnsop@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000277b7d05c227001d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/hPnyBcYU6OSkGLOkjzRlk1YnwVs>
Subject: Re: [DNSOP] [Ext] I-D Action: draft-ietf-dnsop-svcb-https-05.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 12 May 2021 19:27:33 -0000

I have no strong opinions on any of the discussions regarding escaping in
presentation mode because I don't have much involvement in dealing with
presentation mode of DNS records.  The client I work with parses wire
format directly into its internal structures.

>From my wire-format-only perspective...

I strongly oppose breaking out the key/value pairs of the current proposal
into separate records within an RRSet.  The "independently meaningful"
records argument in favor of per-endpoint records isn't just some small
nice-to-have but is actually rather crucial to avoiding
inconsistent/missing-data issues that could easily become security issues.
Per-key/value records opens things up to too much error-proneness where the
separate records get cached separately (with potentially differing TTLs),
so there's a lot more room for clients to end up receiving/handling only
some parts of endpoint data without a clear indication that other parts are
missing.  Could be much more problematic than just getting a partial view
of the endpoint options.  Easily becomes a security issue, e.g. when a
client gets most of the records for an endpoint but misses the record
containing the ECH config.

I also oppose allowing multiple aliases within an RRSet.  This would allow
aliasing trees, unreasonably exploding the complexity/performance scope of
query followup logic in stubs and recursives.  In practice, I don't think
this would actually make multiple aliases useful because I would then
expect many stub/recursive implementations (including mine) to only make
followup queries down a single branch of the alias tree.

On Wed, May 12, 2021 at 3:42 AM Peter van Dijk <peter.van.dijk@powerdns.com>
wrote:

> On Tue, 2021-05-11 at 18:26 +0200, libor.peltan wrote:
> >
> > May I be wrong, but I think that name, type, class and TTL are not
> repeated in one RRSet with multiple RData. Not in wire format and not
> necessarily even in zonefile. (?)
>
> Zone files allow you to leave some of those out on subsequent records. The
> wire format does not:
> https://datatracker.ietf.org/doc/html/rfc1035#section-4.1.3
>
> Kind regards,
> --
> Peter van Dijk
> PowerDNS.COM BV - https://www.powerdns.com/
>
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop
>