Re: [Cbor] changes to draft-ietf-cbor-network-addresses-01.txt

Michael Richardson <mcr+ietf@sandelman.ca> Tue, 09 March 2021 16:09 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D62E83A11A5 for <cbor@ietfa.amsl.com>; Tue, 9 Mar 2021 08:09:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 FpNh-2I4jPP1 for <cbor@ietfa.amsl.com>; Tue, 9 Mar 2021 08:09:28 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E77873A119E for <cbor@ietf.org>; Tue, 9 Mar 2021 08:09:27 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id C969C389AD for <cbor@ietf.org>; Tue, 9 Mar 2021 11:14:26 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZKElCjeE38e1 for <cbor@ietf.org>; Tue, 9 Mar 2021 11:14:25 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id CCB01389AC for <cbor@ietf.org>; Tue, 9 Mar 2021 11:14:25 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 6A07C1C0 for <cbor@ietf.org>; Tue, 9 Mar 2021 11:09:25 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
to: cbor@ietf.org
In-Reply-To: <23184.1615301073@localhost>
References: <161266446471.542.2418789735601546566@ietfa.amsl.com> <a15c4d67-e67f-c210-0477-29564c2b67e0@gmail.com> <30430.1615160268@localhost> <EDD97469-5F4F-4182-A81C-ABAE2D86F075@tzi.org> <23184.1615301073@localhost>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Tue, 09 Mar 2021 11:09:25 -0500
Message-ID: <15531.1615306165@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/RKj5qSF9Amjm1PRNoKeFQwQOAN0>
Subject: Re: [Cbor] changes to draft-ietf-cbor-network-addresses-01.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Mar 2021 16:09:30 -0000

Michael Richardson <mcr+ietf@sandelman.ca> wrote:
    > I have posted -02 just now.

    > https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-network-addresses-02

    > I guess I need to change the encoder and decoder considerations a bit
    > more.

Actually, I don't think that there is much to say, as those sections actually
were specific to prefixes, not addresses.

I did ask in the decoder section:

~~~~
[0]
~~~~

or

~~~~
[0, null]
~~~~

Do we wish to tolerate either of these as equivalent to ::/0?

Erik Kline noticed that I had screwed up the example for ::/128.
It should be [128,h'']

--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide