Re: [DNSOP] HTTPS and SVBC key names.

Dick Franks <rwfranks@gmail.com> Thu, 16 July 2020 19:50 UTC

Return-Path: <rwfranks@gmail.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 8EFCB3A0BDE for <dnsop@ietfa.amsl.com>; Thu, 16 Jul 2020 12:50:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 (2048-bit key) header.d=gmail.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 XJf3P4qmG6fD for <dnsop@ietfa.amsl.com>; Thu, 16 Jul 2020 12:50:29 -0700 (PDT)
Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) (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 016903A0BDB for <dnsop@ietf.org>; Thu, 16 Jul 2020 12:50:28 -0700 (PDT)
Received: by mail-il1-x129.google.com with SMTP id h16so6129188ilj.11 for <dnsop@ietf.org>; Thu, 16 Jul 2020 12:50:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MTEaWkfayz1uzuDij1M2BWyUVXr+5GMYcGrjHmbAbAQ=; b=PRFMIrdx5kYhvp/T1cKgyYUFveM/VhTV/DcboqDERSx1ehJhqWxTmwJUqaRbtumk+J 5CnaKzcRUU3lvHy6M24wjO2klV9w/hHpuWF9tq0atqlMX+0ioUPlOtmv/I8J1vedD11t q1OR4x76N6t/HH7HwdQWJuvMzKVHZIBKT/BecqJqPByoNt586JEXAePsPl5FPDR1Z+tU C1Ffpj3CBpbz1JVlMw3YjfX/KUZVJBwiymvFIs2O/b7WNkKk7FHBr8EnFLc95Zrqmq5/ T8A0cp7Md6zCAEgM+RR55eKYxvm8Q4rd1zJRREtIPf6IYTYP5uOtv9HJrwTURcExlaI5 ymcQ==
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=MTEaWkfayz1uzuDij1M2BWyUVXr+5GMYcGrjHmbAbAQ=; b=nivxcbGTViynaVNRjRIONNOqJr1b8YxmawR31NcuURaQ1kLeAOYvKUAksPwFMLEOxX tqjxmu8i0WASF5mhOHHmHZiUFr8IDDnC94silW7NrZ8HkaBFVdlt3oi7rmiSoVfKMzo7 Y0ZkHkuj/tnS1Pnb8l8qzKzOzXlXtUvsi+7ywEY562Bvn9sECNer+VA/Pr3zWjiaybE/ pn7ySgTDunzJHgp7BY8UYf5laaWWxExw3DJtk9FDS2fACQJegT++eQGHNFw+r72QLrZo YQmDgHuYsfjU/wjQSWT7Ayw1Kp8cP+VFwGwnb+psOFp55fOx2fWJ0NUg1/uTCdAyzGIX dDPw==
X-Gm-Message-State: AOAM5306Ur2RDAkk+lalNeXDSDeiB3xhjdLcYhiWhZ+Gltk7tUR6TVw0 Wi+hIsKOXDqThfdnWJ2SdTnk7mVwJIDy2CaYVVvVLGNjYq4=
X-Google-Smtp-Source: ABdhPJydfNj+Rn5ki4GgpMo+m5ApYw9pDK63DIyNMhMLJ+PB5Ajci61rurv03XqxMQy3Wt5ozJxr/YE6ydqCaSKE/sU=
X-Received: by 2002:a92:d148:: with SMTP id t8mr5597681ilg.12.1594929028318; Thu, 16 Jul 2020 12:50:28 -0700 (PDT)
MIME-Version: 1.0
References: <23FA2BA0-43B9-49A3-B288-3ADFCE1D1DB1@isc.org> <CAHbrMsDOyTXyJydro8enSePy9COOfK7AVL6Pqv94YGAGhg41Hg@mail.gmail.com> <CAKC-DJiBw7vDr_KA1sb+ephuagRCT84f1B0PGXJptPiZTh2CSg@mail.gmail.com> <CAN6NTqxGLF0tZ17TX8jy2YWPf=qHhW93=fKETJ4kScJbQUUgxw@mail.gmail.com> <CAKC-DJiMngJonCp2EPrHTWMHwV0VAGquf733YcTZ9JSTFtwAhA@mail.gmail.com> <CAH1iCipbR9D_Tqc4dW5zARpEgjZ=-b3d6ZywPzo0=jfBedppYw@mail.gmail.com> <CAKW6Ri7K7efEj81nKJq7W0MKyn9rDOL7bLt-zVUokodVfrjAwA@mail.gmail.com> <CAHbrMsC-5wvxsmrzHnrnfUZOG1wQsGmEF2m2jMt4a5vieK7Nyg@mail.gmail.com>
In-Reply-To: <CAHbrMsC-5wvxsmrzHnrnfUZOG1wQsGmEF2m2jMt4a5vieK7Nyg@mail.gmail.com>
From: Dick Franks <rwfranks@gmail.com>
Date: Thu, 16 Jul 2020 20:49:51 +0100
Message-ID: <CAKW6Ri7aF0knx2SFJgx4OxxVJfeNWYJ3pJBmxXQH+UMZ0P4_Rw@mail.gmail.com>
To: Ben Schwartz <bemasc@google.com>
Cc: dnsop WG <dnsop@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000002cca2105aa945af4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/ibDa0gzsIg96spBafh0CzsQWkws>
Subject: Re: [DNSOP] HTTPS and SVBC key names.
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: Thu, 16 Jul 2020 19:50:32 -0000

On Thu, 16 Jul 2020 at 13:31, Ben Schwartz <bemasc@google.com> wrote:


> On Thu, Jul 16, 2020, 4:07 AM Dick Franks <rwfranks@gmail.com> wrote:
>
>>
>> Beefed-up example from 5.3, where we know neither the key name nor how to
>> interpret the value:
>>
>>     foosvc.example.net. 3600 IN SVCB    \# 9 000100ff350002beef
>>       ; 1 . key65333=...
>>
>
> Should this say "TYPE64" instead of SVCB?  Apart from that, this looks
> right
>

No.  The IANA registry was updated on June 30 and perl Net::DNS::Parameters
is generated from the XML. It will be in the next Net::DNS release.



> Presentation format?
>>
>
> key65333=\190\239
>

If this is a string, should this say?    key65333="\190\239"



>
>> Also, why do (key,value) pairs need to be in ascending order on the wire,
>> but can be in any order in the presentation format?
>>
>
> The presentation format is optimized for humans and the wire format is
> optimized for machines. In particular, when using the named keys it's not
> obvious what the numeric ordering is, so keeping them in order when editing
> a zone file by hand would be hard.
>

That does not answer the question.
What is the reason for the keys to be in ascending order?


There is also some inconsistency in the use of quotes.

2.3 has:

  svc4.example.net.  7200  IN SVCB 3 svc4.example.net. (
       alpn="bar" port="8004" echconfig="..." )

2.5.2 has:

  svc2.example.net. 7200  IN HTTPS 1 . port=8002 echconfig="..."

Is the port value an integer or a string, with the quotes being optional?

Is the wire format a character string to be interpreted as an integer
by the client,
or a packed integer in network byte order?


--Dick


_______________________________________________
>>>
>> DNSOP mailing list
>> DNSOP@ietf.org
>> https://www.ietf.org/mailman/listinfo/dnsop
>>
>