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

Petr Špaček <pspacek@isc.org> Wed, 21 April 2021 17:12 UTC

Return-Path: <pspacek@isc.org>
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 B6D223A2FDF for <dnsop@ietfa.amsl.com>; Wed, 21 Apr 2021 10:12:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.119
X-Spam-Level:
X-Spam-Status: No, score=-2.119 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isc.org header.b=AT9XwWWE; dkim=pass (1024-bit key) header.d=isc.org header.b=bgShlRdZ
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 PdMmazaJntTT for <dnsop@ietfa.amsl.com>; Wed, 21 Apr 2021 10:12:44 -0700 (PDT)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5DFB33A2A3E for <dnsop@ietf.org>; Wed, 21 Apr 2021 10:12:44 -0700 (PDT)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx.pao1.isc.org (Postfix) with ESMTPS id 09D9E3AB01E for <dnsop@ietf.org>; Wed, 21 Apr 2021 17:12:43 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=isc.org; s=ostpay; t=1619025163; bh=PWb0Nr3RJ8Q8GuZsVtQwGcNpT34b7/NNIV3socgZOfY=; h=To:References:From:Subject:Date:In-Reply-To; b=AT9XwWWE3HgLR/RwPVpOOrbcP6ZhSHs2LbgX0rZa3LScZeDZQ6rajm14TdpYpy9KB MpX3akFOlkXLZ42H0JXX1N5cGy1LUcCrlaVeUEci1SMsF8waq7lqYpSqW4dZ/n9JET ohnEiwm64GFVJrQg2S2B4Zc+cSWWpj6pXEcQJu4A=
Received: from zmx1.isc.org (localhost.localdomain [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTPS id CFF75160075 for <dnsop@ietf.org>; Wed, 21 Apr 2021 17:12:42 +0000 (UTC)
Received: from localhost (localhost.localdomain [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 6484E16006A for <dnsop@ietf.org>; Wed, 21 Apr 2021 17:12:42 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.9.2 zmx1.isc.org 6484E16006A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isc.org; s=05DFB016-56A2-11EB-AEC0-15368D323330; t=1619025162; bh=uWy6jWL57Cj/6Pnq9d0AVUTm67Jwj5ZAVA+5wbmiP54=; h=To:From:Subject:Message-ID:Date:MIME-Version:Content-Type: Content-Transfer-Encoding; b=bgShlRdZIVtMDPpRxcP0gCaohuQ4s51luEDfJE+T3wweAIBuV4LUBfy7rTM8UCYCZ ouIwDdtbmeBejyLxoL7oVFOuvi5k6QgDtxjGeiN3Pgp93ri6zSA12e/0Mdc785EdkY R+e7t9ucQB0da3iNNYDbX1dxEaRiAX854yHcD2Z8=
Received: from zmx1.isc.org ([127.0.0.1]) by localhost (zmx1.isc.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3rMS39LyPvel for <dnsop@ietf.org>; Wed, 21 Apr 2021 17:12:42 +0000 (UTC)
Received: from [192.168.0.116] (ip-86-49-243-175.net.upcbroadband.cz [86.49.243.175]) by zmx1.isc.org (Postfix) with ESMTPSA id C31E4160046 for <dnsop@ietf.org>; Wed, 21 Apr 2021 17:12:41 +0000 (UTC)
To: dnsop@ietf.org
References: <161901308063.21005.875603362157576926@ietfa.amsl.com> <CAHbrMsA4TMfE+3LAT+un0FF3DGXKsYB1zAtvUwf2YKr97mJ+sQ@mail.gmail.com> <87B615B4-9CA3-4060-93C2-E4B953C11FB2@akamai.com> <CAHbrMsDaqrQ+XDO4z395tC_yOH4MBH8OmoH8zTXWEHfcDC1+Ew@mail.gmail.com>
From: Petr Špaček <pspacek@isc.org>
Message-ID: <0f7b35ad-5767-6021-a4d4-34a9b5c1f8d7@isc.org>
Date: Wed, 21 Apr 2021 19:12:38 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1
MIME-Version: 1.0
In-Reply-To: <CAHbrMsDaqrQ+XDO4z395tC_yOH4MBH8OmoH8zTXWEHfcDC1+Ew@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/ytqzqwiqZAFWAkkuhKItY99t-OM>
Subject: Re: [DNSOP] 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, 21 Apr 2021 17:12:49 -0000

On 21. 04. 21 19:00, Ben Schwartz wrote:
> On Wed, Apr 21, 2021 at 12:44 PM Wellington, Brian 
> <bwelling=40akamai.com@dmarc.ietf.org 
> <mailto:40akamai.com@dmarc.ietf.org>> wrote:
> 
>     I’m not a fan of the new text in section 4.3:
> 
>         Recursive resolvers MUST be able to convey SVCB records
>         with unrecognized SvcParamKeys or malformed SvcParamValues.
> 
> 
>     It is perfectly reasonable for a recursive resolver to reject any
>     malformed DNS record.  There’s a significant difference between
>     “malformed” and “unknown”.  A recursive resolver should definitely
>     allow records with unknown SvcParamKeys, but if the format of a
>     record is known, a resolver should be allowed (encouraged, in fact)
>     to check that it conforms to that format.
> 
> 
> The concern here was about differing interpretations of future 
> standards.  For example, if some SvcParamValue is defined as a URL (for 
> some future key), implementations are likely to disagree about whether 
> certain bytestrings are valid URLs.  (There are several definitions and 
> a zillion edge cases.)  The resolver has no use for these values, so the 
> most compatible behavior is to treat them as opaque bytestrings.
> 
> We very deliberately chose the phrase "MUST be able to convey" to 
> recognize that resolvers might be configured not to convey a record with 
> a malformed value, but it should be possible.
> 
> Do you think we should change this sentence?

I can see the same ambiguity as Brian.

What about this text as replacement?
---
Recursive resolvers MUST be able to convey SVCB records with 
unrecognized SvcParamKeys if they conform to RDATA wire format (section 
2.2).
---

What I mean: Resolvers must be able to handle _unknown_ SvcParams as 
opaque byte strings.

Various resolvers will do some sort of filtering on individual params, 
but such filtering is "local policy" and nothing we write into the RFC 
can change local policy anyway. For that reason I would not go to great 
lengths to explain what to do with unrecognized URLs etc.

-- 
Petr Špaček