
From nobody Fri Oct  1 02:58:43 2021
Return-Path: <cabo@tzi.org>
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 188513A04BC; Fri,  1 Oct 2021 02:58:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 3zjYJLtgIIKq; Fri,  1 Oct 2021 02:58:37 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 668D83A0404; Fri,  1 Oct 2021 02:58:36 -0700 (PDT)
Received: from [192.168.217.118] (p548dcf6e.dip0.t-ipconnect.de [84.141.207.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HLQY472bRz2xjL; Fri,  1 Oct 2021 11:58:32 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CAM1+-gj279UQMDGVty_dGwinM1Awx1kboZwxOjjd_Ptgwy82qQ@mail.gmail.com>
Date: Fri, 1 Oct 2021 11:58:32 +0200
Cc: cbor@ietf.org, cose@ietf.org
X-Mao-Original-Outgoing-Id: 654775112.463535-019e43ca07bf723e00dbc043b1d46fda
Content-Transfer-Encoding: quoted-printable
Message-Id: <919C21DB-39B4-4A0D-ACED-0075D01F05B1@tzi.org>
References: <CAM1+-gj279UQMDGVty_dGwinM1Awx1kboZwxOjjd_Ptgwy82qQ@mail.gmail.com>
To: Brian Sipos <brian.sipos+ietf@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/7wwUQuzlvqdPedDPnLwypNyTo8s>
Subject: Re: [Cbor] [COSE] New wireshark API and dissector
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: Fri, 01 Oct 2021 09:58:42 -0000

Hi Brian,

> On 2021-10-01, at 01:29, Brian Sipos <brian.sipos+ietf@gmail.com> =
wrote:
>=20
> All,
> For anyone interested, a new COSE message dissector and a new CBOR =
decoding API has been recently merged to the main branch of Wireshark =
[1].

This is most welcome news!

> For new dissectors of protocols which use CBOR as their encoding, this =
"wscbor" API gives a higher-level of abstraction (e.g. "text =3D =
wscbor_require_tstr(...)") and robustness to both tags and errors in =
structure and well-formedness.

(Of course, there now is the nagging question what the =E2=80=9CWS=E2=80=9D=
 means here =E2=80=94 probably not =E2=80=9CWeb Services=E2=80=9D :-)

> Hopefully this will be helpful to other dissectors, since there are =
quite a a few CBOR-based protocols in the works.

Indeed!

Gr=C3=BC=C3=9Fe, Carsten


From nobody Fri Oct  1 05:40:03 2021
Return-Path: <brian.sipos@gmail.com>
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 9417D3A0B44; Fri,  1 Oct 2021 05:40:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.097
X-Spam-Level: 
X-Spam-Status: No, score=-1.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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 Tw4B3_7GPlIk; Fri,  1 Oct 2021 05:39:56 -0700 (PDT)
Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (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 533623A0B3E; Fri,  1 Oct 2021 05:39:56 -0700 (PDT)
Received: by mail-lf1-x12f.google.com with SMTP id e15so38304218lfr.10; Fri, 01 Oct 2021 05:39:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ebAya+exSF4+QcMsw3O1GyAVr/AZXmMChZyQ4x9Ra7k=; b=E1dMIF5oRwUi9d4s0F34XahWsyRq90gzoir4YU9mk899c4i8+0htTCM3Gl08PRa0z/ UoSLXMhqn158nqOJ15RcaM2sPgdWsK1LDgbZYLu18SAHB6elEPUVC35viKm0gKiLv9+c xl9uBleZQGeTPmADCUn3vIQNNmqnKASQoSjl/4wAS0zF9tuZVN6j5JVXEXwIVWWM55PV ksx3RWsJfummMPfxTTp4xzgUbNtiMXyGsViVWFzwyXXZy/YaH71TesLTKdeDK0ajiwqK jB8DkrxR/lDOToYWkREA7OVyQzsUTDXetVJvKi0kz89v2LAErBwZXqiqIQ1OIktLhdDm ojfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ebAya+exSF4+QcMsw3O1GyAVr/AZXmMChZyQ4x9Ra7k=; b=bu4VCfJPt8N/QENUKOvQC766hl0m8O6hHSQvcgCEGzI7PZAFBmNcsSkNtrQy1jqoCG 0J+Bp++S6QMPbLEwO1SgZBjZRi09faB5WWU5RXSx/+YmACdBGXV4YOxFSfkbhMte6JPe AdqNr+9FfVnPryyj6wpHv0thuRNkRaRkat+eV1jPp9HKdhrFjWCEDXGAuQJVCtnYFPLz DdIGdAA7WgolLLffzMNUqckdoqe+DmuO0fCcknWKkfNYJC8aouko3yb1lp0oohRys/db AYhhl3CrnmehJvHnyPhXbX3jnCpu0anVhJO1LjuFD5giVwrtQsZ/HK657WFOeLOLAKhg zraQ==
X-Gm-Message-State: AOAM532AxelkKGSoCJCBtaSbetBLrEBbbiLYRTyb5t1vaZUolgS5YBkc 7/ZGRquIF0zSGXm9j06IbdeJwdbolH2Irr6yPOhX7p60Elo=
X-Google-Smtp-Source: ABdhPJwTcZ6gvncSPBtGn1Gjv7itftDsS5OvwStptbrrCYpUSplyPGmAKkoTQtCMXw9yFVNHsX8Tda9w9e1dtnDYBME=
X-Received: by 2002:a05:651c:1039:: with SMTP id w25mr11647074ljm.440.1633091994363;  Fri, 01 Oct 2021 05:39:54 -0700 (PDT)
MIME-Version: 1.0
References: <CAM1+-gj279UQMDGVty_dGwinM1Awx1kboZwxOjjd_Ptgwy82qQ@mail.gmail.com> <919C21DB-39B4-4A0D-ACED-0075D01F05B1@tzi.org>
In-Reply-To: <919C21DB-39B4-4A0D-ACED-0075D01F05B1@tzi.org>
From: Brian Sipos <brian.sipos+ietf@gmail.com>
Date: Fri, 1 Oct 2021 08:39:38 -0400
Message-ID: <CAM1+-gjJ3HL8h+CAXJDfkLDYozwARwMib9xnuC_tCM5=TBJ9sA@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: cbor@ietf.org, cose@ietf.org
Content-Type: multipart/alternative; boundary="00000000000035a8a205cd49dc50"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/sryEAmmWD-2rBubPNQQ2je0r2aM>
Subject: Re: [Cbor] [COSE] New wireshark API and dissector
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: Fri, 01 Oct 2021 12:40:01 -0000

--00000000000035a8a205cd49dc50
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

The name is an easy one: Wire Shark.
The API is quite tied in with the WS memory management and does bookkeeping
that a regular CBOR API wouldn't care about, like buffer offsets of various
parts of encoded items.

That does bring up that the current API does not handle indefinite
containers/strings in a way that the application is unaware. But the APIs
notion of a "chunk" as a contiguous piece of data, rather than a specific
CBOR item or header, allows for doing this in the future.

On Fri, Oct 1, 2021, 05:58 Carsten Bormann <cabo@tzi.org> wrote:

> Hi Brian,
>
> > On 2021-10-01, at 01:29, Brian Sipos <brian.sipos+ietf@gmail.com> wrote=
:
> >
> > All,
> > For anyone interested, a new COSE message dissector and a new CBOR
> decoding API has been recently merged to the main branch of Wireshark [1]=
.
>
> This is most welcome news!
>
> > For new dissectors of protocols which use CBOR as their encoding, this
> "wscbor" API gives a higher-level of abstraction (e.g. "text =3D
> wscbor_require_tstr(...)") and robustness to both tags and errors in
> structure and well-formedness.
>
> (Of course, there now is the nagging question what the =E2=80=9CWS=E2=80=
=9D means here =E2=80=94
> probably not =E2=80=9CWeb Services=E2=80=9D :-)
>
> > Hopefully this will be helpful to other dissectors, since there are
> quite a a few CBOR-based protocols in the works.
>
> Indeed!
>
> Gr=C3=BC=C3=9Fe, Carsten
>
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor
>

--00000000000035a8a205cd49dc50
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">The name is an easy one: Wire Shark.<div dir=3D"auto">The=
 API is quite tied in with the WS memory management and does bookkeeping th=
at a regular CBOR API wouldn&#39;t care about, like buffer offsets of vario=
us parts of encoded items.</div><div dir=3D"auto"><br></div><div dir=3D"aut=
o">That does bring up that the current API does not handle indefinite conta=
iners/strings in a way that the application is unaware. But the APIs notion=
 of a &quot;chunk&quot; as a contiguous piece of data, rather than a specif=
ic CBOR item or header, allows for doing this in the future.</div></div><br=
><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, O=
ct 1, 2021, 05:58 Carsten Bormann &lt;<a href=3D"mailto:cabo@tzi.org">cabo@=
tzi.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Brian,<br=
>
<br>
&gt; On 2021-10-01, at 01:29, Brian Sipos &lt;<a href=3D"mailto:brian.sipos=
%2Bietf@gmail.com" target=3D"_blank" rel=3D"noreferrer">brian.sipos+ietf@gm=
ail.com</a>&gt; wrote:<br>
&gt; <br>
&gt; All,<br>
&gt; For anyone interested, a new COSE message dissector and a new CBOR dec=
oding API has been recently merged to the main branch of Wireshark [1].<br>
<br>
This is most welcome news!<br>
<br>
&gt; For new dissectors of protocols which use CBOR as their encoding, this=
 &quot;wscbor&quot; API gives a higher-level of abstraction (e.g. &quot;tex=
t =3D wscbor_require_tstr(...)&quot;) and robustness to both tags and error=
s in structure and well-formedness.<br>
<br>
(Of course, there now is the nagging question what the =E2=80=9CWS=E2=80=9D=
 means here =E2=80=94 probably not =E2=80=9CWeb Services=E2=80=9D :-)<br>
<br>
&gt; Hopefully this will be helpful to other dissectors, since there are qu=
ite a a few CBOR-based protocols in the works.<br>
<br>
Indeed!<br>
<br>
Gr=C3=BC=C3=9Fe, Carsten<br>
<br>
_______________________________________________<br>
CBOR mailing list<br>
<a href=3D"mailto:CBOR@ietf.org" target=3D"_blank" rel=3D"noreferrer">CBOR@=
ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cbor" rel=3D"noreferrer no=
referrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/cbor</a><=
br>
</blockquote></div>

--00000000000035a8a205cd49dc50--


From nobody Mon Oct  4 10:52:20 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 39A333A0A74; Mon,  4 Oct 2021 10:52:11 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Murray Kucherawy via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-cbor-network-addresses@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, barryleiba@computer.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.38.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: Murray Kucherawy <superuser@gmail.com>
Message-ID: <163336993121.17773.15035946091011379926@ietfa.amsl.com>
Date: Mon, 04 Oct 2021 10:52:11 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/BLki_jfkT-poIBhTtm6qWVgzNDA>
Subject: [Cbor] Murray Kucherawy's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 04 Oct 2021 17:52:12 -0000

Murray Kucherawy has entered the following ballot position for
draft-ietf-cbor-network-addresses-09: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

I concur with Lars' comment.

I'm not sure about the "WRONG" labels.  I suggest including that in prose
instead; for instance, something like the following:

OLD:

   even though variations like:

   54([44, h'20010db81233'])  WRONG
   54([45, h'20010db8123f'])  WRONG

   would be parsed in the exact same way.

NEW:

   even though variations like:

   54([44, h'20010db81233'])
   54([45, h'20010db8123f'])

   would be parsed in the exact same way; they MUST be
   considered invalid.




From nobody Mon Oct  4 11:38:41 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F9573A086C; Mon,  4 Oct 2021 11:38:22 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: Benjamin Kaduk via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-cbor-network-addresses@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, barryleiba@computer.org, barryleiba@computer.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.38.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: Benjamin Kaduk <kaduk@mit.edu>
Message-ID: <163337270139.24096.2858053457546637595@ietfa.amsl.com>
Date: Mon, 04 Oct 2021 11:38:22 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/DN6iTOtVvzdME4wWKEqzZ-t0dd4>
Subject: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 04 Oct 2021 18:38:23 -0000

Benjamin Kaduk has entered the following ballot position for
draft-ietf-cbor-network-addresses-09: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

What should a recipient do if they encounter something in a form that is
expected to include a "natural length" byte string for the IP address
family indicated, but the byte string is a different length?  Do we just
need to say that it is "invalid" and thereby invoke the core CBOR rules
that require protocols to specify how their decoders handle invalid
data?  Or is even that implicit from the CDDL?

In light of the genart reviewer's comment, I think we should say
something like "this specification does not deal with Ethernet
addresses, and tag 260 remains available for that usage" to clarify that
we are not deprecating use of that tag for Ethernet addresses.

   This specification defines tags 54 and 52.  These new tags are
   intended to be used in preference to tags 260 and 261.  They provide
   formats for IPv6 and IPv4 addresses, prefixes, and addresses with
   prefixes, achieving an explicit indication of IPv6 or IPv4.  The

I'd suggest saying here that the tag number is the differentiator
between IPv4 and IPv6 -- that could be helpful to know before we go into
the discussion of address/prefix/interface format.  Perhaps "achieving
an explicit indication of IPv6 or IPv4 by the tag number"?

Section 3.1.3

   When applied to an array that starts with a byte string, which stands
   for an IP address, followed by an unsigned integer giving the bit
   length of a prefix built out of the first "length" bits of the
   address, they represent information that is commonly used to specify
   both the network prefix and the IP address of an interface.

We say "full-length" down in §3.2 and 3.3 (and in the CDDL), but should
we perhaps also say here that this byte string need to be the "natural
length" or "full length" for the IP address family in question?

Section 5

   unused_bits = (-prefix_length_in_bits) & 7;
   if (length_in_bytes > 0)
     address_bytes[length_in_bytes - 1] &= (0xFF << unused_bits);

This looks like it's trying to be C, and the XML agrees.  I think it
only has the desired effect when two's-complement representation for
signed integers is used, though (this is not guaranteed by C through at
least C11, though I have not been closely tracking whether the proposal
to make C and C++ two's-complement-only has been adopted), and suggest
reformulating to something like:

   unused_bits = (8 - (prefix_length_in_bits & 7)) % 8;

(This would be DISCUSS level if it was the only specification for the
behavior, but since it is "or simply", it seems more illustrative in
intent.)

NITS

Section 3.2

   54([h'20010db81234DEEDBEEFCAFEFACEFEED', 56])

DEADBEEF (rather than DEEDBEEF) is in somewhat common usage as a pattern
for indicating "tainted" memory in various sanitizer codes...

Section 5

   A particularly paranoid decoder could examine the lower non-relevant
   bits to determine if they are non-zero, and reject the prefix.  This

This would have to be done before the clearing done by the previous
snippet, of course...




From nobody Mon Oct  4 11:50:15 2021
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 CF4273A0B09; Mon,  4 Oct 2021 11:50:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 DQ5hrlkomL4M; Mon,  4 Oct 2021 11:50:08 -0700 (PDT)
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 79EF23A0B08; Mon,  4 Oct 2021 11:50:07 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 5E38318216; Mon,  4 Oct 2021 14:58:06 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FTseC1uV7P2X; Mon,  4 Oct 2021 14:57:59 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id A6A15181F1; Mon,  4 Oct 2021 14:57:58 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 64BCF58B; Mon,  4 Oct 2021 14:49:56 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Murray Kucherawy <superuser@gmail.com>
cc: "The IESG" <iesg@ietf.org>, draft-ietf-cbor-network-addresses@ietf.org, barryleiba@computer.org, cbor-chairs@ietf.org, cbor@ietf.org
In-Reply-To: <163336993121.17773.15035946091011379926@ietfa.amsl.com>
References: <163336993121.17773.15035946091011379926@ietfa.amsl.com>
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: Mon, 04 Oct 2021 14:49:56 -0400
Message-ID: <22895.1633373396@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/cKKbqZU01MO9Cvv4_iy7m4s-E3Y>
Subject: Re: [Cbor] Murray Kucherawy's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
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: Mon, 04 Oct 2021 18:50:13 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Text changed as proposed.

Murray Kucherawy via Datatracker <noreply@ietf.org> wrote:
    > I concur with Lars' comment.

    > I'm not sure about the "WRONG" labels.  I suggest including that in p=
rose
    > instead; for instance, something like the following:

    > OLD:

    > even though variations like:

    > 54([44, h'20010db81233'])  WRONG
    > 54([45, h'20010db8123f'])  WRONG

    > would be parsed in the exact same way.

    > NEW:

    > even though variations like:

    > 54([44, h'20010db81233'])
    > 54([45, h'20010db8123f'])

    > would be parsed in the exact same way; they MUST be
    > considered invalid.

https://github.com/cbor-wg/cbor-network-address/commit/f56bbfb69bee01726954=
5a331c90f4931d63cfd1

diff --git a/cbor-network-addresses.mkd b/cbor-network-addresses.mkd
index 2d826cc..5936349 100644
=2D-- a/cbor-network-addresses.mkd
+++ b/cbor-network-addresses.mkd
@@ -203,11 +203,11 @@ MUST be encoded as:
 even though variations like:

 ~~~~
=2D54([44, h'20010db81233'])  WRONG
=2D54([45, h'20010db8123f'])  WRONG
+54([44, h'20010db81233'])
+54([45, h'20010db8123f'])
 ~~~~

=2Dwould be parsed in the exact same way.
+would be parsed in the exact same way; they MUST be considered invalid.

 The same considerations apply to IPv4 prefixes.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFbTNQACgkQgItw+93Q
3WXC/wgAgmgQ+Rk2nd+//Iuw6hHgNNxulII+qxvPfvNjHXq45bapwEC8kGE3Kw6Q
mBiGkSbFXECgtkHQTfK09wRKkrVQWyV90+u30/hW5zMvptMRcd7ZGAAKV4LhV+rG
lNrwAruELmz45lLa8otHAJHfsOvVFRe6oWH50p79GNRa8X2jbjHZp7xc3TheefKk
4+UacB2h7/TGyrLy8uAJ8BOxyqRIpxewLZlAUr9qFxGLVA5TH6nNlCK60VT0Zv/3
sggKn4nw4BeOKR1MP9aAdI+mAXlfGMSDtsmN8lM+C6Z8mHO6Kw01gHVf6nKlxuR2
SKlmVT/lka1+Ln1gAbslZJf2rn1X9Q==
=nsS2
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Mon Oct  4 12:13:12 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 518A33A0B4F; Mon,  4 Oct 2021 12:12:53 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: Roman Danyliw via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-cbor-network-addresses@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, barryleiba@computer.org, barryleiba@computer.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.38.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: Roman Danyliw <rdd@cert.org>
Message-ID: <163337477331.26046.8239243254323936343@ietfa.amsl.com>
Date: Mon, 04 Oct 2021 12:12:53 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/rqUugIhbsT0g17Iv8EB-2jTs5Wo>
Subject: [Cbor] Roman Danyliw's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 04 Oct 2021 19:12:54 -0000

Roman Danyliw has entered the following ballot position for
draft-ietf-cbor-network-addresses-09: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

** Section 7.  Recommend generalizing the text.

OLD
   Identifying which byte sequences in a protocol are addresses may
   allow an attacker or eavesdropper to better understand what parts of
   a packet to attack.  That information, however, is likely to be found
   in the relevant RFCs anyway, so this is not a significant exposure.

NEW
This document provides an CBOR encoding for IPv4 and IPv6 address information. 
Any applications using these encodings will need to consider the security
implications of this data in their specific context.  For example, identifying
which byte sequences in a protocol are addresses may allow an attacker or
eavesdropper to better understand what parts of a packet to attack.

** Section 8.3.  Recommend making the text clearer on what’s getting deprecated

OLD
   IANA is requested to add the note "DEPRECATED in favor of 52 and 54
   for IP addresses" to registrations 260 and 261

NEW
IANA is requested to add the note "DEPRECATED for use with IP addresses in
favor of 52 and 54" to registrations 260 and 261




From nobody Tue Oct  5 06:08:25 2021
Return-Path: <barryleiba@gmail.com>
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 EBD003A0CA5 for <cbor@ietfa.amsl.com>; Tue,  5 Oct 2021 06:08:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.649
X-Spam-Level: 
X-Spam-Status: No, score=-1.649 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 AocegKxisRyA for <cbor@ietfa.amsl.com>; Tue,  5 Oct 2021 06:08:18 -0700 (PDT)
Received: from mail-ua1-f47.google.com (mail-ua1-f47.google.com [209.85.222.47]) (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 71CFC3A0C9C for <cbor@ietf.org>; Tue,  5 Oct 2021 06:08:18 -0700 (PDT)
Received: by mail-ua1-f47.google.com with SMTP id w2so3813916uau.10 for <cbor@ietf.org>; Tue, 05 Oct 2021 06:08:18 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=6J3h5t7Q7D6b3H91oQki7lOKsb8puOtMYSE8yEnDQaY=; b=Khbul2CQjQVVjTi1MJwggYj6DQix7pGrqmy4z/z51eeATy0XXYsxLj49xIzMi9KvVd q+KMrAFTKiGWOHZFxoIuTFUW4h1T0FS95qnJBGyHoHhUvOp0tlWNo7rWVQMPsO1Zqox6 RNR2lhameXVbZshkm+utwONm7LoOfuKZueKnZhfcHjrRk+xYXZvjeVq83wf/Anxm5gFS wtVsWCE2S9z5W9wWIbP0l41LHgKGPMA8AsJaCxvXSJ87GgHhlXZzMKHJ9swzKLGW4xEr jdtl9qaikQ5cQhsMO/QECqIrLYXkYpsoDHopkbW1SZSH5o+YHD9sxifpczSEfBDktppv AwTA==
X-Gm-Message-State: AOAM5304KJrPcPjM+IMnS2QPu0iCDfzvkJyUMgvxvOu9INMjpJm1VqBz cuNa0SRAuh0br/wEeTI0U8pjBSCZUM7XiyEhMRhGGRU1+/0=
X-Google-Smtp-Source: ABdhPJzjJUZBMlGvndwoOL8GgCstvRs1aCM6No+jI2GiDrPvaoV8pUteEQG/pBgth+TrtWm43gH7FfgAS9Y52H0GaoE=
X-Received: by 2002:ab0:4a19:: with SMTP id q25mr11757900uae.143.1633439296556;  Tue, 05 Oct 2021 06:08:16 -0700 (PDT)
MIME-Version: 1.0
References: <CALaySJL9nydwQMgEfcKVW=_T6bhDxn875Pr4EfEc5kN5anuuuw@mail.gmail.com>
In-Reply-To: <CALaySJL9nydwQMgEfcKVW=_T6bhDxn875Pr4EfEc5kN5anuuuw@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
Date: Tue, 5 Oct 2021 09:08:05 -0400
Message-ID: <CALaySJJLdvcETtFVX337CU-YQuah0VNV6kpJW351-NeCvn92rA@mail.gmail.com>
To: cbor@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/dp0qNdg7ycxkqKY2T1frVkiLa6g>
Subject: [Cbor] Reminder: bi-weekly CBOR conference call on 6 October
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, 05 Oct 2021 13:08:24 -0000

We'll have our regular bi-weekly CBOR conference call on
Wednesday, 6 October, at 1400 UTC.  Various pointers are here:
https://datatracker.ietf.org/meeting/interim-2021-cbor-18/session/cbor

In particular, see the agenda here:
https://notes.ietf.org/notes-ietf-interim-2021-cbor-18-cbor

Please edit the agenda and add to it to propose specific discussions.
Please volunteer ahead of time to help take notes!

Meeting link: https://meetings.conf.meetecho.com/interim/?short=4a1c938d-d177-47e4-993a-642f780be861

-- 
Barry


From nobody Tue Oct  5 06:35:01 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id B31063A0D6D; Tue,  5 Oct 2021 06:34:16 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: =?utf-8?q?=C3=89ric_Vyncke_via_Datatracker?= <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-cbor-network-addresses@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, barryleiba@computer.org, barryleiba@computer.org, d3e3e3@gmail.com
X-Test-IDTracker: no
X-IETF-IDTracker: 7.38.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: =?utf-8?q?=C3=89ric_Vyncke?= <evyncke@cisco.com>
Message-ID: <163344085669.17315.998599560097016034@ietfa.amsl.com>
Date: Tue, 05 Oct 2021 06:34:16 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/nLxdu8wfa4gh7JUcOnZagaCFxE8>
Subject: [Cbor] =?utf-8?q?=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor?= =?utf-8?q?-network-addresses-09=3A_=28with_DISCUSS_and_COMMENT=29?=
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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, 05 Oct 2021 13:34:18 -0000

Éric Vyncke has entered the following ballot position for
draft-ietf-cbor-network-addresses-09: Discuss

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/



----------------------------------------------------------------------
DISCUSS:
----------------------------------------------------------------------

Thank you for the work put into this document.

Please find below two blocking DISCUSS points (probably easy to address), some
non-blocking COMMENT points (but replies would be appreciated even if only for
my own education), and some nits.

Special thanks to Barry Leiba for his concise shepherd's write-up but very
clear about the WG consensus.

Thank you also to Donald Eastlake for this INT directorate review that I am
vastly supporting:
https://mailarchive.ietf.org/arch/msg/int-dir/6Ox8iEBMqXkUoC2aUEF3wi4-c5g/

I hope that this helps to improve the document,

Regards,

-éric

== DISCUSS ==

Generic comment how are link-local address (LLA) with scope encoded ? I would
expect CBOR to work also on LLA only networks... At the bare minimum, please
state that link-local addresses cannot be encoded with their scope, hence, they
cannot represent an interface.

-- Section 3.1.3 --
How can 2 valid link-local addresses (fe80::1%eth0, fe80::1%eth1) can be
represented in order to identity two interfaces ?


----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

== COMMENTS ==

I love how your start with IPv6 in section 3 and use the ASCII codes for '6'
and '4' ;-)

-- Section 3.2 --
Is there any reason why part of the IPv6 is in lowercase (as in RFC 5952) and
the other part in uppercase ? This is confusing to the reader (even if
hexadecimal numbers are obviously case insensitive).

== NITS ==

-- Abstract --
Should CBOR be expanded ?




From nobody Tue Oct  5 08:43:13 2021
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 4CAF73A0964 for <cbor@ietfa.amsl.com>; Tue,  5 Oct 2021 08:43:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 s_xRx32_aUnP for <cbor@ietfa.amsl.com>; Tue,  5 Oct 2021 08:43:05 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E2E923A0966 for <cbor@ietf.org>; Tue,  5 Oct 2021 08:43:04 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 2221818047; Tue,  5 Oct 2021 11:51:06 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BdpGQ37HAHHM; Tue,  5 Oct 2021 11:51:01 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id D482C18039; Tue,  5 Oct 2021 11:50:55 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 7DD0758B; Tue,  5 Oct 2021 11:42:50 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Barry Leiba <barryleiba@computer.org>, cbor@ietf.org
In-Reply-To: <CALaySJJLdvcETtFVX337CU-YQuah0VNV6kpJW351-NeCvn92rA@mail.gmail.com>
References: <CALaySJL9nydwQMgEfcKVW=_T6bhDxn875Pr4EfEc5kN5anuuuw@mail.gmail.com> <CALaySJJLdvcETtFVX337CU-YQuah0VNV6kpJW351-NeCvn92rA@mail.gmail.com>
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, 05 Oct 2021 11:42:50 -0400
Message-ID: <5623.1633448570@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/RyRMfmhpeIPHamraTwCzskzW20A>
Subject: Re: [Cbor] Reminder: bi-weekly CBOR conference call on 6 October
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, 05 Oct 2021 15:43:11 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


I'll have a slide or two on IESG Feedback/DISCUSS resolution of cbor-networ=
k-address.
There are some questions for the WG, so please put charge up your thinking =
caps.

I'm preparing the diffs and replies today to be CC to the WG.
(No draft too short for a DISCUSS!)

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFccnoACgkQgItw+93Q
3WWi3Qf/aMDcgHTP75je9rGcNy2nrzaxR+2Aw0f/vj5aJwlBskN7wyQOyGW0cnsw
uOH0DuZG9KTIHABoBXQ9Dp/vlplkewLHZbnd8eCFmQv736+XUvYmIhElMLLk6Sit
X+BcE3IJN1ePHGbA4CxATM9BMiXqdHlVvtU+8Zb2/qg8w2mTLEJGG+dvhe0pOLsi
V1hdkcSDnVnZ3+jhDE4keh3lKrm/HUB26QnYEd50bYFJUVAaDetUVOiIIkC53jPq
Tk26oXtbMaIXRwdFMw6Z4NiIcNGDi0niOxsl9ixlTd8Fomj7uFdPtPir9aXFefie
sAWbzGus/xsSFZma3GkA2JebnA+WjA==
=0DAo
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Oct  5 09:59:59 2021
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 675DD3A0E4F; Tue,  5 Oct 2021 09:59:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 E2jDrkSGI4hE; Tue,  5 Oct 2021 09:59:40 -0700 (PDT)
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 DFA2F3A0E46; Tue,  5 Oct 2021 09:59:30 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id E95261805D; Tue,  5 Oct 2021 13:07:32 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dKwu5HbgcZf8; Tue,  5 Oct 2021 13:07:25 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 2FA8918054; Tue,  5 Oct 2021 13:07:25 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 9C5193D6; Tue,  5 Oct 2021 12:59:19 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: cbor@ietf.org
cc: "The IESG" <iesg@ietf.org>, d3e3e3@gmail.com, draft-ietf-cbor-network-addresses@ietf.org, barryleiba@computer.org, cbor-chairs@ietf.org
In-Reply-To: <163344085669.17315.998599560097016034@ietfa.amsl.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com>
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, 05 Oct 2021 12:59:19 -0400
Message-ID: <26566.1633453159@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/BPc212CdLJF4fcQZJg8IalSgaUM>
Subject: [Cbor] Deprecating tags and Ethernet address in draft-ietf-cbor-network-addresses-09: (with DISCUSS and COMMENT)
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, 05 Oct 2021 16:59:53 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


{another area review, this one from Donald, which never made it to my
inbox. This seems to happen on and off for me. I know it's a local issue. s=
igh}

Opened as issue: https://github.com/cbor-wg/cbor-network-address/issues/9

I guess that I'd like to thank the IESG, ADs and Donald Eastlake for
confirming for me, why I didn't want to say ANYTHING about tags 260 and 261=
 :-)

I think that there was a fourth comment which I've misplaced, maybe from
Barry, about what if you did want to tag an ethernet address.
I don't need to do that, if there is someone who does, maybe they could spe=
ak up?
Tag 260 still works, but maybe you want another tag.

First, since some previous review a week ago, the text now says

  ## Tags 260 and 261

  IANA is requested to add the note "DEPRECATED in favor of 52 and 54 for IP
  addresses" to registrations 260 and 261


... the document does not deal with Ethernet Addresses.


  According to this document, there currently exists a method for
  encoding 48- and 64-bit MAC addresses using CBOR tag 260 but that
  method will be deprecated. Shouldn't the draft preserve some
  non-deprecated way of encoding MAC addresses?
** Section 8.3.  Recommend making the text clearer on what=E2=80=99s gettin=
g deprecated

OLD
   IANA is requested to add the note "DEPRECATED in favor of 52 and 54
   for IP addresses" to registrations 260 and 261

NEW
IANA is requested to add the note "DEPRECATED for use with IP addresses in
favor of 52 and 54" to registrations 260 and 261
In light of the genart reviewer's comment, I think we should say
something like "this specification does not deal with Ethernet
addresses, and tag 260 remains available for that usage" to clarify that
we are not deprecating use of that tag for Ethernet addresses.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFchGcACgkQgItw+93Q
3WWljggAnoiBrCNJwL1ZgSqogliuPcJbGQR0vX+ffshHBqBdPU/zV78i4tmQjkj3
HxK2GyepricePMrmVZzGLo4ARtnCiuBaS28ZavUN6inun6CCFTRt/q4bcpFLPJ7B
xY6H+/oVxaQI9rYbE/5BZphuM1PhzwY8j3i08Y2alrwD2eBuVN6F009Z5+juB4OB
LUo/aMuajXdm4V25SCRFgWNSS/DEqmcPpldyvl72I5tUGrXOM9oK4FtdB9u16rXG
JBA6Oyfk2FcQBVxepmlJ5MzyHXBHcZeu7gX+Tq7uGbbHdO2Ed4Lm+0XGolHj4FSG
GDjTWVQYRD9aIHyx4XIVMZTa15mLMQ==
=u0W+
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Oct  5 10:04:31 2021
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 350823A0DB2; Tue,  5 Oct 2021 10:04:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 SFKnyplVovDD; Tue,  5 Oct 2021 10:04:22 -0700 (PDT)
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 14FDA3A0DB4; Tue,  5 Oct 2021 10:04:21 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id F41551809D; Tue,  5 Oct 2021 13:12:25 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RtaHZv_yZ3qX; Tue,  5 Oct 2021 13:12:18 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 9340D18054; Tue,  5 Oct 2021 13:12:18 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 08ED558B; Tue,  5 Oct 2021 13:04:13 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Benjamin Kaduk <kaduk@mit.edu>
cc: "The IESG" <iesg@ietf.org>, draft-ietf-cbor-network-addresses@ietf.org, barryleiba@computer.org, cbor-chairs@ietf.org, cbor@ietf.org
In-Reply-To: <163337270139.24096.2858053457546637595@ietfa.amsl.com>
References: <163337270139.24096.2858053457546637595@ietfa.amsl.com>
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, 05 Oct 2021 13:04:13 -0400
Message-ID: <27842.1633453453@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/EjwjIpoTboZ1xtdrm87rGIUeJIo>
Subject: Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
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, 05 Oct 2021 17:04:30 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


addressing low-hanging fruit.
Other issues are going to issues.

Benjamin Kaduk via Datatracker <noreply@ietf.org> wrote:
    > This specification defines tags 54 and 52.  These new tags are
    > intended to be used in preference to tags 260 and 261.  They provide
    > formats for IPv6 and IPv4 addresses, prefixes, and addresses with
    > prefixes, achieving an explicit indication of IPv6 or IPv4.  The

    > I'd suggest saying here that the tag number is the differentiator
    > between IPv4 and IPv6 -- that could be helpful to know before we go i=
nto
    > the discussion of address/prefix/interface format.  Perhaps "achieving
    > an explicit indication of IPv6 or IPv4 by the tag number"?

Suggested accepted.

    > Section 3.1.3

    > When applied to an array that starts with a byte string, which stands
    > for an IP address, followed by an unsigned integer giving the bit
    > length of a prefix built out of the first "length" bits of the
    > address, they represent information that is commonly used to specify
    > both the network prefix and the IP address of an interface.

    > We say "full-length" down in =C2=A73.2 and 3.3 (and in the CDDL), but=
 should
    > we perhaps also say here that this byte string need to be the "natural
    > length" or "full length" for the IP address family in question?

+ The length of the byte string is always 16 bytes (for IPv6) and 4 bytes (=
for IPv4).

    > Section 5

    > unused_bits =3D (-prefix_length_in_bits) & 7;
    > if (length_in_bytes > 0)
    > address_bytes[length_in_bytes - 1] &=3D (0xFF << unused_bits);

    > This looks like it's trying to be C, and the XML agrees.  I think it
    > only has the desired effect when two's-complement representation for
    > signed integers is used, though (this is not guaranteed by C through =
at
    > least C11, though I have not been closely tracking whether the propos=
al
    > to make C and C++ two's-complement-only has been adopted), and suggest
    > reformulating to something like:

    > unused_bits =3D (8 - (prefix_length_in_bits & 7)) % 8;

I'll use your version.

    > Section 5

    > A particularly paranoid decoder could examine the lower non-relevant
    > bits to determine if they are non-zero, and reject the prefix.  This

    > This would have to be done before the clearing done by the previous
    > snippet, of course...

Yes.


=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFchYwACgkQgItw+93Q
3WW9ZAf/XgASOUfg85QQuuZewF392PTcNFgggGFJcf97qimtISY12/lFQqtRZg49
Yy86+F1OTLpzw/uMDCD7JscXs0jlz+cjTS62eU9igpY0xFA9QUGi02+Vb4haxAzh
5r1ROeLTlVPraplWVUHyZbPaazL/CYLVvA6Y0ZcZgyr7ieFFlKuxB5f85fzESD5E
aFrcha9QjMa4iPIQwI/RXkK0n8G21aDHqWhaBecmKA21EOBiXryuWuuI0T3mlcHg
We4vAH4hSK8VQKHMdZbQsRIRvm3vU0UxJuJZbAimZ2W6OpHPJ8Dli5t/LbfUR1d4
cyju/PljX0VqI2CTBcyhnVus5q4IAw==
=t5bp
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Oct  5 10:06:15 2021
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 8E37B3A0DBF; Tue,  5 Oct 2021 10:06:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 ntdHHua8334n; Tue,  5 Oct 2021 10:06:05 -0700 (PDT)
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 589573A0DC0; Tue,  5 Oct 2021 10:06:05 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 696AD180A0; Tue,  5 Oct 2021 13:14:09 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SAQDOhDqNj7D; Tue,  5 Oct 2021 13:14:03 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 0938A1809D; Tue,  5 Oct 2021 13:14:02 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 4506858B; Tue,  5 Oct 2021 13:05:57 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Benjamin Kaduk <kaduk@mit.edu>
cc: "The IESG" <iesg@ietf.org>, draft-ietf-cbor-network-addresses@ietf.org, barryleiba@computer.org, cbor-chairs@ietf.org, cbor@ietf.org
In-Reply-To: <163337270139.24096.2858053457546637595@ietfa.amsl.com>
References: <163337270139.24096.2858053457546637595@ietfa.amsl.com>
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, 05 Oct 2021 13:05:57 -0400
Message-ID: <28346.1633453557@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/kPQFbuWS_Use22pfFOM0LFbNgfg>
Subject: Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
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, 05 Oct 2021 17:06:12 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Opened as issue:  https://github.com/cbor-wg/cbor-network-address/issues/10

Benjamin Kaduk via Datatracker <noreply@ietf.org> wrote:
    > What should a recipient do if they encounter something in a form that=
 is
    > expected to include a "natural length" byte string for the IP address
    > family indicated, but the byte string is a different length?  Do we j=
ust
    > need to say that it is "invalid" and thereby invoke the core CBOR rul=
es
    > that require protocols to specify how their decoders handle invalid
    > data?  Or is even that implicit from the CDDL?


=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFchfQACgkQgItw+93Q
3WW81Af9GLfw240iVLveBwAEWjwujHOYSrWFIPUBhqWMlLNyUWAxvfGpEFsAbmOZ
EGABpglTWvZjcJ5FX7vucQRM2Hg/EiXsClYQ2khpcI6JObBPfUGix/y85Nb6SSr0
/ZDWgVlHhRshNfaXpux51gNhlBer8kDxcTW+5TBtUecFkF7MZuJQnxWbHMLX+eMR
6zPkm6m/djnK5wQ8FsiUszj1jhhLSvkxNv1xGi55t+899fR7CzQa6UEjU/kuOM/t
HKyvtmP0v4o44Jce5oCD6oAbigCAjdcgK52jCBFlU2k/43WPY+wsnB9ZnhizRKiu
UQKrm/2UdXLhJQM3BPMo5Q1gOdtLjw==
=V//R
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Oct  5 10:08:03 2021
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 C03013A0DCB; Tue,  5 Oct 2021 10:08:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 tmEO4iqAEmmL; Tue,  5 Oct 2021 10:07:54 -0700 (PDT)
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 8E5753A0DD2; Tue,  5 Oct 2021 10:07:54 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 5EE76180A0; Tue,  5 Oct 2021 13:15:59 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id t7gyvSdTCUJQ; Tue,  5 Oct 2021 13:15:52 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 3E80F18054; Tue,  5 Oct 2021 13:15:52 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id A60A958B; Tue,  5 Oct 2021 13:07:46 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Benjamin Kaduk <kaduk@mit.edu>
cc: "The IESG" <iesg@ietf.org>, draft-ietf-cbor-network-addresses@ietf.org, barryleiba@computer.org, cbor-chairs@ietf.org, cbor@ietf.org
In-Reply-To: <163337270139.24096.2858053457546637595@ietfa.amsl.com>
References: <163337270139.24096.2858053457546637595@ietfa.amsl.com>
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, 05 Oct 2021 13:07:46 -0400
Message-ID: <29040.1633453666@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/f_RfaagoFcQJL-_XQtZcfeXWLjU>
Subject: Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
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, 05 Oct 2021 17:08:01 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


opened as issue:
https://github.com/cbor-wg/cbor-network-address/issues/11

Benjamin Kaduk via Datatracker <noreply@ietf.org> wrote:
    > NITS

    > Section 3.2

    > 54([h'20010db81234DEEDBEEFCAFEFACEFEED', 56])

    > DEADBEEF (rather than DEEDBEEF) is in somewhat common usage as a patt=
ern
    > for indicating "tainted" memory in various sanitizer codes...


Eric asks:

=2D- Section 3.2 --
Is there any reason why part of the IPv6 is in lowercase (as in RFC 5952) a=
nd
the other part in uppercase ? This is confusing to the reader (even if
hexadecimal numbers are obviously case insensitive).

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFchmIACgkQgItw+93Q
3WU+ggf/QAkRpJ8He367CPhUW8BQUcnU9i6W1jPSCOY4r2MMbfN1/+MjrsX/QwiE
zHHnRBPv/Fx1JSvpCAFI4aEWeZdRnqLgekNsZO+k2YYJZEJvYhtC7jkzXGQksTXn
IOSL/F7RZ7Xud4dAvoG7mVE8ZVg737SjV2u3UeHBHj53iKnT4tpvP7yS93UzZz9f
efVRC2AC17sSxq9+uCMKj0wsnqP1RTmZCF0hY3Tc90IvkVYAJLE3txX9yJuj2M/z
juGamnWSmg6eyuE1HSeqhy/3B4CbIbURR5n4Mi2KcZvVyfODRN8Ec5DpRudII/wE
SwKHoKCg2x1c/Lv4vYY8EDeMRl/+0A==
=ed8I
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Oct  5 10:16:31 2021
Return-Path: <mcr@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 69FD93A0E0B; Tue,  5 Oct 2021 10:15:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 Lz39BaihgfIZ; Tue,  5 Oct 2021 10:15:52 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C18703A0E11; Tue,  5 Oct 2021 10:15:51 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 89B4E18054; Tue,  5 Oct 2021 13:23:55 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1C2w2uAlM-Lw; Tue,  5 Oct 2021 13:23:50 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 32B5A18038; Tue,  5 Oct 2021 13:23:50 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 954F658B; Tue,  5 Oct 2021 13:15:44 -0400 (EDT)
From: Michael Richardson <mcr@sandelman.ca>
To: =?us-ascii?Q?=3D=3Futf-8=3Fq=3F=3DC3=3D89ric=5FVyncke=3F=3D?= <evyncke@cisco.com>
cc: "The IESG" <iesg@ietf.org>, d3e3e3@gmail.com, draft-ietf-cbor-network-addresses@ietf.org, barryleiba@computer.org, cbor-chairs@ietf.org, cbor@ietf.org
In-Reply-To: <163344085669.17315.998599560097016034@ietfa.amsl.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com>
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, 05 Oct 2021 13:15:44 -0400
Message-ID: <31506.1633454144@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/JerAe_TJNRmBw_CpVHPkvgjcZKY>
Subject: Re: [Cbor]  =?utf-8?q?=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor?= =?utf-8?q?-network-addresses-09=3A_=28with_DISCUSS_and_COMMENT=29?=
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, 05 Oct 2021 17:16:00 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

=C3=89ric Vyncke via Datatracker <noreply@ietf.org> wrote:
    > Thank you also to Donald Eastlake for this INT directorate review tha=
t I am
    > vastly supporting:
    > https://mailarchive.ietf.org/arch/msg/int-dir/6Ox8iEBMqXkUoC2aUEF3wi4=
-c5g/

I have added one oxford comma, I didn't find more missing.

I have adopted Donald's suggested text.
I have removed "Note that" as he suggested.



--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFciEAACgkQgItw+93Q
3WVOCgf/ZrgCCLeBIGat2hrMKg7GvWipr4BTlgS6Jo6rMS8xIlQWodb+1EEvrcP9
/vJPx+jNxXAtDC5xhJSPjyfDH60AgyVcXRsm9Ga+lvSeH/rZ4vOKM2HM6LdntYDq
qWrBSqoOgtCRxrgjX6uzzezoJeTS7PHoFCAfnt3ocUQNfTsqmZ8P7zT/wF17jCiO
IgjTTfD1VuEdJtr0dyoa8vslwMwcGJC2rWw+jrH2r419uIPteAFVM9PWg0YQuRIF
FrdMIp11xXHFotrd2IZOOOe0k9ngkVgs+edRY5heIXYjW7Zzvn9VZji2Xj0d2ePM
5EfGDraHgeu57iZQWgOdakN5FhVvoQ==
=N+jX
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Oct  5 11:55:42 2021
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 3765E3A0874; Tue,  5 Oct 2021 11:55:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 dHwMghw1-358; Tue,  5 Oct 2021 11:55:31 -0700 (PDT)
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 D27E93A0872; Tue,  5 Oct 2021 11:55:29 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id EF43A180B8; Tue,  5 Oct 2021 15:03:31 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kimBCpDi_QuR; Tue,  5 Oct 2021 15:03:24 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 03F1C18038; Tue,  5 Oct 2021 15:03:24 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 2855058B; Tue,  5 Oct 2021 14:55:18 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: =?us-ascii?Q?=3D=3Futf-8=3Fq=3F=3DC3=3D89ric=5FVyncke=3F=3D?= <evyncke@cisco.com>
cc: "The IESG" <iesg@ietf.org>, d3e3e3@gmail.com, draft-ietf-cbor-network-addresses@ietf.org, barryleiba@computer.org, cbor-chairs@ietf.org, cbor@ietf.org
In-Reply-To: <163344085669.17315.998599560097016034@ietfa.amsl.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com>
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, 05 Oct 2021 14:55:18 -0400
Message-ID: <24367.1633460118@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/RXuMr_dNigMjBH3_-TGQoauJiE4>
Subject: [Cbor] =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A__=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-ad?= =?utf-8?q?dresses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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, 05 Oct 2021 18:55:36 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Captured as issue:
   https://github.com/cbor-wg/cbor-network-address/issues/12

=C3=89ric Vyncke via Datatracker <noreply@ietf.org> wrote:
    > =3D=3D DISCUSS =3D=3D

    > Generic comment how are link-local address (LLA) with scope encoded ?=
 I would
    > expect CBOR to work also on LLA only networks... At the bare minimum,=
 please
    > state that link-local addresses cannot be encoded with their scope, h=
ence, they
    > cannot represent an interface.

    > -- Section 3.1.3 --
    > How can 2 valid link-local addresses (fe80::1%eth0, fe80::1%eth1) can=
 be
    > represented in order to identity two interfaces ?

There are three kinds of things encoded:
      a) addresses.
      b) prefixes
      c) interface definitions

For (b) and (c), we could easily entertain (and did we discuss this in the
thread that was CC'ed to 6man?) adding a third element to the array to store
the interface ID.
For (a), I'm not sure what we can do to add the interface ID, but see below.

That's kinda the easy part.
The hard part is deciding how to encode the scope.
The simplest is as an integer, being the ifindex.

CBOR makes that easy and efficient, and many systems don't have more than 24
interfaces.  However, on systems where interfaces come/go a lot, the ifindex
often increments anyway.  Using the ifindex is probably clearer on most any
system than a string which can change, but it does change from one boot to
another.
While the ifindex is system specific and has no outside meaning, the purpos=
es
where I imagine this being used would be in some system specific container.
(My use case, which drove me to do this, actually probably needed scope-id)

One way to do (a) could be to append to the IPv6 string.
Another way would be not to bother, to always use the interface definition
when a IPv6-LL is needed.  Whether the length is 0, 128, or the actual
interface prefix (probably 64) is something we could specify.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFcn5UACgkQgItw+93Q
3WWBVwf7BH8rsmb0rWM5l7ZmbxqIauh8i2nY/tX6XMY7F8lRAQ/AECY1FE8c086f
aqj3QunCMuhJdbfsFy/6qfWB7/ontTDcs7oMzbTwQVxxWJUoM0JbATN8HeEjCeG4
2f/XODTtWwRJNfa5/10xySIWS66zoJr/IEiEtP+wLJ2R6tmEAnOqWsLpk2qwGosE
9fDJ5fhQ1JB41md8fHwK7gvtxlrLxWpq2pAwzVerez6YcCIV5NJ54VB3NtQCBI2f
XlmRWGe24kpjJUNRxEKy3uFPWixfT2I2XkF2V9LrztgmFv4MFy5O24vT1AhXyPUh
DUFXD3w+ZGWZZKpC5Jfn9O47/ERagA==
=dl1O
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Oct  5 12:24:58 2021
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 BA86B3A0A19 for <cbor@ietfa.amsl.com>; Tue,  5 Oct 2021 12:24:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 01X6FjR6kO-C for <cbor@ietfa.amsl.com>; Tue,  5 Oct 2021 12:24:50 -0700 (PDT)
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 B46FD3A0A13 for <cbor@ietf.org>; Tue,  5 Oct 2021 12:24:50 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id F2AE118038; Tue,  5 Oct 2021 15:32:54 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ikB0mDoVNcPn; Tue,  5 Oct 2021 15:32:50 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 6B20618011; Tue,  5 Oct 2021 15:32:50 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 7D07858B; Tue,  5 Oct 2021 15:24:44 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
to: Barry Leiba <barryleiba@computer.org>, cbor@ietf.org
In-Reply-To: <5623.1633448570@localhost>
References: <CALaySJL9nydwQMgEfcKVW=_T6bhDxn875Pr4EfEc5kN5anuuuw@mail.gmail.com> <CALaySJJLdvcETtFVX337CU-YQuah0VNV6kpJW351-NeCvn92rA@mail.gmail.com> <5623.1633448570@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, 05 Oct 2021 15:24:44 -0400
Message-ID: <721.1633461884@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/nffz1-YQHW_oQ5VFkdUe_SBWfio>
Subject: Re: [Cbor] Reminder: bi-weekly CBOR conference call on 6 October
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, 05 Oct 2021 19:24:56 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Michael Richardson <mcr+ietf@sandelman.ca> wrote:
    > I'll have a slide or two on IESG Feedback/DISCUSS resolution of cbor-=
network-address.
    > There are some questions for the WG, so please put charge up your thi=
nking caps.

I've posted replies.
Some are low-hanging fruit, which are now in the github.
Some are questions to the WG.

    > I'm preparing the diffs and replies today to be CC to the WG.

The slides are proposed for tomorrow.
Don't let that keep anyone from answering on the ML though.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFcpnwACgkQgItw+93Q
3WX6qAf/WLwt03L0kHthe/CLB8BUls7e4MTGak3A/rfsIF859KM5QGU/MhCgvNaj
xCS9wq2v3n3xMPyQsBuTVdvULgm8t+Re1Y1THcejaihtN5HHsm+ehr2AexTN5w+a
tv+ZwjD3VvztDaaxKrZoiPPsVj8ePxc6uIjjB4TvXL6MAGehanPAsAt0I5lVVEl7
dWZEoLZ4hB6LkRFs7CmPki9I79+AzBSOjfWhBUWQfgLWQwxPnESwi7FGxWLt8hh1
wBgVhEu/GCWA+E5lTqofleASeTzuSIRL5Ziy5Gn8EDd0XJRA5EUjb/P+i07L5X57
bNjSwCWTnO6hyFPs56/AXM71OLFUPA==
=AWC1
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Oct  5 13:38:31 2021
Return-Path: <cabo@tzi.org>
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 916CB3A0D23; Tue,  5 Oct 2021 13:38:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 8qXNmStWrtqM; Tue,  5 Oct 2021 13:38:22 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D9DD23A0D20; Tue,  5 Oct 2021 13:38:21 -0700 (PDT)
Received: from smtpclient.apple (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HP8YQ53lMz2xNq; Tue,  5 Oct 2021 22:38:18 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <163337270139.24096.2858053457546637595@ietfa.amsl.com>
Date: Tue, 5 Oct 2021 22:38:18 +0200
Cc: The IESG <iesg@ietf.org>, draft-ietf-cbor-network-addresses@ietf.org, Barry Leiba <barryleiba@computer.org>, cbor-chairs@ietf.org, cbor@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <54845F41-869A-43CE-BF02-825CB728A2CA@tzi.org>
References: <163337270139.24096.2858053457546637595@ietfa.amsl.com>
To: Benjamin Kaduk <kaduk@mit.edu>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/01PLiiTDG7t29sshG8pUFP-cieY>
Subject: Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
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, 05 Oct 2021 20:38:29 -0000

On 4. Oct 2021, at 20:38, Benjamin Kaduk via Datatracker =
<noreply@ietf.org> wrote:
>=20
> Section 5
>=20
>   unused_bits =3D (-prefix_length_in_bits) & 7;
>   if (length_in_bytes > 0)
>     address_bytes[length_in_bytes - 1] &=3D (0xFF << unused_bits);
>=20
> This looks like it's trying to be C, and the XML agrees.  I think it
> only has the desired effect when two's-complement representation for
> signed integers is used, though (this is not guaranteed by C through =
at
> least C11, though I have not been closely tracking whether the =
proposal
> to make C and C++ two's-complement-only has been adopted), and suggest
> reformulating to something like:
>=20
>   unused_bits =3D (8 - (prefix_length_in_bits & 7)) % 8;

Well, I for one don=E2=80=99t like making the =E2=80=9Csimply=E2=80=9D =
more complicated (*).

In reality, the C family languages have been used exclusively in two=E2=80=
=99s complement environments for a long time.
C++20 finally made that fact official (**).
(I wouldn=E2=80=99t react as strongly if we hadn't discussed this a =
while ago for the (pseudo-)code in RFC 8949 [1].)

C itself is lagging (making the same change did not make it into C17 and =
is scheduled only for C2X [2] [3] [4]).
We could simply say the pseudocode is in C++, maybe using the same text =
as in RFC 8949 (or, better, pointing to it).

Gr=C3=BC=C3=9Fe, Carsten

(*) and, I would at least use % 8 *or* & 7, not one and then the other =
making the reader wonder if they are different here.
(**) simplifying the specification, but more importantly reducing the =
immense cost (including security vulnerabilities) from people trying to =
make their code signed number representation agnostic and in the process =
getting even the two=E2=80=99s complement case wrong.
[1]: https://www.rfc-editor.org/rfc/rfc8949.html#section-1.2-7
[2]: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2412.pdf
[3]: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2596.pdf
[4]: https://en.wikipedia.org/wiki/C2x


From nobody Tue Oct  5 14:14:26 2021
Return-Path: <evyncke@cisco.com>
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 EFDB33A0802; Tue,  5 Oct 2021 14:14:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.599
X-Spam-Level: 
X-Spam-Status: No, score=-9.599 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=eCBjsLnX; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=BXBq+wju
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 pqzdL5Y6ONKM; Tue,  5 Oct 2021 14:14:10 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3F2DD3A07F3; Tue,  5 Oct 2021 14:14:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3688; q=dns/txt; s=iport; t=1633468450; x=1634678050; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=+INdd8D0Un5j+k0EcGPX3izB3zYKGjQbZdpXJuf2vmI=; b=eCBjsLnXeN6t71fYemZRO2AecerEzxGlmCj4ojsxEVXjNfWc/h0vrGyT WiMCDYAiSdoxJa7lq2i/B8TPlf61GOW4tmKYz9Cxx2d0rIPorysoNHw4R RHaYMxzuc+XTTm2ULbmSxbPWN8ATdubblb+32qZbyT7ye8R0VPafNYELy U=;
IronPort-PHdr: =?us-ascii?q?A9a23=3AzhpyzRagzx7PNoSFlD1Pk83/LTDNhN3EVzX9o?= =?us-ascii?q?rI8grRCf6Cm9pKkN0WMrflujVqcW4Ld5roEjufNqKnvVCQG5orJq3ENdpFAF?= =?us-ascii?q?npnwcUblgAtGoiJXEv8KvO5dCU8EMlGUVZjuXqyYgBZHc/kbAjUpXu/pTcZB?= =?us-ascii?q?hT4M19zIeL4Uo7fhsi6zaa84ZrWNg5JnzG6J7h1KUbekA=3D=3D?=
IronPort-Data: =?us-ascii?q?A9a23=3AelmGD6tQqtBeiuyK9Adm+7/0LefnVPtcMUV32?= =?us-ascii?q?f8akzHdYApBsoF/qtZmKTiHPaqCZ2Gmet51PI63oBhQsJPWzIRrTQVorXoxQ?= =?us-ascii?q?3kRgMeUXt7xwmUckM+xwmwvdK/shiknQoGowPscEzmM+39BDpC79SMljPnQG?= =?us-ascii?q?+KmYAL5EnkZqTFMGX9JZS1Lw4bVsqYw6TSIK1vlVeHa+qUzC3f9s9JACV/43?= =?us-ascii?q?orYwP9ZUFsejxtD1rA2TagjUFYzDBD5BrpHTU26ByOQroW5goeHq+j/ILGRp?= =?us-ascii?q?gs1/j83Ad+j1738aEBPHfjZPBOFjTxdXK3Kbhpq/3NplP1kcqtHLx4L0F1ln?= =?us-ascii?q?PgpoDlJnZGuWAEiPaDkk+UGWB4eGCZ7VUFD0O6beCbu7JPMlyUqdFOpmZ2CF?= =?us-ascii?q?noeNocf4M52DH1As/sCJ1glZRqEnae9wLu6UPJEh8k/Io/sJox3kntp1yvIC?= =?us-ascii?q?fsnS5nrSKLP/cJE0S12gdpBdd7SfcMXdX9uYQjOJhZFPU1SDp8ig+CyhTz2f?= =?us-ascii?q?zFCpUmOqLEf4mXPwkp2yreFGNaOd4eHHu1am0+ZoiTN+GGRKhAXL9O3yDeZ/?= =?us-ascii?q?DSrnOCntSbwQsETGaG23uVjhlGewmkaDlsdXDOGTVOR4qKlc8hUJ0pR8S00o?= =?us-ascii?q?O1tskeqVdL6GRa/pRa5Utcnc4I4O4UHBMulk8I4OzqkO1U=3D?=
IronPort-HdrOrdr: =?us-ascii?q?A9a23=3AtTme5amyQq1nXHDFpUtCyw4JR+zpDfN6iW?= =?us-ascii?q?dD5ihNYBxZY6Wkfp+V/cjzhCWbtN9OYh4dcIi7Sda9qXO1z+8T3WGIVY3SHz?= =?us-ascii?q?UOy1HYUr2KirGSgQEIeheOttK1sJ0BT0EQMqyKMbEXt7ee3OD8Kadd/DDlyt?= =?us-ascii?q?HsuQ699QYWcegCUcgJhG0VZnf5Yy9LrUt9dOcE/fGnl6x6Tk+bCAwqh7OAdw?= =?us-ascii?q?A4tob41rn2vaOjRSRDKw8s6QGIgz/twqX9CQKk0hAXVC4K6as+8EDe+jaJop?= =?us-ascii?q?mLgrWe8FvxxmXT55NZlJ/K0d1YHvGBjcATN3HFlhuoXoJ8QLeP1QpF591HqW?= =?us-ascii?q?xa1uUkkS1QZ/ib2EmhJV1dZiGdgTUI5QxeskMKD2Xo3EcL7/aJGA7SQPAx9L?= =?us-ascii?q?6xOiGpm3bI+usMj56iGwmixstq5dSqplWi2zGAbWAZqqL/y0BS4tI7njhRV5?= =?us-ascii?q?ATZ6RWqpFa9ERJEI0YFCa/84w/FvJyZfusqMq+XGnqJUwxhFMfjeBEn05DaC?= =?us-ascii?q?uuUwwHoIiYwjJWlHd2ww8Rw9EehG4J8NY4R4Nf7+rJP6x0nPUWJ/VmI55VFa?= =?us-ascii?q?MEW4+6G2bNSRXDPCabJknmDrgOPzbIp4Ts6Ls46em2cNgDzYc0mp7GTFRE3F?= =?us-ascii?q?RCNH7GGImLxtlG4xrNSGKyUXDkzdxf/YFwvvnmSL/iIUS4ORsTegub0r0i6+?= =?us-ascii?q?jgKreO0b5tcovexFrVaM90NlfFKuxvwFElIboohuo=3D?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0B0BwBKv1xh/49dJa1RCR4BAQsSDEC?= =?us-ascii?q?BTguBUVEHd1o3MYRHg0gDhTmICAOBKZlDgS6BJQNUCwEBAQ0BATUMBAEBggi?= =?us-ascii?q?CdQIXgi0CJTQJDgECBAEBARIBAQUBAQECAQYEgREThWgNhkIBAQEBAgESERE?= =?us-ascii?q?MAQE3AQ8CAQgYAgIfBwICAjAVBQsCBA4FIoJPAYJVAw4hAQ6lNAGBOgKKH3q?= =?us-ascii?q?BMYEBgggBAQYEBIUKGII1AwaBECqDAIQVglGEHQInHIFJRIEVJwwQgmc+gmM?= =?us-ascii?q?CgTRDgwE3gi6KHmsGaFMgAi4vRiBpKZRKAUaWPpIqCoMwikSOPYVjBSyDZ4t?= =?us-ascii?q?qkQKGOoU9nTGYcgIEAgQFAg4BAQY1gSw7gUUNB3AVZQGCPlEZD44gDBYVgzu?= =?us-ascii?q?KXnQ4AgYBCgEBAwkBgjqTNgEB?=
X-IronPort-AV: E=Sophos;i="5.85,349,1624320000"; d="scan'208";a="941695770"
Received: from rcdn-core-7.cisco.com ([173.37.93.143]) by rcdn-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 05 Oct 2021 21:14:08 +0000
Received: from mail.cisco.com (xbe-aln-004.cisco.com [173.36.7.19]) by rcdn-core-7.cisco.com (8.15.2/8.15.2) with ESMTPS id 195LE7ED024225 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Tue, 5 Oct 2021 21:14:07 GMT
Received: from xfe-aln-004.cisco.com (173.37.135.124) by xbe-aln-004.cisco.com (173.36.7.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 5 Oct 2021 16:14:07 -0500
Received: from xfe-rcd-005.cisco.com (173.37.227.253) by xfe-aln-004.cisco.com (173.37.135.124) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 5 Oct 2021 16:14:06 -0500
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (72.163.14.9) by xfe-rcd-005.cisco.com (173.37.227.253) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15 via Frontend Transport; Tue, 5 Oct 2021 16:14:06 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dE1DYLVvqmiOgc7ltZUMUaabzWkervzaCR+2JlDWe+VLaAPJHsf4BIF0vcFVZlCbPGNHcgkYwsmI/nAn/uT9+RZHU/WHMyI7s3V7hZ/XpdvXkIoRPynDeye8JosZW7uhavKRf0T06SP1bjIySGjZYAvMktvWDKAp7rdii4aTNdgi4OvLygInjoOLTwK9l6Db0LRuYQzd/FOj8l7eFoHBU3V8uipV33xWyb4V11ICSia6uaELszSO4i1aqL+2ElC+AnmH8C2hP7Bs+nMRFuRNNY0ELY5p1dptwwon7BoV1/kM8k1qN4XpfexVKZbP+sieCl7ISLpaetfdEyHubDeoEQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+INdd8D0Un5j+k0EcGPX3izB3zYKGjQbZdpXJuf2vmI=; b=EAmAv/ICMrw29ddgFvXubqiW7MYNLz+hwueNN1e0kOZWB5Hb4lxmnnrRT7btGkRUtof1tB7syVK1Y7l5A7TxxoevIlmYd9rmQKnkoGsOLZNpi+EY4ytU4xyqrvXMdHV8+WU40CbQgr516hoDtqQ+VC0H/Kgy0UkbMlc5I1mH9oH3TH534oi8gA5p2tewT2MBsn2dw3QfMHxX2XBwn7uNRPh4KaUupvP+MBuvPd6ddNKLST34tg8Nv3pVkqe4efqc3SZkNII97uVjd5hFpb9IWXOOrYwDpp0hN0IpPv+WqThPAQf8265DmrpG55b+3XZ5khseDOyVI2oLPZwyXrGTtQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com;  s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+INdd8D0Un5j+k0EcGPX3izB3zYKGjQbZdpXJuf2vmI=; b=BXBq+wjuo+TrHGs3bg8Qnx7QM4PXj//NzBNDMpNbyWnLoj0nTG9Jr55UnuXhP7vXwM7gxVil+MRda9b2baWDIHW7LYIJ04bIfrsyx20Qj0zIhffdFi3OkvH/6mVMHzoPdCw894YnQugqiEklobD3cBaPLz3RUeEmtMtcIzYQZK0=
Received: from PH0PR11MB4966.namprd11.prod.outlook.com (2603:10b6:510:42::21) by PH0PR11MB4936.namprd11.prod.outlook.com (2603:10b6:510:42::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.17; Tue, 5 Oct 2021 21:14:05 +0000
Received: from PH0PR11MB4966.namprd11.prod.outlook.com ([fe80::596b:9fa6:18d4:67e7]) by PH0PR11MB4966.namprd11.prod.outlook.com ([fe80::596b:9fa6:18d4:67e7%8]) with mapi id 15.20.4566.022; Tue, 5 Oct 2021 21:14:05 +0000
From: "Eric Vyncke (evyncke)" <evyncke@cisco.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
CC: The IESG <iesg@ietf.org>, "d3e3e3@gmail.com" <d3e3e3@gmail.com>, "draft-ietf-cbor-network-addresses@ietf.org" <draft-ietf-cbor-network-addresses@ietf.org>, "barryleiba@computer.org" <barryleiba@computer.org>, "cbor-chairs@ietf.org" <cbor-chairs@ietf.org>, "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: =?utf-8?B?U3VwcG9ydGluZyBJUHY2IExpbmstTG9jYWwgd2l0aCBzY29wZSAod2FzIFJl?= =?utf-8?B?OiBbQ2Jvcl0gw4lyaWMgVnluY2tlJ3MgRGlzY3VzcyBvbiBkcmFmdC1pZXRm?= =?utf-8?B?LWNib3ItbmV0d29yay1hZGRyZXNzZXMtMDk6ICh3aXRoIERJU0NVU1MgYW5k?= =?utf-8?Q?_COMMENT))?=
Thread-Index: AQHXuhqYWSWb+8o+30+Z6nZ4dHFSY6vFCSsA
Date: Tue, 5 Oct 2021 21:14:05 +0000
Message-ID: <790DCEB7-0CC9-4384-A671-AE2B9D397163@cisco.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost>
In-Reply-To: <24367.1633460118@localhost>
Accept-Language: fr-BE, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/16.53.21091200
authentication-results: sandelman.ca; dkim=none (message not signed) header.d=none;sandelman.ca; dmarc=none action=none header.from=cisco.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 8976e5f7-3d7e-4b47-f4ca-08d98845106f
x-ms-traffictypediagnostic: PH0PR11MB4936:
x-microsoft-antispam-prvs: <PH0PR11MB4936D9DD96B0B77C0E18095EA9AF9@PH0PR11MB4936.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ZiZ0vFbbJu3rv6aGYvFg+9jwxZF7Ss/ZF/YIDeDr8QgLoF4zXBAkwzin5tluiBYO2XbC9KMdU5oMIBAGDaNZlmurfrsrwiVZ98zjpP5z9B6TurNamsQcmXcbI2k4ZJsbiSz/X8suH4pGS0VtTYsFq9LDFJhxQxG8LPIVdSXwGNQClCk8xgVORlcxoOiG5yVTI4JZeGkvGBzs0vZXFFOUzioe95y8oekwzy3ult5NfcIBWAusj1Y2dpeAEvn89nGoH18h+21OVcPpx9OU6Z+N+2fHY4BcNLLpLNrEWHIC8G+qdN0DusuqZAGuofU7i/69Oo+dr0K8cQnEDQoAFBh+csNB+6txBp3dSktcWZhdkUDpZeJkuOqMroKOsrpmeipOFBOWNV7oqbovNy0lyt+4HTgr8FDGohFfXGLT8zx0W2zHnXq3c0hAX8kS4JT66shopfP2O/ymzlzVWiFvAwsRRZ/cvcBZ6TAXtD/aAFLtKrZ2m/OUfdYUO3esPiFC9oc0oRbfGG64wU8up3avUq648xN2ieqVN/G31xISytBz0zRvZM3PbqNKpJObhcscHsLz3hi2wOlcr5hRWt9PshZfL2ksaz0bxKu99Aqe1kkEf72qbTiGEsQLhLwYSUZC6T1hivsGahZq8oxs+MVwM6zAGDHXRTkxoIc3/VTvSITq8zGsNycZde0HmVANWvdDlw8ht9GFsXyvz9bSg/AiLJwN1pD9rICUIcbOf0BKRzmJzrEaiU3cHeTAYNbnzT0w/VrD9EjF+RU43wgOoyFD7ezbmDlDl2R5l+2Uilrsc63V2JH4HLOv30VsjXiipL0n4O0ndi3ciwf9C3iEu97HX7LB9A==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:PH0PR11MB4966.namprd11.prod.outlook.com; PTR:; CAT:NONE;  SFS:(366004)(508600001)(966005)(66446008)(66946007)(54906003)(2616005)(33656002)(66476007)(91956017)(6506007)(4326008)(224303003)(5660300002)(186003)(6486002)(64756008)(76116006)(38070700005)(66556008)(6512007)(83380400001)(71200400001)(38100700002)(86362001)(316002)(66574015)(36756003)(8936002)(2906002)(122000001)(45980500001); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?K3Z6NUliK2w1VlhDYld2K3RjQTVqMlp6Qnk1TTFtbjVRcVpiTDN4RkRGYVJ2?= =?utf-8?B?Z3M1ZEFZVVg4SU9PNzU5S0E5WTd4ayttcUZ0QUhieDMzTVloSDBnWjk3MkZY?= =?utf-8?B?WkRZS3RXQ1Z0cTdRNExLTDl2cm5NUWovS3Y2ZjBsZU9tLy9lWUhQOUs3Z2Ja?= =?utf-8?B?Q1R3U05RcHhrZkJqMWtFeU5PTkpPWC9xdWk4aDg1QXpUelpxNTY3aXM1Zysr?= =?utf-8?B?Q0pHVHYra1pPVG51aU5HeGNiTTlHOHFKZW5Uc0RGZEZYb04zeHFSbVhVVVFu?= =?utf-8?B?SmJzTmVpS2hJcjhUYmtpME1Wc01ENjBlU2Y4SU52VmJucXdTL2JLWlZIODMv?= =?utf-8?B?VGxmdzA0cDF1d05kL053QWQ5bTBwUzgvTkFidkF5K3A3ZC9VOStyRzVPVTZk?= =?utf-8?B?akdEaWpybTltMloweEhHNGk1WEtXUjAzWDFaS0RGRW5tM09KUTZKVzJDL3R4?= =?utf-8?B?ZU1oMFdoZXpLNUNKZVpMMXNMNmdOUUs5ZVBPZjhVcTdRbkM4YndaRjJZZWov?= =?utf-8?B?NjZObU03RVpFWmFxWlRFa0JnLzJxRkxnYmdJWFhyVm5mMGYrYzRsaE01MUFM?= =?utf-8?B?VUQwVm5HZ0UwbDl1d3o2NzVVUG1CdUJOeEo1ajZkMXBJcWMzYmtuQXlJY1RD?= =?utf-8?B?bkV0dHV4OW95RTd0WWlHVTVQRXFGVkJOamdReUNuNy83WGxDRlQ5Q29KaG9W?= =?utf-8?B?eXhHYnp1VnRqSWRWNGZVcEZXOEF4OU15dlJ1UWw2dmZzTm1tRVpnUEN6MW9v?= =?utf-8?B?RWJqUUgrRVhNR01ubDdQcVNWV0pvZ3Q5M1lJMFpaenFlbzRqTVQvc0FKTkpX?= =?utf-8?B?eklkZE9DT2dKV1FxN0twMWUveTIxdDFKcDNXbU9xSzYxLzFnNDVEdk5US2hK?= =?utf-8?B?NmdGdGhjQlkybERVOEw2am5qVE5tdkwvM2NTamlubWptc0JWMC9Ubmw0dmNV?= =?utf-8?B?bEYxcnB4MGFyRDd4dEZHYkQyWWc2dmJQZzVHTC9lL1VxYmJnTnNQZUc0TDlS?= =?utf-8?B?MS8zZ2VZSUQrSng4Nlg4V0w2b2U0bXQwNlhlKzJRcUJGQktXVkpGdlZUVDlZ?= =?utf-8?B?Wml3L0dhR2ZRTjhNL1NxUmJ2bGZiVmx3UE84ZE03bjZoeXgrSzZUaksxYk10?= =?utf-8?B?QzdwWXNNTmVsRlZHS2MrWGtRU1NNelIyNnBQZkhxbjNJbXNYKytIYytyZGVK?= =?utf-8?B?aW15cFFQNENsMm5pTm5zRzVBOXUyOU82RDhZaHVlVUdTR0ZZMjUzcGpiT2JK?= =?utf-8?B?Q2c3NFJlWjB1Zk13ZTlGTXN3TndqQzVQVXZBaW5DZmNDNmpmbVQ3L055Nll3?= =?utf-8?B?Y1c1bjBORktmUGRuWVdsNUFKdDZDV2tWejBZSDIwcVlPQ1ZMYStBQlJhSldG?= =?utf-8?B?LzVWMitObnA4eWRIYVJMYmZwKzBsUzR6VFRXbTl3WFo1b08zOTZvMkdrMDgw?= =?utf-8?B?R1MyTGo1cTQrei9LMVlva2FYQ3h2TzlSNHQ0TTRGeENQcWxJQ29YT0p1ZWF1?= =?utf-8?B?cEo0bjdlN0FDNERudkhocXQzREdwMEZIVisrdEVoYjBXQm1EdVVodU1IM1lr?= =?utf-8?B?WVg5VHRXREVsVTdUaEtXNEJhUmc1ME51ZlpWQzZrNlAySWl4Q0dFWG9POUdP?= =?utf-8?B?MjFNZEZHaVBHWU41QmJqOC9OeTZLa2UxUUVFSlQrNWI1a0ZsQWNOTmZXYlVj?= =?utf-8?B?Vm80Szd5NDZsSlRKK3l3cUhTeitMcFRhYVRDZzlKckZpV2UzbGpBV3BUdk41?= =?utf-8?B?TFZrcFZjZkdUUEYvb0k5Q3dBemc3M1Bid0JsSGIzSE1TS1l6MHB4NHBoVWYw?= =?utf-8?B?ZlphSkV1bDZScnRqcWZpVEkya2FZQTRPRmY4WXR2OHB0cGt5WGY0dDhITGZo?= =?utf-8?B?blNGSDNjblNSdS9SMHZoallwMDdXNUNTVCtrMmJYajNwTGc9PQ==?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <6C8AF68FEEE99641A5F0074DCB204D63@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB4966.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8976e5f7-3d7e-4b47-f4ca-08d98845106f
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Oct 2021 21:14:05.7478 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: T2Xb148wG6XbxfYPld81ParaPstWsRx3yarAMumhdqHUBZ6T2KeM9opJ8E9KbLJ1WMXAEc3s9YMaIsrAtqj0sg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4936
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.19, xbe-aln-004.cisco.com
X-Outbound-Node: rcdn-core-7.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/zblGNs6w5cWSd6LSNmBpUp_yGi8>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A__=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-ad?= =?utf-8?q?dresses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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, 05 Oct 2021 21:14:17 -0000

TWljaGFlbA0KDQpUaGUgcHJvYmxlbSBpcyBpbmRlZWQgc29sdmFibGUuDQoNCk15IG93biB0YWtl
IHdvdWxkIGJlIG5vdCB0byB1c2UgaWZJbmRleCAoZm9yIHRoZSByZWFzb25zIHlvdSBqdXN0IGV4
cGxhaW5lZCkgYWxzbyBpdCBjb3VsZCBiZSBjb25mdXNpbmcgd2l0aCBhbm90aGVyIGVuY29kaW5n
IGFzIGJvdGggKGxlbmd0aCAmIGlmaW5kZXgpIGFyZSB1aW50Li4uDQoNCkFzIEkgd3JvdGUgaW4g
bXkgYmFsbG90LCBhbiBhbHRlcm5hdGl2ZSAobm90IHNvIG5pY2UgdGhvdWdoKSB3b3VsZCBiZSB0
byBjbGVhcmx5IHN0YXRlIHRoYXQgdGhlIGVuY29kaW5nIGlzIG5vdCBhcHBsaWNhYmxlIHRvIExM
QSArIHNjb3BlDQoNCi3DqXJpYw0KDQrvu79PbiAwNS8xMC8yMDIxLCAyMDo1NSwgIk1pY2hhZWwg
UmljaGFyZHNvbiIgPG1jcitpZXRmQHNhbmRlbG1hbi5jYT4gd3JvdGU6DQoNCg0KICAgIENhcHR1
cmVkIGFzIGlzc3VlOg0KICAgICAgIGh0dHBzOi8vZ2l0aHViLmNvbS9jYm9yLXdnL2Nib3ItbmV0
d29yay1hZGRyZXNzL2lzc3Vlcy8xMg0KDQogICAgw4lyaWMgVnluY2tlIHZpYSBEYXRhdHJhY2tl
ciA8bm9yZXBseUBpZXRmLm9yZz4gd3JvdGU6DQogICAgICAgID4gPT0gRElTQ1VTUyA9PQ0KDQog
ICAgICAgID4gR2VuZXJpYyBjb21tZW50IGhvdyBhcmUgbGluay1sb2NhbCBhZGRyZXNzIChMTEEp
IHdpdGggc2NvcGUgZW5jb2RlZCA/IEkgd291bGQNCiAgICAgICAgPiBleHBlY3QgQ0JPUiB0byB3
b3JrIGFsc28gb24gTExBIG9ubHkgbmV0d29ya3MuLi4gQXQgdGhlIGJhcmUgbWluaW11bSwgcGxl
YXNlDQogICAgICAgID4gc3RhdGUgdGhhdCBsaW5rLWxvY2FsIGFkZHJlc3NlcyBjYW5ub3QgYmUg
ZW5jb2RlZCB3aXRoIHRoZWlyIHNjb3BlLCBoZW5jZSwgdGhleQ0KICAgICAgICA+IGNhbm5vdCBy
ZXByZXNlbnQgYW4gaW50ZXJmYWNlLg0KDQogICAgICAgID4gLS0gU2VjdGlvbiAzLjEuMyAtLQ0K
ICAgICAgICA+IEhvdyBjYW4gMiB2YWxpZCBsaW5rLWxvY2FsIGFkZHJlc3NlcyAoZmU4MDo6MSVl
dGgwLCBmZTgwOjoxJWV0aDEpIGNhbiBiZQ0KICAgICAgICA+IHJlcHJlc2VudGVkIGluIG9yZGVy
IHRvIGlkZW50aXR5IHR3byBpbnRlcmZhY2VzID8NCg0KICAgIFRoZXJlIGFyZSB0aHJlZSBraW5k
cyBvZiB0aGluZ3MgZW5jb2RlZDoNCiAgICAgICAgICBhKSBhZGRyZXNzZXMuDQogICAgICAgICAg
YikgcHJlZml4ZXMNCiAgICAgICAgICBjKSBpbnRlcmZhY2UgZGVmaW5pdGlvbnMNCg0KICAgIEZv
ciAoYikgYW5kIChjKSwgd2UgY291bGQgZWFzaWx5IGVudGVydGFpbiAoYW5kIGRpZCB3ZSBkaXNj
dXNzIHRoaXMgaW4gdGhlDQogICAgdGhyZWFkIHRoYXQgd2FzIENDJ2VkIHRvIDZtYW4/KSBhZGRp
bmcgYSB0aGlyZCBlbGVtZW50IHRvIHRoZSBhcnJheSB0byBzdG9yZQ0KICAgIHRoZSBpbnRlcmZh
Y2UgSUQuDQogICAgRm9yIChhKSwgSSdtIG5vdCBzdXJlIHdoYXQgd2UgY2FuIGRvIHRvIGFkZCB0
aGUgaW50ZXJmYWNlIElELCBidXQgc2VlIGJlbG93Lg0KDQogICAgVGhhdCdzIGtpbmRhIHRoZSBl
YXN5IHBhcnQuDQogICAgVGhlIGhhcmQgcGFydCBpcyBkZWNpZGluZyBob3cgdG8gZW5jb2RlIHRo
ZSBzY29wZS4NCiAgICBUaGUgc2ltcGxlc3QgaXMgYXMgYW4gaW50ZWdlciwgYmVpbmcgdGhlIGlm
aW5kZXguDQoNCiAgICBDQk9SIG1ha2VzIHRoYXQgZWFzeSBhbmQgZWZmaWNpZW50LCBhbmQgbWFu
eSBzeXN0ZW1zIGRvbid0IGhhdmUgbW9yZSB0aGFuIDI0DQogICAgaW50ZXJmYWNlcy4gIEhvd2V2
ZXIsIG9uIHN5c3RlbXMgd2hlcmUgaW50ZXJmYWNlcyBjb21lL2dvIGEgbG90LCB0aGUgaWZpbmRl
eA0KICAgIG9mdGVuIGluY3JlbWVudHMgYW55d2F5LiAgVXNpbmcgdGhlIGlmaW5kZXggaXMgcHJv
YmFibHkgY2xlYXJlciBvbiBtb3N0IGFueQ0KICAgIHN5c3RlbSB0aGFuIGEgc3RyaW5nIHdoaWNo
IGNhbiBjaGFuZ2UsIGJ1dCBpdCBkb2VzIGNoYW5nZSBmcm9tIG9uZSBib290IHRvDQogICAgYW5v
dGhlci4NCiAgICBXaGlsZSB0aGUgaWZpbmRleCBpcyBzeXN0ZW0gc3BlY2lmaWMgYW5kIGhhcyBu
byBvdXRzaWRlIG1lYW5pbmcsIHRoZSBwdXJwb3Nlcw0KICAgIHdoZXJlIEkgaW1hZ2luZSB0aGlz
IGJlaW5nIHVzZWQgd291bGQgYmUgaW4gc29tZSBzeXN0ZW0gc3BlY2lmaWMgY29udGFpbmVyLg0K
ICAgIChNeSB1c2UgY2FzZSwgd2hpY2ggZHJvdmUgbWUgdG8gZG8gdGhpcywgYWN0dWFsbHkgcHJv
YmFibHkgbmVlZGVkIHNjb3BlLWlkKQ0KDQogICAgT25lIHdheSB0byBkbyAoYSkgY291bGQgYmUg
dG8gYXBwZW5kIHRvIHRoZSBJUHY2IHN0cmluZy4NCiAgICBBbm90aGVyIHdheSB3b3VsZCBiZSBu
b3QgdG8gYm90aGVyLCB0byBhbHdheXMgdXNlIHRoZSBpbnRlcmZhY2UgZGVmaW5pdGlvbg0KICAg
IHdoZW4gYSBJUHY2LUxMIGlzIG5lZWRlZC4gIFdoZXRoZXIgdGhlIGxlbmd0aCBpcyAwLCAxMjgs
IG9yIHRoZSBhY3R1YWwNCiAgICBpbnRlcmZhY2UgcHJlZml4IChwcm9iYWJseSA2NCkgaXMgc29t
ZXRoaW5nIHdlIGNvdWxkIHNwZWNpZnkuDQoNCiAgICAtLQ0KICAgIE1pY2hhZWwgUmljaGFyZHNv
biA8bWNyK0lFVEZAc2FuZGVsbWFuLmNhPiAgIC4gbyBPICggSVB2NiBJw7hUIGNvbnN1bHRpbmcg
KQ0KICAgICAgICAgICAgICAgU2FuZGVsbWFuIFNvZnR3YXJlIFdvcmtzIEluYywgT3R0YXdhIGFu
ZCBXb3JsZHdpZGUNCg0K


From nobody Tue Oct  5 14:42:17 2021
Return-Path: <cabo@tzi.org>
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 11C9C3A0912; Tue,  5 Oct 2021 14:42:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 ztSod8kX5Nwr; Tue,  5 Oct 2021 14:42:10 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6E5263A09EC; Tue,  5 Oct 2021 14:42:06 -0700 (PDT)
Received: from smtpclient.apple (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HP9yy6nP9z2xfN; Tue,  5 Oct 2021 23:42:02 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <790DCEB7-0CC9-4384-A671-AE2B9D397163@cisco.com>
Date: Tue, 5 Oct 2021 23:42:02 +0200
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, The IESG <iesg@ietf.org>, "d3e3e3@gmail.com" <d3e3e3@gmail.com>, "draft-ietf-cbor-network-addresses@ietf.org" <draft-ietf-cbor-network-addresses@ietf.org>,  "barryleiba@computer.org" <barryleiba@computer.org>, "cbor-chairs@ietf.org" <cbor-chairs@ietf.org>, "cbor@ietf.org" <cbor@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <20E129D3-58FE-45BF-BA74-4FA23EB0DD37@tzi.org>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <790DCEB7-0CC9-4384-A671-AE2B9D397163@cisco.com>
To: "Eric Vyncke (evyncke)" <evyncke@cisco.com>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/BZibiYYD6YX4yr6JdFp6MAQhBnY>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A__=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-ad?= =?utf-8?q?dresses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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, 05 Oct 2021 21:42:16 -0000

On 5. Oct 2021, at 23:14, Eric Vyncke (evyncke) <evyncke@cisco.com> =
wrote:
>=20
> Michael
>=20
> The problem is indeed solvable.

I think the perception we arrived at when we did explore solving it was =
that the ifindex/ifname issue was too much in flux to commit to either.
YANG ietf-inet-types can simply ignore that problem because YANG is all =
textual anyway:

(%[\p{N}\p{L}]+)?

(N is numbers, L is letters, so 03=C3=85 and 17 and FARP and =
=F0=9D=94=88=F0=9D=94=97=E2=84=8C0 are all great zone identifiers =E2=80=94=
 you don=E2=80=99t even get to know whether 17 is an ifname or an =
ifindex).

> My own take would be not to use ifIndex (for the reasons you just =
explained) also it could be confusing with another encoding as both =
(length & ifindex) are uint...

That is more of a secondary concern then =E2=80=94 we=E2=80=99d first =
like to get the information model level data types right.

> As I wrote in my ballot, an alternative (not so nice though) would be =
to clearly state that the encoding is not applicable to LLA + scope

Tags are cheap enough.
52 and 54 are the CBOR =E2=80=9Cno-zone=E2=80=9D equivalents then, and =
we can always define tags for potentially zoned addresses once the =
ifindex/ifname issue converges.

(I do not have a *strong* opinion that this is the right decision, but I =
think the reasons we arrived where we are, do make sense.)

Gr=C3=BC=C3=9Fe, Carsten


>=20
> -=C3=A9ric
>=20
> =EF=BB=BFOn 05/10/2021, 20:55, "Michael Richardson" =
<mcr+ietf@sandelman.ca> wrote:
>=20
>=20
>    Captured as issue:
>       https://github.com/cbor-wg/cbor-network-address/issues/12
>=20
>    =C3=89ric Vyncke via Datatracker <noreply@ietf.org> wrote:
>> =3D=3D DISCUSS =3D=3D
>=20
>> Generic comment how are link-local address (LLA) with scope encoded ? =
I would
>> expect CBOR to work also on LLA only networks... At the bare minimum, =
please
>> state that link-local addresses cannot be encoded with their scope, =
hence, they
>> cannot represent an interface.
>=20
>> -- Section 3.1.3 --
>> How can 2 valid link-local addresses (fe80::1%eth0, fe80::1%eth1) can =
be
>> represented in order to identity two interfaces ?
>=20
>    There are three kinds of things encoded:
>          a) addresses.
>          b) prefixes
>          c) interface definitions
>=20
>    For (b) and (c), we could easily entertain (and did we discuss this =
in the
>    thread that was CC'ed to 6man?) adding a third element to the array =
to store
>    the interface ID.
>    For (a), I'm not sure what we can do to add the interface ID, but =
see below.
>=20
>    That's kinda the easy part.
>    The hard part is deciding how to encode the scope.
>    The simplest is as an integer, being the ifindex.
>=20
>    CBOR makes that easy and efficient, and many systems don't have =
more than 24
>    interfaces.  However, on systems where interfaces come/go a lot, =
the ifindex
>    often increments anyway.  Using the ifindex is probably clearer on =
most any
>    system than a string which can change, but it does change from one =
boot to
>    another.
>    While the ifindex is system specific and has no outside meaning, =
the purposes
>    where I imagine this being used would be in some system specific =
container.
>    (My use case, which drove me to do this, actually probably needed =
scope-id)
>=20
>    One way to do (a) could be to append to the IPv6 string.
>    Another way would be not to bother, to always use the interface =
definition
>    when a IPv6-LL is needed.  Whether the length is 0, 128, or the =
actual
>    interface prefix (probably 64) is something we could specify.
>=20
>    --
>    Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T =
consulting )
>               Sandelman Software Works Inc, Ottawa and Worldwide
>=20


From nobody Tue Oct  5 15:02:22 2021
Return-Path: <d3e3e3@gmail.com>
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 931D03A0A13; Tue,  5 Oct 2021 15:02:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.847
X-Spam-Level: 
X-Spam-Status: No, score=-1.847 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_ENVFROM_END_DIGIT=0.25, 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 5cQ6fI7rvjrh; Tue,  5 Oct 2021 15:02:09 -0700 (PDT)
Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (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 33FD83A0AAA; Tue,  5 Oct 2021 15:02:09 -0700 (PDT)
Received: by mail-il1-x12e.google.com with SMTP id l20so894914ilk.2; Tue, 05 Oct 2021 15:02:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e9DTQbK1pY7KJU5Pxy4PufgVxwL6ZNNiiHxA4hPO8pE=; b=gvMBftmybwOJLBcxTzNIOQ+Iv5pSrrvaC6yOFTxV3eHNAyISI0ip6vUGKQ+BprSBPk 7dRP8FRdOmmHJ7irbto4cfXkFpWOWmGFykaEe/zCQLil9sikwbZnmtbv4pUIzFBzxdjA FUK+M4SOgdgS0d2BkkT8xE5eZHi58eJTjxooz2pYjlotZ3YofOoFXcgQ0KTATEV474rt pSnj5eWC0WuM4z/uxNl9kxYaOWXpZ74PZw4cGjpAXVu3X6DfSkz+sVnLjDVp9gOmdK1m +M7LkqgBKAk8VGRJtS1FznDvhuG5loNFQ0Ox16waizE/iG/dldv3eEmGVBiyBo3NorB6 t0Fg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e9DTQbK1pY7KJU5Pxy4PufgVxwL6ZNNiiHxA4hPO8pE=; b=u7lswD4OgPBwsb6mkbzqe5K/8F91c8pevYmjyBQhUxcJ8a+D+kMQHzrqFQkXyIs64T /50w/qHgR6b1pr/r8p619Ch7JIQ1OWoRGztSMzByXo8ay9zJdgQdv9LONw+Syl1CtjpA dHYoXbdxXKrPPYOybp4BoiWL42hx2s3ZT7diBTG5VPtPQUt/fZFfcQHKZsx+xMtWz+zs RgW62pHkGELfMlVH8ZKFnbnN3AFnIEPEA+BLiSppx3kQTJ6TAbDpvVZ8YIDpbc79iTCz IoVFRb7s81xZQ+iIcfJgX7oxoeX77Su+TDL/NaXa7T5o6ZQ5gi+S+uUbHIBndAg+0IMV Yjhg==
X-Gm-Message-State: AOAM531XP3H8CXQnuoCkUAmlV59QLH5186pFwN9C3Hf9Mjq6CTE0rawp qQ3bp20YdCE7dVE5z/EmdxFc+1Bccs8+lzY7vk26w9qW9fY=
X-Google-Smtp-Source: ABdhPJzs0JVJbpHQkcBxViq1NU5ep28QzfQwj9uvpxQnF33QUj2qbX1NtXlENgg+UMeTxjpg7nPb2GDvAsBJyLJX1sQ=
X-Received: by 2002:a92:cdad:: with SMTP id g13mr4536605ild.103.1633471327333;  Tue, 05 Oct 2021 15:02:07 -0700 (PDT)
MIME-Version: 1.0
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <26566.1633453159@localhost>
In-Reply-To: <26566.1633453159@localhost>
From: Donald Eastlake <d3e3e3@gmail.com>
Date: Tue, 5 Oct 2021 18:01:56 -0400
Message-ID: <CAF4+nEEF3Rv=KoiS9DZZUVeXnLPdhT=1qa-CNwJR-CHtk9BhEg@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>, draft-ietf-cbor-network-addresses@ietf.org
Cc: cbor@ietf.org, The IESG <iesg@ietf.org>, Barry Leiba <barryleiba@computer.org>, cbor-chairs@ietf.org
Content-Type: multipart/alternative; boundary="00000000000037724305cda22e40"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/I49hlrHka1BUPAq8oCtO77xElvc>
Subject: Re: [Cbor] Deprecating tags and Ethernet address in draft-ietf-cbor-network-addresses-09: (with DISCUSS and COMMENT)
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, 05 Oct 2021 22:02:15 -0000

--00000000000037724305cda22e40
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi,

I am in the process of revising RFC 7042. See
https://datatracker.ietf.org/doc/draft-eastlake-rfc7042bis/

Perhaps rfc7042bis should specify a CBOR tag for MAC addresses. I'd be
happy to add that.

Thanks,
Donald
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
 Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
 2386 Panoramic Circle, Apopka, FL 32703 USA
 d3e3e3@gmail.com


On Tue, Oct 5, 2021 at 12:59 PM Michael Richardson <mcr+ietf@sandelman.ca>
wrote:

>
> {another area review, this one from Donald, which never made it to my
> inbox. This seems to happen on and off for me. I know it's a local issue.
> sigh}
>
> Opened as issue: https://github.com/cbor-wg/cbor-network-address/issues/9
>
> I guess that I'd like to thank the IESG, ADs and Donald Eastlake for
> confirming for me, why I didn't want to say ANYTHING about tags 260 and
> 261 :-)
>
> I think that there was a fourth comment which I've misplaced, maybe from
> Barry, about what if you did want to tag an ethernet address.
> I don't need to do that, if there is someone who does, maybe they could
> speak up?
> Tag 260 still works, but maybe you want another tag.
>
> First, since some previous review a week ago, the text now says
>
>   ## Tags 260 and 261
>
>   IANA is requested to add the note "DEPRECATED in favor of 52 and 54 for
> IP
>   addresses" to registrations 260 and 261
>
>
> ... the document does not deal with Ethernet Addresses.
>
>
>   According to this document, there currently exists a method for
>   encoding 48- and 64-bit MAC addresses using CBOR tag 260 but that
>   method will be deprecated. Shouldn't the draft preserve some
>   non-deprecated way of encoding MAC addresses?
> ** Section 8.3.  Recommend making the text clearer on what=E2=80=99s gett=
ing
> deprecated
>
> OLD
>    IANA is requested to add the note "DEPRECATED in favor of 52 and 54
>    for IP addresses" to registrations 260 and 261
>
> NEW
> IANA is requested to add the note "DEPRECATED for use with IP addresses i=
n
> favor of 52 and 54" to registrations 260 and 261
> In light of the genart reviewer's comment, I think we should say
> something like "this specification does not deal with Ethernet
> addresses, and tag 260 remains available for that usage" to clarify that
> we are not deprecating use of that tag for Ethernet addresses.
>
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consul=
ting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
>
>
>
>
>

--00000000000037724305cda22e40
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>I am in the process of revising RFC=
 7042. See</div><div><a href=3D"https://datatracker.ietf.org/doc/draft-east=
lake-rfc7042bis/">https://datatracker.ietf.org/doc/draft-eastlake-rfc7042bi=
s/</a></div><div><br></div><div>Perhaps rfc7042bis=C2=A0should specify a CB=
OR tag for MAC addresses. I&#39;d be happy to add that.</div><div><br clear=
=3D"all"><div><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"=
gmail_signature">Thanks,<br>Donald<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>=C2=A0Donald E=
. Eastlake 3rd =C2=A0 +1-508-333-2270 (cell)<br>=C2=A02386 Panoramic Circle=
, Apopka, FL 32703 USA<br>=C2=A0<a href=3D"mailto:d3e3e3@gmail.com" target=
=3D"_blank">d3e3e3@gmail.com</a></div></div><br></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Oct 5, 2021 =
at 12:59 PM Michael Richardson &lt;<a href=3D"mailto:mcr%2Bietf@sandelman.c=
a">mcr+ietf@sandelman.ca</a>&gt; wrote:<br></div><blockquote class=3D"gmail=
_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204=
,204);padding-left:1ex"><br>
{another area review, this one from Donald, which never made it to my<br>
inbox. This seems to happen on and off for me. I know it&#39;s a local issu=
e. sigh}<br>
<br>
Opened as issue: <a href=3D"https://github.com/cbor-wg/cbor-network-address=
/issues/9" rel=3D"noreferrer" target=3D"_blank">https://github.com/cbor-wg/=
cbor-network-address/issues/9</a><br>
<br>
I guess that I&#39;d like to thank the IESG, ADs and Donald Eastlake for<br=
>
confirming for me, why I didn&#39;t want to say ANYTHING about tags 260 and=
 261 :-)<br>
<br>
I think that there was a fourth comment which I&#39;ve misplaced, maybe fro=
m<br>
Barry, about what if you did want to tag an ethernet address.<br>
I don&#39;t need to do that, if there is someone who does, maybe they could=
 speak up?<br>
Tag 260 still works, but maybe you want another tag.<br>
<br>
First, since some previous review a week ago, the text now says<br>
<br>
=C2=A0 ## Tags 260 and 261<br>
<br>
=C2=A0 IANA is requested to add the note &quot;DEPRECATED in favor of 52 an=
d 54 for IP<br>
=C2=A0 addresses&quot; to registrations 260 and 261<br>
<br>
<br>
... the document does not deal with Ethernet Addresses.<br>
<br>
<br>
=C2=A0 According to this document, there currently exists a method for<br>
=C2=A0 encoding 48- and 64-bit MAC addresses using CBOR tag 260 but that<br=
>
=C2=A0 method will be deprecated. Shouldn&#39;t the draft preserve some<br>
=C2=A0 non-deprecated way of encoding MAC addresses?<br>
** Section 8.3.=C2=A0 Recommend making the text clearer on what=E2=80=99s g=
etting deprecated<br>
<br>
OLD<br>
=C2=A0 =C2=A0IANA is requested to add the note &quot;DEPRECATED in favor of=
 52 and 54<br>
=C2=A0 =C2=A0for IP addresses&quot; to registrations 260 and 261<br>
<br>
NEW<br>
IANA is requested to add the note &quot;DEPRECATED for use with IP addresse=
s in<br>
favor of 52 and 54&quot; to registrations 260 and 261<br>
In light of the genart reviewer&#39;s comment, I think we should say<br>
something like &quot;this specification does not deal with Ethernet<br>
addresses, and tag 260 remains available for that usage&quot; to clarify th=
at<br>
we are not deprecating use of that tag for Ethernet addresses.<br>
<br>
--<br>
Michael Richardson &lt;<a href=3D"mailto:mcr%2BIETF@sandelman.ca" target=3D=
"_blank">mcr+IETF@sandelman.ca</a>&gt;=C2=A0 =C2=A0. o O ( IPv6 I=C3=B8T co=
nsulting )<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Sandelman Software Works Inc, Otta=
wa and Worldwide<br>
<br>
<br>
<br>
<br>
</blockquote></div>

--00000000000037724305cda22e40--


From nobody Tue Oct  5 15:57:35 2021
Return-Path: <ek.ietf@gmail.com>
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 076F03A0C5A; Tue,  5 Oct 2021 15:57:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.097
X-Spam-Level: 
X-Spam-Status: No, score=-1.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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 yBbkVQxodyj7; Tue,  5 Oct 2021 15:57:29 -0700 (PDT)
Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) (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 D19583A0B0C; Tue,  5 Oct 2021 15:57:28 -0700 (PDT)
Received: by mail-oi1-x22e.google.com with SMTP id s24so1397459oij.8; Tue, 05 Oct 2021 15:57:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CKFwauVWB/U3Ua88nvxDleTfSFW2ak2tPnTdK0XOaGo=; b=qeajYH//Q2xRIqEfcSjYC8NnMXdKaO3w+Qk1IDfEPmC1ZtK8W4ZpJ3hvF0FcU91wXn 6WvqhUi9GdJboBjV+vLYvrcxjEejkTOegtM1HSoKrgJEb44F6Arfj8UjQ6cUGUjUVYJ3 wCT7atd90SKDNyGby2znyvb5WXnz7zrrNtRzz00LbHZuzE5Ge7s1GQGq1ij+047ZjT0g 1gzG0fw1M+26hSLyHk9fsPzRSrx6QWoLnYfDphQGsBbqF9xUcn6Jx/Ni6/URFy/v3Jjc kRMdeHgsMR96fvlPxZ8FWJtD/YpWS2jyLK/2e6bqO+/8TOG1binA3oyVw9BeYkZvw3GO cMyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CKFwauVWB/U3Ua88nvxDleTfSFW2ak2tPnTdK0XOaGo=; b=omsU2stYZqt/2MmjI/EFxEECKxMas7FBw1BamUXJ5WMIbG5+402vJBKv9ReWWkzmKt uay9/RlgB4S8RzmVPY4xqHjg3ml6VxiqezmRo3w+stpurnBe0QIfYpef3yIMdZf1xI36 F/wAbCMQtMvyTJkoe91HgXJH7z29wy3/hVMN79ct4fP373znfiQ01Wtv66Ua2irN6/hX gogMiEw0mBV1IDh0ynNmLmDEH7GX8MtgJ7Rhf7M+gSA8l1qb1iuem8jj9feu32Ym0/EG lgfbYCg3xjCl3PVqIRR+A9W/jSmF6kGvyDV5Vn2yEfilMfTcNid1I38wpeAufl+tGR8I unvw==
X-Gm-Message-State: AOAM5318OujXn+ekP4zMTp4UzngbIiAeXOjxr/f4ORbjVBDOBTx6SkQK ba8VSKYAfom0vGfwE4FbacDwNNQlz3ZIN98wplM=
X-Google-Smtp-Source: ABdhPJw0hd10z6ZHLpekqohAGH36mYGVwXds+71y//Kjhp+NczMy1X6qPcHeUAjyOv5X9XZo+zjtjl6EgcWMNMS/l8s=
X-Received: by 2002:a05:6808:1441:: with SMTP id x1mr4581489oiv.77.1633474647814;  Tue, 05 Oct 2021 15:57:27 -0700 (PDT)
MIME-Version: 1.0
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <26566.1633453159@localhost> <CAF4+nEEF3Rv=KoiS9DZZUVeXnLPdhT=1qa-CNwJR-CHtk9BhEg@mail.gmail.com>
In-Reply-To: <CAF4+nEEF3Rv=KoiS9DZZUVeXnLPdhT=1qa-CNwJR-CHtk9BhEg@mail.gmail.com>
From: Erik Kline <ek.ietf@gmail.com>
Date: Tue, 5 Oct 2021 15:57:17 -0700
Message-ID: <CAMGpriU2W8oagNocLz50p=qX2rE8tcb2OZ98UUfyZprdmrOdMw@mail.gmail.com>
To: Donald Eastlake <d3e3e3@gmail.com>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, draft-ietf-cbor-network-addresses@ietf.org,  cbor@ietf.org, Barry Leiba <barryleiba@computer.org>, The IESG <iesg@ietf.org>, cbor-chairs@ietf.org
Content-Type: multipart/alternative; boundary="00000000000021f3e605cda2f44c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/yWgSxitH-pxYtEkISYBc2hOH6hQ>
Subject: Re: [Cbor] Deprecating tags and Ethernet address in draft-ietf-cbor-network-addresses-09: (with DISCUSS and COMMENT)
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, 05 Oct 2021 22:57:33 -0000

--00000000000021f3e605cda2f44c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Will there be cleverness like reusing the RFC 7043 DNS RR values
<https://datatracker.ietf.org/doc/html/rfc7043#section-7> for the new
tags?  ;-)

On Tue, Oct 5, 2021 at 3:02 PM Donald Eastlake <d3e3e3@gmail.com> wrote:

> Hi,
>
> I am in the process of revising RFC 7042. See
> https://datatracker.ietf.org/doc/draft-eastlake-rfc7042bis/
>
> Perhaps rfc7042bis should specify a CBOR tag for MAC addresses. I'd be
> happy to add that.
>
> Thanks,
> Donald
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
>  Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
>  2386 Panoramic Circle, Apopka, FL 32703 USA
>  d3e3e3@gmail.com
>
>
> On Tue, Oct 5, 2021 at 12:59 PM Michael Richardson <mcr+ietf@sandelman.ca=
>
> wrote:
>
>>
>> {another area review, this one from Donald, which never made it to my
>> inbox. This seems to happen on and off for me. I know it's a local issue=
.
>> sigh}
>>
>> Opened as issue: https://github.com/cbor-wg/cbor-network-address/issues/=
9
>>
>> I guess that I'd like to thank the IESG, ADs and Donald Eastlake for
>> confirming for me, why I didn't want to say ANYTHING about tags 260 and
>> 261 :-)
>>
>> I think that there was a fourth comment which I've misplaced, maybe from
>> Barry, about what if you did want to tag an ethernet address.
>> I don't need to do that, if there is someone who does, maybe they could
>> speak up?
>> Tag 260 still works, but maybe you want another tag.
>>
>> First, since some previous review a week ago, the text now says
>>
>>   ## Tags 260 and 261
>>
>>   IANA is requested to add the note "DEPRECATED in favor of 52 and 54 fo=
r
>> IP
>>   addresses" to registrations 260 and 261
>>
>>
>> ... the document does not deal with Ethernet Addresses.
>>
>>
>>   According to this document, there currently exists a method for
>>   encoding 48- and 64-bit MAC addresses using CBOR tag 260 but that
>>   method will be deprecated. Shouldn't the draft preserve some
>>   non-deprecated way of encoding MAC addresses?
>> ** Section 8.3.  Recommend making the text clearer on what=E2=80=99s get=
ting
>> deprecated
>>
>> OLD
>>    IANA is requested to add the note "DEPRECATED in favor of 52 and 54
>>    for IP addresses" to registrations 260 and 261
>>
>> NEW
>> IANA is requested to add the note "DEPRECATED for use with IP addresses =
in
>> favor of 52 and 54" to registrations 260 and 261
>> In light of the genart reviewer's comment, I think we should say
>> something like "this specification does not deal with Ethernet
>> addresses, and tag 260 remains available for that usage" to clarify that
>> we are not deprecating use of that tag for Ethernet addresses.
>>
>> --
>> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consu=
lting
>> )
>>            Sandelman Software Works Inc, Ottawa and Worldwide
>>
>>
>>
>>
>>

--00000000000021f3e605cda2f44c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Will there be cleverness like reusing the RFC 7043 DNS <a =
href=3D"https://datatracker.ietf.org/doc/html/rfc7043#section-7">RR values<=
/a> for the new tags?=C2=A0 ;-)</div><br><div class=3D"gmail_quote"><div di=
r=3D"ltr" class=3D"gmail_attr">On Tue, Oct 5, 2021 at 3:02 PM Donald Eastla=
ke &lt;<a href=3D"mailto:d3e3e3@gmail.com">d3e3e3@gmail.com</a>&gt; wrote:<=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"=
>Hi,<div><br></div><div>I am in the process of revising RFC 7042. See</div>=
<div><a href=3D"https://datatracker.ietf.org/doc/draft-eastlake-rfc7042bis/=
" target=3D"_blank">https://datatracker.ietf.org/doc/draft-eastlake-rfc7042=
bis/</a></div><div><br></div><div>Perhaps rfc7042bis=C2=A0should specify a =
CBOR tag for MAC addresses. I&#39;d be happy to add that.</div><div><br cle=
ar=3D"all"><div><div dir=3D"ltr">Thanks,<br>Donald<br>=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br=
>=C2=A0Donald E. Eastlake 3rd =C2=A0 +1-508-333-2270 (cell)<br>=C2=A02386 P=
anoramic Circle, Apopka, FL 32703 USA<br>=C2=A0<a href=3D"mailto:d3e3e3@gma=
il.com" target=3D"_blank">d3e3e3@gmail.com</a></div></div><br></div></div><=
br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue,=
 Oct 5, 2021 at 12:59 PM Michael Richardson &lt;<a href=3D"mailto:mcr%2Biet=
f@sandelman.ca" target=3D"_blank">mcr+ietf@sandelman.ca</a>&gt; wrote:<br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
{another area review, this one from Donald, which never made it to my<br>
inbox. This seems to happen on and off for me. I know it&#39;s a local issu=
e. sigh}<br>
<br>
Opened as issue: <a href=3D"https://github.com/cbor-wg/cbor-network-address=
/issues/9" rel=3D"noreferrer" target=3D"_blank">https://github.com/cbor-wg/=
cbor-network-address/issues/9</a><br>
<br>
I guess that I&#39;d like to thank the IESG, ADs and Donald Eastlake for<br=
>
confirming for me, why I didn&#39;t want to say ANYTHING about tags 260 and=
 261 :-)<br>
<br>
I think that there was a fourth comment which I&#39;ve misplaced, maybe fro=
m<br>
Barry, about what if you did want to tag an ethernet address.<br>
I don&#39;t need to do that, if there is someone who does, maybe they could=
 speak up?<br>
Tag 260 still works, but maybe you want another tag.<br>
<br>
First, since some previous review a week ago, the text now says<br>
<br>
=C2=A0 ## Tags 260 and 261<br>
<br>
=C2=A0 IANA is requested to add the note &quot;DEPRECATED in favor of 52 an=
d 54 for IP<br>
=C2=A0 addresses&quot; to registrations 260 and 261<br>
<br>
<br>
... the document does not deal with Ethernet Addresses.<br>
<br>
<br>
=C2=A0 According to this document, there currently exists a method for<br>
=C2=A0 encoding 48- and 64-bit MAC addresses using CBOR tag 260 but that<br=
>
=C2=A0 method will be deprecated. Shouldn&#39;t the draft preserve some<br>
=C2=A0 non-deprecated way of encoding MAC addresses?<br>
** Section 8.3.=C2=A0 Recommend making the text clearer on what=E2=80=99s g=
etting deprecated<br>
<br>
OLD<br>
=C2=A0 =C2=A0IANA is requested to add the note &quot;DEPRECATED in favor of=
 52 and 54<br>
=C2=A0 =C2=A0for IP addresses&quot; to registrations 260 and 261<br>
<br>
NEW<br>
IANA is requested to add the note &quot;DEPRECATED for use with IP addresse=
s in<br>
favor of 52 and 54&quot; to registrations 260 and 261<br>
In light of the genart reviewer&#39;s comment, I think we should say<br>
something like &quot;this specification does not deal with Ethernet<br>
addresses, and tag 260 remains available for that usage&quot; to clarify th=
at<br>
we are not deprecating use of that tag for Ethernet addresses.<br>
<br>
--<br>
Michael Richardson &lt;<a href=3D"mailto:mcr%2BIETF@sandelman.ca" target=3D=
"_blank">mcr+IETF@sandelman.ca</a>&gt;=C2=A0 =C2=A0. o O ( IPv6 I=C3=B8T co=
nsulting )<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Sandelman Software Works Inc, Otta=
wa and Worldwide<br>
<br>
<br>
<br>
<br>
</blockquote></div>
</blockquote></div>

--00000000000021f3e605cda2f44c--


From nobody Tue Oct  5 17:00:32 2021
Return-Path: <ek.ietf@gmail.com>
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 65B593A0D99; Tue,  5 Oct 2021 16:59:57 -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 s3ygGlsXAw6z; Tue,  5 Oct 2021 16:59:52 -0700 (PDT)
Received: from mail-oo1-xc2b.google.com (mail-oo1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) (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 C43363A0D27; Tue,  5 Oct 2021 16:59:52 -0700 (PDT)
Received: by mail-oo1-xc2b.google.com with SMTP id a17-20020a4a6851000000b002b59bfbf669so307274oof.9;  Tue, 05 Oct 2021 16:59:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2Umw5ArVVHosvoxXv3sLOFdZgtmfv4bKMPgSrMuH9lc=; b=S749vQwflhxNF/2BLIxTJwWKHUXDAR9aRCoHKHz64w4kFgMYkjCunhxTEwStDczQ2d tlJB19GkECzad3EJfFmy3YX2MjORUiiOe8FQb1+licgv+fc8nDTpJ5T32Y3Udh9b8E3d gXAfRChCmkGJW0ly78lPf1WlyIwEt6IgIlgMGw38ML1tnA8rbpHfqYoIVIPkJBE1iEg3 0N9egN5+jJam0tZFqCrvWxyoHvi7sUTnD1sdLi48TH73J8UvkI9jEkapqX2yC30DXvEj ZNjAYpDueTrZVPIinTYZpZMnrkCzU3lUVt362thhDhnTCwViMFbFmVCwEmsM9BFiScve Ln1w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2Umw5ArVVHosvoxXv3sLOFdZgtmfv4bKMPgSrMuH9lc=; b=gPxpQTNOUV9mDYKWHSOpXHEJuro3WLZrqONMkEuKde9jRLO56bVLdGPpmqwUix8DQv ttxuKXc6R3b6kcDqjnVwDKnIp6WvmSZitqt1a8AEXzab33mAtnuYmLAGfMaWxj364jUQ ZIqVUkR9MJKbMBM4nGpRCqw2kWbCmKPM8QyRgqhufZIKrBN6A30y9n+o31r/8lUpgDrK kg1Hh1qeKoKuJgc60LeOTQQ82+ZZJwyrCHm5/KMQHI4469UzaC2BYzgjLi9x9piwxLDa ROmA/gJrzFH1VL0QU/JEjCGXh7fA//hIO/mc8iniEmzhkPPlCq5Pgz8fdRgtKH1BWS84 eZ2Q==
X-Gm-Message-State: AOAM531BXpP3qxA9t/d7f6mSS1ENYU0K7UqavyHBAmJRZuECsVgA90b0 3FcjOaDHjeX2/TXL9z+RbLpw8XxrFkuDV9/Rz/0=
X-Google-Smtp-Source: ABdhPJxHVK0Vmdb3h4NGegfuG9iFs+1lxBymO3xbGl0eMAOEibtV5fURjjRkT7T4qW2VO1tEGWdNp90qeaLZcvR7x1I=
X-Received: by 2002:a4a:bb98:: with SMTP id h24mr15704711oop.23.1633478391871;  Tue, 05 Oct 2021 16:59:51 -0700 (PDT)
MIME-Version: 1.0
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost>
In-Reply-To: <24367.1633460118@localhost>
From: Erik Kline <ek.ietf@gmail.com>
Date: Tue, 5 Oct 2021 16:59:41 -0700
Message-ID: <CAMGpriVXXhXuYvPx0k4zXyP9T76d+n_UO8qTZ+fwPGUSBTuv2Q@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: =?UTF-8?B?w4lyaWMgVnluY2tl?= <evyncke@cisco.com>, cbor@ietf.org,  draft-ietf-cbor-network-addresses@ietf.org, The IESG <iesg@ietf.org>,  Donald Eastlake <d3e3e3@gmail.com>, Barry Leiba <barryleiba@computer.org>, cbor-chairs@ietf.org
Content-Type: multipart/alternative; boundary="0000000000004bbac005cda3d346"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/nuFfznmtgKig054JQnItjBjasPs>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A__=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-ad?= =?utf-8?q?dresses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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, 05 Oct 2021 23:59:58 -0000

--0000000000004bbac005cda3d346
Content-Type: text/plain; charset="UTF-8"

>
>
> For (b) and (c), we could easily entertain (and did we discuss this in the
> thread that was CC'ed to 6man?)
>

Mostly for Eric's benefit:

https://mailarchive.ietf.org/arch/msg/ipv6/qp_7ODeUY9SrT9cqFyYL6kybCsw/  is
where I remember having left off

(and the mailarchive shows the thread path of progression)

--0000000000004bbac005cda3d346
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex"><br>For (b) and (c), we could easily entertain (and did =
we discuss this in the<br>
thread that was CC&#39;ed to 6man?)<br></blockquote><div><br></div><div>Mos=
tly for Eric&#39;s benefit:</div><div><br></div><div><a href=3D"https://mai=
larchive.ietf.org/arch/msg/ipv6/qp_7ODeUY9SrT9cqFyYL6kybCsw/">https://maila=
rchive.ietf.org/arch/msg/ipv6/qp_7ODeUY9SrT9cqFyYL6kybCsw/</a>=C2=A0 is whe=
re I remember having left off<br></div><div><br></div><div>(and the mailarc=
hive=C2=A0shows the thread path of progression)</div></div></div>

--0000000000004bbac005cda3d346--


From nobody Tue Oct  5 17:45:30 2021
Return-Path: <brian.e.carpenter@gmail.com>
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 243A23A0DE2; Tue,  5 Oct 2021 17:44:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, NICE_REPLY_A=-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 Feg4QuOLeHZj; Tue,  5 Oct 2021 17:44:53 -0700 (PDT)
Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (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 EF3D43A0D61; Tue,  5 Oct 2021 17:44:52 -0700 (PDT)
Received: by mail-pj1-x1035.google.com with SMTP id ls14-20020a17090b350e00b001a00e2251c8so972243pjb.4;  Tue, 05 Oct 2021 17:44:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=VC7wFuSil9SB/8zsEk15+wrb+bBzU3YC7WmcfyoSymI=; b=ZhgHbm1Ejj11bo0WlN9IkGXcjQBigitGhtAxeA+rmmvQrmqM5BAW9K1bzAkk5W3dEQ 87F6um6xDKrQtLZNlisXf9W8CPbGIuAGmitnZ8s6+NYoXBeo6nV1bsTbHc0UQ0eqHasQ FCfbf//Bk5scOvmV76TFogdU1xzK+ysWpHvLy0OivZMubIGfCg7k525hwIgW6e6Oc1B8 eBdkiUZCvPeGJe3wcze1M22jNPYJ3np4mpF+IMxnV+pLBpdDoeeqQKWbqbe/I7JZ6LwN YKvrQpI/oK6t+vbqL/xozExOO0FVUu7kGM6vgLZBzxolGJeV2xW9KOQWHSqw2veN6AgU XzGQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=VC7wFuSil9SB/8zsEk15+wrb+bBzU3YC7WmcfyoSymI=; b=QdipsaysbJk2/ah0gqVDTVyjLUvpmWH0M5nw4FE1bzaEpwMZW3LPVAhmFiSvO/UOuA rX+buVVfFfxUA1SLDf6hyFuHPgtwzZPuO7mLtRMQ+Evi2j9BFnb579m/SjizRGjeV/xy Le7A2VIWFIV9FA8NRlEjHx7HvYeGyyQ1Asl7RQBAQ5GGMN2OBBQCjzbc8K1zfGZYQixm giWaT1Ir715ZPdqvqF2mo1vDPyotdym/7gk7hcnq2SMPjTlqI7s7FgO8oMRcHycUeA1t Jm2O0adXPhCHS3R1BpBAyUYWIXoMUpqZUaR9Eh4MYRx8sOEBoRpyZqkdTUeKB51qPLm4 JCnA==
X-Gm-Message-State: AOAM530cK0g4+GtGK5xQvi+hpRAM8qFRJ1WfLSJ7ZINdm8y/5/6OYH9D x1M8+TcjdXiGba3gjCGgt8ZRigrGLVrPEQ==
X-Google-Smtp-Source: ABdhPJwVQkhElhznGwccAXfuUwbCvRbo5RXXb3N68xwY600EPshaff2J5XphgTwMZX5I0aQTOkDA8w==
X-Received: by 2002:a17:90a:b795:: with SMTP id m21mr7284568pjr.143.1633481092063;  Tue, 05 Oct 2021 17:44:52 -0700 (PDT)
Received: from ?IPv6:2406:e003:11aa:d701:80b2:5c79:2266:e431? ([2406:e003:11aa:d701:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id 1sm9085020pfm.163.2021.10.05.17.44.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Oct 2021 17:44:51 -0700 (PDT)
To: Michael Richardson <mcr+ietf@sandelman.ca>, =?UTF-8?Q?=c3=89ric_Vyncke?= <evyncke@cisco.com>
Cc: cbor@ietf.org, draft-ietf-cbor-network-addresses@ietf.org, The IESG <iesg@ietf.org>, d3e3e3@gmail.com, barryleiba@computer.org, cbor-chairs@ietf.org
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com>
Date: Wed, 6 Oct 2021 13:44:45 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <24367.1633460118@localhost>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/JwYRt-xDUmziHvTqWBpHTBpNAQg>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Wed, 06 Oct 2021 00:44:57 -0000

On 06-Oct-21 07:55, Michael Richardson wrote:
>=20
> Captured as issue:
>    https://github.com/cbor-wg/cbor-network-address/issues/12
>=20
> =C3=89ric Vyncke via Datatracker <noreply@ietf.org> wrote:
>     > =3D=3D DISCUSS =3D=3D
>=20
>     > Generic comment how are link-local address (LLA) with scope encod=
ed ? I would
>     > expect CBOR to work also on LLA only networks... At the bare mini=
mum, please
>     > state that link-local addresses cannot be encoded with their scop=
e, hence, they
>     > cannot represent an interface.
>=20
>     > -- Section 3.1.3 --
>     > How can 2 valid link-local addresses (fe80::1%eth0, fe80::1%eth1)=20
can be
>     > represented in order to identity two interfaces ?
>=20
> There are three kinds of things encoded:
>       a) addresses.
>       b) prefixes
>       c) interface definitions
>=20
> For (b) and (c), we could easily entertain (and did we discuss this in =
the
> thread that was CC'ed to 6man?) adding a third element to the array to =
store
> the interface ID.
> For (a), I'm not sure what we can do to add the interface ID, but see b=
elow.
>=20
> That's kinda the easy part.
> The hard part is deciding how to encode the scope.
> The simplest is as an integer, being the ifindex.
>=20
> CBOR makes that easy and efficient, and many systems don't have more th=
an 24
> interfaces.  However, on systems where interfaces come/go a lot, the if=
index
> often increments anyway.  Using the ifindex is probably clearer on most=20
any
> system than a string which can change, but it does change from one boot=20
to
> another.

Correct, but the name can also change (I forget the magic command on Linu=
x,
but it exists). In socket calls such as connect() you need the interface
index, and the conversion from interface id to interface index is a bit
system-dependent but typically involves getaddrinfo(). The only safe
assumption is that they're both dynamic, but which you need depends on
the exact use case.

I suggest that we should be able to support both formats. Since CBOR is t=
yped,
that's easy enough.

    Brian

> While the ifindex is system specific and has no outside meaning, the pu=
rposes
> where I imagine this being used would be in some system specific contai=
ner.
> (My use case, which drove me to do this, actually probably needed scope=
-id)
>=20
> One way to do (a) could be to append to the IPv6 string.
> Another way would be not to bother, to always use the interface definit=
ion
> when a IPv6-LL is needed.  Whether the length is 0, 128, or the actual
> interface prefix (probably 64) is something we could specify.
>=20
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T cons=
ulting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
>=20
>=20
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor
>=20


From nobody Tue Oct  5 18:27:10 2021
Return-Path: <d3e3e3@gmail.com>
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 EB0D33A0F22; Tue,  5 Oct 2021 18:27:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.847
X-Spam-Level: 
X-Spam-Status: No, score=-1.847 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_ENVFROM_END_DIGIT=0.25, 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 IYZPYPCakaaN; Tue,  5 Oct 2021 18:27:01 -0700 (PDT)
Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (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 988AA3A0F16; Tue,  5 Oct 2021 18:27:01 -0700 (PDT)
Received: by mail-il1-x12b.google.com with SMTP id w10so1174133ilc.13; Tue, 05 Oct 2021 18:27:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/6QHU/ut5/D5KzRBJffmB91re//WXd8LfKD0yFCmwU8=; b=NYet/uGm9pO6+P3ews0vzL/FVzLwFhsVavbsNPENYNUzyIHady9WYLzeaDwU0gj94p ndWNF9L2xJVqqsQzh9zV2/zO9uFEkdI2Ye9D37VonKPzFVHeTP14yRJNehbeCdzxgU2x UeK70hBZB3tkJCHknuDZJh0soDfNyiUvno7pyXTfrvXnyENIIm0p8KwKQP01rG+YOo9K 4I8o92ay9ki7NwJgvTQDrco1vedS8l0/YnDnAlj3ltB1h4aZG3PUq9M9tV2BzRQgN1xC bUZyGBJrty79RvTKurgMFxRNlEdV3O/WMezclArCRnnMcUtqBnqUuVPvObECkiyj8Vbw QARA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/6QHU/ut5/D5KzRBJffmB91re//WXd8LfKD0yFCmwU8=; b=RbBZiXQFMmw/WjrdoT4QkayLU+3Y3JSAyEzZPVwyigJ1MQhqLQqvkgfSHQaZfvU3a4 62dNKBXy3ASgGIlp9yYFnoBTqgJHvqRSHulfhMcNulU/mrIR4KAPF3cb+mC48ODKQrNu +dX9bX/FTVu4IZMZlvW7yIrhmLtw5pzsuLteiIMf6k6YZEtyIfiheTfgPXfuTlJVrqmN WUCsaT5GAq5E2GmwhYu+3ouXUhyMy98L5R9V73QEmz88kj0pYZWGxzWrNedsJsXfoSY6 yYfMIbatSqdN+qiREuLdJAQK/+NmKnmCsEF+nBXuFQMXzx2eAnt2xSXYuytUyU5cdniA FJEQ==
X-Gm-Message-State: AOAM532QfU0aOwR/C/79/jtgb/SKdO3zfh7dG7aVn3kGdcqJzezmqVC0 xz08/Q0Tjy1kXvR6jP4D9PeVb+Kt16LL6Fr4+XQ=
X-Google-Smtp-Source: ABdhPJy8Vg2TPYKUYVAZVVGUCcxzK/dPZl5Uptfzkpmz4E9k+h7qAYcy8eAOcCPfscX2aXxZngWHjUJKoH99hkUMIqE=
X-Received: by 2002:a05:6e02:2142:: with SMTP id d2mr2031106ilv.106.1633483620625;  Tue, 05 Oct 2021 18:27:00 -0700 (PDT)
MIME-Version: 1.0
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <26566.1633453159@localhost> <CAF4+nEEF3Rv=KoiS9DZZUVeXnLPdhT=1qa-CNwJR-CHtk9BhEg@mail.gmail.com> <CAMGpriU2W8oagNocLz50p=qX2rE8tcb2OZ98UUfyZprdmrOdMw@mail.gmail.com>
In-Reply-To: <CAMGpriU2W8oagNocLz50p=qX2rE8tcb2OZ98UUfyZprdmrOdMw@mail.gmail.com>
From: Donald Eastlake <d3e3e3@gmail.com>
Date: Tue, 5 Oct 2021 21:26:49 -0400
Message-ID: <CAF4+nEGVX2kiBjMXgWbOgW=DP81W5hOXJ96U8TLzS_8GBPghtw@mail.gmail.com>
To: Erik Kline <ek.ietf@gmail.com>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, draft-ietf-cbor-network-addresses@ietf.org,  cbor@ietf.org, Barry Leiba <barryleiba@computer.org>, The IESG <iesg@ietf.org>, cbor-chairs@ietf.org
Content-Type: multipart/alternative; boundary="000000000000f42fff05cda50adb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/rz2Irhu956pVuzCqkTzfhhhEelU>
Subject: Re: [Cbor] Deprecating tags and Ethernet address in draft-ietf-cbor-network-addresses-09: (with DISCUSS and COMMENT)
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: Wed, 06 Oct 2021 01:27:07 -0000

--000000000000f42fff05cda50adb
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi,

On Tue, Oct 5, 2021 at 6:57 PM Erik Kline <ek.ietf@gmail.com> wrote:

> Will there be cleverness like reusing the RFC 7043 DNS RR values
> <https://datatracker.ietf.org/doc/html/rfc7043#section-7> for the new
> tags?  ;-)
>

<de> Well, that certainly could be done, but I don't think it is the right
thing. With RRs, it is good to have a narrow type of value (RRDATA). Almost
certainly, someone retrieving from the DNS is going to want a 48 bit or,
less commonly, a 64 bit MAC address (Infiniband, IEEE 801.15.4 (ZigBee),
and IEEE 1394 (FireWire) use 64-bit MAC addresses). If both were returned
in response to a DNS query, it would probably require a little more
complexity in the client. On the other hand, I don't think that applies so
much to someone parsing CBOR. Also, while there is no current use of other
length MAC addresses, some years ago there was a movement towards 128 bit
MAC addresses although that seems to have been abandoned. Anyway, I think a
single MAC address tag with variable length byte string value would be best=
.

<de> Perhaps there should also be a second tag to identify 24-bit OUI/CID
values.

Thanks,
Donald
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
 Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
 2386 Panoramic Circle, Apopka, FL 32703 USA
 d3e3e3@gmail.com

On Tue, Oct 5, 2021 at 3:02 PM Donald Eastlake <d3e3e3@gmail.com> wrote:
>
>> Hi,
>>
>> I am in the process of revising RFC 7042. See
>> https://datatracker.ietf.org/doc/draft-eastlake-rfc7042bis/
>>
>> Perhaps rfc7042bis should specify a CBOR tag for MAC addresses. I'd be
>> happy to add that.
>>
>> Thanks,
>> Donald
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
>>  Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
>>  2386 Panoramic Circle, Apopka, FL 32703 USA
>>  d3e3e3@gmail.com
>>
>>
>> On Tue, Oct 5, 2021 at 12:59 PM Michael Richardson <mcr+ietf@sandelman.c=
a>
>> wrote:
>>
>>>
>>> {another area review, this one from Donald, which never made it to my
>>> inbox. This seems to happen on and off for me. I know it's a local
>>> issue. sigh}
>>>
>>> Opened as issue:
>>> https://github.com/cbor-wg/cbor-network-address/issues/9
>>>
>>> I guess that I'd like to thank the IESG, ADs and Donald Eastlake for
>>> confirming for me, why I didn't want to say ANYTHING about tags 260 and
>>> 261 :-)
>>>
>>> I think that there was a fourth comment which I've misplaced, maybe fro=
m
>>> Barry, about what if you did want to tag an ethernet address.
>>> I don't need to do that, if there is someone who does, maybe they could
>>> speak up?
>>> Tag 260 still works, but maybe you want another tag.
>>>
>>> First, since some previous review a week ago, the text now says
>>>
>>>   ## Tags 260 and 261
>>>
>>>   IANA is requested to add the note "DEPRECATED in favor of 52 and 54
>>> for IP
>>>   addresses" to registrations 260 and 261
>>>
>>>
>>> ... the document does not deal with Ethernet Addresses.
>>>
>>>
>>>   According to this document, there currently exists a method for
>>>   encoding 48- and 64-bit MAC addresses using CBOR tag 260 but that
>>>   method will be deprecated. Shouldn't the draft preserve some
>>>   non-deprecated way of encoding MAC addresses?
>>> ** Section 8.3.  Recommend making the text clearer on what=E2=80=99s ge=
tting
>>> deprecated
>>>
>>> OLD
>>>    IANA is requested to add the note "DEPRECATED in favor of 52 and 54
>>>    for IP addresses" to registrations 260 and 261
>>>
>>> NEW
>>> IANA is requested to add the note "DEPRECATED for use with IP addresses
>>> in
>>> favor of 52 and 54" to registrations 260 and 261
>>> In light of the genart reviewer's comment, I think we should say
>>> something like "this specification does not deal with Ethernet
>>> addresses, and tag 260 remains available for that usage" to clarify tha=
t
>>> we are not deprecating use of that tag for Ethernet addresses.
>>>
>>> --
>>> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T
>>> consulting )
>>>            Sandelman Software Works Inc, Ottawa and Worldwide
>>>
>>>
>>>
>>>
>>>

--000000000000f42fff05cda50adb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">Hi,</div><br><div class=3D"gmail_quote"><=
div dir=3D"ltr" class=3D"gmail_attr">On Tue, Oct 5, 2021 at 6:57 PM Erik Kl=
ine &lt;<a href=3D"mailto:ek.ietf@gmail.com" target=3D"_blank">ek.ietf@gmai=
l.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:=
1ex"><div dir=3D"ltr">Will there be cleverness like reusing the RFC 7043 DN=
S <a href=3D"https://datatracker.ietf.org/doc/html/rfc7043#section-7" targe=
t=3D"_blank">RR values</a> for the new tags?=C2=A0 ;-)</div></blockquote><d=
iv><br></div><div>&lt;de&gt; Well, that certainly could be done, but I don&=
#39;t think it is the right thing. With RRs, it is good to have a narrow ty=
pe of value (RRDATA). Almost certainly, someone retrieving from the DNS is =
going to want a 48 bit or, less commonly, a 64 bit MAC address (Infiniband,=
 IEEE 801.15.4 (ZigBee), and IEEE 1394 (FireWire) use 64-bit MAC addresses)=
. If both were returned in response to a DNS query, it would probably requi=
re a little more complexity in the client. On the other hand, I don&#39;t t=
hink that applies so much to someone parsing CBOR. Also, while there is no =
current use of other length MAC addresses, some years ago there was a movem=
ent towards 128 bit MAC addresses although that seems to have been abandone=
d. Anyway, I think a single MAC address tag with variable length byte strin=
g value would be best.</div><div><br></div><div>&lt;de&gt; Perhaps there sh=
ould also be a second tag to identify 24-bit OUI/CID values.</div><div><br>=
</div><div>Thanks,<br>Donald<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>=C2=A0Donald E. East=
lake 3rd =C2=A0 +1-508-333-2270 (cell)<br>=C2=A02386 Panoramic Circle, Apop=
ka, FL 32703 USA<br>=C2=A0<a href=3D"mailto:d3e3e3@gmail.com" target=3D"_bl=
ank">d3e3e3@gmail.com</a><br></div><div><br></div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20=
4,204);padding-left:1ex"><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">On Tue, Oct 5, 2021 at 3:02 PM Donald Eastlake &lt;<a href=
=3D"mailto:d3e3e3@gmail.com" target=3D"_blank">d3e3e3@gmail.com</a>&gt; wro=
te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"=
ltr">Hi,<div><br></div><div>I am in the process of revising RFC 7042. See</=
div><div><a href=3D"https://datatracker.ietf.org/doc/draft-eastlake-rfc7042=
bis/" target=3D"_blank">https://datatracker.ietf.org/doc/draft-eastlake-rfc=
7042bis/</a></div><div><br></div><div>Perhaps rfc7042bis=C2=A0should specif=
y a CBOR tag for MAC addresses. I&#39;d be happy to add that.</div><div><br=
 clear=3D"all"><div><div dir=3D"ltr">Thanks,<br>Donald<br>=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D<br>=C2=A0Donald E. Eastlake 3rd =C2=A0 +1-508-333-2270 (cell)<br>=C2=A0=
2386 Panoramic Circle, Apopka, FL 32703 USA<br>=C2=A0<a href=3D"mailto:d3e3=
e3@gmail.com" target=3D"_blank">d3e3e3@gmail.com</a></div></div><br></div><=
/div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">O=
n Tue, Oct 5, 2021 at 12:59 PM Michael Richardson &lt;<a href=3D"mailto:mcr=
%2Bietf@sandelman.ca" target=3D"_blank">mcr+ietf@sandelman.ca</a>&gt; wrote=
:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.=
8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
{another area review, this one from Donald, which never made it to my<br>
inbox. This seems to happen on and off for me. I know it&#39;s a local issu=
e. sigh}<br>
<br>
Opened as issue: <a href=3D"https://github.com/cbor-wg/cbor-network-address=
/issues/9" rel=3D"noreferrer" target=3D"_blank">https://github.com/cbor-wg/=
cbor-network-address/issues/9</a><br>
<br>
I guess that I&#39;d like to thank the IESG, ADs and Donald Eastlake for<br=
>
confirming for me, why I didn&#39;t want to say ANYTHING about tags 260 and=
 261 :-)<br>
<br>
I think that there was a fourth comment which I&#39;ve misplaced, maybe fro=
m<br>
Barry, about what if you did want to tag an ethernet address.<br>
I don&#39;t need to do that, if there is someone who does, maybe they could=
 speak up?<br>
Tag 260 still works, but maybe you want another tag.<br>
<br>
First, since some previous review a week ago, the text now says<br>
<br>
=C2=A0 ## Tags 260 and 261<br>
<br>
=C2=A0 IANA is requested to add the note &quot;DEPRECATED in favor of 52 an=
d 54 for IP<br>
=C2=A0 addresses&quot; to registrations 260 and 261<br>
<br>
<br>
... the document does not deal with Ethernet Addresses.<br>
<br>
<br>
=C2=A0 According to this document, there currently exists a method for<br>
=C2=A0 encoding 48- and 64-bit MAC addresses using CBOR tag 260 but that<br=
>
=C2=A0 method will be deprecated. Shouldn&#39;t the draft preserve some<br>
=C2=A0 non-deprecated way of encoding MAC addresses?<br>
** Section 8.3.=C2=A0 Recommend making the text clearer on what=E2=80=99s g=
etting deprecated<br>
<br>
OLD<br>
=C2=A0 =C2=A0IANA is requested to add the note &quot;DEPRECATED in favor of=
 52 and 54<br>
=C2=A0 =C2=A0for IP addresses&quot; to registrations 260 and 261<br>
<br>
NEW<br>
IANA is requested to add the note &quot;DEPRECATED for use with IP addresse=
s in<br>
favor of 52 and 54&quot; to registrations 260 and 261<br>
In light of the genart reviewer&#39;s comment, I think we should say<br>
something like &quot;this specification does not deal with Ethernet<br>
addresses, and tag 260 remains available for that usage&quot; to clarify th=
at<br>
we are not deprecating use of that tag for Ethernet addresses.<br>
<br>
--<br>
Michael Richardson &lt;<a href=3D"mailto:mcr%2BIETF@sandelman.ca" target=3D=
"_blank">mcr+IETF@sandelman.ca</a>&gt;=C2=A0 =C2=A0. o O ( IPv6 I=C3=B8T co=
nsulting )<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Sandelman Software Works Inc, Otta=
wa and Worldwide<br>
<br>
<br>
<br>
<br>
</blockquote></div>
</blockquote></div>
</blockquote></div></div>

--000000000000f42fff05cda50adb--


From nobody Wed Oct  6 05:20:48 2021
Return-Path: <cabo@tzi.org>
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 10F6E3A00C1 for <cbor@ietfa.amsl.com>; Wed,  6 Oct 2021 05:20:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 af8krGsDoqWI for <cbor@ietfa.amsl.com>; Wed,  6 Oct 2021 05:20:41 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9B0A73A00AD for <cbor@ietf.org>; Wed,  6 Oct 2021 05:20:40 -0700 (PDT)
Received: from [192.168.217.118] (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HPYSj6qzNz2xhj; Wed,  6 Oct 2021 14:20:37 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CALaySJJLdvcETtFVX337CU-YQuah0VNV6kpJW351-NeCvn92rA@mail.gmail.com>
Date: Wed, 6 Oct 2021 14:20:37 +0200
X-Mao-Original-Outgoing-Id: 655215637.3635041-f1b5c9174249792a9fc7fa0d8db4c58f
Content-Transfer-Encoding: quoted-printable
Message-Id: <CA86044C-4D0E-4726-9F7C-15EAD833C823@tzi.org>
References: <CALaySJL9nydwQMgEfcKVW=_T6bhDxn875Pr4EfEc5kN5anuuuw@mail.gmail.com> <CALaySJJLdvcETtFVX337CU-YQuah0VNV6kpJW351-NeCvn92rA@mail.gmail.com>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/7AYvu5BzxawK9busDae9-gdHmuU>
Subject: Re: [Cbor] Reminder: bi-weekly CBOR conference call on 6 October
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: Wed, 06 Oct 2021 12:20:46 -0000

As discussed, I did a quick

https://www.ietf.org/archive/id/draft-bormann-cbor-edn-literals-00.html

I don=E2=80=99t have any big discussion points, but items like info/std =
and the specific IANA policy need to be filled in.

Would be great if you have time for a first glance so we can have a =
quick chat today whether this is the right general direction to go.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Wed Oct  6 07:25:35 2021
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 8E76D3A1C90; Wed,  6 Oct 2021 07:25:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 HJV88Et8eySl; Wed,  6 Oct 2021 07:25:27 -0700 (PDT)
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 446EF3A1C95; Wed,  6 Oct 2021 07:25:26 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id BA9F5182DC; Wed,  6 Oct 2021 10:33:32 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id c5dW0Jw2KXSv; Wed,  6 Oct 2021 10:33:27 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 5892718068; Wed,  6 Oct 2021 10:33:27 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 286AC614; Wed,  6 Oct 2021 10:25:18 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Donald Eastlake <d3e3e3@gmail.com>
cc: draft-ietf-cbor-network-addresses@ietf.org, cbor@ietf.org, The IESG <iesg@ietf.org>, Barry Leiba <barryleiba@computer.org>, cbor-chairs@ietf.org
In-Reply-To: <CAF4+nEEF3Rv=KoiS9DZZUVeXnLPdhT=1qa-CNwJR-CHtk9BhEg@mail.gmail.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <26566.1633453159@localhost> <CAF4+nEEF3Rv=KoiS9DZZUVeXnLPdhT=1qa-CNwJR-CHtk9BhEg@mail.gmail.com>
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: Wed, 06 Oct 2021 10:25:18 -0400
Message-ID: <6298.1633530318@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/oaMqUcMzWNcu5gm0aizxcd7T7FU>
Subject: Re: [Cbor] Deprecating tags and Ethernet address in draft-ietf-cbor-network-addresses-09: (with DISCUSS and COMMENT)
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: Wed, 06 Oct 2021 14:25:33 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Donald Eastlake <d3e3e3@gmail.com> wrote:
    > I am in the process of revising RFC 7042. See
    > https://datatracker.ietf.org/doc/draft-eastlake-rfc7042bis/

    > Perhaps rfc7042bis should specify a CBOR tag for MAC addresses. I'd be
    > happy to add that.

I think that this is the best result.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFdsc0ACgkQgItw+93Q
3WXybAf9HITHNWC2pqBmrekQiDnzH00gu/7JPJ9moNrW8vZIhowwLLtKJ2KaE6nV
dU0D1C34Y26oituHzkfhicffusYBWFxTDMlSGilipTMcK/EIAe3F6DangdWzrcx+
bdy4eAMHlvN8TFreJ9JQokD4UUvpu4s5FPuLFzai7lt2TKVhbKiq/CUbZ8WntiXr
QcpO2lKdLN9+4+PBb6krvc936GV6a7zIO1rk0n5aYkkeNvEnvVE84G73Ct9enn1B
A16diuAU8MY6zhHLFsHajSjODdm1ou6wa5bXyOWPPNXDG5t0WkEAjHBGrq+l7v3h
2WrvjRknQID1SYl67PA5qD1lkQq2Uw==
=jLDl
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Wed Oct  6 08:06:23 2021
Return-Path: <thiago.macieira@intel.com>
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 33E143A1D51 for <cbor@ietfa.amsl.com>; Wed,  6 Oct 2021 08:06:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level: 
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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 6JLl3GX_6skc for <cbor@ietfa.amsl.com>; Wed,  6 Oct 2021 08:06:17 -0700 (PDT)
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 1BC233A1D4C for <cbor@ietf.org>; Wed,  6 Oct 2021 08:06:15 -0700 (PDT)
X-IronPort-AV: E=McAfee;i="6200,9189,10129"; a="225906727"
X-IronPort-AV: E=Sophos;i="5.85,352,1624345200"; d="scan'208";a="225906727"
Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2021 08:06:14 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.85,352,1624345200"; d="scan'208";a="712978330"
Received: from irsmsx605.ger.corp.intel.com ([163.33.146.138]) by fmsmga006.fm.intel.com with ESMTP; 06 Oct 2021 08:06:11 -0700
Received: from tjmaciei-mobl5.localnet (10.251.18.211) by IRSMSX605.ger.corp.intel.com (163.33.146.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 6 Oct 2021 16:06:10 +0100
From: Thiago Macieira <thiago.macieira@intel.com>
To: <cbor@ietf.org>
Date: Wed, 6 Oct 2021 08:06:07 -0700
Message-ID: <22079392.Pxy2DhZOLy@tjmaciei-mobl5>
Organization: Intel Corporation
In-Reply-To: <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-Originating-IP: [10.251.18.211]
X-ClientProxiedBy: fmsmsx603.amr.corp.intel.com (10.18.126.83) To IRSMSX605.ger.corp.intel.com (163.33.146.138)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/WmqruzPCnLUZwxvEK3tyZkMAMbc>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Wed, 06 Oct 2021 15:06:22 -0000

On Tuesday, 5 October 2021 17:44:45 PDT Brian E Carpenter wrote:
> Correct, but the name can also change (I forget the magic command on Linux,
> but it exists). In socket calls such as connect() you need the interface
> index, and the conversion from interface id to interface index is a bit
> system-dependent but typically involves getaddrinfo(). The only safe
> assumption is that they're both dynamic, but which you need depends on
> the exact use case.

Actually, the front-end API is if_nametoindex(). The low-level one involves 
either a SIOCGIFINDEX or open a netlink socket and querying with RTM_GETLINK.

> I suggest that we should be able to support both formats. Since CBOR is
> typed, that's easy enough.

Agreed. That avoid a conversion that might need to be undone on the other 
side. The other side may want to display something to the user and therefore 
may want to have the "nice" interface name.

Not that "wlp0s20f3" is nice, for me. I've had this laptop for 3 months and 
have yet to memorise that.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering




From nobody Wed Oct  6 09:18:08 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F7593A1EFF; Wed,  6 Oct 2021 09:17:59 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.38.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <163353707909.29527.5686331626186995240@ietfa.amsl.com>
Date: Wed, 06 Oct 2021 09:17:59 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/AQO22TzeJt3eZVXI71D6XtZPF6Y>
Subject: [Cbor] I-D Action: draft-ietf-cbor-network-addresses-10.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 06 Oct 2021 16:18:00 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : CBOR tags for IPv4 and IPv6 addresses and prefixes
        Authors         : Michael Richardson
                          Carsten Bormann
	Filename        : draft-ietf-cbor-network-addresses-10.txt
	Pages           : 11
	Date            : 2021-10-06

Abstract:
   This specification defines two CBOR Tags for use with IPv6 and IPv4
   addresses and prefixes.


   // RFC-EDITOR-please-remove: This work is tracked at
   // https://github.com/cbor-wg/cbor-network-address


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-network-addresses-10.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-network-addresses-10


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Wed Oct  6 09:19:31 2021
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 A50373A1EF4; Wed,  6 Oct 2021 09:19:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 5bFOlKFDDYUQ; Wed,  6 Oct 2021 09:19:16 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C51553A1EEE; Wed,  6 Oct 2021 09:19:08 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id EC9F2182EE; Wed,  6 Oct 2021 12:27:14 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DPbHWwTdzZl5; Wed,  6 Oct 2021 12:27:07 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 7BB1C1803B; Wed,  6 Oct 2021 12:27:07 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 4CF372C1; Wed,  6 Oct 2021 12:18:58 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: =?us-ascii?Q?=3D=3FUTF-8=3FQ=3F=3Dc3=3D89ric=5FVyncke=3F=3D?= <evyncke@cisco.com>,  cbor@ietf.org, draft-ietf-cbor-network-addresses@ietf.org, The IESG <iesg@ietf.org>, d3e3e3@gmail.com, barryleiba@computer.org, cbor-chairs@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com>
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: Wed, 06 Oct 2021 12:18:58 -0400
Message-ID: <6442.1633537138@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/h2FGrQ7Uw0PX4NdHO7Rn07rCbtI>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Wed, 06 Oct 2021 16:19:23 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Hi, at the CBOR WG meeting this morning, support for IPv6 LL scopes
was the major topic.

We added an optional third parameter to the interface definition,
and made it valid to specify the interface prefix length as "false"

I hope that I got the CDDL right:
  https://github.com/cbor-wg/cbor-network-address/blob/main/cbor-network-ad=
dresses.mkd#cddl

Examples:
  https://github.com/cbor-wg/cbor-network-address/blob/main/cbor-network-ad=
dresses.mkd#ipv6

We also agreed to lowercase all HEX, and to leave Ethernet tags for Donald's
rfc7042bis.  (despite that being informational and a possible downref issue)

We agreed that Invalid CBOR is... invalid CBOR, and that the CDDL gives the
details for the limits.

I have posted a revision -10, which I hope satisfies all of the DISCUSS and
comments:

  https://www.ietf.org/rfcdiff?url1=3Ddraft-ietf-cbor-network-addresses-09&=
url2=3Ddraft-ietf-cbor-network-addresses-10



=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFdzHEACgkQgItw+93Q
3WV1/wgArCNlsEymRK7ZaH8CYtBiH4+pNn86Bz7MYDHNuodTBZ/I9ZW9WF9G7Bo1
ZuKX3O65AbnbDBpCTGTn4a09ZL91H16l1bf3xGW+5xiBWsW1eqWU5RiZcFrH+c53
h1mx4xTexHxTs7TJgX3CIi7n+r5wql/hn45/bQZY7Z1BpGAmY6Z/sQn5SlFinCSb
Yod14x54hyncDrSNgwVCKy9L7a7uM9e07H+9A3uoGvvFVJlnxWAdxq/OYDpQOLsv
QNeKK0bZuVTjPLoG2ShyXsZ2pLESpotK364qcAhxINBfqDn21WthctsP+g9GyZUy
4dISZrieOkhpeeG6Mj48TeVzTmm8wQ==
=Ss3o
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Wed Oct  6 11:35:09 2021
Return-Path: <mcr@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 4EFF23A03F3 for <cbor@ietfa.amsl.com>; Wed,  6 Oct 2021 11:35:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 xrpM1haru47f for <cbor@ietfa.amsl.com>; Wed,  6 Oct 2021 11:35:02 -0700 (PDT)
Received: from relay.sandelman.ca (relay.cooperix.net [IPv6:2a01:7e00:e000:2bb::1]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 99ED43A03EC for <cbor@ietf.org>; Wed,  6 Oct 2021 11:35:02 -0700 (PDT)
Received: from dooku.sandelman.ca (cpef81d0f835a73-cmf81d0f835a70.sdns.net.rogers.com [174.116.10.168]) by relay.sandelman.ca (Postfix) with ESMTPS id F05B21F45E; Wed,  6 Oct 2021 18:35:00 +0000 (UTC)
Received: by dooku.sandelman.ca (Postfix, from userid 179) id 9AB4E1A23F2; Wed,  6 Oct 2021 14:34:59 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: cbor@ietf.org, "Eric Vyncke \(evyncke\)" <evyncke@cisco.com>, Francesca Palombini <francesca.palombini@ericsson.com>
In-reply-to: <163353707909.29527.5686331626186995240@ietfa.amsl.com>
References: <163353707909.29527.5686331626186995240@ietfa.amsl.com>
Comments: In-reply-to internet-drafts@ietf.org message dated "Wed, 06 Oct 2021 09:17:59 -0700."
X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.3
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Wed, 06 Oct 2021 14:34:59 -0400
Message-ID: <692292.1633545299@dooku>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/PlYTsl92s4QtuTcfwFsiwJY4NKQ>
Subject: Re: [Cbor] I-D Action: draft-ietf-cbor-network-addresses-10.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: Wed, 06 Oct 2021 18:35:08 -0000

--=-=-=
Content-Type: text/plain


internet-drafts@ietf.org wrote:
    > A diff from the previous version is available at:
    > https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-network-addresses-10

I hope that this version addresses all DISCUSS and COMMENTS.



--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-




--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEERK+9HEcJHTJ9UqTMlUzhVv38QpAFAmFd7FMACgkQlUzhVv38
QpBCnQf/V0fy6VFLJVJLJDr5g3k95ZiyNLdow3hZUyviTus2wWMe9qBpEXU9PxKM
0/gIK3ZsN7fekjbGms1jNnGTeS7lEuX10T5XOgh5uABUHhZQJ7BU3B3HU76KZSAJ
XHuWJ3s71GYZ4QLczR+4lT3RRDtnd7Ie4FpSxNRwgdoNsy0zSRAlSUSyYi1PMlG+
EXjcNP7ngk5gst9yS8JUS5fB++FwixBvs6s+Gwt9Gw1un+Z1bTRjCP9XKuezkST6
KsZn5GQEcBrRzCRPtHsDPdMYY2G6drHMUg3RZBG91mpxunFSG/aBxzwC7oh7rHMb
l6NPeG656rDFJon6NM2GO9+loSF8cQ==
=2Y3X
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Wed Oct  6 13:43:50 2021
Return-Path: <brian.e.carpenter@gmail.com>
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 1912D3A08C1; Wed,  6 Oct 2021 13:42:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, NICE_REPLY_A=-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 b9w7YhKPyHDI; Wed,  6 Oct 2021 13:42:23 -0700 (PDT)
Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (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 805BC3A08C0; Wed,  6 Oct 2021 13:42:22 -0700 (PDT)
Received: by mail-pf1-x42b.google.com with SMTP id q19so2932899pfl.4; Wed, 06 Oct 2021 13:42:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=SDYV8fGsK6ad5yb8jg0/XKYJWCDjL2aA7aFo5spmCcg=; b=FICFS9qPkXxuGLVaOILjjaTn6tEpWr1C4xVqEHdmJxo/RoyZJ879mv6S982ca2Vm7y V+mb0meB5bvZHGc3PBQL8+qxdlEXjY3hQ1ntT2mBoxN1iKHAVkfsIyHGyAGzKPQBNGzL kPHkmhScmF25x1iSkBkDHkZOOvoWs3TLst6IpYJuc86XNdfnNrpr8BU3L6nfaJt7hBSu 65eC1dACPaTgOBd6O8biPCYYF1BsCN8AWXSKIP/u2fhsdUeMVeHQGACdlmC5R5aoAwXY j8SLRD9PGGCU/BBnuHkjMpmtdRA8YdIDdda9BY3Za8EY+sjvQmE0fPtYuGZNZR5XFENK VYUg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=SDYV8fGsK6ad5yb8jg0/XKYJWCDjL2aA7aFo5spmCcg=; b=IJiRw8Ghrxf2RD7uEu65hx9fWNTgF9d/42VYFgWezPP6gnGbFXRYg4f8dKYWhrgiL9 DwHNupwujPggdLnLHpCqFKcwAuOZ8MebwGufDKyxfO+dvUMo+fP0/8zawi5PcXedTV5e Ac9AqaWwAdQortk4xY6rv8kJhSCTqYxPEo1mg1l14UsEr79TvchZWPrEyed1LlmwLC/u QMxw1bkaEuGVVXPzCgg26/LA5ige3pAqCYuFYWKtPcPMgF8oR1T4C8JFenqbwjhhc+C1 05uA5mabRnw/6iwOjSRvxwB2IK8q1X+Dy4lgGRV81oGlNLIhIcFGmgO2V5c+/kH1JgFg g7vw==
X-Gm-Message-State: AOAM532Lei+MCuo7xzvlFX+9pw2RWq7hlCmVhnGtpp7sTVF066mr07Ib ag24MY/fTqBfJI2+Fpx/sUOl5IfBIddlPg==
X-Google-Smtp-Source: ABdhPJzVbALVBEaAyCxz34ejMc9JtpHTUs68N+UDQ/nuRlcezQM2O5gj+gS2GUjK9AAwqjGMlvVVYg==
X-Received: by 2002:a63:b54b:: with SMTP id u11mr137547pgo.163.1633552941367;  Wed, 06 Oct 2021 13:42:21 -0700 (PDT)
Received: from ?IPv6:2406:e003:11aa:d701:80b2:5c79:2266:e431? ([2406:e003:11aa:d701:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id x19sm21319348pgk.37.2021.10.06.13.42.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Oct 2021 13:42:20 -0700 (PDT)
To: Michael Richardson <mcr+ietf@sandelman.ca>, =?UTF-8?Q?=c3=89ric_Vyncke?= <evyncke@cisco.com>, cbor@ietf.org, draft-ietf-cbor-network-addresses@ietf.org, The IESG <iesg@ietf.org>, d3e3e3@gmail.com, barryleiba@computer.org, cbor-chairs@ietf.org
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <76d0264b-276e-56a4-1cf4-a7566229766c@gmail.com>
Date: Thu, 7 Oct 2021 09:42:15 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <6442.1633537138@localhost>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/yuhsh3r078pH27mY0gSDvY3_kjs>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Wed, 06 Oct 2021 20:42:43 -0000

Looks good to me.

(I'd be inclined to add a note that the interface id/index has no signifi=
cance outside the host where it is defined and cite RFC4007, but it's not=20
essential.)

Regards
   Brian

On 07-Oct-21 05:18, Michael Richardson wrote:
>=20
> Hi, at the CBOR WG meeting this morning, support for IPv6 LL scopes
> was the major topic.
>=20
> We added an optional third parameter to the interface definition,
> and made it valid to specify the interface prefix length as "false"
>=20
> I hope that I got the CDDL right:
>   https://github.com/cbor-wg/cbor-network-address/blob/main/cbor-networ=
k-addresses.mkd#cddl
>=20
> Examples:
>   https://github.com/cbor-wg/cbor-network-address/blob/main/cbor-networ=
k-addresses.mkd#ipv6
>=20
> We also agreed to lowercase all HEX, and to leave Ethernet tags for Don=
ald's
> rfc7042bis.  (despite that being informational and a possible downref i=
ssue)
>=20
> We agreed that Invalid CBOR is... invalid CBOR, and that the CDDL gives=20
the
> details for the limits.
>=20
> I have posted a revision -10, which I hope satisfies all of the DISCUSS=20
and
> comments:
>=20
>   https://www.ietf.org/rfcdiff?url1=3Ddraft-ietf-cbor-network-addresses=
-09&url2=3Ddraft-ietf-cbor-network-addresses-10
>=20
>=20
>=20
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T cons=
ulting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
>=20
>=20
>=20
>=20


From nobody Wed Oct  6 13:43:55 2021
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 49ACC3A08C0; Wed,  6 Oct 2021 13:42:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 aQSXmAVfTnNN; Wed,  6 Oct 2021 13:41:53 -0700 (PDT)
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 075023A07A5; Wed,  6 Oct 2021 13:41:51 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id BFA1D18122; Wed,  6 Oct 2021 16:49:56 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id b1Gi4Lb564vh; Wed,  6 Oct 2021 16:49:50 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id C7398180AC; Wed,  6 Oct 2021 16:49:50 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id E40452C1; Wed,  6 Oct 2021 16:41:40 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Carsten Bormann <cabo@tzi.org>, Benjamin Kaduk <kaduk@mit.edu>
CC: draft-ietf-cbor-network-addresses@ietf.org, Barry Leiba <barryleiba@computer.org>, cbor@ietf.org, The IESG <iesg@ietf.org>, cbor-chairs@ietf.org
In-Reply-To: <54845F41-869A-43CE-BF02-825CB728A2CA@tzi.org>
References: <163337270139.24096.2858053457546637595@ietfa.amsl.com> <54845F41-869A-43CE-BF02-825CB728A2CA@tzi.org>
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: Wed, 06 Oct 2021 16:41:40 -0400
Message-ID: <21159.1633552900@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/xzGKOV_-AL3My0V_oPvoSkTVsPQ>
Subject: Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
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: Wed, 06 Oct 2021 20:42:44 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Carsten Bormann <cabo@tzi.org> wrote:
    >> unused_bits =3D (8 - (prefix_length_in_bits & 7)) % 8;

    > Well, I for one don=E2=80=99t like making the =E2=80=9Csimply=E2=80=
=9D more complicated (*).

I have no strong preference.
If I didn't have to read/write C again in my life, that would be fine.

I'll go with whatever the working group can agree on, and put that in -11.




=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFeCgQACgkQgItw+93Q
3WXjWAf5ARWBthgKDvmq6uilcU0QokZWZbih2BO1/4q57CGS7JeoKdpfQQ5X/gq2
R5cXidKZIdG9uoWtUjvXj8a5avMQplFlBA+lCTTX1vRuUEopfo72iNOx9Emof7zt
cdWa/jlx3PPEUJXMobxkYbE6awCmUTZQI/V21epoOYa4BVW6CEaeSpSaAsHO6Uii
zCGknVAGrga5qpCcbe9OhOY0OyUEYvWQ7kNUN2ytgv4EL9wLwRBR7sSamW7QdpUY
ry5ZSKUZwRGBoPNFzCmfZWA+ZOtbHannUqz+6ZoYccr+ZlYEpbDcOc50vwC1GUhR
TTxynWxK53pSSsCnb6ameUjKVWOhbA==
=hubK
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Wed Oct  6 14:15:51 2021
Return-Path: <cabo@tzi.org>
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 2B1C43A0912; Wed,  6 Oct 2021 14:15:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 ENnPG3RxjyEY; Wed,  6 Oct 2021 14:15:12 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 561893A08E7; Wed,  6 Oct 2021 14:15:09 -0700 (PDT)
Received: from smtpclient.apple (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HPnKN4Jtrz2xjl; Wed,  6 Oct 2021 23:15:04 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <6442.1633537138@localhost>
Date: Wed, 6 Oct 2021 23:15:04 +0200
Cc: =?us-ascii?B?PT9VVEYtOD9RPz1jMz04OXJpY19WeW5ja2U/PQ==?= <evyncke@cisco.com>, cbor@ietf.org, draft-ietf-cbor-network-addresses@ietf.org, The IESG <iesg@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>, Barry Leiba <barryleiba@computer.org>, cbor-chairs@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <9D5E9264-0A10-4A24-8F23-DB89EDE851B9@tzi.org>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Ezc4BNXo8YstCAy0YZhPldjMqG0>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Wed, 06 Oct 2021 21:15:18 -0000

On 6. Oct 2021, at 18:18, Michael Richardson <mcr+ietf@sandelman.ca> =
wrote:
>=20
> Hi, at the CBOR WG meeting this morning, support for IPv6 LL scopes
> was the major topic.

YANG ietf-inet-types has zones for IPv4.
Shouldn=E2=80=99t we, too?

Gr=C3=BC=C3=9Fe, Carsten


From nobody Wed Oct  6 14:19:57 2021
Return-Path: <kaduk@mit.edu>
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 5C4FA3A08FD; Wed,  6 Oct 2021 14:19:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.499
X-Spam-Level: 
X-Spam-Status: No, score=-1.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no 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 ax7Ups9r5EzJ; Wed,  6 Oct 2021 14:19:37 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 D71793A08DA; Wed,  6 Oct 2021 14:19:36 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 196LJPlr013538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 Oct 2021 17:19:30 -0400
Date: Wed, 6 Oct 2021 14:19:24 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: Carsten Bormann <cabo@tzi.org>, draft-ietf-cbor-network-addresses@ietf.org, Barry Leiba <barryleiba@computer.org>, cbor@ietf.org, The IESG <iesg@ietf.org>, cbor-chairs@ietf.org
Message-ID: <20211006211924.GI4103@kduck.mit.edu>
References: <163337270139.24096.2858053457546637595@ietfa.amsl.com> <54845F41-869A-43CE-BF02-825CB728A2CA@tzi.org> <21159.1633552900@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <21159.1633552900@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/ohD5fR45z1hqBPlonGYthA2Ed28>
Subject: Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
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: Wed, 06 Oct 2021 21:19:43 -0000

On Wed, Oct 06, 2021 at 04:41:40PM -0400, Michael Richardson wrote:
> 
> Carsten Bormann <cabo@tzi.org> wrote:
>     >> unused_bits = (8 - (prefix_length_in_bits & 7)) % 8;
> 
>     > Well, I for one don’t like making the “simply” more complicated (*).
> 
> I have no strong preference.
> If I didn't have to read/write C again in my life, that would be fine.

I'm sure many share that sentiment :)

> I'll go with whatever the working group can agree on, and put that in -11.

Carsten's complaint about mixing & and % is reasonable.

My main stance here is that if we're using code in a standard to illustrate
the behavior, the code should be as easy as possible to understand and
confirm the behavior of.  If that means the expression is a little longer,
rather than requiring the reader to "know" the bit representation of signed
integers, that seems like a wonderful tradeoff to make, to me.

-Ben


From nobody Wed Oct  6 14:54:13 2021
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 75A343A0962; Wed,  6 Oct 2021 14:54:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 ksnLAbUo76mV; Wed,  6 Oct 2021 14:54:06 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CC3DE3A095F; Wed,  6 Oct 2021 14:54:05 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 257E918097; Wed,  6 Oct 2021 18:02:14 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xUoB0Sd-DK47; Wed,  6 Oct 2021 18:02:07 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id C851C18050; Wed,  6 Oct 2021 18:02:07 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id B74002C1; Wed,  6 Oct 2021 17:53:57 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
cc: =?us-ascii?Q?=3D=3FUTF-8=3FQ=3F=3Dc3=3D89ric=5FVyncke=3F=3D?= <evyncke@cisco.com>,  cbor@ietf.org, draft-ietf-cbor-network-addresses@ietf.org, The IESG <iesg@ietf.org>, d3e3e3@gmail.com, barryleiba@computer.org, cbor-chairs@ietf.org
In-Reply-To: <76d0264b-276e-56a4-1cf4-a7566229766c@gmail.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <76d0264b-276e-56a4-1cf4-a7566229766c@gmail.com>
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: Wed, 06 Oct 2021 17:53:57 -0400
Message-ID: <8484.1633557237@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/oQSXL7noNtP1HsxLjR9ZVwhSo1w>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Wed, 06 Oct 2021 21:54:12 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
    > (I'd be inclined to add a note that the interface id/index has no
    > significance outside the host where it is defined and cite RFC4007, b=
ut
    > it's not

I was struggling to find the right RFC that defines zone/scope, and 4007 is=
 a
good choice.

https://github.com/cbor-wg/cbor-network-address/commit/922fc54e6684d6d691c9=
dd3fd88a77ec16cf1126#diff-ebc4094e1911b5707c22b5f72c92c35363efd187de5e27c42=
6d9a3cf37d64288

 > As explained in {{RFC4007}} the zone identifiers are strictly local to t=
he
 > node. They are useful for communications within a node about connected
 > addresses (for instance, where a link-local peer is discovered by one
 > daemon, and another daemon needs to be informed).
 > They may also have utility in some management protocols.

(I decided to be vague about which management protocols, because I don't
know, and RESTCONF and SNMP already have solutions. )

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFeGvUACgkQgItw+93Q
3WVojwgAklGWO1sozN4zhZD6oBHXl/bpq7R+n53OJEryevMy/Us5yamV/HIBn4lc
ACHv3QbJrf6EROgj/acrYfKHt5PotHn/vf8NJ+fSHMAahvUeDOW3fKQPydBnNLT4
rXHs7NC6dc2quS/Q9DhyT01iPSypBi47F0R2/6HyrT1+O49GSvFJ/L6cGaqlubXs
YaFmpf/DsTmYOBN56waqtGYVfsAPfzyGLH6C5TThPhXfmmbwioiMkgxuZZd3GXhR
THw5HPVAb8D2l1l2vtlUMtGnn+icjmRPJPXTNknSPHgoxsitJvS7drawMDIGXHe5
5ZN3fCvaamogn/fBJEx7E3Gq23ebQA==
=c952
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Wed Oct  6 14:56:12 2021
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 A905F3A097C; Wed,  6 Oct 2021 14:56:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 YIQtTaTnEdKH; Wed,  6 Oct 2021 14:55:54 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BEEC73A0962; Wed,  6 Oct 2021 14:55:54 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id AFD5418097; Wed,  6 Oct 2021 18:04:02 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MvHhlQpMGN2y; Wed,  6 Oct 2021 18:03:57 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 10E6318050; Wed,  6 Oct 2021 18:03:57 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id F2CAB2C1; Wed,  6 Oct 2021 17:55:46 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Carsten Bormann <cabo@tzi.org>
cc: =?us-ascii?Q?=3D=3Fus-ascii=3FB=3FPT9VVEYtOD9RPz1jMz04OXJpY19WeW5ja2U?= =?us-ascii?Q?=2FPQ=3D=3D=3F=3D?= <evyncke@cisco.com>,  cbor@ietf.org, draft-ietf-cbor-network-addresses@ietf.org, The IESG <iesg@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>, Barry Leiba <barryleiba@computer.org>, cbor-chairs@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <9D5E9264-0A10-4A24-8F23-DB89EDE851B9@tzi.org>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <9D5E9264-0A10-4A24-8F23-DB89EDE851B9@tzi.org>
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: Wed, 06 Oct 2021 17:55:46 -0400
Message-ID: <9043.1633557346@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/tv9CLLx5TY6N9oIiZdLIa8x8Un8>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Wed, 06 Oct 2021 21:56:07 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Carsten Bormann <cabo@tzi.org> wrote:
    > On 6. Oct 2021, at 18:18, Michael Richardson <mcr+ietf@sandelman.ca> =
wrote:
    >>
    >> Hi, at the CBOR WG meeting this morning, support for IPv6 LL scopes
    >> was the major topic.

    > YANG ietf-inet-types has zones for IPv4.
    > Shouldn=E2=80=99t we, too?

Are there any OSes and Applications that really know how to deal with having
IPv4-LL addresses on multiple interfaces?  And didn't IPv4 die awhile back?

If you really think we should do this for IPv4, I don't really object.
I just don't know what RFCs to cite.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFeG2IACgkQgItw+93Q
3WXP0gf+NDD/Mxs/l8pjLnYvdjJgtjuMVwnSqQaZtvPvlCxd2OyQxxdP2Fxrgo92
gPmup1JKHch4WDuDnNex1D76OY3bluJ95M1vjZYeM3iQDOIMWxwwpwV6xERcwUid
yn6+sh+M8Ef+ZJTEuUEbMkYJ1H0J+9eHLPTvIza2mguQPGfluxESyGZNhqe86bVE
54S2x/C+dqUK16dEg5noLY9zL5p/a1+ygfLZB9Fq3P1gQVXP1SF+sSHzSnbGRLwK
wrxEFg3D6SuBgQ16SlQPGTCt4x4bV+wth/fkO6d9MPyQk+fYwnZpGYMYXgQ/rzqS
UOgHeJdjmfqguMmFvDVcSGbi8jOSrQ==
=ca7W
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Wed Oct  6 15:45:58 2021
Return-Path: <brian.e.carpenter@gmail.com>
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 F13F13A0784; Wed,  6 Oct 2021 15:45:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, NICE_REPLY_A=-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 oszZv1VBwhTo; Wed,  6 Oct 2021 15:44:55 -0700 (PDT)
Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (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 8C9173A0783; Wed,  6 Oct 2021 15:44:55 -0700 (PDT)
Received: by mail-pj1-x1035.google.com with SMTP id on6so3310028pjb.5; Wed, 06 Oct 2021 15:44:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=sMJX7haAfqmXAg1PoKjSxiwJN71E6zyA76WPzNTJ1uw=; b=JJfVc5a+ns+t3SC/5iktZGpi2qDW16zTSY4AfD2t2LxTBlkF3H0QFDcBlb+VbA/LYu GEf7up/pBjfFYOlRG9/MwLQo8zrTPdVb2hDZ+BoEA9Qtthe1Qt2PLYmi74F5N0xU3gyA d/YAzZ2tLUjluHqMGjMjsruUaKUysDpE52YOU0vCxx4w95C/Tb1+AXoRJIs59gGoMj/A J8cpYU23W4MIJy+sHIcTR9HDsDPSlOLZYZdHH9FVRmhi2yWggqjQsDPTlZ8OrWtz4lrE 4Too2OVtUNE7OC6Ro385MSh1UsNwxNCRn8FW2LtxxeZ7NsNaUnxQ/wqgBEmyLPM7GmZF 3qYw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=sMJX7haAfqmXAg1PoKjSxiwJN71E6zyA76WPzNTJ1uw=; b=5HfE+Jws+vd7J1nTOEmQg3PiRRz1Wk1jdm4TkEEqLd53n/SVWDVjjuitHqc19u75Yz /rHmgSS3GJMjjgxd/PA+YjRIx9OVV+NWDucCTOzmjQ2BqzcOHw5AUfCI1mKqk/sA0wr8 Cse5JHewMSf1SZr36U0Cw4pWvGuNNV0cynbNfnHqg4ijGzjzEfGyd7oXNQSFe8fPqJcK T0sniHolCRjQfYmMpDj3hkNEO9z6shEXYyOnYH35jsMMJNBlcM4SlffhURmXoDwItQhx OEv+gaLqJRPYYrxuUX4Hpo7DCFjpwFOInLXpX4RXH51Jcvc4zpyijL3EiLbs9c6Owgua /a3g==
X-Gm-Message-State: AOAM531D3zl4ItwLicwOYdFHg4brypdEFSh/zwp/xioGfZcflPQT5xBh awil/R9gPNuBh1v+VM0CT4Ht7SFq204nfQ==
X-Google-Smtp-Source: ABdhPJx+jpCMYguUFDRD5TbT4MGpkcgJa2+uzSiQXITYGhWbP3RQwo5rEYYHzTFb689/VzMXF93F0A==
X-Received: by 2002:a17:90a:5502:: with SMTP id b2mr1506464pji.154.1633560294776;  Wed, 06 Oct 2021 15:44:54 -0700 (PDT)
Received: from ?IPv6:2406:e003:11aa:d701:80b2:5c79:2266:e431? ([2406:e003:11aa:d701:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id k6sm2912573pfg.18.2021.10.06.15.44.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Oct 2021 15:44:54 -0700 (PDT)
To: Michael Richardson <mcr+ietf@sandelman.ca>, Carsten Bormann <cabo@tzi.org>
Cc: =?UTF-8?Q?=c3=89ric_Vyncke?= <evyncke@cisco.com>, cbor@ietf.org, draft-ietf-cbor-network-addresses@ietf.org, The IESG <iesg@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>, Barry Leiba <barryleiba@computer.org>, cbor-chairs@ietf.org
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <9D5E9264-0A10-4A24-8F23-DB89EDE851B9@tzi.org> <9043.1633557346@localhost>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <372df336-eb01-de6d-2e11-e094b9ff7cfd@gmail.com>
Date: Thu, 7 Oct 2021 11:44:48 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <9043.1633557346@localhost>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/81lfSrm4oxjnOfpEG56RDVBu76I>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Wed, 06 Oct 2021 22:45:01 -0000

On 07-Oct-21 10:55, Michael Richardson wrote:
>=20
> Carsten Bormann <cabo@tzi.org> wrote:
>     > On 6. Oct 2021, at 18:18, Michael Richardson <mcr+ietf@sandelman.=
ca> wrote:
>     >>
>     >> Hi, at the CBOR WG meeting this morning, support for IPv6 LL sco=
pes
>     >> was the major topic.
>=20
>     > YANG ietf-inet-types has zones for IPv4.
>     > Shouldn=E2=80=99t we, too?
>=20
> Are there any OSes and Applications that really know how to deal with h=
aving
> IPv4-LL addresses on multiple interfaces?  And didn't IPv4 die awhile b=
ack?
>=20
> If you really think we should do this for IPv4, I don't really object.
> I just don't know what RFCs to cite.

That's probably because there are none. As far as I know, there is no
"Scoped architecture for IPv4" RFC. I don't know why there is YANG suppor=
t.

Michael's text citing RFC4007 looks good to me.

    Brian


From nobody Wed Oct  6 18:40:36 2021
Return-Path: <cabo@tzi.org>
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 AC9CB3A0127; Wed,  6 Oct 2021 18:40:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 uGh3HdR90qxQ; Wed,  6 Oct 2021 18:40:28 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1EDAE3A00E1; Wed,  6 Oct 2021 18:40:28 -0700 (PDT)
Received: from smtpclient.apple (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HPvCX6rkwz2xk6; Thu,  7 Oct 2021 03:40:24 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <372df336-eb01-de6d-2e11-e094b9ff7cfd@gmail.com>
Date: Thu, 7 Oct 2021 03:40:24 +0200
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, =?utf-8?Q?=C3=89ric_Vyncke?= <evyncke@cisco.com>, cbor@ietf.org, The IESG <iesg@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>, Barry Leiba <barryleiba@computer.org>, cbor-chairs@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4C91B412-C484-458E-BDA6-0AEDAF8EA774@tzi.org>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <9D5E9264-0A10-4A24-8F23-DB89EDE851B9@tzi.org> <9043.1633557346@localhost> <372df336-eb01-de6d-2e11-e094b9ff7cfd@gmail.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/zNpojpuRR6wB589WakjkxQfyzrg>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 01:40:31 -0000

On 7. Oct 2021, at 00:44, Brian E Carpenter =
<brian.e.carpenter@gmail.com> wrote:
>=20
> That's probably because there are none. As far as I know, there is no
> "Scoped architecture for IPv4" RFC. I don't know why there is YANG =
support.

Zones are this gift that keeps on giving.

If we are doing zones, we need to do them like YANG.
I would have a strong objection against including them but then doing =
them differently.
Maybe we should simply reference RFC 6991 as well.

J=C3=BCrgen:  Do you remember why ipv4-address has a zone ID (called =
=E2=80=9Czone index=E2=80=9D)?

Gr=C3=BC=C3=9Fe, Carsten


From nobody Wed Oct  6 18:49:23 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 253FF3A05DF; Wed,  6 Oct 2021 18:49:20 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: John Scudder via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-cbor-network-addresses@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, barryleiba@computer.org, barryleiba@computer.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.38.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: John Scudder <jgs@juniper.net>
Message-ID: <163357136013.2322.3640274684292396357@ietfa.amsl.com>
Date: Wed, 06 Oct 2021 18:49:20 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/lqr28UjwTV5rloPd49z8K8SZqyc>
Subject: [Cbor] John Scudder's Discuss on draft-ietf-cbor-network-addresses-10: (with DISCUSS)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 07 Oct 2021 01:49:20 -0000

John Scudder has entered the following ballot position for
draft-ietf-cbor-network-addresses-10: Discuss

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/



----------------------------------------------------------------------
DISCUSS:
----------------------------------------------------------------------

Thanks for this document. In general I found it easy to read, blessedly
concise, and useful. I do have one concern with how you treat the covert
channel concern you raise, which I'm making a DISCUSS (which I think will be
easily cleared).

Section 4 says:

   even though variations like:

   54([44, h'20010db81233'])
   54([45, h'20010db8123f'])

   would be parsed in the exact same way; they MUST be considered
   invalid.

You choose to use a RFC 2119 keyword here, and this is in the encoder section,
so presumably you are insisting that the encoder MUST... what? You already
said, in an earlier paragraph, that the encoder MUST set the trailing bits to
zero, so I can't figure out what the quoted text is telling me to do.
(Presumably any compliant encoder won't produce the depicted values, and an
encoder that's noncompliant for the purpose of deliberately exfiltrating data
using this covert channel won't be put off by this MUST.)

Then in Section 5 we have:

   A particularly paranoid decoder could examine the lower non-relevant
   bits to determine if they are non-zero, and reject the prefix.  This
   would detect non-compliant encoders, or a possible covert channel.

The fairly dismissive tone ("paranoid decoder could"), not to mention the
preceding pseudocode, suggests that you have no real expectation the decoder
will do anything to "consider invalid" values with nonzero low bits. So
probably the MUST from Section 4 isn't meant to apply to the decoder.

In short I don't understand what that clause in Section 4 is telling me to do.
One fix would simply be to weaken the text, as in

   would be parsed in the exact same way, they should not be
   considered legitimate encodings.

P.S.: The semicolon in the quoted text is also either wrong, or I'm even more
confused about what's being specified than I thought I was.






From nobody Wed Oct  6 19:14:23 2021
Return-Path: <cabo@tzi.org>
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 978143A08EC; Wed,  6 Oct 2021 19:13:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 SJVPVbFSOA8W; Wed,  6 Oct 2021 19:13:46 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 82A2D3A08E5; Wed,  6 Oct 2021 19:13:45 -0700 (PDT)
Received: from smtpclient.apple (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HPvxx003Fz2xjw; Thu,  7 Oct 2021 04:13:40 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CAMGpriVqvH0w_R0-uhM7qEWasu8=qLvgaZGTM9XvUO6yO_Qo_Q@mail.gmail.com>
Date: Thu, 7 Oct 2021 04:13:40 +0200
Cc: Brian E Carpenter <brian.e.carpenter@gmail.com>, Michael Richardson <mcr+ietf@sandelman.ca>, cbor@ietf.org, The IESG <iesg@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>, =?utf-8?Q?=C3=89ric_Vyncke?= <evyncke@cisco.com>, cbor-chairs@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <711AC69A-6BD3-441B-8B80-A6D1EF24A2C7@tzi.org>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <9D5E9264-0A10-4A24-8F23-DB89EDE851B9@tzi.org> <9043.1633557346@localhost> <372df336-eb01-de6d-2e11-e094b9ff7cfd@gmail.com> <CAMGpriVqvH0w_R0-uhM7qEWasu8=qLvgaZGTM9XvUO6yO_Qo_Q@mail.gmail.com>
To: Erik Kline <ek.ietf@gmail.com>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/40uzXr5NhMeKyZwFld85ow2L71k>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 02:13:50 -0000

On 7. Oct 2021, at 03:58, Erik Kline <ek.ietf@gmail.com> wrote:
>=20
> To my knowledge the closest such thing would be RFC 3927.
>=20
> I've never seen anything like an extension of sockaddr_in to add the =
equivalent of sin6_scope_id, though it's not hard to imagine what would =
be required to make some "sin_scope_id" thing work.

Interesting.  While IPV6_MULTICAST_IF is defined in RFC 3493, the RFCs =
seem to be silent about IP_MULTICAST_IF.
(This would be another case where an IP address would be combined with =
an ifindex, even if that is not called a =E2=80=9Czone ID=E2=80=9D =
there.)

Gr=C3=BC=C3=9Fe, Carsten


From nobody Wed Oct  6 20:31:54 2021
Return-Path: <brian.e.carpenter@gmail.com>
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 929563A0BA0; Wed,  6 Oct 2021 20:31:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 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, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 mt5XImr34HVY; Wed,  6 Oct 2021 20:31:22 -0700 (PDT)
Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) (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 15D663A0B9D; Wed,  6 Oct 2021 20:31:22 -0700 (PDT)
Received: by mail-pf1-x432.google.com with SMTP id q19so3648113pfl.4; Wed, 06 Oct 2021 20:31:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=y802EYOc0aMcrlUniy96sbnOh2CbJCNn2/i3SXcBlVI=; b=QkLm7vZ0HsutIx9bELuRNwjxngi6JwpmS+PoSTTbbMd/fniC1PE0Kt5sfqU6WzyYDt Zbm+BPOF7JT4e5wI6H/wNl2w2Zn/WB18bBxPy6C0vZhYcl2OvbjuY+c+d9N2ANnwbFH/ 5N9ql6MCPZCLd9EymRfhIWYUrmNvSeCLYf28lJvc0Pjgc9pWyZX87ZAR9zdVTWawUcMR Tw47HejNlVY0CgZ+8q+vKucAwOfpaT0cgBSwTvQBmIFnFiZXRTIbZ2xhmxWRqNmboCac yBlwA4RM5XdR7StroG1+2vJxixKXMxH7i34D/Q0suagJMZWnj6TBglOUBVBTEwV4Npgv KSaA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=y802EYOc0aMcrlUniy96sbnOh2CbJCNn2/i3SXcBlVI=; b=1Y4Z2wZuu1kUWxRpGJ/ZUFooBabIo10pBi92kxJC4iVGOr2ulMKPZuVtGMw3+WKqFy pfeyNwKb463DEkSaRxV3Habq65i9xyJEjw7t9L/wUHSB9r7vKPCFgTyBhXEQywQXpVvl sEsenk9Pmip+wZjmImqFjh04VUcY1+LXWUxQk386J+LuN2CxyJIIKeZi8Oi/+F0u7JrQ p6SNUzxkh6xXtxXNvZsEPbv/msUo2Zoo0h9Av4ypOm/+IJdOZqeIWLKStnkjEnYg8Bp7 kyOkYikJkdd/fSpx2HFwTrOPPwqKkcHSnTC4RzpFdMNdjYXzc65GQfcDHysJKBx6mMSJ PmdA==
X-Gm-Message-State: AOAM533oCmBRSvw2gWATfyfagM7Gx3hyjGIIhequ9XJdC7wnwhyhuiX4 McgyOhANG8+4CyGrDZDGNAuOnjlQL14pjA==
X-Google-Smtp-Source: ABdhPJxIy3J41so+y3lvi2MRKQhBs4+XiHxnnqTyOVJrck48FcVN9n7GDOmecroV7OOrbwuKPG6B/g==
X-Received: by 2002:a62:1450:0:b0:44c:7681:90b9 with SMTP id 77-20020a621450000000b0044c768190b9mr1996141pfu.42.1633577481100;  Wed, 06 Oct 2021 20:31:21 -0700 (PDT)
Received: from ?IPv6:2406:e003:11aa:d701:db7:d041:a2d:ce65? ([2406:e003:11aa:d701:db7:d041:a2d:ce65]) by smtp.gmail.com with ESMTPSA id y203sm7215597pfc.0.2021.10.06.20.31.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Oct 2021 20:31:20 -0700 (PDT)
To: Carsten Bormann <cabo@tzi.org>, Erik Kline <ek.ietf@gmail.com>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, cbor@ietf.org, The IESG <iesg@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>, =?UTF-8?Q?=c3=89ric_Vyncke?= <evyncke@cisco.com>, cbor-chairs@ietf.org
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <9D5E9264-0A10-4A24-8F23-DB89EDE851B9@tzi.org> <9043.1633557346@localhost> <372df336-eb01-de6d-2e11-e094b9ff7cfd@gmail.com> <CAMGpriVqvH0w_R0-uhM7qEWasu8=qLvgaZGTM9XvUO6yO_Qo_Q@mail.gmail.com> <711AC69A-6BD3-441B-8B80-A6D1EF24A2C7@tzi.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <2b5e211f-19b9-4672-9695-df4b2af741aa@gmail.com>
Date: Thu, 7 Oct 2021 16:31:14 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <711AC69A-6BD3-441B-8B80-A6D1EF24A2C7@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/HbRhsRwPVifgJ036v-H5I3hfuiw>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 03:31:26 -0000

On 07-Oct-21 15:13, Carsten Bormann wrote:
> On 7. Oct 2021, at 03:58, Erik Kline <ek.ietf@gmail.com> wrote:
>>
>> To my knowledge the closest such thing would be RFC 3927.
>>
>> I've never seen anything like an extension of sockaddr_in to add the e=
quivalent of sin6_scope_id, though it's not hard to imagine what would be=20
required to make some "sin_scope_id" thing work.
>=20
> Interesting.  While IPV6_MULTICAST_IF is defined in RFC 3493, the RFCs =
seem to be silent about IP_MULTICAST_IF.
> (This would be another case where an IP address would be combined with =
an ifindex, even if that is not called a =E2=80=9Czone ID=E2=80=9D there.=
)

Formally, IPv4 addresses are assigned to a host, but IPv6 addresses are a=
ssigned to an interface. And consequently, IPv6 has a scoped address arch=
itecture and a scoped multicast address architecture. I think it's normal=20
that these are reflected in APIs and absent in IPv4 APIs.

I think the whole question of multicast addresses needs careful analysis,=20
so personally I'd defer it for now.

   Brian




From nobody Wed Oct  6 22:58:13 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id D41673A0B63; Wed,  6 Oct 2021 22:58:05 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: =?utf-8?q?=C3=89ric_Vyncke_via_Datatracker?= <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-cbor-network-addresses@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, barryleiba@computer.org, barryleiba@computer.org, d3e3e3@gmail.com
X-Test-IDTracker: no
X-IETF-IDTracker: 7.38.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: =?utf-8?q?=C3=89ric_Vyncke?= <evyncke@cisco.com>
Message-ID: <163358628509.12418.6960183945434314645@ietfa.amsl.com>
Date: Wed, 06 Oct 2021 22:58:05 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/RxXSc9MWCV1rFbew8Q-u8K6_T8Y>
Subject: [Cbor] =?utf-8?q?=C3=89ric_Vyncke=27s_No_Objection_on_draft-ietf?= =?utf-8?q?-cbor-network-addresses-10=3A_=28with_COMMENT=29?=
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 07 Oct 2021 05:58:06 -0000

Éric Vyncke has entered the following ballot position for
draft-ietf-cbor-network-addresses-10: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Thank you for the work put into this document and addressing my previous ballot
points (DISCUSS & COMMENT); those points are kept below for archiving purposes
only.

Special thanks to Barry Leiba for his concise shepherd's write-up but very
clear about the WG consensus.

Thank you also to Donald Eastlake for this INT directorate review that I am
vastly supporting:
https://mailarchive.ietf.org/arch/msg/int-dir/6Ox8iEBMqXkUoC2aUEF3wi4-c5g/

I hope that this helps to improve the document,

Regards,

-éric

== PREVIOUS DISCUSS (for archive) ==

Generic comment how are link-local address (LLA) with scope encoded ? I would
expect CBOR to work also on LLA only networks... At the bare minimum, please
state that link-local addresses cannot be encoded with their scope, hence, they
cannot represent an interface.

-- Section 3.1.3 --
How can 2 valid link-local addresses (fe80::1%eth0, fe80::1%eth1) can be
represented in order to identity two interfaces ?

== PREVIOUS COMMENTS (for archive) ==

I love how your start with IPv6 in section 3 and use the ASCII codes for '6'
and '4' ;-)

-- Section 3.2 --
Is there any reason why part of the IPv6 is in lowercase (as in RFC 5952) and
the other part in uppercase ? This is confusing to the reader (even if
hexadecimal numbers are obviously case insensitive).

== NITS ==

-- Abstract --
Should CBOR be expanded ?




From nobody Wed Oct  6 23:44:21 2021
Return-Path: <J.Schoenwaelder@jacobs-university.de>
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 C934B3A083E; Wed,  6 Oct 2021 23:44:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=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=jacobsuniversity.onmicrosoft.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 yJBLyvWClhZc; Wed,  6 Oct 2021 23:44:11 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-he1eur02on060e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe05::60e]) (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 8FE333A083A; Wed,  6 Oct 2021 23:44:10 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gy6jxhAAyad1zN08Pugu/4MAJsFo4NJNPVXRxIqDB+lIv2l+8ADk41QySHoBxRnzxAe7kAaExYFNqt2fO78aWh+cyXME1TUU2ieuVTK2tBaz49xpDIMCdkE8PDcm4RX6rbDNilF2JK2tQFTzm6EsKs5ci+QSUKDlFDC5zj1IRDKcTtVlRAb8I/jfEtmFO2xymnXd7kERzvFN06L69qWWvWPJUuVswX9RCCbtj5L77QKepHy5f9oPIh3bALRrvBlvBIi19wpCLbnu5NSeKRFyf+aUb/ouewRksAS4YiG0kAVgd0ro4dH2eUYCJA+0zro01NyaKuLAnLCxdYOUnkqm/A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nvULLsqhzT5KJhXt+0+NLtC2TmVtTl3j/r+Vmck0uME=; b=AnrCK/Ea0ahNCQ4Ofq3WK4ejvomZIJmjbXcm6KNVF7qQRt6rS5Zp917psYZBUi5mkxcgN9i0IHvgep14/LIH+MP3bVuzT8EWZl5QvtEUtH9p2+DkoYMpWyEl5WYdJwLPE+wgrAsFKXxrkUU4aE6vSNc6WV3baX0Ed1duo8Dwy2edjFo3tcZ9DWQdyvroULPuY8gxLIfZ3sM681fbIboQlbHyF6xRAqtiwI3Tal14JG3XbBQkYr5hWPnX9G8w74zDvjpbDMHZ8T+Qe7qQGLU5831g1VQZzE27HD0T2aZf5R1sxz8HZNSty7JnxNpioqlOv62eumTLLO+OzT3fJazeXQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nvULLsqhzT5KJhXt+0+NLtC2TmVtTl3j/r+Vmck0uME=; b=UuHzKxWJR/soIIJpfZHlYzYqaXoTcOZ0eLNFCcPZju071ExfgBgu1nC81tZpvzb2UsFvYdZjMbpAuqqEIYrPvkn9N8mxfs9EtUVwwFQXhaf1YrxvD2vvahHyfSqZa1y9mTHlDsDGaNaGfsXEovvQXdycuYjUb5CYJAHpf5zkgAU=
Authentication-Results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=jacobs-university.de;
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23) by AM8P190MB0801.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:1d8::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18; Thu, 7 Oct 2021 06:43:39 +0000
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::3431:c461:890b:fb94]) by AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::3431:c461:890b:fb94%9]) with mapi id 15.20.4587.018; Thu, 7 Oct 2021 06:43:39 +0000
Date: Thu, 7 Oct 2021 08:43:38 +0200
From: =?utf-8?B?SsO8cmdlbiBTY2jDtm53w6RsZGVy?= <j.schoenwaelder@jacobs-university.de>
To: Carsten Bormann <cabo@tzi.org>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, =?utf-8?B?w4lyaWM=?= Vyncke <evyncke@cisco.com>, cbor@ietf.org, The IESG <iesg@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>, Barry Leiba <barryleiba@computer.org>, cbor-chairs@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <20211007064338.vkrqz4emjh2ztrg2@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <9D5E9264-0A10-4A24-8F23-DB89EDE851B9@tzi.org> <9043.1633557346@localhost> <372df336-eb01-de6d-2e11-e094b9ff7cfd@gmail.com> <4C91B412-C484-458E-BDA6-0AEDAF8EA774@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <4C91B412-C484-458E-BDA6-0AEDAF8EA774@tzi.org>
X-ClientProxiedBy: AS8PR04CA0132.eurprd04.prod.outlook.com (2603:10a6:20b:127::17) To AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23)
MIME-Version: 1.0
Received: from localhost (212.201.44.244) by AS8PR04CA0132.eurprd04.prod.outlook.com (2603:10a6:20b:127::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.16 via Frontend Transport; Thu, 7 Oct 2021 06:43:39 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: d892be24-3949-496b-0e4f-08d9895dcbd8
X-MS-TrafficTypeDiagnostic: AM8P190MB0801:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM8P190MB08012E1163B116B92B67A310DEB19@AM8P190MB0801.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:7691;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: FxXvqjqa7T4XU2RFbcxeEj1d1SroBSvSw3jgQbjpy0fiiwVxMH3tTOSTbAJIsjIRKTXi8Tcmj869Y4aYehUx8EiCzFRmoZKgyDdBljUO21TVG/i7JvDXr79uQ57rPL+zbdt/+bn/WZ2kKwfCEnkzrqQh1NKAedpSwnqvdXFF10Zkr1I9d1wbHk4JJlVkurcX/8PPWUj0ezrFkA9a4z7tEZX6YRiyT4w4bh1gGuNpPiC7nWj69x9NxF6VhCPYGqMcJR1PpDAKc8kKbomvhZdgoCejWF7cDnlMBDvFB4qE6HXVtDbavxMJZeaM1SWyHicIoZtboPQNknfFTg/7vedKj2Rl2m/FlSJJBLjtBuigmCpy+sZqAP0AROxYU7r+bEy2MtM28MnhmgW1K6EjtrIP5RP5VfPIRZeJbzp379DRpUCH2IF/n+QhaQWVlKXpnjD0fGlZL0cpkG1rpjqw5w4HjqxIhy34HnMqgDxi1xyFTpK26TNZqiJ5X5WUoCUu/njkIumsZGaYpMJ2MyevQmeSSX9ixopK8mBsfPi5mUOBcazQ+r0PajldYI0h3pmdQNKfXVcN7ODjengVqtNdrRV3oO36RcTyobUyDJZlD9EkMWF0tPbOkwz2uu1iUEveffsBXnwp6hRqRJTp0LpGXcts/A6vvNbZeDU/E0JGVXlXu+YUd3839lvg/FOblnv2C15/8L4TiOG20kEhCVRQ6hHPFu3zHZRsTcQxV9q0zQRCRbs0M6/0DIfP4EDg08sJqkGza60DUk3V13ZxWiBZ57Zwd64XW0Jdt0XbQwiMDcqrHI0=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM0P190MB0641.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(366004)(186003)(52116002)(40140700001)(316002)(786003)(5660300002)(6486002)(8936002)(508600001)(86362001)(26005)(6496006)(1076003)(66556008)(54906003)(66476007)(66946007)(2906002)(38100700002)(38350700002)(4326008)(224303003)(85202003)(85182001)(3450700001)(6916009)(956004); DIR:OUT; SFP:1101; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cWVOb3drNUpwMW1YUlBUNnZCQ0Yyb2pxMXlua1B2aDdORlpGdDlnc2FpK0hT?= =?utf-8?B?aFRPQTB6SFV0S2I4K0duTURaNEVHTC9wL1g1Tm9mUDVuMmxnaHpub2ZmNVVX?= =?utf-8?B?YXlvK0F4N3NOTlluM1JUMXNMY2JDczYxamd3OFRtQ3EySGJZYmhDYXlqUXh0?= =?utf-8?B?V1U5YlVvRzVaVEJFb3Y2TTdQQUkwSzRWdGVIYzJ3RElqSld2WEIwS1A0RHFo?= =?utf-8?B?clNscDZ5TUVwaGdJZ2l5NWFSTG1TT1R6Y3hrRytYRjcySkE2UDk0a3lmdUVV?= =?utf-8?B?UUdmOFpXeEJUMzdyRW1VN09hT2I0UUJUL0NqRkVvY0tSZDRBVWJVL01rcTU2?= =?utf-8?B?L3lGM0M3QzREeDcxakRveDF4OXRNTytacDRWYWJ6MGZlbSs1YmJSQXVOeWtN?= =?utf-8?B?SUJxdDUrbzc3aGw4Q0g2dFU0TzhnVW41TVU4TWpGdGdNRklsY0ZqTEZ3am90?= =?utf-8?B?alZaa1VSaE9Xci9ab2d0TFYyYnlrRDYyNnZwK0lBL3ltZldjb1MyZ3hhWU5O?= =?utf-8?B?dGQ0QXcvajRiQkROZ0J5azhmM1JkYUpoaFd3RzEvRlBmUTBROUY5QlBKTmkr?= =?utf-8?B?dGowY2JnQUh0VndzWEE3dUtNaEZpQ0lMSWZuREJ5YjlEQXgxdGZ4Q011OGZ3?= =?utf-8?B?SGJBd0x1ZTVmTUxXc0srSDFLV2I0cFZOandlVGpoWk9kaHVOYUUzQWdVRFNv?= =?utf-8?B?WkZickNpYVBXdFNLOGRpZGg4Rm5XTklJTWJ2ZlpFeXZ6RWN1S00wclJNQUZn?= =?utf-8?B?eVV6MjlRZmY0SDFUTnE5VGtsMmpYVGVCTm16Tm9sZ2s3Ti9taXJSQXVMN3d5?= =?utf-8?B?Tnhid2FubDBNOEJ4cWgzZjMvcElJY0VrczExOTVraXd4aUFhOXNVUUtJWktD?= =?utf-8?B?Y0N6dVBlNXRKQ1dJM211WEx3Ti85Q3F5blJGa1IyTmVVSkJkeTNTeFB3TkpW?= =?utf-8?B?ZGdIV3QvclZFQmY0NHhaTzdBTXYvTVBlQlpkNGNrMC9aOEpRSzI4eldMc0tx?= =?utf-8?B?ZDIzVkNQUFFVNW5hUEl2TlBnTlphZ2x3eWdQa200THNnUUNjQWVKSURERmFN?= =?utf-8?B?eWIrL3FLak5BcFhXL2hzbnRhb2hleGwvTWd3K2JtZU9laUxBRkJWam1GRWJ3?= =?utf-8?B?dlRuelQveGs2TGVleGNsWWM0SEFNMHpYUE9UaDExTFF5N3lnckEvdC9OelNE?= =?utf-8?B?RmxoWlg4TnhzRnJMUmp4bzl0STVDM1dON0JPeGM5bXBVY0ZjWWREQ0pNZms3?= =?utf-8?B?S2pzVGNmNTNGcHlTTzNuR3RlRndPY2VUUjBYZ0ZLdDYrc1ozUlJZT2NSRmtG?= =?utf-8?B?T3Z3dTMvRWhlYXVnb3M5dXZVM05USkxML21nSW1aN3RvTW1jUW9vL2tXRGV6?= =?utf-8?B?ZTlpUUJYYTFjN2Q4K3BhT3RRMWxKc2Z5ZGYvN2Z3eFJ4cWlXQjVxUGI4MU1V?= =?utf-8?B?d0ZBd1E3REZmN3Y5RDdWclg4RVVueFJ0eG1nZXB1eTZPS3Q2WFVqald4aHNk?= =?utf-8?B?YlZPRlgxeU9CRkJ2MFovdmpPRFN2YnlVU3VzSS94WitiQ09wTC9JbHQ2TTBk?= =?utf-8?B?bXdXeXBQR3M3QmRJRW1aMjhsbDNjeGU2QUNoRFZISHVxdnhmSkxOWkRTQXZs?= =?utf-8?B?S29CV2ljNUtGVXBGRk45d04wZGs0eFArTGNDblZsM1hHcDhqaGd0Q21FRkZS?= =?utf-8?B?SEY5VVRoK1ZaTTZVUW9NVk5lS204b2NmcHBvVGUxUnJjcFBvV2Y5WVRRRzRK?= =?utf-8?Q?29V/EN6ne8C4vBIQTCFFm+vJhes/+Zr5XxLj7UK?=
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: d892be24-3949-496b-0e4f-08d9895dcbd8
X-MS-Exchange-CrossTenant-AuthSource: AM0P190MB0641.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2021 06:43:39.5937 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: MJdpoWjrnFn6Vw42E7TEIz3bNJNOTUtNAbyZJ1ksmVz/cHJg5e/SKaOsRvc/id4e+j/v4Jk430h9sLJ/56rGwJuPcfVrQmcnzDDZL25TvBE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8P190MB0801
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/e4D4SVBBGjkzgJAC391Co92dp2Q>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 06:44:16 -0000

On Thu, Oct 07, 2021 at 03:40:24AM +0200, Carsten Bormann wrote:
> On 7. Oct 2021, at 00:44, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
> > 
> > That's probably because there are none. As far as I know, there is no
> > "Scoped architecture for IPv4" RFC. I don't know why there is YANG support.
> 
> Zones are this gift that keeps on giving.
> 
> If we are doing zones, we need to do them like YANG.
> I would have a strong objection against including them but then doing them differently.
> Maybe we should simply reference RFC 6991 as well.
> 
> Jürgen:  Do you remember why ipv4-address has a zone ID (called “zone index”)?
>

The YANG definitions were derived from the SNMP definitions. I think
the first RFC having support for zoned IPv4 addresses in the network
management world was RFC 2851 (published June 2000). I vaguely recall
that we had several side meetings during the draft writing stage where
people pointed to other work (that may have led to things like RFC
3927 later on) and/or they pointed out that the need to disambiguate
IP addresses also exists in the IPv4 world. I think people also
pointed to routers running multiple links using the same non-global
(e.g., private) address spaces.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>


From nobody Thu Oct  7 02:42:16 2021
Return-Path: <cabo@tzi.org>
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 F226B3A0C60; Thu,  7 Oct 2021 02:42:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 6_g8DUOoFpjP; Thu,  7 Oct 2021 02:41:58 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9BAFF3A0C58; Thu,  7 Oct 2021 02:41:56 -0700 (PDT)
Received: from [192.168.217.118] (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HQ5v52RH5z2xk2; Thu,  7 Oct 2021 11:41:53 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <20211007064338.vkrqz4emjh2ztrg2@anna.jacobs.jacobs-university.de>
Date: Thu, 7 Oct 2021 11:41:52 +0200
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, cbor@ietf.org, The IESG <iesg@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>, =?utf-8?Q?=C3=89ric_Vyncke?= <evyncke@cisco.com>, Barry Leiba <barryleiba@computer.org>, cbor-chairs@ietf.org
X-Mao-Original-Outgoing-Id: 655292512.917105-15cff5f5091c296d8dfa1ea3887a232e
Content-Transfer-Encoding: quoted-printable
Message-Id: <D6EE42BD-E08D-4E29-86CD-F4861B590D30@tzi.org>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <9D5E9264-0A10-4A24-8F23-DB89EDE851B9@tzi.org> <9043.1633557346@localhost> <372df336-eb01-de6d-2e11-e094b9ff7cfd@gmail.com> <4C91B412-C484-458E-BDA6-0AEDAF8EA774@tzi.org> <20211007064338.vkrqz4emjh2ztrg2@anna.jacobs.jacobs-university.de>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/BP-HVc77lcbKaXyNIlAymOsHr5c>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 09:42:02 -0000

Thank you!

I can=E2=80=99t find zones in 2851, but InetAddressIPv4z is in 3291 (of =
2002 vintage, which also mentions InetAddressIPv6z in the Section 9, =
Changes) and 4001 (which we could reference alongside RFC 6991).  SNMP =
InetAddressIPv4z (or InetAddressIPv6z) only supports a numeric zone =
index, which is a 32-bit (Unsigned32 as per RFC4001 InetZoneIndex, which =
is mentioned in the RFC 4001 Section 8, Changes) number, but I think the =
generality of RFC 6991 (and the symmetry of the IP versions) wins here.

(RFC 3291 mentions v4-mapped IPv6 addresses as a source of zoned IPv4 =
addresses.  Thinking about it, that=E2=80=99s exactly where I have used =
them.)

Gr=C3=BC=C3=9Fe, Carsten


> On 2021-10-07, at 08:43, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder =
<j.schoenwaelder@jacobs-university.de> wrote:
>=20
> On Thu, Oct 07, 2021 at 03:40:24AM +0200, Carsten Bormann wrote:
>> On 7. Oct 2021, at 00:44, Brian E Carpenter =
<brian.e.carpenter@gmail.com> wrote:
>>>=20
>>> That's probably because there are none. As far as I know, there is =
no
>>> "Scoped architecture for IPv4" RFC. I don't know why there is YANG =
support.
>>=20
>> Zones are this gift that keeps on giving.
>>=20
>> If we are doing zones, we need to do them like YANG.
>> I would have a strong objection against including them but then doing =
them differently.
>> Maybe we should simply reference RFC 6991 as well.
>>=20
>> J=C3=BCrgen:  Do you remember why ipv4-address has a zone ID (called =
=E2=80=9Czone index=E2=80=9D)?
>>=20
>=20
> The YANG definitions were derived from the SNMP definitions. I think
> the first RFC having support for zoned IPv4 addresses in the network
> management world was RFC 2851 (published June 2000). I vaguely recall
> that we had several side meetings during the draft writing stage where
> people pointed to other work (that may have led to things like RFC
> 3927 later on) and/or they pointed out that the need to disambiguate
> IP addresses also exists in the IPv4 world. I think people also
> pointed to routers running multiple links using the same non-global
> (e.g., private) address spaces.
>=20
> /js
>=20
> --=20
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
>=20
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor


From nobody Thu Oct  7 03:01:27 2021
Return-Path: <rwilton@cisco.com>
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 6200F3A0C94; Thu,  7 Oct 2021 03:01:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.596
X-Spam-Level: 
X-Spam-Status: No, score=-9.596 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=a74XjyJA; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=RZgmxu7/
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 CIOa17RgoyMy; Thu,  7 Oct 2021 03:00:58 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6B4953A0C90; Thu,  7 Oct 2021 03:00:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3240; q=dns/txt; s=iport; t=1633600858; x=1634810458; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=t+3uLMckGP8RU2UTiQ8p4+/6JIZ5ukSb+/3c2yWiBXA=; b=a74XjyJAExrthjRljGC97FZmqj+x+rMi1O9ZXamLfc1OfsLTEhhhzVA+ yL3LMwso4JhcCIGUacrUt9tDzJrxEXUPvplOra2cgRmpfLoVC/grDvYhA euq2pjfEOJhNftr/lTCF0hI4gwuJbcNhalyBCdk8aLpUHimwKj/pANUbR E=;
IronPort-PHdr: =?us-ascii?q?A9a23=3AURkCYBOtTXjO2fS7vbUl6nfnWUAX0o4cdiYO4?= =?us-ascii?q?5wrhrZLe6Ll9J2xdEDc5PA4iljPUM2b7v9fkOPZvujmXnBI+peOtn0OMfkuH?= =?us-ascii?q?x8IgMkbhUosVciCD0CoN/fsYyE+Gc1EElRsrDm3NEFPE5P4YFvf6nS58T8VH?= =?us-ascii?q?ED5Mgx4buT4E4LflYK5zee3rpbSeA5PwjG6ZOAaEQ=3D=3D?=
IronPort-Data: =?us-ascii?q?A9a23=3AhuwAvqKIKaOcXoqqFE+Rk5QlxSXFcZb7ZxGr2?= =?us-ascii?q?PjKsXjdYENS3zcOzjceXm2BPPePZWKhetl3YY+z9EpQsMSHy982TVQd+CA2R?= =?us-ascii?q?RqmiyZq6fd1j6vI0qj7wvTrFCqL1O1DLImdRCwIZiWE/E70auC+9SMUOZygH?= =?us-ascii?q?9IQNsaVYkideic8IMsRoUoLd98R2uaEs/Dga+++kYuaT/nkBbOQ82Uc3lT4R?= =?us-ascii?q?E60gEgHUPza4Fv0t7GlDBxBlAe2e3I9VPrzKUwtRkYUTLW4HsbiLwrC5Kuy8?= =?us-ascii?q?mWc9BA3B5b11L36aUYNBLXVOGBiiFIPBPPk2UcE93d0i/pnXBYfQR8/ZzGhh?= =?us-ascii?q?c9wzMlKs7S7SBwiOevHn+F1vxxwQn0iYPEZoO+bSZS4mYnJp6HcSFPm2fRnC?= =?us-ascii?q?gc7e4YR4P56B31D79QXLTkMalaIgOfe6LmxTfMpjcQqLdPwFIISpn8myivWZ?= =?us-ascii?q?d4sSIrZUqHH5NVR9Dw3g9hTAfvEIc0DZlJHYE/NOBAUElgSAZM62uyvgxHXc?= =?us-ascii?q?jBDp3qUqLY5pW/Jw2RZ3KLkPsaQe9GWS4BelEGC42TL43v+GBJfPdCT0zee6?= =?us-ascii?q?X+3ru7CgS29X5gdfJWz/PlwqFye2mJVDwcZPXO+quP6i0OiVfpEIkoY9y4rp?= =?us-ascii?q?K50/0XDczVXd3VUu1aetRIaHtFXCeB/uEeGy7Hf5ECSAW1sc9KIU/R+3Odee?= =?us-ascii?q?NDg/gHVzrsF3QBSjYA=3D?=
IronPort-HdrOrdr: =?us-ascii?q?A9a23=3A9rMHi6GhqrWOPbC8pLqFSZHXdLJyesId70?= =?us-ascii?q?hD6qkvc31om52j+fxGws516fatskdsZJhSo6H+BEDmewKcyXcV2/heAV7GZm?= =?us-ascii?q?nbUQSTXflfBOfZsljd8mjFh5NgPMRbAuhD4b/LfCNHZK/BiWHSebtNsbr3kp?= =?us-ascii?q?xAx92utUuFJjsaDJ2Imj0JczpzZXcGIjWua6BJcKa0145inX6NaH4XZsO0Cj?= =?us-ascii?q?0uRO7YveDGk5rgfFovGwMnwBPmt0Lq1JfKVzyjmjsOWTJGxrkvtULflRbi26?= =?us-ascii?q?mlu/anjjfBym7o6YhMkteJ8KoAOCXMsLlRFtzfsHfuWG1TYczFgNnzmpD31L?= =?us-ascii?q?8eqqiJn/7nBbUq15qeRBDvnfKn4Xif7N9n0Q6S9bbfuwq4nSQ8LwhKV/aoQu?= =?us-ascii?q?liA0bkAgMbzaFB+bMO0GSDu5VNCxTc2Cz7+tjTThlv0lG5uHw4jIco/jFiuK?= =?us-ascii?q?YlGfRsRLYkjQlo+VY7bVXHwZFiFPMrANDX5f5Qf1/fZ3fFvnN3yNjpWngoBB?= =?us-ascii?q?+JTkULp8TQilFt7T9E5lpdwNZakmYL9Zo7RZUB7+PYMr5wnLULSsMNd6pyCO?= =?us-ascii?q?oIXMPyAG3QRhDHNn6UPD3cZe06EmOIr4Sy7KQ+5emsdpBNxJwumI7ZWFcdrm?= =?us-ascii?q?I2c1KGM7zH4HSKyGGFfIyZZ0WY9ihz3ekKhlTMfsucDcTYciFcryKJmYRrPv?= =?us-ascii?q?Hm?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BCDQBExF5h/5BdJa1agQmBWYFRUQd?= =?us-ascii?q?3WjcxhEeDRwOFOYVkgiUDgSmJS494gS6BJQNUCwEBAQ0BATkIBAEBggiCdQI?= =?us-ascii?q?XgjECJTUIDgECBAEBARIBAQUBAQECAQYEgREThWgNhkIBAQEBAxIREQwBATg?= =?us-ascii?q?LBAIBCBEEAQEDAh8HAgICHxEVBQMIAgQBEggaglCCVQMvAQ6gZwGBOgKKH3q?= =?us-ascii?q?BMYEBgggBAQYEBIE6AoNODQuCNQMGgRAqgwGEFYJUhB0CJxyBSUSBFUOCNzA?= =?us-ascii?q?+giFCAgIYgUiDFjeCLopOgVlTFwkwFjKBJRGRZ4NWqAVnCoMwikaOPIYFFKc?= =?us-ascii?q?WhT2QaIxNgz+VOQIEAgQFAg4BAQY1gS4DNoFFDQdwFYMkURkPjleDO4UUhQ0?= =?us-ascii?q?BPHQCNgIGAQoBAQMJAYI6kjUBAQ?=
X-IronPort-AV: E=Sophos;i="5.85,354,1624320000"; d="scan'208";a="944547084"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 07 Oct 2021 10:00:31 +0000
Received: from mail.cisco.com (xbe-aln-002.cisco.com [173.36.7.17]) by rcdn-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id 197A08lS022841 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Thu, 7 Oct 2021 10:00:30 GMT
Received: from xfe-rcd-003.cisco.com (173.37.227.251) by xbe-aln-002.cisco.com (173.36.7.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 7 Oct 2021 05:00:22 -0500
Received: from xfe-rcd-002.cisco.com (173.37.227.250) by xfe-rcd-003.cisco.com (173.37.227.251) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 7 Oct 2021 05:00:21 -0500
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (72.163.14.9) by xfe-rcd-002.cisco.com (173.37.227.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15 via Frontend Transport; Thu, 7 Oct 2021 05:00:21 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eGAgY3+nYeI6/8WFg1jGNCHXrzqXBqF8WbLvjQTQUYC+36YBMvy895TydMsirGtZziuLw7IQETlRWZIWcJ0IoQnZ4p5/3xrappD7AaENK/a/JR2mPg15kuetjDPBszdTrKwJpJFKwpNAhqn1wun2Ou/vqriThkl08nj6zp8aNyRIY5c+B3iRbQqlINKVVY97GrG6o/riw4u7E5+Yz30iDXYYk9AN4m4GxgqqqzvKlt7Eqn5+ZfFYlnI0vL2QEnuK/IHC7XhhE7jA75jiSf4G2thQGi8ymSg5D9zH5kGSepD2eGaaxhIPjiQid+kQorTMKWa3a9rEvMhp7gjrMRl89Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=t+3uLMckGP8RU2UTiQ8p4+/6JIZ5ukSb+/3c2yWiBXA=; b=acJ84JKVWviTpdwM9cL69ILNu3KBXjnlfCeSAd5JqiE8cTRA//mXL3J8YimkEYcZtEPWrdAEKakY6GUDCWditorTJy92bAkXGbHlri+Tvbut61uWL20dmZOmT6QkpQr7MCYYHAzSlYpKkxE7D/HPPG1HF89Yxgp4GNeUsFzOcvfLzQOYKNQp07ZJ9sHeNWNxJ2Hu9HAdl9hBLYwVvvrz5Z4gFv2mhaLnbqQ+M+mfzyjPQ2+eqlTxxIb6Ur981rmMd6B6LNip7hM0lZU4dzcJcyjEEuTH8hILDm/B767Cd0owPCeGCOzhfPBa8eTj/3OtOuNg77+kqt6Qsx/ZeihgSg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com;  s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=t+3uLMckGP8RU2UTiQ8p4+/6JIZ5ukSb+/3c2yWiBXA=; b=RZgmxu7/ZBddGc6/L1FMs3hpbkTxprDrBeunLXI/u25t/G7zVPJwlZf4uMyhwswzUmK7wdIObPchokYhD5D91cr2l0hk27A0vE4cTUcgqBiAKobA5OVBCRzCnSUeJ6joSdfVXQAqWof2bymBpxZYs55JRO2JvFSh0OAL8K3avAE=
Received: from MWHPR1101MB2222.namprd11.prod.outlook.com (2603:10b6:301:57::10) by CO1PR11MB4834.namprd11.prod.outlook.com (2603:10b6:303:90::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.20; Thu, 7 Oct 2021 10:00:15 +0000
Received: from MWHPR1101MB2222.namprd11.prod.outlook.com ([fe80::e4e2:3bc5:c00:4]) by MWHPR1101MB2222.namprd11.prod.outlook.com ([fe80::e4e2:3bc5:c00:4%6]) with mapi id 15.20.4587.020; Thu, 7 Oct 2021 10:00:15 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>, "Eric Vyncke (evyncke)" <evyncke@cisco.com>, "cbor@ietf.org" <cbor@ietf.org>, "draft-ietf-cbor-network-addresses@ietf.org" <draft-ietf-cbor-network-addresses@ietf.org>, The IESG <iesg@ietf.org>, "d3e3e3@gmail.com" <d3e3e3@gmail.com>, "barryleiba@computer.org" <barryleiba@computer.org>, "cbor-chairs@ietf.org" <cbor-chairs@ietf.org>, Brian E Carpenter <brian.e.carpenter@gmail.com>
Thread-Topic: =?utf-8?B?UmU6IFtDYm9yXSBTdXBwb3J0aW5nIElQdjYgTGluay1Mb2NhbCB3aXRoIHNj?= =?utf-8?B?b3BlICh3YXMgUmU6IMOJcmljIFZ5bmNrZSdzIERpc2N1c3Mgb24gZHJhZnQt?= =?utf-8?B?aWV0Zi1jYm9yLW5ldHdvcmstYWRkcmVzc2VzLTA5OiAod2l0aCBESVNDVVNT?= =?utf-8?Q?_and_COMMENT))?=
Thread-Index: AQHXukts5x1CeQ6s8UaD4dvgccgcqqvGJyQAgAEfa6A=
Date: Thu, 7 Oct 2021 10:00:15 +0000
Message-ID: <MWHPR1101MB222228806BD87376FC6CC290B5B19@MWHPR1101MB2222.namprd11.prod.outlook.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost>
In-Reply-To: <6442.1633537138@localhost>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: sandelman.ca; dkim=none (message not signed) header.d=none;sandelman.ca; dmarc=none action=none header.from=cisco.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: e7f1392e-f15c-4601-44d7-08d989794307
x-ms-traffictypediagnostic: CO1PR11MB4834:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <CO1PR11MB483407397B531F6ED27A34F2B5B19@CO1PR11MB4834.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: fh5NcnDe/R8DVQRHIPHaPykiuazBgI9/3qfpXIvXazBrEs9Q0pswlY+CoN/roYEcgnkUOiaREDAjeyJ5zAfAzA3AYrw584S3rz3hVp7ZkqyWRjkaLvV2GaTEIbd24Da4JbCZKvOvx7SJbVekwF3dLBPXi3rsrpcipOlP082o1iR31ciy5uxiJpTogy5uhb5kqWoKUfIcyH3T5QoddOa3OoLFB7B28I2C377ZFPjGdCaljmA0i+Xiyv+zOgIGA0zGTiw/B6W6Z6GMtQ61MZdACZnBV7tOLu0z+NBiMnXtwRj8pt7iYJ5qTeHNsHFdtKKo3ercpCh/xePrLLEXdcWlgzBgIRvtofESCW9Wu8X+aukpcUJC6voeVCXmXoms5TS0YNFwkjIEm54BcWBcbwdVQZTHi6j8KSphTXaW/FqMFDxoZNkK8KlY/ruFR7pxjFDLjnY0hbt/i9XN7nuujwhXgSE2jM9HjQGJsiL7swpwce9KHO72W2BwmHg+N6S4RcCJBwsIhp8fWNtto23uy+T44JxiBADuk2OSMuH8GtZncDRhO/7Sfj7m8dGEB5wKloJ6I3PG8tfNaEraPH+j5SP6ZplioQXVrBFHQ6pvFhNGdKkrlLCzQgOJg+dX3n58mHaP7KK/qyb7E7IWDEF1FIVA1uK7Ixs2lmo4C2Eenfti+k3YGXrv66vRsr4l2XaVdTiAKqTFCjyHFDwlI9htOhgpEW+wHq5o949vX0GVXwFRsNgk/gym9VY8DPhN5Wjk5uxVNjmusoWillszrRGbFu5BeOj0kmCs/50W5fInETJahP1/K45uatOTuR/5S6lzt35UWbQEFBjsJJnjHSQuxXLI2A==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:MWHPR1101MB2222.namprd11.prod.outlook.com; PTR:; CAT:NONE;  SFS:(366004)(38100700002)(5660300002)(122000001)(26005)(110136005)(52536014)(224303003)(186003)(76116006)(86362001)(66446008)(8936002)(33656002)(64756008)(66556008)(66946007)(66476007)(55016002)(9686003)(71200400001)(2906002)(83380400001)(316002)(508600001)(966005)(38070700005)(7696005)(6506007)(53546011); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?NTNXaG1kU0VIdHo5cFpNcnA1NFBvd2JDTW1NbkpxVVFjY0U1VDlrdldGYUpu?= =?utf-8?B?WE1SOTU2cnNSczZZVXN3Q0RHSDl0V2M3ZnVZb0plUEFqYmJ0bmlGQXRFQzJW?= =?utf-8?B?TUNJNWlIdmZFWjZ1Y2tESEZuMmVTOHczT29nRi8wVFNHRzNjM3NFY0tBOHhy?= =?utf-8?B?dmQyakxZdUt4aWh6bnRwdlZXTWhCWDRaWWVJd1VDbjNmQnBUSFdQU1l0NDNx?= =?utf-8?B?eFRIejV5ZGVwSXNidHZ3eWtNSGQrSTF3cEYzd1NGayt0RXpOMnNJOFIybzE4?= =?utf-8?B?L1hGajdLU3Frb0VFM2wyM0llcnZzSHB2eXdqTW00OS9vTWV0aDNVTUxnR0RD?= =?utf-8?B?R0lkVWQyUWtob0ZRNDdkYytwZERlWVdQOW1sdGZDZlpGVnlGdTkyTkI5QjB5?= =?utf-8?B?dTl3aEJRMVV1U1d1NVVSZjFORnNZWnY5Y3htNGZwYmdtUVBCU0hQTlBJR0J1?= =?utf-8?B?QVVBa2s1bGFDdEZzcW9hd2JSV2lScno2OGl5bWVLTWh1N2pBcUUyVDIyRno5?= =?utf-8?B?ZjFWSUtZZmw0WlVnV0IwU3hyVXlaZDNhSEs0aEtPNFI1anJ3d0N0UE56dmVH?= =?utf-8?B?dDVWWHJuNFQ2Q21rTXhzVm1zS003QnBOU1NTM2hCZXQ3UHd0Z0loTTlyWXNZ?= =?utf-8?B?MVJjMlNZeXZzZ2tYMU5DdWpuS1VManJzRDUzSVM0RTd6NFZrR0dTNkd2RklN?= =?utf-8?B?Q0Y5K3pHRXVGdVNmRHR4WmdrcVNRMzcvZjNDVy9ZZ0E1bVNMQVJwOXp6OGtG?= =?utf-8?B?L0pvWm8xS3F6NmRjRXdTZldjSWpaTCsrRGxCeUxuYVgyREp3WFlnY0UvZnVt?= =?utf-8?B?dUpPbDR5VmdtR2g5bHVSZjJxVjU2ZXVpQnV5SmRyOGN0OC8ySy9sRDJvckFV?= =?utf-8?B?VDlLYVNNVkpBS3JoL2xlNlgrb0pPa2JHcG10RzV1ZitLSkxEY3lFUzMvV2ZC?= =?utf-8?B?YkNrMWZRVmdiY2dra2ROa2gvaHZCZXg2cHR6U3E4czRrc3pneHZwNGtPTEx2?= =?utf-8?B?N1EvNUN5eHZnVDl5bFd4Wm1PWFJUNXhBbjVRcVZrbkVSL01WL2dWNTZMaUVs?= =?utf-8?B?dlFQbzlkMHlDZzlvbFJxREFJREs1aXkwbzhCRzdkMFBLeWNSam0zcHNPZjFh?= =?utf-8?B?a1lYeTR2bFlRMXhkY2hYZ285VVNwUFNiWExlNFNtTE1QaDd2OWRhK1lQRW1v?= =?utf-8?B?Nkp0WEt5WXVWZTVHMHgwQklSSlMyekQ0VWd0YjdVK1paWmcrZjhCZUR5eE1C?= =?utf-8?B?azZiV2dhekRXby9BV0lPV21YSnhyaVBOWmNXQ3JXcFdTai95WGd1NzYxNXVK?= =?utf-8?B?NlpqaDhWa1NKRnlmZXl3N0hDSVZHZmJCQ082YVZ6K3pPKzlkNWs2czBPaTRH?= =?utf-8?B?Sk54NkR4QXlWTkJmK2NZVzBKOVVwRlBkUFMyYXZnMGRzb1Rqc2s5STdlc2lP?= =?utf-8?B?UFZ4OGN2UTRLbFVrVnhTNUROYy8xOElFR0t3dVJpU1FNbTJaZW5LMmJ2WklV?= =?utf-8?B?Z0dVMUlZVUgwalRDVTMvQVFscDhacllwN2sxNXhFSkJ1ZEtjVVp5dGRBZXFN?= =?utf-8?B?WlB3dlRTaTZjYU04KzBjVDVoQWR4ZmgxTmtKd0MvZjlqb2NrZG00bGxKSzFJ?= =?utf-8?B?QTRaM0poVy9RbGtlSlBueEpEeERhMm45RjFvK1BCbi9uRFVIZ29JcnY1TTJN?= =?utf-8?B?Z0Zjc2NPVVY1Wk9tRmQ1TzltN3dudHNDU2FsMmZiZnVHbHFhbGpPbytXK09U?= =?utf-8?Q?MmMvqdHrZoL+W17u2UyQY4e7Py3qqiF8uKuS33E?=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MWHPR1101MB2222.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e7f1392e-f15c-4601-44d7-08d989794307
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2021 10:00:15.5754 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: RJRcqyu8yR4J1irVYEKXCcKheoiXJDq5q7p5YzmXCQAQd+kzTSu9gUAE9jhTguV1/ZGljsgITdimJwEuijqn1Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB4834
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.17, xbe-aln-002.cisco.com
X-Outbound-Node: rcdn-core-8.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/f1VLDrnglPLVuJb3Y81FD7nSeqY>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 10:01:06 -0000

SGkgTWljaGFlbCwNCg0KQSBjb3VwbGUgb2YgY29tbWVudHMgb24gLTEwDQoNCkluIHNlY3Rpb24g
MjoNCi0gSXQgc3RpbGwgcmVmZXJlbmNlcyBhIHR3byBlbGVtZW50IGFycmF5IGZvciBJUCBhZGRy
ZXNzIGFuZCBwcmVmaXgsIGJ1dCBwcmVzdW1hYmx5IGl0IGlzIGEgMiBvciAzIGVsZW1lbnQgYXJy
YXkuDQotIEhvdyBvZnRlbiBhcmUgem9uZXMgYWN0dWFsbHkgdXNlZD8gIFdvdWxkIGl0IG5vdCBq
dXN0IGJlIHNpbXBsZXIgdG8gYWx3YXlzIHVzZSBhIHN0cmluZyBpbnRlcmZhY2UgaWRlbnRpZmll
cj8NCi0gSXMgImZhbHNlIiBmb3IgYSBwcmVmaXggbGVuZ3RoIGEgYmV0dGVyIGNob2ljZSB0aGFu
IHVzaW5nIGVpdGhlciAtMSBvciBudWxsPw0KDQpJIHN0aWxsIHRoaW5rIHRoZSBleGFtcGxlIGlu
IHNlY3Rpb24gNCBwcm9iYWJseSBuZWVkcyBmaXhpbmc6DQoNCiAgIDUyKFs0NCwgaCcyMDAxMGRi
ODEyMzAnXSkNCg0KXi0gU2hvdWxkIHRoaXMgYmUgNTQgcmF0aGVyIHRoYW4gNTI/DQoNCiAgIGV2
ZW4gdGhvdWdoIHZhcmlhdGlvbnMgbGlrZToNCg0KICAgNTQoWzQ0LCBoJzIwMDEwZGI4MTIzMydd
KQ0KICAgNTQoWzQ1LCBoJzIwMDEwZGI4MTIzZiddKQ0KDQpeLSBTaG91bGQgdGhpcyBiZSA0NCBy
YXRoZXIgdGhhbiA0NT8gIEJlY2F1c2Ugb3RoZXJ3aXNlIGl0IGxvb2tzIGxpa2UgaXQgd291bGQg
cGFyc2UgdG8gYSBkaWZmZXJlbnQgcHJlZml4Lg0KDQpUaGFua3MsDQpSb2INCg0KDQotLS0tLU9y
aWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogaWVzZyA8aWVzZy1ib3VuY2VzQGlldGYub3JnPiBP
biBCZWhhbGYgT2YgTWljaGFlbCBSaWNoYXJkc29uDQpTZW50OiAwNiBPY3RvYmVyIDIwMjEgMTc6
MTkNClRvOiBFcmljIFZ5bmNrZSAoZXZ5bmNrZSkgPGV2eW5ja2VAY2lzY28uY29tPjsgY2JvckBp
ZXRmLm9yZzsgZHJhZnQtaWV0Zi1jYm9yLW5ldHdvcmstYWRkcmVzc2VzQGlldGYub3JnOyBUaGUg
SUVTRyA8aWVzZ0BpZXRmLm9yZz47IGQzZTNlM0BnbWFpbC5jb207IGJhcnJ5bGVpYmFAY29tcHV0
ZXIub3JnOyBjYm9yLWNoYWlyc0BpZXRmLm9yZzsgQnJpYW4gRSBDYXJwZW50ZXIgPGJyaWFuLmUu
Y2FycGVudGVyQGdtYWlsLmNvbT4NClN1YmplY3Q6IFJlOiBSZTogW0Nib3JdIFN1cHBvcnRpbmcg
SVB2NiBMaW5rLUxvY2FsIHdpdGggc2NvcGUgKHdhcyBSZTogw4lyaWMgVnluY2tlJ3MgRGlzY3Vz
cyBvbiBkcmFmdC1pZXRmLWNib3ItbmV0d29yay1hZGRyZXNzZXMtMDk6ICh3aXRoIERJU0NVU1Mg
YW5kIENPTU1FTlQpKQ0KDQoNCkhpLCBhdCB0aGUgQ0JPUiBXRyBtZWV0aW5nIHRoaXMgbW9ybmlu
Zywgc3VwcG9ydCBmb3IgSVB2NiBMTCBzY29wZXMNCndhcyB0aGUgbWFqb3IgdG9waWMuDQoNCldl
IGFkZGVkIGFuIG9wdGlvbmFsIHRoaXJkIHBhcmFtZXRlciB0byB0aGUgaW50ZXJmYWNlIGRlZmlu
aXRpb24sDQphbmQgbWFkZSBpdCB2YWxpZCB0byBzcGVjaWZ5IHRoZSBpbnRlcmZhY2UgcHJlZml4
IGxlbmd0aCBhcyAiZmFsc2UiDQoNCkkgaG9wZSB0aGF0IEkgZ290IHRoZSBDRERMIHJpZ2h0Og0K
ICBodHRwczovL2dpdGh1Yi5jb20vY2Jvci13Zy9jYm9yLW5ldHdvcmstYWRkcmVzcy9ibG9iL21h
aW4vY2Jvci1uZXR3b3JrLWFkZHJlc3Nlcy5ta2QjY2RkbA0KDQpFeGFtcGxlczoNCiAgaHR0cHM6
Ly9naXRodWIuY29tL2Nib3Itd2cvY2Jvci1uZXR3b3JrLWFkZHJlc3MvYmxvYi9tYWluL2Nib3It
bmV0d29yay1hZGRyZXNzZXMubWtkI2lwdjYNCg0KV2UgYWxzbyBhZ3JlZWQgdG8gbG93ZXJjYXNl
IGFsbCBIRVgsIGFuZCB0byBsZWF2ZSBFdGhlcm5ldCB0YWdzIGZvciBEb25hbGQncw0KcmZjNzA0
MmJpcy4gIChkZXNwaXRlIHRoYXQgYmVpbmcgaW5mb3JtYXRpb25hbCBhbmQgYSBwb3NzaWJsZSBk
b3ducmVmIGlzc3VlKQ0KDQpXZSBhZ3JlZWQgdGhhdCBJbnZhbGlkIENCT1IgaXMuLi4gaW52YWxp
ZCBDQk9SLCBhbmQgdGhhdCB0aGUgQ0RETCBnaXZlcyB0aGUNCmRldGFpbHMgZm9yIHRoZSBsaW1p
dHMuDQoNCkkgaGF2ZSBwb3N0ZWQgYSByZXZpc2lvbiAtMTAsIHdoaWNoIEkgaG9wZSBzYXRpc2Zp
ZXMgYWxsIG9mIHRoZSBESVNDVVNTIGFuZA0KY29tbWVudHM6DQoNCiAgaHR0cHM6Ly93d3cuaWV0
Zi5vcmcvcmZjZGlmZj91cmwxPWRyYWZ0LWlldGYtY2Jvci1uZXR3b3JrLWFkZHJlc3Nlcy0wOSZ1
cmwyPWRyYWZ0LWlldGYtY2Jvci1uZXR3b3JrLWFkZHJlc3Nlcy0xMA0KDQoNCg0KLS0NCk1pY2hh
ZWwgUmljaGFyZHNvbiA8bWNyK0lFVEZAc2FuZGVsbWFuLmNhPiAgIC4gbyBPICggSVB2NiBJw7hU
IGNvbnN1bHRpbmcgKQ0KICAgICAgICAgICBTYW5kZWxtYW4gU29mdHdhcmUgV29ya3MgSW5jLCBP
dHRhd2EgYW5kIFdvcmxkd2lkZQ0KDQoNCg0KDQo=


From nobody Thu Oct  7 03:39:00 2021
Return-Path: <cabo@tzi.org>
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 6A12C3A0A7B; Thu,  7 Oct 2021 03:38:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 w37jKeuksnQp; Thu,  7 Oct 2021 03:38:43 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EDB033A0DB6; Thu,  7 Oct 2021 03:38:42 -0700 (PDT)
Received: from [192.168.217.118] (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HQ78Z6vMkz2xD0; Thu,  7 Oct 2021 12:38:38 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <MWHPR1101MB222228806BD87376FC6CC290B5B19@MWHPR1101MB2222.namprd11.prod.outlook.com>
Date: Thu, 7 Oct 2021 12:38:38 +0200
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, "Eric Vyncke (evyncke)" <evyncke@cisco.com>, "cbor@ietf.org" <cbor@ietf.org>, The IESG <iesg@ietf.org>, "d3e3e3@gmail.com" <d3e3e3@gmail.com>, "barryleiba@computer.org" <barryleiba@computer.org>, "cbor-chairs@ietf.org" <cbor-chairs@ietf.org>, Brian E Carpenter <brian.e.carpenter@gmail.com>
X-Mao-Original-Outgoing-Id: 655295918.3297631-c8ac2370937375ab2940b0d5d9d078f4
Content-Transfer-Encoding: quoted-printable
Message-Id: <07FBA968-577E-4C89-B840-85EE16888E19@tzi.org>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <MWHPR1101MB222228806BD87376FC6CC290B5B19@MWHPR1101MB2222.namprd11.prod.outlook.com>
To: "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/-FWUunV7u6_XKIPZUtaTNRejoSY>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 10:38:49 -0000

Hi Rob,

thank you very much for the quick feedback!

I addressed the comments together with the IPv4 zone identifier =
discussion in
https://github.com/cbor-wg/cbor-network-address/pull/13

> On 2021-10-07, at 12:00, Rob Wilton (rwilton) =
<rwilton=3D40cisco.com@dmarc.ietf.org> wrote:
>=20
> Hi Michael,
>=20
> A couple of comments on -10
>=20
> In section 2:
> - It still references a two element array for IP address and prefix, =
but presumably it is a 2 or 3 element array.

I added text that explains that case.

> - How often are zones actually used?  Would it not just be simpler to =
always use a string interface identifier?

Ifindex and Ifname are two different concepts that should not be mixed.
The textual nature of RFC 6991 makes it seem natural to always use a =
textual representation for the Ifindex; this is not the case here.

> - Is "false" for a prefix length a better choice than using either -1 =
or null?

false is not better than null.
Actually, as this is representing what would be an optional element in =
an array, conventional CBOR idioms would call for null, but that is a =
matter of style.
I switched to null in the PR because you brought it up, but don=E2=80=99t =
have a strong opinion.

false/null definitely is better than -1.

> I still think the example in section 4 probably needs fixing:
>=20
>   52([44, h'20010db81230'])
>=20
> ^- Should this be 54 rather than 52?

Fixed.

>   even though variations like:
>=20
>   54([44, h'20010db81233'])
>   54([45, h'20010db8123f'])
>=20
> ^- Should this be 44 rather than 45?  Because otherwise it looks like =
it would parse to a different prefix.

The example itself is good but the text around it doesn=E2=80=99t fit. =20=

Changed to 44.

Gr=C3=BC=C3=9Fe, Carsten

>=20
> Thanks,
> Rob
>=20
>=20
> -----Original Message-----
> From: iesg <iesg-bounces@ietf.org> On Behalf Of Michael Richardson
> Sent: 06 October 2021 17:19
> To: Eric Vyncke (evyncke) <evyncke@cisco.com>; cbor@ietf.org; =
draft-ietf-cbor-network-addresses@ietf.org; The IESG <iesg@ietf.org>; =
d3e3e3@gmail.com; barryleiba@computer.org; cbor-chairs@ietf.org; Brian E =
Carpenter <brian.e.carpenter@gmail.com>
> Subject: Re: Re: [Cbor] Supporting IPv6 Link-Local with scope (was Re: =
=C3=89ric Vyncke's Discuss on draft-ietf-cbor-network-addresses-09: =
(with DISCUSS and COMMENT))
>=20
>=20
> Hi, at the CBOR WG meeting this morning, support for IPv6 LL scopes
> was the major topic.
>=20
> We added an optional third parameter to the interface definition,
> and made it valid to specify the interface prefix length as "false"
>=20
> I hope that I got the CDDL right:
>  =
https://github.com/cbor-wg/cbor-network-address/blob/main/cbor-network-add=
resses.mkd#cddl
>=20
> Examples:
>  =
https://github.com/cbor-wg/cbor-network-address/blob/main/cbor-network-add=
resses.mkd#ipv6
>=20
> We also agreed to lowercase all HEX, and to leave Ethernet tags for =
Donald's
> rfc7042bis.  (despite that being informational and a possible downref =
issue)
>=20
> We agreed that Invalid CBOR is... invalid CBOR, and that the CDDL =
gives the
> details for the limits.
>=20
> I have posted a revision -10, which I hope satisfies all of the =
DISCUSS and
> comments:
>=20
>  =
https://www.ietf.org/rfcdiff?url1=3Ddraft-ietf-cbor-network-addresses-09&u=
rl2=3Ddraft-ietf-cbor-network-addresses-10
>=20
>=20
>=20
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T =
consulting )
>           Sandelman Software Works Inc, Ottawa and Worldwide
>=20
>=20
>=20
>=20
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor


From nobody Thu Oct  7 03:58:42 2021
Return-Path: <J.Schoenwaelder@jacobs-university.de>
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 39D243A0DCE; Thu,  7 Oct 2021 03:58:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_MSPIKE_H2=-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=jacobsuniversity.onmicrosoft.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 S86mfxPanzsU; Thu,  7 Oct 2021 03:58:02 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10040.outbound.protection.outlook.com [40.107.1.40]) (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 E2F163A0DC7; Thu,  7 Oct 2021 03:58:00 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dYApa2gigz9JVaNs39BUrz9InDTCgz35AWlRkB3l5BC9K0kakFpQQ3FhmSfHQPveQBKOIc1In1/RqrrzSGu8CNkfsXxVKsLVsT/PwNrE61a5x0WsEA6WjrdR7sQvZc2g273916r87TZaWuE2i6TJF7XZEUTdP8vG/9Dzqnesq00bbNZWxOLxOb8ePyv27iJjXhXfFJ2QPUkzaT7ODnKZNTPap2jQwf/swj7a5wdvdobknTSfr0EdgNPh6rqps/wL/8TIfvWksxyoAhEt2V2Gy9W78xcS68Oy2bNCMSSTO5GX3O6qNfV01cpIzUDuN6HnNoH5L9iJefnxBql/DqAV+g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=606c4fRZsL3r0U9jkfm0WMr07QD0NJYM8ok0SLNiXWA=; b=T57bo6vmnuISddU78BsKHseOAdeR31wH6sUHinbfrRyOoc5B/0L/dbw3CUcreEyO1vZ5653zOyK54LzMl7IadsdHvhLRJ1RaiUF5Db/0cGsH/6wMc5qdI7dB0Nj9E+mveuMBVmlDTrK5SdtNn1gGosPZbZrCnOTSBNeg92WLvDtH9Zg7TbQTU1JkIaOw85dy5g+sCECH4SoTBUm8t4P+pwgjupn/2mDYtdyJaUjKn0aFDJPoIe4zAGHG7YfxWU6Kk6dPikPGxzPZiPrlJN28BoCfoEoIIrF3a6XvewSLZRHU/p6IqTBU+ZU9IIQutP/PBVkKWwKHRWGddvfK06cWEw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=606c4fRZsL3r0U9jkfm0WMr07QD0NJYM8ok0SLNiXWA=; b=tTF9X9svbbiF8oZApgdH6yfPnsrFDdzvLMIAKE6ZxaupqZ67VGG7x2cA/UqKv2KNpykpZjlLT2lT2489wreN0rMRxu1MCaE5dJ4wtH6ck9Rsagh9978OJ/URS7sEkVaP52DVemX416hGu1UKY3Z1oTg/SjFafacf3xm+zD7Mvo0=
Authentication-Results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=jacobs-university.de;
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23) by AM9P190MB1057.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:270::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18; Thu, 7 Oct 2021 10:57:54 +0000
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::3431:c461:890b:fb94]) by AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::3431:c461:890b:fb94%9]) with mapi id 15.20.4587.018; Thu, 7 Oct 2021 10:57:54 +0000
Date: Thu, 7 Oct 2021 12:57:53 +0200
From: =?utf-8?B?SsO8cmdlbiBTY2jDtm53w6RsZGVy?= <j.schoenwaelder@jacobs-university.de>
To: Carsten Bormann <cabo@tzi.org>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, cbor@ietf.org, The IESG <iesg@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>, =?utf-8?B?w4lyaWM=?= Vyncke <evyncke@cisco.com>, Barry Leiba <barryleiba@computer.org>, cbor-chairs@ietf.org
Message-ID: <20211007105753.n2kaxfuispujubps@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <9D5E9264-0A10-4A24-8F23-DB89EDE851B9@tzi.org> <9043.1633557346@localhost> <372df336-eb01-de6d-2e11-e094b9ff7cfd@gmail.com> <4C91B412-C484-458E-BDA6-0AEDAF8EA774@tzi.org> <20211007064338.vkrqz4emjh2ztrg2@anna.jacobs.jacobs-university.de> <D6EE42BD-E08D-4E29-86CD-F4861B590D30@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <D6EE42BD-E08D-4E29-86CD-F4861B590D30@tzi.org>
X-ClientProxiedBy: AS9PR05CA0044.eurprd05.prod.outlook.com (2603:10a6:20b:489::34) To AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23)
MIME-Version: 1.0
Received: from localhost (212.201.44.244) by AS9PR05CA0044.eurprd05.prod.outlook.com (2603:10a6:20b:489::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18 via Frontend Transport; Thu, 7 Oct 2021 10:57:54 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 9c0add70-347f-49d5-3a5e-08d989815085
X-MS-TrafficTypeDiagnostic: AM9P190MB1057:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM9P190MB1057AA371CB5F0A8F85A9E54DEB19@AM9P190MB1057.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:9508;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: uWaBzwyZWiWK8cH7TFUQXDL4frqR+X1VKZmyb3VS0ZgcsTB2hFwBnBiRH5jFLYchbTE4FBCJBOtdZ/4EmsemCD1bCcBr37ZbwlqxF8ymzH795OBsODl37p/4mplQYOqgoDf7WZozN2H/2zv8RyF18jr90Rj2oFsD2pVWBF2STsj+X1hlVWAOT4WSbiTBtNWsytja4AsNX8DtXPgo8KQ4zd/b/xG+1KaHJeATURCDtTY6U+X1T7hsY9aenuNDINlECQDxaIHp5lCGnHoPrOJIzWmkaN8GeYcz0YpbXToNhYUJn0Zj4ilfSXued5J5xQ4lquEskiI+MaH9hHdCXM0r/YPd0ADfpkpyosfaVYwP3ZU6xvfE6TJnlnXsEm3iD0Ado8z6vrhZSnuRAotlsOOJ6eW+rAuS5iX6qv1Dzjl47XUEDS9/9SX6aY+d+8vzhtNSasGLIkaz/GiHvRn78K6cM+5TUFaC2QJNzcO2SUuh8VhgnqMyAPC6GNpOXccBsbFB60gtGYGBqPrzU4VF0YW9XKdXKNFGDBfV0KQU2IgtErXxe2xep2Hak7pLySiQqcyBthYANYMeVdvGiEyq2oBNbuyNGvfXjhzNWAPK3eSmvvVcLFdTBH4IvR6TpXbE4+CO70T+8vlykpDRB6StTNV4RbJpjXMsHnjzoR3Wnc8DjpqP5EmQKmKIKDxcgAGXO8AVzsH1UeQP5/2cEPlGLiGJxFbVeN3K6PUtmgIZBcTOCUrhgpl4tYy+DJs7D7ut80UkUTRAXgCIi2uuBkqCcvLj0IAuEp2TGh+WT8jhfer3MFk=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM0P190MB0641.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(366004)(4326008)(40140700001)(66946007)(1076003)(38350700002)(38100700002)(508600001)(2906002)(3450700001)(85182001)(8936002)(83380400001)(53546011)(956004)(26005)(6496006)(66476007)(85202003)(66556008)(5660300002)(224303003)(52116002)(6486002)(86362001)(316002)(786003)(186003)(54906003)(6916009)(966005); DIR:OUT; SFP:1101; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QTA2THFPWkEzZStuZEttUmk5U0xMdmZSb1pDTGNUcmhtUTlvQVBCN0Y5TG9W?= =?utf-8?B?czRCcGVGd1ZNSVdZeUY0T3JsVzltTUgxdE5ZU1JsUEdGMlV2cm1yaHU2K1k0?= =?utf-8?B?eTBuc0lZN0ZYaFlpdFVtUndPS1p3RE5KSWFITTlGUEJpSXdNaURIdnNCeW9n?= =?utf-8?B?d3RMb050OSswdVQzY0dGRUc0QjE2QXpTWjVQTEFnSitNUUEvTElkbXpUYnNT?= =?utf-8?B?blE4ZVdoT3VpeTNUeDZHSmo0bTNmWnQxTjFjdVlIbHdBdGVpMUVqYUdLZTAr?= =?utf-8?B?NDYwNDJOTzdqNUNqVkV1b3ErL0xQUVN1Vm0wS0VSWUY0RUcwMk5zRHlISVJN?= =?utf-8?B?TmpzTm9zWGtjZVFzTmlveGFZaGdsZ1lzc2RGaE9ERmFQcWNGcTB5RFZTVjRw?= =?utf-8?B?SksyenVvRXFMYXlxdkpib3FJMGFSS0pkNHR1MnFVdFNNUG1sTFFVcXBZNTZJ?= =?utf-8?B?YkV6aC9iSGlGWmhrbUFmNVFuYnRvTnA3N2FhSm03bG1Ta0cweTJTUnJGRjZl?= =?utf-8?B?VHkrUEhRRTRCbVBkcDdITFlaemducnNPV2lCQTlYUWhaS01rTW10QUxVV3ZL?= =?utf-8?B?K3J0ZUxIZXVZWDB1VFFxRzIybXdsbm9YS20ydXZEaUpJeWxSRzJQUlJIMmE3?= =?utf-8?B?N25zWVpzNXNzbkpxMDUzd1ZHbm1HM2tvZE1ibW96Sm9UVmdxaFhYazJXMjFU?= =?utf-8?B?VDNFTm5DWHRuTDliMHIvWFhYNmFTeXZEenFiV0R0TGEwSEkxKzZSQ0tlclV2?= =?utf-8?B?VURZZ0RlMDNQZ0VWQmlEYi9JTWxpREZsWkJqd0p4aFF2eFNiR2swMkRXdG5n?= =?utf-8?B?empXalc1eHhqaGYwRk1MTHdCa3ZKdnNFT25pd2g4Q2tvTW5GcEFKc1ZoQlpy?= =?utf-8?B?OWk1TW9LVUFQUTdRRUd2cDc1Wi9RakRTaEh4bmNzT3N4L2lhSDRucEVEQU9i?= =?utf-8?B?NnpwRHBwbjk2Sm9iUWFsWnBDZWRrdlJFWWR2NW8vUGU0VmNuQUMyVFdFWmpO?= =?utf-8?B?ZVJSbHJYT1pNMklEQmx3V1dFekpQcGl5czQ2SzZlMnd6Tk9BRUlSU29qTVFz?= =?utf-8?B?OXkvYlA1bDNKM3dWVXkzT09MVmJ5ZGZhd29OMGNFV3V2UVpKUTV4RUFna0VT?= =?utf-8?B?eGsyZ082UDVZQ3IvVXNaMmd2SkljQ25OSnBCZjFtQm14bXhRQkdPSVZsUGFR?= =?utf-8?B?NVdMTHF4b2JoUFZmWjRPSkZBWkJIckl6aFprbEhkaEpQZEduVTV5emppSk9D?= =?utf-8?B?b3crWVZFRUpJUGtVbWNsNHNmN3M0ck96YXRXYzNQS0doWGZsa2dock1ScGlU?= =?utf-8?B?Y3V1eFExSmRwN0Zmc1l2TFJQTUZVZmFxRHI2KzBaVWtRR0wxYXVuVjUyWGJG?= =?utf-8?B?T3RnU3RnVmZFWCtEV1lNKzN3cHl1UDUyWEhMMzg4VFJkKy8zT1NmeEJBR2dr?= =?utf-8?B?eDZXRVlBcHRpeEdnQ3FVOWFWLzRVbjJieFlWYnU1SVc5U09aT3RnMWhUVlFs?= =?utf-8?B?R2drSS81dCt5eXAwNEVQNHR2TGlSZVdaRGdyeE81dWNzd2FvZ3pETWFzakRW?= =?utf-8?B?cXVDR3VqdVQrZHV1M2VoZ2VUOFVGcVVZSzgxMDRnVlgwVll4VS9pSUhrODZT?= =?utf-8?B?KzAwRzJoOXkydjU3bnErdjZtSmduT3dSVGU5cE15QWhwWUlzR0Y2aWtPQ3ly?= =?utf-8?B?N0FNbG9JZTROZ1NVM1RwSlh2UEVyNEVqYXJQMlZhYkY5SHp1aElIV1ZHVmJr?= =?utf-8?Q?NOxkCwDxFoZ0PQvCosWzoH1OoVKzvHx8NMYW6JQ?=
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 9c0add70-347f-49d5-3a5e-08d989815085
X-MS-Exchange-CrossTenant-AuthSource: AM0P190MB0641.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2021 10:57:54.5236 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: xwy04dFjdN6YMfUsOpB2l8zyBy0tkx6Oo864axZ0YuQ3JVVkUaaTjcgq8OkrVRsftvCICUzLiuvWKd6vuHKzj/axSxCFeGFK7XDBzoqjUxo=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P190MB1057
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/BbLdHvQRtMam_iCADXz9Gga4cDA>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 10:58:10 -0000

Yes, there are two things, recognizing that there is a need to
disambiguate addresses and then what you choose to disambiguate
them. Back in SNMP times, everything was commonly identified by
numbers. When we moved to YANG, we started to prefer using names as
there was a push to move closer to what people use on their CLIs
instead of what a kernel may be using internally. (The ifTable was
indexed by the numeric ifIndex, the YANG interfaces list is keyed by
interface names.) I guess as part of this transition, we moved from
using numeric zone indexes (that usually are simply ifIndex values) to
zone names (that are usually interface names).

/js

On Thu, Oct 07, 2021 at 11:41:52AM +0200, Carsten Bormann wrote:
> Thank you!
> 
> I can’t find zones in 2851, but InetAddressIPv4z is in 3291 (of 2002 vintage, which also mentions InetAddressIPv6z in the Section 9, Changes) and 4001 (which we could reference alongside RFC 6991).  SNMP InetAddressIPv4z (or InetAddressIPv6z) only supports a numeric zone index, which is a 32-bit (Unsigned32 as per RFC4001 InetZoneIndex, which is mentioned in the RFC 4001 Section 8, Changes) number, but I think the generality of RFC 6991 (and the symmetry of the IP versions) wins here.
> 
> (RFC 3291 mentions v4-mapped IPv6 addresses as a source of zoned IPv4 addresses.  Thinking about it, that’s exactly where I have used them.)
> 
> Grüße, Carsten
> 
> 
> > On 2021-10-07, at 08:43, Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de> wrote:
> > 
> > On Thu, Oct 07, 2021 at 03:40:24AM +0200, Carsten Bormann wrote:
> >> On 7. Oct 2021, at 00:44, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
> >>> 
> >>> That's probably because there are none. As far as I know, there is no
> >>> "Scoped architecture for IPv4" RFC. I don't know why there is YANG support.
> >> 
> >> Zones are this gift that keeps on giving.
> >> 
> >> If we are doing zones, we need to do them like YANG.
> >> I would have a strong objection against including them but then doing them differently.
> >> Maybe we should simply reference RFC 6991 as well.
> >> 
> >> Jürgen:  Do you remember why ipv4-address has a zone ID (called “zone index”)?
> >> 
> > 
> > The YANG definitions were derived from the SNMP definitions. I think
> > the first RFC having support for zoned IPv4 addresses in the network
> > management world was RFC 2851 (published June 2000). I vaguely recall
> > that we had several side meetings during the draft writing stage where
> > people pointed to other work (that may have led to things like RFC
> > 3927 later on) and/or they pointed out that the need to disambiguate
> > IP addresses also exists in the IPv4 world. I think people also
> > pointed to routers running multiple links using the same non-global
> > (e.g., private) address spaces.
> > 
> > /js
> > 
> > -- 
> > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> > Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
> > 
> > _______________________________________________
> > CBOR mailing list
> > CBOR@ietf.org
> > https://www.ietf.org/mailman/listinfo/cbor
> 

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>


From nobody Thu Oct  7 04:01:45 2021
Return-Path: <rwilton@cisco.com>
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 87E5C3A0E15; Thu,  7 Oct 2021 04:01:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.596
X-Spam-Level: 
X-Spam-Status: No, score=-9.596 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=eWSBBNyf; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=mUT7vBIx
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 QLQdoK0gZjZX; Thu,  7 Oct 2021 04:01:23 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 442F23A0E01; Thu,  7 Oct 2021 04:01:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1298; q=dns/txt; s=iport; t=1633604483; x=1634814083; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=FAkNj2kXR1WvZr9FT6xC6hHRDUTkBZrnMpxZMq5zAg8=; b=eWSBBNyfu0kMG8Q/q0gEY96lFvnKJ3nTK2Ghjnq6zE0xpXGEkl7ViPuS xQpJOQDh+Ex11dgYBAh3JX7QzjL61cgOPl5UIpu4ph/YJZp/Iq02vx62f +BSDXSuZ3dp+WG29QeYrZlawOpOIXaq1Iy9EODOhtxjygJJtObDGE3cyU A=;
IronPort-PHdr: =?us-ascii?q?A9a23=3A1tdNXR/lF/VUJv9uWDvoyV9kXcBvk6nmP0gS8?= =?us-ascii?q?JV0w75Nc6H2+ZPkMQSf4Ph2l1bGUM3d7O4MkOvZta3sGAliqZaMuXwPatpAA?= =?us-ascii?q?hkCj8hFgx4hRsmfBh6zIPvjdSdvGsNEWRds9G26Nk4AHsH4ahXSr3S+4CRUF?= =?us-ascii?q?A/4MF9+J//+HcjZiMHkv90=3D?=
IronPort-Data: =?us-ascii?q?A9a23=3AGwhvaaLDmwBEnuskFE+RfpclxSXFcZb7ZxGr2?= =?us-ascii?q?PjKsXjdYENS0zUCmzFKWTvUPv3ZZGf9f99zOYni8RtQ65aGnIBjQVcd+CA2R?= =?us-ascii?q?RqmiyZq6fd1j6vI0qj7wvTrFCqL1O1DLImdRCwIZiWE/E70auC+9SMUOZygH?= =?us-ascii?q?9IQNsaVYkideic8IMsRoUoLd98R2uaEs/Dga+++kYuaT/nkBbOQ82Uc3lT4R?= =?us-ascii?q?E60gEgHUPza4Fv0t7GlDBxBlAe2e3I9VPrzKUwtRkYUTLW4HsbiLwrC5Kuy8?= =?us-ascii?q?mWc9BA3B5b71L36aUYNBLXVOGBiiFIPBPPk2UcE93d0i/tkXBYfQR8/ZzGhh?= =?us-ascii?q?c9wzMlKs7S7SBwiOevHn+F1vxxwQngubfcZoeeWSZS4mYnJp6HcSFPm2fRnC?= =?us-ascii?q?gc7e4YR4P56B31D79QXLTkMalaIgOfe6LmxTfMpjcQqLdPwFIISpn8myivWZ?= =?us-ascii?q?d4sSIrZUqHH5NVR9Dw3g9hTAfvEIc0DZlJHYE/NOBAUElgSAZM62uyvgxHXc?= =?us-ascii?q?jBDp3qUqLY5pW/Jw2RZ27LqKvLUd8CEA8JPkS6wo2ncvGX0Hh8yL9WZxTeB9?= =?us-ascii?q?3uqwOTG9QvwUYgVPKGq97htmlL7+4C5IHX6TnOhqvW/z0W5Qd8adQof+zElq?= =?us-ascii?q?u4580nDczU0ZDXgyFbsg/LWc4MNSLFSBNmx95fp?=
IronPort-HdrOrdr: =?us-ascii?q?A9a23=3A0DsmL6m8zOKYHMS75pzzYFUD8WXpDfN0iW?= =?us-ascii?q?dD5ihNYBxZY6Wkfp+V/cjzhCWbtN9OYh4dcIi7Sda9qXO1z+8T3WBjB8bdYO?= =?us-ascii?q?CAghrpEGgC1/qi/9SEIU3DH4FmpNxdmsRFebjN5B1B/LrHCWqDYpUdKbu8gd?= =?us-ascii?q?qVbI7lph8HJ2wHGsIQjTuRSDzrb3GeLzM2Y6bRYaDsnvav0ADQAEj/AP7LYk?= =?us-ascii?q?UtbqzmnZnmhZjmaRkJC1oM8w+Vlw6l77b8Dlyxwgoeeykn+8ZhzUH11yjCoo?= =?us-ascii?q?mzufCyzRHRk0XJ6Y5NpdfnwtxfQOSRl8kuLCn2gArAXvUlZ1TChkFwnAic0i?= =?us-ascii?q?dtrDD+mWZ4Ay210QKIQoiBm2qr5+An6kd015at8y7DvZKpm72JeNtzMbswuW?= =?us-ascii?q?seSGqF16Ll1+sMj56iGAmixsZq5Fr77VfAzsmNWBdwmkWup30+1eYVknxESI?= =?us-ascii?q?MbLKRctIoF4SpuYds99Q/Bmcoa+dNVfYzhDTdtACWnRmGcunMqzM2nX3w1EB?= =?us-ascii?q?vDSk8eutaN2zwTmHxi1UMXyMEWg39FrfsGOtd5zvWBNr4tmKBFT8cQY644DO?= =?us-ascii?q?AdQdGvAmiIRR7XKmqdLVnuCalCMXPQrJz85qkz+YiRCdM15Yp3nI6EXEJTtG?= =?us-ascii?q?Y0dU6rAcqS3IdT+hSIW2m5VSSF8LAU23G4gMy1eFPPC1z1dLkDqbrUnxwvOL?= =?us-ascii?q?yTZx/oAuMlPxbKFxqbJbp0?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AsCADq0l5h/51dJa1aHgEBCxIMQIF?= =?us-ascii?q?OC4FRUQeBUTcxhEeDRwOFOYVkgiiBKZlDgS6BJQNUCwEBAQ0BAUEEAQGEfQI?= =?us-ascii?q?XgjECJTQJDgECBAEBARIBAQUBAQECAQYEgREThWgNhkIBAQEBAxIREQwBATc?= =?us-ascii?q?BCwQCAQgOBwEEAh8HAgICMBUFCwIEDgUIGoUlAy8BoHABgToCih96gTGBAYI?= =?us-ascii?q?IAQEGBASFChiCNQmBECqDAYQVglSEHyccgUlEgRVDgmc+hEeDFjeCLos5boE?= =?us-ascii?q?jSJYsAUaobAqDMJ8HFKcWhT22LQIEAgQFAg4BAQY1gSw7gVlwFYMkURkPjiA?= =?us-ascii?q?3gzuKXnQ4AgYBCgEBAwkBgjqSNQEB?=
X-IronPort-AV: E=Sophos;i="5.85,354,1624320000"; d="scan'208";a="918827109"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 07 Oct 2021 11:00:34 +0000
Received: from mail.cisco.com (xbe-aln-006.cisco.com [173.36.7.21]) by rcdn-core-6.cisco.com (8.15.2/8.15.2) with ESMTPS id 197B04YX010013 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Thu, 7 Oct 2021 11:00:33 GMT
Received: from xfe-rcd-001.cisco.com (173.37.227.249) by xbe-aln-006.cisco.com (173.36.7.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 7 Oct 2021 06:00:06 -0500
Received: from xfe-rcd-002.cisco.com (173.37.227.250) by xfe-rcd-001.cisco.com (173.37.227.249) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 7 Oct 2021 06:00:06 -0500
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (72.163.14.9) by xfe-rcd-002.cisco.com (173.37.227.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15 via Frontend Transport; Thu, 7 Oct 2021 06:00:06 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IZFcI2qI4d/ev3kPYSCPtzv+v/Eb6UBsRE+TwBLi3UNCXhLSSg8m+y+rT3CiiHCzmGxygg8nQQGQj0p7SQpiaMDDRDQNV/br3q3oNnQSzBVt3Nb1h/oFFBg2dme9x12F/JI538ZpB4UKsMvc8v3GR+YaMnWdysl7opcSwhdbakEzb4Nl1hfyrtU+SNv74D4qTEz6MiTHMFhGZuBzIQ6/BnQ600TN30PfQEot9Wd+HwChuNO/RmZP/pTD24S0Xn52IJEWek6arNgtsyxPhAHm3ZtrxLw2EmQBvj0alk1C5bPtW6ZTgH7Mqp0LtBmhj/cUfBEetmKjWW80UP+QvWbHDA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FAkNj2kXR1WvZr9FT6xC6hHRDUTkBZrnMpxZMq5zAg8=; b=aMrITeCn9Dq0z+UFFxu8I/LeWylsvhzA+BgbrMpYHsOZKDkT9jZ+nJOlc/DiMhS5sIuhMlBPIXdd7wBhBDxgv1iCCJjxbqHM0LKmtjG82nSxQBAmwtqiQfzif217kky+hM8BDqV5SZQ0zTAk+WhvCH3CbcG07wK3w9BxTYVHlIa16dNBR818SJjmeJEWDJd06fDVKFUWBRi5DfpJvZe7Y6Z1T8xCJlPw/2j0C/V3oB4X93f2/Jv/CLWAJMAP9LR5IB7wiG9P4N4RX44os2wkb4L87SpV0Yjq/enCqjS767fIDiCYoMtgcSJm1GmuYV9Vs6CdQw1i/5v3By+Mow8eAg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com;  s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FAkNj2kXR1WvZr9FT6xC6hHRDUTkBZrnMpxZMq5zAg8=; b=mUT7vBIxBr0qdBZvmsb9lmuPh1s43pOpw0B1i8p9x8+ObvqxGKI/gJf/y/qeCAJ7KSJmUmJeTo2zwfBdNtS0QyeqgG1eZ/E7OO3qXHUC2t/SbIJdj130dLo2hx3Zhr3uXPyISUiegnrQx07foNOOo/08I6ds26P8CI2f70dT+Fg=
Received: from MWHPR1101MB2222.namprd11.prod.outlook.com (2603:10b6:301:57::10) by MWHPR11MB1887.namprd11.prod.outlook.com (2603:10b6:300:109::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.19; Thu, 7 Oct 2021 11:00:04 +0000
Received: from MWHPR1101MB2222.namprd11.prod.outlook.com ([fe80::e4e2:3bc5:c00:4]) by MWHPR1101MB2222.namprd11.prod.outlook.com ([fe80::e4e2:3bc5:c00:4%6]) with mapi id 15.20.4587.020; Thu, 7 Oct 2021 11:00:04 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Carsten Bormann <cabo@tzi.org>
CC: Michael Richardson <mcr+ietf@sandelman.ca>, "Eric Vyncke (evyncke)" <evyncke@cisco.com>, "cbor@ietf.org" <cbor@ietf.org>, The IESG <iesg@ietf.org>, "d3e3e3@gmail.com" <d3e3e3@gmail.com>, "barryleiba@computer.org" <barryleiba@computer.org>, "cbor-chairs@ietf.org" <cbor-chairs@ietf.org>, Brian E Carpenter <brian.e.carpenter@gmail.com>
Thread-Topic: =?utf-8?B?W0Nib3JdICBTdXBwb3J0aW5nIElQdjYgTGluay1Mb2NhbCB3aXRoIHNjb3Bl?= =?utf-8?B?ICh3YXMgUmU6IMOJcmljIFZ5bmNrZSdzIERpc2N1c3Mgb24gZHJhZnQtaWV0?= =?utf-8?B?Zi1jYm9yLW5ldHdvcmstYWRkcmVzc2VzLTA5OiAod2l0aCBESVNDVVNTIGFu?= =?utf-8?Q?d_COMMENT))?=
Thread-Index: AQHXu2eKAYKsPh1kPUededsG396dDKvHW4ow
Date: Thu, 7 Oct 2021 11:00:04 +0000
Message-ID: <MWHPR1101MB2222D750BC6AFB9B40CED892B5B19@MWHPR1101MB2222.namprd11.prod.outlook.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <MWHPR1101MB222228806BD87376FC6CC290B5B19@MWHPR1101MB2222.namprd11.prod.outlook.com> <07FBA968-577E-4C89-B840-85EE16888E19@tzi.org>
In-Reply-To: <07FBA968-577E-4C89-B840-85EE16888E19@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=cisco.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ec3adf1d-f37f-4459-f36c-08d989819e2d
x-ms-traffictypediagnostic: MWHPR11MB1887:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MWHPR11MB1887A7F7DA6288400F1ADB92B5B19@MWHPR11MB1887.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: KINKRmmOO68GfbPSqoj4lKNn2GtoNan3M6SYNiFIusl9UZgqS2aBJ/vcgChQvSgjeyZwGLcQG+ADzr3FuO16Nri35R2sNZgK0LJlWAI8rdYytjn7E+lzmazI5fLBmosmR+s5hZHrdpyxyKuJ/lYQax4LUUglHcRfgZqVoxVAsyuhzkcB8VJXmtS4+xg7ZMS8ynBBgNWIrku7/gal9SXelAO6wTCQBw3DtBroy8mBbuq66MfCJS3U9QLbr1wU9tqKwKIcDjK6UxuvQyjg0oI7WnEmaMAZMBYhlqLcAXPlqJHAKVmmVYeBnTDdXOvkRdeiF+O+kYLbanNQQsy4KBRKsdLN/li+O5PmpE77hnsJRYp/FDd70k/jCg7ae+vUuI9aMdKCWOd9OPZrEcQFSnVnsDaui9ohO3XhEb4XQCeAJ86jXEqiuowd6HEYHSRuerbmcYIxBVFQOfgqJ5aIISyzgucm/qe8gUKehyg2Yg1wYks4WCKkeIt5ImFuC0qEEaKth4GEE9X23u584y8swfjuE2/4DsRXPtDGcAPo8Fn+jZQtPiNP/bejTBbqFiCCFeGUmooM5YO0W2A7muW1TGJmJ8iMHdV/2AB8cWgtEg7uYmGVtDEHZq/KpFnGj8gsQRU1t5jRlgaVq7F9ICzFJ4vWbDc4KHll/N6Z3jFwW5FPtnvecQXPoIONaL516hzUD2+r6oCpZ4I4xWHALFC4w0zQxQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:MWHPR1101MB2222.namprd11.prod.outlook.com; PTR:; CAT:NONE;  SFS:(366004)(26005)(54906003)(122000001)(8936002)(66556008)(66446008)(53546011)(66946007)(76116006)(6916009)(4744005)(224303003)(38070700005)(64756008)(86362001)(186003)(5660300002)(71200400001)(38100700002)(83380400001)(2906002)(52536014)(66476007)(33656002)(55016002)(9686003)(6506007)(316002)(7696005)(4326008)(508600001); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?R2VSR1J3bDIxZHB3MnUvZGhrQ2ZaZFJTTTk2NExuL0Rha0FOQ202aURXT1VB?= =?utf-8?B?dHdicCtaUmVLWHdxamEzSVNzZFpjUjdXZnFmWG43MUdhbHZjaTByY0MzS2dW?= =?utf-8?B?VFdKZm1RMWZLZ0RjZ0tWbGNkTCsyWTNzU0d1bWlZbUQ2Y2E0UFVTbEpFK09Q?= =?utf-8?B?ejlIelBmMGg1dU5qeC8wMDJEb2x0Y0dJb1NrQ05PamdaMEtSMVpNd00za3FQ?= =?utf-8?B?SXhubVZhcW9qYXFLKzBEL3NPODlHQzQ1SWhmdGdJUmZQalF4UFJEbFVnUm4v?= =?utf-8?B?RFl0cHAxeEFCa0pOTVMyZStLT0ZPVkpnZHQ1bGZBY08rWjRiWXNnWWdGZk5G?= =?utf-8?B?MERlZDlPdDY1ZWRSY0Z5ZFNvMkZpWlVYcWd5WjVzdFlXR0s3dE9lcEFtOXky?= =?utf-8?B?d0pmL0NaQnVYM2lxVUVjbEI1Q1RmN2NNOGRiSU1iUnhtUHhZRlcrV0h3M2hs?= =?utf-8?B?VTZtNlQ0WDNpeEN1ZmRiZHZ6dTFWMEROUjNmVUlHWjFGVzlZdEV3Z213bzhJ?= =?utf-8?B?Vlo3SkVxbkluVkYzQzliT3RIWGwzYjA1dFRNVVhpcDZzVk9GMnFwUklCUjJK?= =?utf-8?B?OHYzT0I4bVBWRTBBRHVXblpFMGFGRjgvZk1vR0drSG5VdklZV1ExbHJTVlFQ?= =?utf-8?B?dzBYb3dRak5qS2RKRmZ5bUpBQVVUeDJtTnZXbm9xOTFka0VrZ1Y4VWgxbk44?= =?utf-8?B?dkJuZVBnSEtNdUM5R25QSUN1czNQNnM5NUI5Q0tjMEM1NWtyVDYxSkJxWjYx?= =?utf-8?B?bFVpVGJnelFUc1hvQ0FjMUJRTVA5clNGbkpuT3RqVCtWNFZqZjBVZEhPKzlT?= =?utf-8?B?STJHckFUZlZpVFFoSVJWVXFkSG1nZk9EMU1KbG9Lc1E3bnJDckpBRzJTdncw?= =?utf-8?B?NlFzSW5teDJyUWppbFJOU0lyOUk5NGFGSWErREs0L0xzbnU1KzcxUE9tTEJM?= =?utf-8?B?K000WXo2d053bXBmWWpvOThtNWJwMTBpUDl3NndOMVJEYnZIOUsxYU1MbzdE?= =?utf-8?B?TURxUkxheXdzYWtsSUljT3JxL29QVmkwdFMrUW1oZmdGbkFRWGJianlid045?= =?utf-8?B?dDhXN1ZvRis3TXpZZFJEQy9xL3p4azRLY0RPelBXM00xR1ViL2xYVEh1ZlhX?= =?utf-8?B?WUJSaENSWEtOR092S2NES2psVDhWejhCV1RDbTY3cUhoNEhaUjhpQ0JvSlBM?= =?utf-8?B?alp3SCtJU28weEh5Y01iczVJRTJxTnc4WW1FekxyUHh5WGluVTFEVWdwQmIw?= =?utf-8?B?K0NQaytKckJyRGJTVEYvTkdtb3lXekN5bVUwWmI2dzVHamh2UU1oU3dzdnNv?= =?utf-8?B?Z21od1U4YnBIT1AzdUVzWFhaWmVEYkFreitHR2M3UWxhYWJGQmsyT2tHd2kr?= =?utf-8?B?Z1FmSDZIVmtzRXVjTHdaTWVZZjRQVXVuclEwc1FWR1N4Ryt4WHRIWFJOWXMx?= =?utf-8?B?bmQ5TnlmdHlHSDVPQ0hiSCtKQWFoWWhkTVFXdUF1ZE9IOFBNVUt0WkpPcVNw?= =?utf-8?B?QlYyQ2VvREtzbFRRT09hdms4NHBrTEduc0VtbWV5SXQraWlDSmlrSmRMdGZB?= =?utf-8?B?c3UyYWI5SDYySjZ5SzYwdjhkbGlwWUJYSGM0VkUyWTl2NXJ6VmRwejJXR2FX?= =?utf-8?B?NkllU2tRSzZMWGl5c1hkcE45bXdVU3doODVtRGx5VGRBUW8rdERuSmNsY2FK?= =?utf-8?B?OUowdmRwa3FVZVdPNFcwTEEzNU9PeVdJYnlBZ0xOVjBxZTNOQTZ3UU5SbEdp?= =?utf-8?Q?uNHMUlARWwqUbuLPe8iZnL0CNt7dPF+vNmlCAYd?=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MWHPR1101MB2222.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ec3adf1d-f37f-4459-f36c-08d989819e2d
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2021 11:00:04.6414 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: UPs7nig4rkBsuwAyYrmEleT3qq6Pb5UtnH7SUISFXcsfKbTxTFuwMtPaJIQnivAkkpGgMSCvZDKs48KMo9+mFQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1887
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.21, xbe-aln-006.cisco.com
X-Outbound-Node: rcdn-core-6.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/yHgOcvxoJ-W3ZW6ORpsrqSb5aZg>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 11:01:43 -0000

SGkgQ2Fyc3RlbiwNCg0KU25pcHBlZCBtb3N0IG9mIGl0LCBqdXN0IG9uZSBjb21tZW50IGlubGlu
ZSAuLi4NCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBDYXJzdGVuIEJv
cm1hbm4gPGNhYm9AdHppLm9yZz4NCj4gU2VudDogMDcgT2N0b2JlciAyMDIxIDExOjM5DQo+IFRv
OiBSb2IgV2lsdG9uIChyd2lsdG9uKSA8cndpbHRvbkBjaXNjby5jb20+DQo8c25pcHBlZD4gDQo+
ID4gLSBIb3cgb2Z0ZW4gYXJlIHpvbmVzIGFjdHVhbGx5IHVzZWQ/ICBXb3VsZCBpdCBub3QganVz
dCBiZSBzaW1wbGVyIHRvIGFsd2F5cw0KPiB1c2UgYSBzdHJpbmcgaW50ZXJmYWNlIGlkZW50aWZp
ZXI/DQo+IA0KPiBJZmluZGV4IGFuZCBJZm5hbWUgYXJlIHR3byBkaWZmZXJlbnQgY29uY2VwdHMg
dGhhdCBzaG91bGQgbm90IGJlIG1peGVkLg0KPiBUaGUgdGV4dHVhbCBuYXR1cmUgb2YgUkZDIDY5
OTEgbWFrZXMgaXQgc2VlbSBuYXR1cmFsIHRvIGFsd2F5cyB1c2UgYSB0ZXh0dWFsDQo+IHJlcHJl
c2VudGF0aW9uIGZvciB0aGUgSWZpbmRleDsgdGhpcyBpcyBub3QgdGhlIGNhc2UgaGVyZS4NCg0K
T2theSwgc28gdGhpbmtpbmcgYWJvdXQgY29udmVydGluZyBmcm9tIFlBTkcgdG8gdGhpcyBDQk9S
IHJlcHJlc2VudGF0aW9uLCB0aGVuIHdvdWxkIHRoZSBleHBlY3RhdGlvbiBiZSB0aGF0IGl0IGlz
IG9rYXkgdG8gdXNlIGEgc3RyaW5nIHRoYXQgcmVwcmVzZW50cyBhbiBpbnRlZ2VyPyAgQW5kIGlz
IHRoYXQgbG9naWNhbGx5IHRoZSBzYW1lIG9yIGRpZmZlcmVudD8gIE9yIHdvdWxkIHRoZSBleHBl
Y3RhdGlvbiBiZSB0aGF0IHRoZSB6b25lIHN0cmluZyBzaG91bGQgYmUgY29udmVydGVkIChub3Jt
YWxpemVkKSB0byBhbiBpbnRlZ2VyIGlmIGl0IGNhbiBiZT8gIERvZXMgYW55IG9mIHRoaXMgbmVl
ZCB0byBiZSBzcGVjaWZpZWQ/DQoNClRoYW5rcywNClJvYg0K


From nobody Thu Oct  7 04:50:36 2021
Return-Path: <cabo@tzi.org>
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 68B003A0FC6; Thu,  7 Oct 2021 04:50:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 qhAh9OcO4hs5; Thu,  7 Oct 2021 04:50:07 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 96FC13A0FCA; Thu,  7 Oct 2021 04:50:05 -0700 (PDT)
Received: from [192.168.217.118] (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HQ8kx2XzCz2xfc; Thu,  7 Oct 2021 13:50:01 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <MWHPR1101MB2222D750BC6AFB9B40CED892B5B19@MWHPR1101MB2222.namprd11.prod.outlook.com>
Date: Thu, 7 Oct 2021 13:50:00 +0200
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, "Eric Vyncke (evyncke)" <evyncke@cisco.com>, "cbor@ietf.org" <cbor@ietf.org>, The IESG <iesg@ietf.org>, "d3e3e3@gmail.com" <d3e3e3@gmail.com>, "barryleiba@computer.org" <barryleiba@computer.org>, "cbor-chairs@ietf.org" <cbor-chairs@ietf.org>, Brian E Carpenter <brian.e.carpenter@gmail.com>
X-Mao-Original-Outgoing-Id: 655300200.570668-97ba6461969c94859ac2fb29829c298e
Content-Transfer-Encoding: quoted-printable
Message-Id: <49287F64-6F79-4946-8C0E-80D6F310A6D6@tzi.org>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <MWHPR1101MB222228806BD87376FC6CC290B5B19@MWHPR1101MB2222.namprd11.prod.outlook.com> <07FBA968-577E-4C89-B840-85EE16888E19@tzi.org> <MWHPR1101MB2222D750BC6AFB9B40CED892B5B19@MWHPR1101MB2222.namprd11.prod.outlook.com>
To: "Rob Wilton (rwilton)" <rwilton@cisco.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/3tZFE9Zpl9MYTWdBMDhszPcIEOs>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 11:50:13 -0000

On 2021-10-07, at 13:00, Rob Wilton (rwilton) <rwilton@cisco.com> wrote:
>=20
> Hi Carsten,
>=20
> Snipped most of it, just one comment inline ...
>=20
>> -----Original Message-----
>> From: Carsten Bormann <cabo@tzi.org>
>> Sent: 07 October 2021 11:39
>> To: Rob Wilton (rwilton) <rwilton@cisco.com>
> <snipped>=20
>>> - How often are zones actually used?  Would it not just be simpler =
to always
>> use a string interface identifier?
>>=20
>> Ifindex and Ifname are two different concepts that should not be =
mixed.
>> The textual nature of RFC 6991 makes it seem natural to always use a =
textual
>> representation for the Ifindex; this is not the case here.
>=20
> Okay, so thinking about converting from YANG to this CBOR =
representation, then would the expectation be that it is okay to use a =
string that represents an integer? =20

If I needed to write a converter from YANG ietf-inet-types, I would =
match on digits only and then create an unsigned integer, and use a text =
string otherwise.

> And is that logically the same or different?  Or would the expectation =
be that the zone string should be converted (normalized) to an integer
> if it can be? =20

You=E2=80=99d need to be on the system in question, and the conversion =
result might be rather ephemeral...

> Does any of this need to be specified?

Depends on where the conversion from YANG ietf-inet-types to CBOR 52/54 =
should be specified.  With zero operational experience, that would seem =
a bit more speculative to me than I like.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Thu Oct  7 06:59:16 2021
Return-Path: <cabo@tzi.org>
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 907453A005C; Wed,  6 Oct 2021 18:39:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 1kf4W-z5tFsP; Wed,  6 Oct 2021 18:39:01 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1846C3A003C; Wed,  6 Oct 2021 18:39:00 -0700 (PDT)
Received: from smtpclient.apple (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HPv9s43fLz2xjy; Thu,  7 Oct 2021 03:38:57 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <372df336-eb01-de6d-2e11-e094b9ff7cfd@gmail.com>
Date: Thu, 7 Oct 2021 03:38:57 +0200
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, =?utf-8?Q?=C3=89ric_Vyncke?= <evyncke@cisco.com>, cbor@ietf.org, draft-ietf-cbor-network-addresses@ietf.org, The IESG <iesg@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>, Barry Leiba <barryleiba@computer.org>, cbor-chairs@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <B15F2A12-2A60-4456-9C8B-E4F155078613@tzi.org>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <9D5E9264-0A10-4A24-8F23-DB89EDE851B9@tzi.org> <9043.1633557346@localhost> <372df336-eb01-de6d-2e11-e094b9ff7cfd@gmail.com>
To: =?utf-8?B?SsO8cmdlbiBTY2jDtm53w6RsZGVy?= <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/zPMEFpZg6qFbbDDo0QGTE4XaVso>
X-Mailman-Approved-At: Thu, 07 Oct 2021 06:59:14 -0700
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 01:39:05 -0000

On 7. Oct 2021, at 00:44, Brian E Carpenter =
<brian.e.carpenter@gmail.com> wrote:
>=20
> That's probably because there are none. As far as I know, there is no
> "Scoped architecture for IPv4" RFC. I don't know why there is YANG =
support.

Zones are this gift that keeps on giving.

If we are doing zones, we need to do them like YANG.
I would have a strong objection against including them but then doing =
them differently.
Maybe we should simply reference RFC 6991 as well.

J=C3=BCrgen:  Do you remember why ipv4-address has a zone ID (called =
=E2=80=9Czone index=E2=80=9D)?

Gr=C3=BC=C3=9Fe, Carsten


From nobody Thu Oct  7 06:59:19 2021
Return-Path: <ek.ietf@gmail.com>
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 052603A080B; Wed,  6 Oct 2021 18:58:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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] 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 li6vFfyCiLCb; Wed,  6 Oct 2021 18:58:55 -0700 (PDT)
Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) (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 BCE823A080A; Wed,  6 Oct 2021 18:58:55 -0700 (PDT)
Received: by mail-oi1-x229.google.com with SMTP id g125so40574oif.9; Wed, 06 Oct 2021 18:58:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=q2aDSt+qhoLTz/+txRoGJh8mmmj8Oz1RiF8A/JLHk9g=; b=ZUV3XSvJpG8SKICYVN9sJ2Q4hvOyXAbeaiL5eRGyD7NT1v+wuRXWFJqMa8Zi7gmDfU 0XB2kPVFAQJWV48D3ux73yU+2/CAsEx9fEKHXyQU/PNi+51ey59wcoYBjvkZPUP7M0BV qpJfze7jimGZ0J/2ZTuq42fH51GWw0pKMNGbbQj0h3T0oiO8e/iiPzNBw2b9ejmEYNba JKCqfHkKSVO7gy+Niv7QkusGfTNpNDSn4XSFe8heBW/3SvOjwPvKlVal/DUt2WroI5Kv iLU3H7oXEh3EpvQLzPSvjNN3gfdt/Ir6d7CmJ4H8qhiZ3u/mEVzApkvLMa/G2dtL8gqo 479g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=q2aDSt+qhoLTz/+txRoGJh8mmmj8Oz1RiF8A/JLHk9g=; b=OyK+g18F6R8TGOYoYQLm4Irc/juE2G+IXjahwL3jK2PUTpBiw77q0A8lAJTzL+9Us4 mfHBCJwwvGdeNC54NfLuQwxmI/bMslBmFrPTdk2F5ofqiuUf6J9VX6A6RxXKpR56WrCe Fk/SuQPtpI0UE0DgF0K7cFwKrZBKg9gf0t9L36DW7uw8xyg5eoja4Bu2ezsS/zUVCnL7 uRBlMDwMsfBfqjOF1tCYIEqjw/oEbhaeA4gxLOTqWiIn4G9V19lOmO990KEcJ59rUxwo xWvzmf6NRXSIH+nZgtvm8jt3Y/7Prp77stmfpIDCKvO9341CxvcwMyy3Ep/KrI1+wgri coXA==
X-Gm-Message-State: AOAM531XSGRepFwnvReiAfqoGRqno+fnrz4dlbNURwbgzebhXeMULXhw Xhzo8QZxT2MdJrAQYUMNRiHMYVwQs+xg0qOL9lo=
X-Google-Smtp-Source: ABdhPJzSDaZCWNp6bJxQF9DjSi+LrbzT5pDiPnFZon1XxdCXRUDrApskwdfn6bRGeDBZx6P4qpVxy6FOG9kz779BLag=
X-Received: by 2002:aca:bd0b:: with SMTP id n11mr1203804oif.100.1633571934591;  Wed, 06 Oct 2021 18:58:54 -0700 (PDT)
MIME-Version: 1.0
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <9D5E9264-0A10-4A24-8F23-DB89EDE851B9@tzi.org> <9043.1633557346@localhost> <372df336-eb01-de6d-2e11-e094b9ff7cfd@gmail.com>
In-Reply-To: <372df336-eb01-de6d-2e11-e094b9ff7cfd@gmail.com>
From: Erik Kline <ek.ietf@gmail.com>
Date: Wed, 6 Oct 2021 18:58:43 -0700
Message-ID: <CAMGpriVqvH0w_R0-uhM7qEWasu8=qLvgaZGTM9XvUO6yO_Qo_Q@mail.gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, Carsten Bormann <cabo@tzi.org>, draft-ietf-cbor-network-addresses@ietf.org, cbor@ietf.org,  The IESG <iesg@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>, =?UTF-8?B?w4lyaWMgVnluY2tl?= <evyncke@cisco.com>,  Barry Leiba <barryleiba@computer.org>, cbor-chairs@ietf.org
Content-Type: multipart/alternative; boundary="000000000000e05f9a05cdb99ade"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/uA5L8vr1id__CNbnyzG9SICGNkE>
X-Mailman-Approved-At: Thu, 07 Oct 2021 06:59:14 -0700
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 01:58:57 -0000

--000000000000e05f9a05cdb99ade
Content-Type: text/plain; charset="UTF-8"

>
> > Are there any OSes and Applications that really know how to deal with
> having
> > IPv4-LL addresses on multiple interfaces?  And didn't IPv4 die awhile
> back?
> >
> > If you really think we should do this for IPv4, I don't really object.
> > I just don't know what RFCs to cite.
>
> That's probably because there are none. As far as I know, there is no
> "Scoped architecture for IPv4" RFC. I don't know why there is YANG support.
>

To my knowledge the closest such thing would be RFC 3927.

I've never seen anything like an extension of sockaddr_in to add the
equivalent of sin6_scope_id, though it's not hard to imagine what would be
required to make some "sin_scope_id" thing work.

--000000000000e05f9a05cdb99ade
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex">&gt; Are there any OSes and Applications that really kno=
w how to deal with having<br>
&gt; IPv4-LL addresses on multiple interfaces?=C2=A0 And didn&#39;t IPv4 di=
e awhile back?<br>
&gt; <br>
&gt; If you really think we should do this for IPv4, I don&#39;t really obj=
ect.<br>
&gt; I just don&#39;t know what RFCs to cite.<br>
<br>
That&#39;s probably because there are none. As far as I know, there is no<b=
r>
&quot;Scoped architecture for IPv4&quot; RFC. I don&#39;t know why there is=
 YANG support.<br></blockquote><div><br></div><div>To my knowledge the clos=
est such thing would be RFC 3927.</div><div><br></div><div>I&#39;ve never s=
een anything like an extension of sockaddr_in to add the equivalent of sin6=
_scope_id, though it&#39;s not hard to imagine what would be required to ma=
ke some &quot;sin_scope_id&quot; thing work.</div></div></div>

--000000000000e05f9a05cdb99ade--


From nobody Thu Oct  7 07:05:01 2021
Return-Path: <barryleiba@gmail.com>
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 AEB393A05A4; Thu,  7 Oct 2021 07:04:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.649
X-Spam-Level: 
X-Spam-Status: No, score=-1.649 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 n2ww8YSvwDEK; Thu,  7 Oct 2021 07:04:53 -0700 (PDT)
Received: from mail-vs1-f52.google.com (mail-vs1-f52.google.com [209.85.217.52]) (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 7B9F23A053E; Thu,  7 Oct 2021 07:04:53 -0700 (PDT)
Received: by mail-vs1-f52.google.com with SMTP id d18so6897887vsh.1; Thu, 07 Oct 2021 07:04:53 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=bOpav1AYjPgg2wWxqzXUpvjo1Rjk8ipOIThKQt+TaGA=; b=hKPp4J3HBcqMtCpJ/brVNzlWK3dWoC3gQJ2igL23/xxEn0ecUZf+uWLhLFPiZVun9e KSqUhAv0xnHwWKueA2ftT6jydJRPVcwDLYaU7y2+jm3+RygNOkiZnvElW5OdkDPz3Sq2 mAkaiFGvCA4nfwKtlSbKiaBGyI5w1EuYy6Qx0JGXdL4iyfNLBj6s9AxcdtXRERrizAHr Oi6aY1U4HBvK5d45UgW29Cq0WVnDWxYYp9KmenAH5kBurUuSQTM0F82nF8brqDreY4vS OBKH3Xw5fMXlUWns9XGtbr6grzpyxmHC4VH38xKJqzAsSwxp46+6k4oDgrzRdbvMxRDD QVHQ==
X-Gm-Message-State: AOAM530htZapZfdIrqOBgNGViCVdMCXAkFI6OoP45IuiwdKjSqocdpmb hEF9zki9urLqvxGkk/x13dSK63Kb33Z+EyHh2fumJSpw
X-Google-Smtp-Source: ABdhPJxM877UySlaAGZ6yvaG4x6cHN4O0yKxKL3m9HoEgWzZMbgLn+9RI3ti5rH1Tc2vKgsDKJDf/bFBrT+hgs9G0ag=
X-Received: by 2002:a67:2f0d:: with SMTP id v13mr4303643vsv.18.1633615492283;  Thu, 07 Oct 2021 07:04:52 -0700 (PDT)
MIME-Version: 1.0
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <MWHPR1101MB222228806BD87376FC6CC290B5B19@MWHPR1101MB2222.namprd11.prod.outlook.com> <07FBA968-577E-4C89-B840-85EE16888E19@tzi.org> <MWHPR1101MB2222D750BC6AFB9B40CED892B5B19@MWHPR1101MB2222.namprd11.prod.outlook.com> <49287F64-6F79-4946-8C0E-80D6F310A6D6@tzi.org>
In-Reply-To: <49287F64-6F79-4946-8C0E-80D6F310A6D6@tzi.org>
From: Barry Leiba <barryleiba@computer.org>
Date: Thu, 7 Oct 2021 10:04:41 -0400
Message-ID: <CALaySJLBXSi4W89ek6W9x21trixB6q+GDma+ZcFWzz71u1THDg@mail.gmail.com>
To: "cbor@ietf.org" <cbor@ietf.org>
Cc: "Rob Wilton (rwilton)" <rwilton@cisco.com>, "Eric Vyncke (evyncke)" <evyncke@cisco.com>, The IESG <iesg@ietf.org>,  "d3e3e3@gmail.com" <d3e3e3@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/yr-dCbQzqfB-qpzGwiEyN2bsmE4>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 14:04:59 -0000

Let's try to keep the distribution list trimmed so these messages
don't keep going into moderation.  In this message I've eliminated the
people who are subscribed to the CBOR list.  As it's also going to the
IESG, we could remove the two ADs from the distribution as well,
though I'm leaving them on for now, thinking that having them on
directly might make it easier for them.

Thanks,
Barry

On Thu, Oct 7, 2021 at 7:50 AM Carsten Bormann <cabo@tzi.org> wrote:
>
> On 2021-10-07, at 13:00, Rob Wilton (rwilton) <rwilton@cisco.com> wrote:
> >
> > Hi Carsten,
> >
> > Snipped most of it, just one comment inline ...
> >
> >> -----Original Message-----
> >> From: Carsten Bormann <cabo@tzi.org>
> >> Sent: 07 October 2021 11:39
> >> To: Rob Wilton (rwilton) <rwilton@cisco.com>
> > <snipped>
> >>> - How often are zones actually used?  Would it not just be simpler to=
 always
> >> use a string interface identifier?
> >>
> >> Ifindex and Ifname are two different concepts that should not be mixed=
.
> >> The textual nature of RFC 6991 makes it seem natural to always use a t=
extual
> >> representation for the Ifindex; this is not the case here.
> >
> > Okay, so thinking about converting from YANG to this CBOR representatio=
n, then would the expectation be that it is okay to use a string that repre=
sents an integer?
>
> If I needed to write a converter from YANG ietf-inet-types, I would match=
 on digits only and then create an unsigned integer, and use a text string =
otherwise.
>
> > And is that logically the same or different?  Or would the expectation =
be that the zone string should be converted (normalized) to an integer
> > if it can be?
>
> You=E2=80=99d need to be on the system in question, and the conversion re=
sult might be rather ephemeral...
>
> > Does any of this need to be specified?
>
> Depends on where the conversion from YANG ietf-inet-types to CBOR 52/54 s=
hould be specified.  With zero operational experience, that would seem a bi=
t more speculative to me than I like.
>
> Gr=C3=BC=C3=9Fe, Carsten
>


From nobody Thu Oct  7 10:52:32 2021
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 22B283A0838; Thu,  7 Oct 2021 10:52:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 Rv2VxiALu02k; Thu,  7 Oct 2021 10:52:18 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AD1563A0CCD; Thu,  7 Oct 2021 10:52:16 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 4D4BE1808D; Thu,  7 Oct 2021 14:00:26 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id eT_Cyj_fUG7I; Thu,  7 Oct 2021 14:00:18 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 7986A18019; Thu,  7 Oct 2021 14:00:18 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 22A48156; Thu,  7 Oct 2021 13:52:05 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: John Scudder <jgs@juniper.net>
cc: "The IESG" <iesg@ietf.org>, draft-ietf-cbor-network-addresses@ietf.org, barryleiba@computer.org, cbor-chairs@ietf.org, cbor@ietf.org
In-Reply-To: <163357136013.2322.3640274684292396357@ietfa.amsl.com>
References: <163357136013.2322.3640274684292396357@ietfa.amsl.com>
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: Thu, 07 Oct 2021 13:52:05 -0400
Message-ID: <26097.1633629125@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/ZnL9v1k9tPYhLICPvMF1i6tGiM0>
Subject: Re: [Cbor] John Scudder's Discuss on draft-ietf-cbor-network-addresses-10: (with DISCUSS)
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: Thu, 07 Oct 2021 17:52:23 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

John Scudder via Datatracker <noreply@ietf.org> wrote:
    > ----------------------------------------------------------------------
    > DISCUSS:
    > ----------------------------------------------------------------------

    > Thanks for this document. In general I found it easy to read, blessed=
ly
    > concise, and useful. I do have one concern with how you treat the cov=
ert
    > channel concern you raise, which I'm making a DISCUSS (which I think =
will be
    > easily cleared).

okay.

    > Section 4 says:

    > even though variations like:

    > 54([44, h'20010db81233'])
    > 54([45, h'20010db8123f'])

    > would be parsed in the exact same way; they MUST be considered
    > invalid.

okay, the intention is that encoders MUST clear and decoders MUST check.
(I'd rather write SHOULD for decoders)

    > Then in Section 5 we have:

    > A particularly paranoid decoder could examine the lower non-relevant
    > bits to determine if they are non-zero, and reject the prefix.  This
    > would detect non-compliant encoders, or a possible covert channel.

    > The fairly dismissive tone ("paranoid decoder could"), not to mention

My dismissive tone is because:
  a) the checking code is a new code path and creates new test cases
  b) if there was a covert channel, by the time the decoder see it, it's
     already too late.
  c) it's 1 to 7 bits per prefix, not really a large channel.

OTH, if at least some decoders don't check and reject (if they are tolerant
in what they accept), then encoders don't bother to clear (aren't conservat=
ive
in what they send).

    > would be parsed in the exact same way, they should not be
    > considered legitimate encodings.

    > P.S.: The semicolon in the quoted text is also either wrong, or I'm e=
ven more
    > confused about what's being specified than I thought I was.

I have changed it to say:

+would be parsed in the exact same way, they MUST be considered invalid by =
decoders.

and also:

=2DA particularly paranoid decoder could examine the lower non-relevant bit=
s to determine if they are non-zero, and reject the prefix.
+Decoders MUST examine the lower non-relevant bits to determine if they are=
 non-zero, and reject the prefix if they are not.

We have also added IPv4 zone identifiers, and as soon as I've caught up with
that discussion, I'll post -11.


=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFfM8QACgkQgItw+93Q
3WUDTQgAvX2bcx2Fo7R4Q9uOeVxUEo/Sc/Y1rj41UTPZhvIODkcPKO8R/E3Y1wdd
0s9uB8Bs2a5gpW6mRSJkMUxDOD9pTWtNMzuygX8ULN9Cq/lx6vJm8E5wHRZ2rul6
f7AsH1QzU4ZarYgzZ6/5ZidwcCWONAGPhdEV0nxrq+6NJsleY11oJ2ru4KR8laWW
UlrsashTofUoN1deUgs0M/5g3gNTFlVFyyjVYsHkvh6SVlLIel98EXkPRU4nwdq3
uS8LM34xtFQof6HPXt9j47NWBU02QZvXO6J72t/ZSfC/WUv3JYthzw6+9EC4J2kc
vNCEOJpkdDhq77wujPlqBA71/Y7MZg==
=ZeDs
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Thu Oct  7 11:32:10 2021
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 425343A0896; Thu,  7 Oct 2021 11:32:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 qSSRngW-L6iW; Thu,  7 Oct 2021 11:32:03 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6DF7B3A08A7; Thu,  7 Oct 2021 11:32:02 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 90FE61808D; Thu,  7 Oct 2021 14:40:13 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yIvNwhrafeCQ; Thu,  7 Oct 2021 14:40:07 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id DD0B818085; Thu,  7 Oct 2021 14:40:07 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 956F24D2; Thu,  7 Oct 2021 14:31:54 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: "Rob Wilton \(rwilton\)" <rwilton@cisco.com>
cc: "Eric Vyncke \(evyncke\)" <evyncke@cisco.com>, "cbor\@ietf.org" <cbor@ietf.org>, "draft-ietf-cbor-network-addresses\@ietf.org" <draft-ietf-cbor-network-addresses@ietf.org>,  The IESG <iesg@ietf.org>, "d3e3e3\@gmail.com" <d3e3e3@gmail.com>, "barryleiba\@computer.org" <barryleiba@computer.org>, "cbor-chairs\@ietf.org" <cbor-chairs@ietf.org>, Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <MWHPR1101MB222228806BD87376FC6CC290B5B19@MWHPR1101MB2222.namprd11.prod.outlook.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <MWHPR1101MB222228806BD87376FC6CC290B5B19@MWHPR1101MB2222.namprd11.prod.outlook.com>
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: Thu, 07 Oct 2021 14:31:54 -0400
Message-ID: <4397.1633631514@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/lL5KcdThB3nEONUVAkr4DvkCKl4>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 18:32:09 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Rob Wilton (rwilton) <rwilton@cisco.com> wrote:
    > - How often are zones actually used?  Would it not just be simpler to
    > always use a string interface identifier?

I don't think it would to always do that.
My use case is that I have a (GRASP) daemon that discovers peers on
particular interfaces, and it knows those interfaces by ifindex.
It then tells another daemon (IKEv2) about those peers.
If it did it by name, then that just forces both ends to do the
name<->ifindex mapping for no gain.  I could live with that though.

    > - Is "false" for a prefix length a better choice than using either -1=
 or null?

We've gone for null.

    > 54([44, h'20010db81233'])
    > 54([45, h'20010db8123f'])

    > ^- Should this be 44 rather than 45?  Because otherwise it looks like
    > it would parse to a different prefix.

We've fixed it.
I had some other wrong case in mind when I wrote 45 :-)


=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFfPRoACgkQgItw+93Q
3WVohwgAto09eawP0ytPisgwXF/hFPHKtH7esF3aC3+5JjVjxIO9Xkp1Hf7hqulD
JHHFTd2iMTKVMIXLnEpsO30nTW0f81sV7mozjJcjUxC3RDutjNEdk43JynTXalIT
zWyM4+wTzERumyS4fVWMlrgFIMftvzTHF11dElFzKG3GfszvirvN33emVyvrHw1/
44pSGQFR6YL33lutcDZOF9ev+cVH5sR+xPnR8ej+V/5MucYXGuH5ZFRjLWOYmX4A
7B/bNSLPK8fjeS6YIvlbe7ujj6lIh4YFx9cbvEk4b64/w8EEuIezbPzAaf4n6Y8S
dSIgj58cgnv7r+piGZhz9As/V79Pbg==
=1Wkl
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Thu Oct  7 11:42:20 2021
Return-Path: <thiago.macieira@intel.com>
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 287FB3A0896 for <cbor@ietfa.amsl.com>; Thu,  7 Oct 2021 11:42:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_NONE=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 35E-PyeU6CYD for <cbor@ietfa.amsl.com>; Thu,  7 Oct 2021 11:42:11 -0700 (PDT)
Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (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 15AE93A0D23 for <cbor@ietf.org>; Thu,  7 Oct 2021 11:42:10 -0700 (PDT)
X-IronPort-AV: E=McAfee;i="6200,9189,10130"; a="206455376"
X-IronPort-AV: E=Sophos;i="5.85,355,1624345200"; d="scan'208";a="206455376"
Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Oct 2021 11:42:09 -0700
X-IronPort-AV: E=Sophos;i="5.85,355,1624345200"; d="scan'208";a="458894494"
Received: from hnandak1-mobl.amr.corp.intel.com (HELO tjmaciei-mobl5.localnet) ([10.209.114.147]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Oct 2021 11:42:09 -0700
From: Thiago Macieira <thiago.macieira@intel.com>
To: cbor@ietf.org
Date: Thu, 07 Oct 2021 11:42:09 -0700
Message-ID: <2283051.vNV1qas7Uu@tjmaciei-mobl5>
Organization: Intel Corporation
In-Reply-To: <4397.1633631514@localhost>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <MWHPR1101MB222228806BD87376FC6CC290B5B19@MWHPR1101MB2222.namprd11.prod.outlook.com> <4397.1633631514@localhost>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/nAzOvQ4hcF28XWrMb2AwQGrleYQ>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 18:42:17 -0000

On Thursday, 7 October 2021 11:31:54 PDT Michael Richardson wrote:
>     > - Is "false" for a prefix length a better choice than using either -1
>     > or null?
> We've gone for null.

false, null, 0, -1 and an empty string all have the same length and meaning 
for interfaces indices and names. Null makes the purpose clear (information 
absent) and the distinction between that and 0 might be important somewhere.

Like C++ std::optional<PointerType>: a disengaged optional is different from a 
an engaged optional containing a null pointer. One of those may convey "an 
error occurred" whereas the other says "success, information not applicable". 
Though I'd suggest using undefined for errors in CBOR, instead of null. So 
maybe a null interface is "valid, but missing", an undefined interface is 
"invalid, error" and a zero/empty interface is "not applicable in this 
context" (such as all non-link-local cases).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering




From nobody Thu Oct  7 11:56:25 2021
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 9B13D3A0DBF; Thu,  7 Oct 2021 11:56:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 h4tN3N_Px_Yl; Thu,  7 Oct 2021 11:56:04 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 343E53A03EB; Thu,  7 Oct 2021 11:56:04 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 4558E18094; Thu,  7 Oct 2021 15:04:14 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ur-Okc1SSIUn; Thu,  7 Oct 2021 15:04:08 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id B586E18035; Thu,  7 Oct 2021 15:04:08 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 5E9904D2; Thu,  7 Oct 2021 14:55:55 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Benjamin Kaduk <kaduk@mit.edu>
cc: Carsten Bormann <cabo@tzi.org>, draft-ietf-cbor-network-addresses@ietf.org, Barry Leiba <barryleiba@computer.org>, cbor@ietf.org, The IESG <iesg@ietf.org>, cbor-chairs@ietf.org
In-Reply-To: <20211006211924.GI4103@kduck.mit.edu>
References: <163337270139.24096.2858053457546637595@ietfa.amsl.com> <54845F41-869A-43CE-BF02-825CB728A2CA@tzi.org> <21159.1633552900@localhost> <20211006211924.GI4103@kduck.mit.edu>
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: Thu, 07 Oct 2021 14:55:55 -0400
Message-ID: <10753.1633632955@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/swHYrGId7eWACZK6MXur9BYbSTQ>
Subject: Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
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: Thu, 07 Oct 2021 18:56:10 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Benjamin Kaduk <kaduk@mit.edu> wrote:
    > On Wed, Oct 06, 2021 at 04:41:40PM -0400, Michael Richardson wrote:
    >>
    >> Carsten Bormann <cabo@tzi.org> wrote:
    >> >> unused_bits =3D (8 - (prefix_length_in_bits & 7)) % 8;
    >>
    >> > Well, I for one don=E2=80=99t like making the =E2=80=9Csimply=E2=
=80=9D more complicated (*).
    >>
    >> I have no strong preference.
    >> If I didn't have to read/write C again in my life, that would be fin=
e.

    > I'm sure many share that sentiment :)

okay, so
  unused_bits =3D (8 - (prefix_length_in_bits % 8);

produces the wrong answer (8) when it's a multiple of 8 and the answer shou=
ld
be 0.

  unused_bits =3D (8 - (prefix_length_in_bits % 8) % 8;

gives the right answer.  Can I use that?

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFfQrsACgkQgItw+93Q
3WU0XQf/V8JvW9sdTciIeMvXALJJfOIwzZVY2u9GYJHv+ouv8RnC7iOryEEl6A5z
uA9MSWMjlt74HkH4xl6z2oB4A5jA7XTw8kMMANXUmK6MyOpJCTnWG25MBrT7rl2i
oZP/49M4X9Me3AhSx8E+O2uKh8CKdnHlVmr1bUZeBE16Kw1tFnCAbyZNQyiqVmuB
jVb7mTbiJZFP9RbglAJCFiQdkDWCk1nBkeoQwi6xdrBD9fp4z9GgRqaY2A/hmNV1
brf50M3bq4PYcAEQHqzZK5vzagM0FtdrjKcJrGz58dvYvDkYmer7Gczv9fVW6K2l
Ryc4o+rW8N2PsW+iksaCl3J2juyvqA==
=8mXD
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Thu Oct  7 12:57:22 2021
Return-Path: <kaduk@mit.edu>
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 B45D13A0E1B; Thu,  7 Oct 2021 12:57:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.498
X-Spam-Level: 
X-Spam-Status: No, score=-1.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no 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 kXhqcbKkdN90; Thu,  7 Oct 2021 12:57:12 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 209EC3A0E0B; Thu,  7 Oct 2021 12:57:11 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 197Jv25H001589 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 7 Oct 2021 15:57:07 -0400
Date: Thu, 7 Oct 2021 12:57:01 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: Carsten Bormann <cabo@tzi.org>, draft-ietf-cbor-network-addresses@ietf.org, Barry Leiba <barryleiba@computer.org>, cbor@ietf.org, The IESG <iesg@ietf.org>, cbor-chairs@ietf.org
Message-ID: <20211007195701.GN4103@kduck.mit.edu>
References: <163337270139.24096.2858053457546637595@ietfa.amsl.com> <54845F41-869A-43CE-BF02-825CB728A2CA@tzi.org> <21159.1633552900@localhost> <20211006211924.GI4103@kduck.mit.edu> <10753.1633632955@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <10753.1633632955@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/3EGNZrBujw7Gh6K0bdxn10M8Ku8>
Subject: Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
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: Thu, 07 Oct 2021 19:57:17 -0000

On Thu, Oct 07, 2021 at 02:55:55PM -0400, Michael Richardson wrote:
> 
> Benjamin Kaduk <kaduk@mit.edu> wrote:
>     > On Wed, Oct 06, 2021 at 04:41:40PM -0400, Michael Richardson wrote:
>     >>
>     >> Carsten Bormann <cabo@tzi.org> wrote:
>     >> >> unused_bits = (8 - (prefix_length_in_bits & 7)) % 8;
>     >>
>     >> > Well, I for one don’t like making the “simply” more complicated (*).
>     >>
>     >> I have no strong preference.
>     >> If I didn't have to read/write C again in my life, that would be fine.
> 
>     > I'm sure many share that sentiment :)
> 
> okay, so
>   unused_bits = (8 - (prefix_length_in_bits % 8);
> 
> produces the wrong answer (8) when it's a multiple of 8 and the answer should
> be 0.
> 
>   unused_bits = (8 - (prefix_length_in_bits % 8) % 8;
> 
> gives the right answer.  Can I use that?

In light of the discussion so far, that expression would be my
proposal/recommendation.

-Ben


From nobody Thu Oct  7 13:15:25 2021
Return-Path: <brian.e.carpenter@gmail.com>
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 365E23A0E2C; Thu,  7 Oct 2021 13:15:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 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, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 mvXe6yzUU4cY; Thu,  7 Oct 2021 13:15:18 -0700 (PDT)
Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) (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 1C8673A0E2A; Thu,  7 Oct 2021 13:15:18 -0700 (PDT)
Received: by mail-pg1-x534.google.com with SMTP id s75so875017pgs.5; Thu, 07 Oct 2021 13:15:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=vsAxCb6mfDjAt5LZ75kGoZNEAcaj9XZpP7JOPvyLQSE=; b=XoT04/4ssipDUBiASHHjc2zhhbPvxmG5srO/8prWM/LmreDeAmPwEr1M26jWmCsiPc 5zZxxj/1CBYuqMurfzG9y9EsZoV9eyDR2H28CzN8vfs6SHjDCEjZB6Ej6x848c+8Fc18 T43zxJoZMKyTbYkJyvWSxslsnxiOFWrodhrSG9LX9pP/mlmiSfYR0Di0VIqjR76EFk44 DVFCoTuuNGjs5lISeCRkxceTq3o6xIKivHYUyLZGS6Vqh9xCLBvgG9xm/SmXVhEn5kqL 1rf6vimLuVx7xfgDhkVTsqXyogeWPu63cYfZx+DNygcQj6YEfExhJsPFexJWU5Z3ASn+ 4EIA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vsAxCb6mfDjAt5LZ75kGoZNEAcaj9XZpP7JOPvyLQSE=; b=mHFFsXAc81TWEJJy6CUYVTFGfv5X1MLE2jnwXlT2jZXBoy5amj7DV1Pcidnqg9LDf/ 5ALB6dKzfwgyTVjhiuoz+JtybT8QzcokPFjIJ7iNmyjy++FOQPcnsCBmPNGbOjMBjSO2 EeywL15wUupx4/iUbYnXYQ8hjv8kqGijyiAVDySb5IuwaXMyQVucWyysVIAXy3MFAVlb 60dI7puncsGtU0UnQv5yPDf63oaeOK11WXjwSnw3LA0Hmc3ObRShOjtkmV+XylDYz8xs JlOHf5ubURzy66igPg2XsQ+KQ46AP0S4nFVRNrO2i91zRqC+tzpy/p0zvBi+KH0DFTcM Kr+A==
X-Gm-Message-State: AOAM530VobZddEtz3vTht7oCIwmhpucwjbPEv1NHCmrAVOYUa5mSF+S+ MDsWhe3Q5C7pfguftsMWtdg=
X-Google-Smtp-Source: ABdhPJwyk6yDQn6/+MGVQ9btzXqH6JjE8G6l9F5jAbO4hxV4wNgDupNu7oOuwm911a773hkaNlkcoA==
X-Received: by 2002:a62:5215:0:b0:44c:d170:ed7b with SMTP id g21-20020a625215000000b0044cd170ed7bmr2221335pfb.61.1633637716757;  Thu, 07 Oct 2021 13:15:16 -0700 (PDT)
Received: from ?IPv6:2406:e003:1018:b901:db7:d041:a2d:ce65? ([2406:e003:1018:b901:db7:d041:a2d:ce65]) by smtp.gmail.com with ESMTPSA id v7sm243663pff.195.2021.10.07.13.15.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Oct 2021 13:15:16 -0700 (PDT)
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, cbor@ietf.org, The IESG <iesg@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <9D5E9264-0A10-4A24-8F23-DB89EDE851B9@tzi.org> <9043.1633557346@localhost> <372df336-eb01-de6d-2e11-e094b9ff7cfd@gmail.com> <4C91B412-C484-458E-BDA6-0AEDAF8EA774@tzi.org> <20211007064338.vkrqz4emjh2ztrg2@anna.jacobs.jacobs-university.de>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <8c51c45b-32cf-308a-44df-ea3f785ddf22@gmail.com>
Date: Fri, 8 Oct 2021 09:15:11 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <20211007064338.vkrqz4emjh2ztrg2@anna.jacobs.jacobs-university.de>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/jDcIyEShDRHlDoy2UUBIvbMorpM>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 20:15:21 -0000

On 07-Oct-21 19:43, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder wrote:
> On Thu, Oct 07, 2021 at 03:40:24AM +0200, Carsten Bormann wrote:
>> On 7. Oct 2021, at 00:44, Brian E Carpenter <brian.e.carpenter@gmail.c=
om> wrote:
>>>
>>> That's probably because there are none. As far as I know, there is no=

>>> "Scoped architecture for IPv4" RFC. I don't know why there is YANG su=
pport.
>>
>> Zones are this gift that keeps on giving.
>>
>> If we are doing zones, we need to do them like YANG.
>> I would have a strong objection against including them but then doing =
them differently.
>> Maybe we should simply reference RFC 6991 as well.
>>
>> J=C3=BCrgen:  Do you remember why ipv4-address has a zone ID (called =E2=
=80=9Czone index=E2=80=9D)?
>>
>=20
> The YANG definitions were derived from the SNMP definitions. I think
> the first RFC having support for zoned IPv4 addresses in the network
> management world was RFC 2851 (published June 2000). I vaguely recall
> that we had several side meetings during the draft writing stage where
> people pointed to other work (that may have led to things like RFC
> 3927 later on) and/or they pointed out that the need to disambiguate
> IP addresses also exists in the IPv4 world. I think people also
> pointed to routers running multiple links using the same non-global
> (e.g., private) address spaces.

Unfortunately that never seems to have led to an equivalent of
RFC4007 or, as far as I can tell, a systematic definition of
interface id or interface index for IPv4, or to any recognition
of all this in the POSIX API. There is just a rather sad statement
in RFC3927: "At the time of this writing, there is no silver bullet
which solves these problems in all cases, in a general way."

The fact that it's covered, in a certain sense, by MIB modules and
YANG modules, doesn't help with this definitional problem. For
the present draft, that is OK, but I think there is a deeper
problem. Probably, we just have to accept that it isn't worth
doing anything about it for the legacy version of IP.

I'm happy with the proposed changes to the draft.

    Brian


From nobody Thu Oct  7 13:19:01 2021
Return-Path: <brian.e.carpenter@gmail.com>
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 C36703A0EC3; Thu,  7 Oct 2021 13:18:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, NICE_REPLY_A=-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 kU_mC7VTrJgy; Thu,  7 Oct 2021 13:18:44 -0700 (PDT)
Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) (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 0A2973A0E7B; Thu,  7 Oct 2021 13:18:44 -0700 (PDT)
Received: by mail-pg1-x52d.google.com with SMTP id q12so167627pgq.12; Thu, 07 Oct 2021 13:18:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=gejpDyzrlQNDE5OQekgqmoz/AojD/hWRTaVFhA7r5bg=; b=qa4lnk7zkgLYl99D6IM7lz4RmahI1ICbRRwoRhkUu7Ax4cpQyBy6oEK6eZN1sl4pfI yAjtPWftfDiGJeDh8XbwE18fIlqtyDUAXhpBvdPRZKs28AM4lK4J0vqHXqxIsaj49lOD xmub7LMtOqvaG0rxppIsBfuF2sodzpN22SBwXfn1dtD3VXCfJpAPN8yhd7orqzye1Jbb y0FFI2cCyNDLyRpPAe+enmqQzwTfojvPEsq4Yn64+gYxe/r6XklTHy9EYxpIYmv23pQY mhazd8M3GD6xClW+YxeOIYLxHitA4Sy+fpE/tqNA2X92No+FBuoG8eScqNoW7w3zXFfF NhCQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gejpDyzrlQNDE5OQekgqmoz/AojD/hWRTaVFhA7r5bg=; b=LjQ8HaOJBr+2vjBEuuFuGxZsr0al8arzBYtGhCMY4dYtXKBo7BfOUxcTTCHIR5gEBw 0WX1E2a/gzHJb2rcmN0N91wOF73EyMfFykcAtPQH+aj5sjGYt4m2wEmYdIUgELiPVhkC F6rxzJ47oWnWMShJKhUeoXVZ7AytGlrdCdYh+Ec1+6MhFcPY8NmqY6NC1uScKy0wIbCw zMoQCrUaNSuvi7Qnem+tw/T7yHF3CzR9XBEzrt3Go8ile9zVeY0/7w3p/b3y1Ze2FpUH 9+vJEZpiU4ktxKGCX0V07h/kIHLL/6PFAIvtMQUkLakr86LbCHgt8749+SCKVI3/iwTg j0cQ==
X-Gm-Message-State: AOAM533UaXeHnj23WaMhCBBcOstEO8FrJT9gPkvryTaKIPBYSbjACRHu oNJ87JC4uWWXhbeIbhtFDvI=
X-Google-Smtp-Source: ABdhPJzE1/p8V8ovbqUmiCLiSRcZlhIfNaZDJucfEimr+zXTMkLQdv01CnGqeZLF/9GYrtGJfpJ4Mw==
X-Received: by 2002:a62:e810:0:b0:44c:a67f:49b2 with SMTP id c16-20020a62e810000000b0044ca67f49b2mr6125357pfi.48.1633637923027;  Thu, 07 Oct 2021 13:18:43 -0700 (PDT)
Received: from ?IPv6:2406:e003:1018:b901:db7:d041:a2d:ce65? ([2406:e003:1018:b901:db7:d041:a2d:ce65]) by smtp.gmail.com with ESMTPSA id l62sm166193pga.86.2021.10.07.13.18.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Oct 2021 13:18:42 -0700 (PDT)
To: Michael Richardson <mcr+ietf@sandelman.ca>, "Rob Wilton (rwilton)" <rwilton@cisco.com>
Cc: "cbor@ietf.org" <cbor@ietf.org>, The IESG <iesg@ietf.org>, "d3e3e3@gmail.com" <d3e3e3@gmail.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <MWHPR1101MB222228806BD87376FC6CC290B5B19@MWHPR1101MB2222.namprd11.prod.outlook.com> <4397.1633631514@localhost>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <57f86072-9af2-1526-ee75-87b711b0e107@gmail.com>
Date: Fri, 8 Oct 2021 09:18:38 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <4397.1633631514@localhost>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/cOLzIzMU4n9xg9PX9s4OFwN9XP0>
Subject: Re: [Cbor]  =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A_=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-add?= =?utf-8?q?resses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
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: Thu, 07 Oct 2021 20:18:55 -0000

On 08-Oct-21 07:31, Michael Richardson wrote:
>=20
> Rob Wilton (rwilton) <rwilton@cisco.com> wrote:
>     > - How often are zones actually used?  Would it not just be simple=
r to
>     > always use a string interface identifier?
>=20
> I don't think it would to always do that.

Definitely not. It depends on the application context, and as noted
earlier in the thread, translation between identifier and index is
system dependent, and both can change dynamically.

Also the index is fewer bytes, and in constrained nodes that
might matter.

   Brian

> My use case is that I have a (GRASP) daemon that discovers peers on
> particular interfaces, and it knows those interfaces by ifindex.
> It then tells another daemon (IKEv2) about those peers.
> If it did it by name, then that just forces both ends to do the
> name<->ifindex mapping for no gain.  I could live with that though.
>=20
>     > - Is "false" for a prefix length a better choice than using eithe=
r -1 or null?
>=20
> We've gone for null.
>=20
>     > 54([44, h'20010db81233'])
>     > 54([45, h'20010db8123f'])
>=20
>     > ^- Should this be 44 rather than 45?  Because otherwise it looks =
like
>     > it would parse to a different prefix.
>=20
> We've fixed it.
> I had some other wrong case in mind when I wrote 45 :-)
>=20
>=20
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T cons=
ulting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
>=20
>=20
>=20
>=20


From nobody Thu Oct  7 13:36:20 2021
Return-Path: <jgs@juniper.net>
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 7519C3A0E62; Thu,  7 Oct 2021 13:35:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.552
X-Spam-Level: 
X-Spam-Status: No, score=-2.552 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-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=juniper.net header.b=sXfYzVXH; dkim=pass (1024-bit key) header.d=juniper.net header.b=MeiupNK1
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 YY8lLBbmoFne; Thu,  7 Oct 2021 13:35:42 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 6385A3A0E68; Thu,  7 Oct 2021 13:35:42 -0700 (PDT)
Received: from pps.filterd (m0108163.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 197HNoEh014589;  Thu, 7 Oct 2021 13:35:41 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=7SO8xv5o193tfkKbwQp5+mZ+bvB68B5xrgt2hWcaR2Q=; b=sXfYzVXHPGF7AJByN0ByEgOC1yv+a7KbBcYlSaqzOpImMOm9PVUwIK95Kis2bajaIwrN jKSoBG7sAZ7RONhOOmD78CNJwcjEW0pwuKCpbBsNSb+pdfCPWx/unLYE+QAmPrbu7Nhr Vv47uJ4YS6eWU4D8cGWsXhsj/XOxkVNHq4yJjMZPUg6OIG+LowTP9YeICnN+0/DmAKXj 0qDhBszg3TrALJsluxiJX3YOD1dTJGnSmtdswcUVebirhwANrZVR7b342dIRSnTD5bW7 cAA3HPb9xF0IAm7TLoKDUdlb5b/AawbT6LbeKMZldlplIgPux+BpHvwYl8IluNeGOMGk Bw== 
Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam07lp2040.outbound.protection.outlook.com [104.47.51.40]) by mx0b-00273201.pphosted.com with ESMTP id 3bj58m0bu8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 07 Oct 2021 13:35:40 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e4ZDrswjLRG+29MwyCpoN+GjCBCRaDFrvPNnEbf0dk5dexWeu4OPAsH9WIvLmtOev37EaO2GnUYFg2MnapYmrB2/gvRkDgGT/Y/bqSR4ZosfqBjlJ7xnzmdlBtfjMM8zGR/jmDZgm6mZglFoVIb72o47jzaihMGXU4yZ+0Ea632QnASaKuXOlRWMB5mr75DBOkRn3F2d1Hjihbu4Gair9VA1O5hVXnVz49I4OZ+HiOFRWyzgaLWSaXtQEegzTQHw1KAGiiuEq+Mmj7YpA0RLi9o9J6ncIc3BhlW9lnIMCLPuYqeEcq8HazjWsk9/HXr7pPTA5hFz7wF2RP+2fEuu9A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7SO8xv5o193tfkKbwQp5+mZ+bvB68B5xrgt2hWcaR2Q=; b=OstP24M62xu0tvHw8OWw1i1MtLczsP+2JVofg0HRpxN7Bttz6oJhOfkONfOnL7T4j6xc2BE1M4jerinssBF9rct4hNrUpsq/EpNUQ/54JG7ckbIP6U8aWD3xfHK8wng0ScmHbmoZSP0JoMFszZLuZydnsdRMKSQjQy1cZHTnXWEx+s3nVspcwsxbVMPqznatmUEyVe7DPrGBRczqKPSc+mM6c15SlFHyJB57WI11tBoz8zJfay5fb8cmXRyv4nO2TUVMqDUaJzS1Bridv5sovEOXr89IN890SiiRfdzBSHCkcs/lHla9skepLB3FTcKTtU8XJ0ixDan3TA/JRhEqAA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7SO8xv5o193tfkKbwQp5+mZ+bvB68B5xrgt2hWcaR2Q=; b=MeiupNK1U4iXGORlhR6HOYUZhdoBQDWJ5JRAOJduq5X3vWo3xAITqSJ3b84MW/rlxIRaT3NqzatTM21Af+3khZZpU57WgNwA/eN40xCWUt7B74UBFZje4L7iaLv6Q/xK6ev81FGyuh6f9wg81PIeJnpP0Z7XDXti9gtNTx5ZVMo=
Received: from MN2PR05MB6109.namprd05.prod.outlook.com (2603:10b6:208:c4::20) by MN2PR05MB6672.namprd05.prod.outlook.com (2603:10b6:208:e4::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.4; Thu, 7 Oct 2021 20:35:37 +0000
Received: from MN2PR05MB6109.namprd05.prod.outlook.com ([fe80::d4ec:65ce:b1f:d98b]) by MN2PR05MB6109.namprd05.prod.outlook.com ([fe80::d4ec:65ce:b1f:d98b%5]) with mapi id 15.20.4608.005; Thu, 7 Oct 2021 20:35:37 +0000
From: John Scudder <jgs@juniper.net>
To: Michael Richardson <mcr+ietf@sandelman.ca>
CC: The IESG <iesg@ietf.org>, "draft-ietf-cbor-network-addresses@ietf.org" <draft-ietf-cbor-network-addresses@ietf.org>, "barryleiba@computer.org" <barryleiba@computer.org>, "cbor-chairs@ietf.org" <cbor-chairs@ietf.org>, "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: [Cbor] John Scudder's Discuss on draft-ietf-cbor-network-addresses-10: (with DISCUSS)
Thread-Index: AQHXux2YR2NwDwGVik+QEV8o8ekdGKvH0dmAgAAtrwA=
Date: Thu, 7 Oct 2021 20:35:37 +0000
Message-ID: <39E0F04C-7313-44A4-BB47-98B3D3190758@juniper.net>
References: <163357136013.2322.3640274684292396357@ietfa.amsl.com> <26097.1633629125@localhost>
In-Reply-To: <26097.1633629125@localhost>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-mailer: Apple Mail (2.3654.120.0.1.13)
authentication-results: sandelman.ca; dkim=none (message not signed) header.d=none;sandelman.ca; dmarc=none action=none header.from=juniper.net;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 10a11507-fc3b-4edd-ee34-08d989d2055c
x-ms-traffictypediagnostic: MN2PR05MB6672:
x-microsoft-antispam-prvs: <MN2PR05MB66722FCB0CB4A9DF53B38783AAB19@MN2PR05MB6672.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ZwJ81J0xqeISTgclVK/0pS3J4aj6rLWu8mSiDyb6aZdCr4zIZy3LqsLcsroFhqLxdpXPP8X8qJ881PXYol3dgCBNuSmvgkUdjdNeV3afhEwEJssoy2vNtChvNq4Bbn3jIT6wRVJeFKJCKfgUPT6/6G1uW+JauNDFLAzWMUL4lznd7XTXLamyql4aUfZMKJ0lelXFhHODPpO+aMOPIkqEFnjKDboCDpzfb1sx2bs23iJgVi40tb4caI2KYe63GzsKtDzuHV9G0WXBKAIcBR3OlV/9YKgnY7eI6tU11mMSABVvfHmSopy4E0TglxcEMJdvq7JsE6uzXWV2pUVuUS9vG8Fi+O33B48CkWI5aHg8yoCGT4Wv8fEFHlwm54LoC9gt50XPkd2h0br1Wm0JqI4etIY7W/RghNK7yDkzDOnOW0nA+DmpnglMUWBtFgifBfmiKQIOfnlOyJZhj/fJCeua3o2rqVMUMsZRqcFgYk84K5XslolVGNgmvsmCq9Zv/y5we/qPo9/Lze6i3pIzShsb8SUVyKg3I6cCF3LpeqiLIdKqpo8cfhRVbP2RIHKhNpipLbxy9t1OjGM/fPpv6IbOiI5n0gi8KVvb2xIo2aqRu9O0oQ3ft25xrcCvAf4NygyiZQZ/V7Du+KHiLff7mvJ/62Ik+0OTZgQ/ct6E2Jp+STlmIy+RGOyV9xU+QkKfVlw9mOPGf3s7hH9UsMc6rFmUM+l3Hibe71LnZBdrQpaRWxDbjpe5xDycHpQh2UGPzyOe
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:MN2PR05MB6109.namprd05.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(366004)(2906002)(508600001)(64756008)(66476007)(316002)(38070700005)(53546011)(6506007)(86362001)(26005)(5660300002)(36756003)(8676002)(186003)(6512007)(91956017)(66446008)(122000001)(8936002)(71200400001)(33656002)(54906003)(4326008)(2616005)(76116006)(38100700002)(66946007)(6486002)(66556008)(45980500001); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?OTlrZjRsem91VmN5Q041eXp4R3FVejMvMFJ4RHRTU3ZCY2M1TGw3ajYxWjdw?= =?utf-8?B?OGVNUjR4aWVjOFYyc0lnY1ppVXIxcWZWaTAzTWRuRGZ3LytLMVQwalM2QzlB?= =?utf-8?B?MVVzamU5UnN5SmFVcFYwNGlOaVlLWDBvc0xJejlYU2RQRzJYUnNYMjdpVU94?= =?utf-8?B?NlFBeGI3WUVTc3dOTG15UlFvLzk3YzBHeVVSMHlmNkNXeEt5VE45VGczWU5v?= =?utf-8?B?NWtjN09QVWgra0hRaW9tWW1KMGdBdjlyY2FBTTVDRzVFVktVaWZrRlVKakxP?= =?utf-8?B?c0crQWZJU2tRdjUzTFh0SmxVbnFzNmRIaTJUZjBUR3ZPaGxBK2ZWSW5iMGIv?= =?utf-8?B?alVLWkdYK0VSeDJza3NINUE4WmluUXdqak5HeVRCYWF1MlV1aEhCcURsRit5?= =?utf-8?B?VzBaM0U2ak1kOUpwdVlGMGxHN0lZTDJVWGJzMWcyck52S3RBZEdNOXJheG1M?= =?utf-8?B?cVV2cThoOG5RWittVTJQVGpIakRibkRLMWZxSFY4YkZWM2VzQjU2TUxEUUE3?= =?utf-8?B?TWNTTkk0MXpFdWVoQ004a29XK0JyMTlkSTV2TU5wVDVYOEVNSG1MenZiQ0d5?= =?utf-8?B?d3cvMUpZejk1Y2ZXZ3h5ME9pTWpGRmlvb3lSOTZoV1hMYjlUVStkTmxMS0c4?= =?utf-8?B?cXFwQ1oxRFFESEU3cmtxNDVPRFhORWY2UGNKcnQzbjJrRlVSN3FUcVBKT1RH?= =?utf-8?B?dW5tZWsyanpGWDlvYmlSQzJxSDhKTzZ5N3B2U0ExSEp5WXVFQitEREoxVkVq?= =?utf-8?B?dWFEd3BXcGlrTkZCQlJ6WWpnekJUKzY2ZHVZZHZVNUEzNzFSM3lvS29GTGIz?= =?utf-8?B?VE5SVk5aclpyMmFzVndxcThKajd6TDRGV2dOZlo1czcyVUFFMmpMSDdkZHBT?= =?utf-8?B?emExVXI0YUNZOTFIdnJsTWFKUjZoTEx5bUNIblFvTmhDTE5ZOHFpZjcvREhG?= =?utf-8?B?Z2FwWXNvelcxT3JGSW9IdzJvSXFkYUhPZkdaVjhJRG44L0tOYzVLMWNOVE8w?= =?utf-8?B?RTg5TDU4TURtQWxxVWJDNElEZTh2OU12eS9jQ0RYQ3pLOTF3RitXY3dDSk1x?= =?utf-8?B?L3p1MWt3VmVCWFFTdG9GQ3dKaFVBVTZPV0RkNGZKbkViZzIvTEpleFRtMUFO?= =?utf-8?B?OHI3Skt4cmpKK1VPUGxmZkQ1RlVHK09LQ2JKeDVldTIwaTBqU1B1NHFWR2pT?= =?utf-8?B?NE8xUHpNUklzS0lwS0tZNEVKRlZZc090QmxJUkcwL1hodTVSTkdRNVBFdUhw?= =?utf-8?B?WG1QcldZV08yMEcrWWdqT2p1M0pNSjhJbDlpYnpVZFQ2dmlOV29ldmRTOXdq?= =?utf-8?B?UFByRUU4c015TjhidlZUVTVHTUNybFU3U1BRaW44SFNDcFp3K1RNVHJzMWFk?= =?utf-8?B?a3N4QUZlSnc1dFZ2KzcxZFRLeFZJUWkzUEh0aVYzTXFCV08ya214Z0FBRWJp?= =?utf-8?B?MHhSUWhpYzU2Qm0zVy9ibWQ1RXlGdkxPNjBOcFpmcDQ2d25YZmpVa0VVYWtx?= =?utf-8?B?Z3VtRWYyWkVpbGRnMEdJcmp2aTFJOHUzcXVQNHZqT1lvb0ZBZkxVL3h4cVRr?= =?utf-8?B?SHRCNlZYL1FsZkhnbDBRUUZ1NFZZNUJMSFFEMzQxZFNjS3ZGZGRLSlp5S1dn?= =?utf-8?B?S2hVbjRTM0JjT2xFMjkyYkE1elJlNFkwWUp1bjB0Z0RFbEt5SWU3SVRnd0VC?= =?utf-8?B?TmRMWHIxa3g3TVhQMGJhZWpYcWR4RnM1dGYxdjE0VnJFaGZrV01SRGxPNVZD?= =?utf-8?B?MWYwZmVNNi9Hc3VUN0UxWUZRNXVraEg0Y1gwQ3ZHQVFQVXlPSFNTYm00TVdw?= =?utf-8?B?dUJCM1hMbCthMXA4MUFqUT09?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <7F61B65B1CA47641A5AD58DE37D19C66@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR05MB6109.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 10a11507-fc3b-4edd-ee34-08d989d2055c
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2021 20:35:37.3770 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: XZtIDxu5rRLhfuqTy7aNGudOV/lXql53TeDHn+2/8HliDWV/4P8I5nEc3ILzwnZ6
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR05MB6672
X-Proofpoint-ORIG-GUID: uGp5R3-4Gwwi2XU4fxNNPzG88_8ftlzs
X-Proofpoint-GUID: uGp5R3-4Gwwi2XU4fxNNPzG88_8ftlzs
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-10-07_04,2021-10-07_02,2020-04-07_01
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 impostorscore=0 mlxscore=0 mlxlogscore=691 adultscore=0 suspectscore=0 malwarescore=0 bulkscore=0 spamscore=0 phishscore=0 clxscore=1011 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110070132
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/ZWDIWtgTyNJSW_w1OfddUgITPgk>
Subject: Re: [Cbor] John Scudder's Discuss on draft-ietf-cbor-network-addresses-10: (with DISCUSS)
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: Thu, 07 Oct 2021 20:35:58 -0000

SGkgTWljaGFlbCwNCg0KU29tZSBjb21tZW50cyBpbiBsaW5lIGJlbG93Lg0KDQo+IE9uIE9jdCA3
LCAyMDIxLCBhdCAxOjUyIFBNLCBNaWNoYWVsIFJpY2hhcmRzb24gPG1jcitpZXRmQHNhbmRlbG1h
bi5jYT4gd3JvdGU6DQpb4oCmc25pcOKApl0NCj4gSSBoYXZlIGNoYW5nZWQgaXQgdG8gc2F5Og0K
PiANCj4gK3dvdWxkIGJlIHBhcnNlZCBpbiB0aGUgZXhhY3Qgc2FtZSB3YXksIHRoZXkgTVVTVCBi
ZSBjb25zaWRlcmVkIGludmFsaWQgYnkgZGVjb2RlcnMuDQoNCk9LLiBNYXliZSBldmVuIGEgbGl0
dGxlIGJldHRlciB3b3VsZCBiZSB0aGUgc2FtZSBidXQgYXBwZW5kIOKAnChzZWUgYmVsb3cp4oCd
IG9yIOKAnChzZWUgU2VjdGlvbiB4Lnkp4oCdPyBJdCBqdXN0IG1ha2VzIG1lIHR3aXRjaCB0aGF0
IHlvdeKAmXJlIHB1dHRpbmcgYSBNVVNUIGZvciAqZGVjb2RlcnMqIGludG8gYSBzZWN0aW9uIHRp
dGxlZCDigJwqRW5jb2RlciogQ29uc2lkZXJhdGlvbnMgZm9yIFByZWZpeGVz4oCdLiBGcm9tIHRo
YXQgcG9pbnQgb2YgdmlldyB0aGUgTVVTVCBpcyBtaXNwbGFjZWQgaW4gdGhpcyBzZWN0aW9uIGFu
ZCB0aGUgdGV4dCBjb3VsZCBiZSDigJzigKYgd291bGQgYmUgcGFyc2VkIGluIHRoZSBleGFjdCBz
YW1lIHdheSwgU2VjdGlvbiB4LnkuIHJlcXVpcmVzIHRoZXkgYmUgY29uc2lkZXJlZCBpbnZhbGlk
LuKAnSANCg0KPiBhbmQgYWxzbzoNCj4gDQo+IC1BIHBhcnRpY3VsYXJseSBwYXJhbm9pZCBkZWNv
ZGVyIGNvdWxkIGV4YW1pbmUgdGhlIGxvd2VyIG5vbi1yZWxldmFudCBiaXRzIHRvIGRldGVybWlu
ZSBpZiB0aGV5IGFyZSBub24temVybywgYW5kIHJlamVjdCB0aGUgcHJlZml4Lg0KPiArRGVjb2Rl
cnMgTVVTVCBleGFtaW5lIHRoZSBsb3dlciBub24tcmVsZXZhbnQgYml0cyB0byBkZXRlcm1pbmUg
aWYgdGhleSBhcmUgbm9uLXplcm8sIGFuZCByZWplY3QgdGhlIHByZWZpeCBpZiB0aGV5IGFyZSBu
b3QuDQoNClRoYXQgZGVmaW5pdGVseSBtYWtlcyBpdCBtb3JlIGNvbnNpc3RlbnQuIFRoZXJlIHJl
bWFpbnMgdGhlIGNvbnRyYWRpY3Rpb24gYmV0d2VlbiB0aGF0IHJlcXVpcmVtZW50LCBhbmQgdGhl
IHJlcXVpcmVtZW50IHJpZ2h0IGFib3ZlLCB0byBjb2VyY2UgdGhlIGxvdyBiaXRzIHRvIHplcm8u
IFRoZXJl4oCZcyBubyBwb2ludCBpbiBjb2VyY2luZyB0aGVtIHRvIHplcm8gaWYgeW91IE1VU1Qg
cmVqZWN0IHRoZSBwcmVmaXgsIGlzIHRoZXJlPw0KDQpTbywgSVNUTSB0aGF0IHlvdSBuZWVkIHRv
IGVpdGhlcg0KDQphKSBNYWtlIHRoZSB0ZXh0IHF1b3RlZCBhYm92ZSBhIFNIT1VMRCBpbnN0ZWFk
IG9mIGEgTVVTVCwgbW92ZSB0aGUg4oCcRmluYWxseSwgbG9va2luZyBhdCB0aGUgbGFzdCB0aHJl
ZSBiaXRz4oCdIHRleHQgYW5kIHBzZXVkby1jb2RlIHRvIGZvbGxvdywgYW5kIG1ha2UgaXQgc2F5
IHNvbWV0aGluZyBsaWtlIOKAnGlmIHRoZSBkZWNvZGVyIGNob29zZXMgbm90IHRvIHJlamVjdCBh
IHByZWZpeCB3aG9zZSBsb3dlciBub24tcmVsZXZhbnQgYml0cyBhcmUgbm9uemVybywgdGhlbiBp
dCBNVVNUIGZvcmNlIHRoZW0gdG8gemVyb+KApuKAnSANCg0KYikgT3IgaWYgeW91IGtlZXAgdGhl
IOKAnHJlamVjdCB0aGUgcHJlZml44oCdIHRleHQgYXMgYSBNVVNULCB0aGVuIHJlbW92ZSB0aGUg
Y29lcmNlLXRvLXplcm8gdGV4dCBhbmQgcHNldWRvY29kZSwgYmVjYXVzZSBpdOKAmXMgdGhlIGVx
dWl2YWxlbnQgb2YgYSByZWdpb24gb2YgY29kZSB0aGF0IGNhbuKAmXQgYmUgcmVhY2hlZC4NCg0K
VGhhbmtzLA0KDQrigJRKb2hu


From nobody Fri Oct  8 00:32:30 2021
Return-Path: <cabo@tzi.org>
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 445CE3A13AC; Fri,  8 Oct 2021 00:31:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 E0tkdw2vTZp0; Fri,  8 Oct 2021 00:31:47 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CFE743A0908; Fri,  8 Oct 2021 00:31:46 -0700 (PDT)
Received: from smtpclient.apple (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HQfyS04Lrz2xg2; Fri,  8 Oct 2021 09:31:43 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <10753.1633632955@localhost>
Date: Fri, 8 Oct 2021 09:31:43 +0200
Cc: Benjamin Kaduk <kaduk@mit.edu>, draft-ietf-cbor-network-addresses@ietf.org, Barry Leiba <barryleiba@computer.org>, cbor@ietf.org, The IESG <iesg@ietf.org>, cbor-chairs@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <01B8A843-5086-4DB1-8BC1-D7EC261EE55E@tzi.org>
References: <163337270139.24096.2858053457546637595@ietfa.amsl.com> <54845F41-869A-43CE-BF02-825CB728A2CA@tzi.org> <21159.1633552900@localhost> <20211006211924.GI4103@kduck.mit.edu> <10753.1633632955@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/iYLdIxAIq0NAfxaiSy1LXrM8RBc>
Subject: Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
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: Fri, 08 Oct 2021 07:31:53 -0000

On 7. Oct 2021, at 20:55, Michael Richardson <mcr+ietf@sandelman.ca> =
wrote:
>=20
>  unused_bits =3D (8 - (prefix_length_in_bits % 8) % 8;

Yes.  If you want to make this simpler, take note that adding 8 to a =
modulo doesn=E2=80=99t change anything, and use

 unused_bits =3D (- prefix_length_in_bits) % 8;

Oh, that=E2=80=99s the current text with & 7 (which is representation =
specific) replaced by % 8.

WFM.

Gr=C3=BC=C3=9Fe, Carsten



From nobody Fri Oct  8 03:04:19 2021
Return-Path: <cabo@tzi.org>
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 CFF1A3A1602; Fri,  8 Oct 2021 03:03:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 CPNvLIx6omLr; Fri,  8 Oct 2021 03:03:49 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D810C3A15FE; Fri,  8 Oct 2021 03:03:46 -0700 (PDT)
Received: from [192.168.217.118] (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HQkKq4hwfz2xfQ; Fri,  8 Oct 2021 12:03:43 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <01B8A843-5086-4DB1-8BC1-D7EC261EE55E@tzi.org>
Date: Fri, 8 Oct 2021 12:03:43 +0200
Cc: Benjamin Kaduk <kaduk@mit.edu>, draft-ietf-cbor-network-addresses@ietf.org, Barry Leiba <barryleiba@computer.org>, cbor@ietf.org, The IESG <iesg@ietf.org>, cbor-chairs@ietf.org
X-Mao-Original-Outgoing-Id: 655380223.017779-31762fa9bee1caa89a0b43c8854d60bf
Content-Transfer-Encoding: quoted-printable
Message-Id: <24C25DDD-D6FD-4E71-BA17-563F5495DEE6@tzi.org>
References: <163337270139.24096.2858053457546637595@ietfa.amsl.com> <54845F41-869A-43CE-BF02-825CB728A2CA@tzi.org> <21159.1633552900@localhost> <20211006211924.GI4103@kduck.mit.edu> <10753.1633632955@localhost> <01B8A843-5086-4DB1-8BC1-D7EC261EE55E@tzi.org>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/tgEOjn84cOhtF8HocdurfnahBdE>
Subject: Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
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: Fri, 08 Oct 2021 10:04:01 -0000

Strike that; I forgot that C doesn=E2=80=99t actually have a modulo =
operator (that=E2=80=99s why I=E2=80=99m used to & 7).
Duuh.

Maybe=20

unused_bits =3D (128 - prefix_length_in_bits) % 8;

But that arbitrary 128 causes cognitive dissonance.

Gr=C3=BC=C3=9Fe, Carsten


On 2021-10-08, at 09:31, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> On 7. Oct 2021, at 20:55, Michael Richardson <mcr+ietf@sandelman.ca> =
wrote:
>>=20
>> unused_bits =3D (8 - (prefix_length_in_bits % 8) % 8;
>=20
> Yes.  If you want to make this simpler, take note that adding 8 to a =
modulo doesn=E2=80=99t change anything, and use
>=20
> unused_bits =3D (- prefix_length_in_bits) % 8;
>=20
> Oh, that=E2=80=99s the current text with & 7 (which is representation =
specific) replaced by % 8.
>=20
> WFM.
>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20
>=20


From nobody Fri Oct  8 04:52:46 2021
Return-Path: <cabo@tzi.org>
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 AA2063A167D for <cbor@ietfa.amsl.com>; Fri,  8 Oct 2021 04:52:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 uq24690LNHPH for <cbor@ietfa.amsl.com>; Fri,  8 Oct 2021 04:52:41 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A28BA3A1641 for <cbor@ietf.org>; Fri,  8 Oct 2021 04:52:41 -0700 (PDT)
Received: from [192.168.217.118] (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HQmlV2S9wz2xfv; Fri,  8 Oct 2021 13:52:38 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
Date: Fri, 8 Oct 2021 13:52:37 +0200
Cc: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mao-Original-Outgoing-Id: 655386757.5941989-229badff2c233ca2d308bcc6a5ec1f9f
Content-Transfer-Encoding: quoted-printable
Message-Id: <891995AA-2854-431E-9242-98FFCDA5E161@tzi.org>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/OG6guwvJ2Tf7_BrTczMtdfnFPM4>
Subject: [Cbor] draft-ietf-cbor-network-addresses: tag validity; deterministic encoding
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: Fri, 08 Oct 2021 11:52:45 -0000

There are various admonitions scattered in =
draft-ietf-cbor-network-addresses about doing the right thing when =
encoding and decoding the tags.
We do have a concept in CBOR to handle this properly:
Tag validity (Section 5.3.2 of RFC8949).

In response to various observations about those admonitions during IESG =
processing, I went ahead and consolidated the actual content to a proper =
section about Tag Validity.

https://github.com/cbor-wg/cbor-network-address/pull/15

I also wrote:

> The tag validity rules, combined with the rules in {{Section 4.2.1 of
> -cbor}}, lead to deterministic encoding for tags 54 and 52 and require
> no further Additional Deterministic Encoding Considerations as per
> {{Section 4.2.2 of -cbor}}.

=E2=80=A6 which might come in handy when deterministic encoding is =
actually needed.

Comments welcome before we merge.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Fri Oct  8 15:38:46 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id A27913A0BCE; Fri,  8 Oct 2021 15:38:12 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <163373269255.22375.2719122638742899616@ietfa.amsl.com>
Date: Fri, 08 Oct 2021 15:38:12 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/MBK9U-Fit2zG9eEUPc1t4L3EPKI>
Subject: [Cbor] I-D Action: draft-ietf-cbor-network-addresses-11.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 08 Oct 2021 22:38:13 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : CBOR tags for IPv4 and IPv6 addresses and prefixes
        Authors         : Michael Richardson
                          Carsten Bormann
	Filename        : draft-ietf-cbor-network-addresses-11.txt
	Pages           : 12
	Date            : 2021-10-08

Abstract:
   This specification defines two CBOR Tags for use with IPv6 and IPv4
   addresses and prefixes.


   // RFC-EDITOR-please-remove: This work is tracked at
   // https://github.com/cbor-wg/cbor-network-address


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-network-addresses-11.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-network-addresses-11


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Fri Oct  8 15:39:16 2021
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 122CB3A0BCC for <cbor@ietfa.amsl.com>; Fri,  8 Oct 2021 15:39:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 L-fjSyO1ooF7 for <cbor@ietfa.amsl.com>; Fri,  8 Oct 2021 15:39:09 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0FA673A0CBE for <cbor@ietf.org>; Fri,  8 Oct 2021 15:38:53 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 3A95A1801B; Fri,  8 Oct 2021 18:47:08 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ga48Go4B-aHS; Fri,  8 Oct 2021 18:47:02 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 280CA1800E; Fri,  8 Oct 2021 18:47:02 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 73AC572; Fri,  8 Oct 2021 18:38:44 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Carsten Bormann <cabo@tzi.org>, cbor@ietf.org
In-Reply-To: <891995AA-2854-431E-9242-98FFCDA5E161@tzi.org>
References: <891995AA-2854-431E-9242-98FFCDA5E161@tzi.org>
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: Fri, 08 Oct 2021 18:38:44 -0400
Message-ID: <2018.1633732724@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/TT7c0M-6NDWxs8c7H1qXoD_TSpU>
Subject: Re: [Cbor] draft-ietf-cbor-network-addresses: tag validity; deterministic encoding
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: Fri, 08 Oct 2021 22:39:14 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Carsten Bormann <cabo@tzi.org> wrote:
    > There are various admonitions scattered in
    > draft-ietf-cbor-network-addresses about doing the right thing when
    > encoding and decoding the tags.
    > We do have a concept in CBOR to handle this properly:
    > Tag validity (Section 5.3.2 of RFC8949).

    > In response to various observations about those admonitions during IE=
SG processing, I went ahead and consolidated the actual content to a proper=
 section about Tag Validity.

    > https://github.com/cbor-wg/cbor-network-address/pull/15

I reviewed it, and merged it.

I have posted -11.


=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFgyHQACgkQgItw+93Q
3WWwiQgAlSH2mhuG3Yzse2EqjvKydHd6xapNbQLes27OxLEbfrZx7xmSlhk/2tcg
+neZjU89UJ6bfYEnk87dmfibooBZqT81N6BEdS7vzipakTwTePbqEhMkzsbYI69h
J6A0PzRnWfCQHdNnznnnDudtWkzNFN2QLwBzM38ippAV854OMYNsHTOpSqxUCYsF
drnivZ1Tdf4RUXdFG/NxWw3X5h/xuTYrnuaAw3SlWZkBkqH8IGFdMSa74g93rHNS
fhQMknn0fusozuHwCBqsQW5hY7oZoP/Auk1ewMNytLdjw6LYCsmwlpy4kYmLcUN9
QCOtcheCUf61H7dolR0Sh2r6nUawoA==
=MKCu
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Fri Oct  8 15:41:05 2021
Return-Path: <brian.e.carpenter@gmail.com>
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 4243E3A0C35 for <cbor@ietfa.amsl.com>; Fri,  8 Oct 2021 15:40:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, NICE_REPLY_A=-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 UgWkJ50Xu8FV for <cbor@ietfa.amsl.com>; Fri,  8 Oct 2021 15:40:46 -0700 (PDT)
Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (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 B451B3A0C2A for <cbor@ietf.org>; Fri,  8 Oct 2021 15:40:42 -0700 (PDT)
Received: by mail-pj1-x102b.google.com with SMTP id d13-20020a17090ad3cd00b0019e746f7bd4so10377217pjw.0 for <cbor@ietf.org>; Fri, 08 Oct 2021 15:40:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1RUAp0pIP8IoX/FPcmvTU3XZsk8NAxa1lxdinbtBP5o=; b=ojl1Nxdzqmrio6tQ6ahRNTTH+b/bD293VqQLUx/bkoIs6M5TUP9BCC80J97/x8CHdn DfEqYdOjsAz+4SjLQndd77uchfEusV6zsdkRsxlobUAqx1Pxx/kZpk6jf3QJukWt576b AxWbLtXK7/P0x/sR7ow3UGSKa1ZiIOAjd+yHGDpXq8sjEFh8WXulT7bOueLMQd/U5gei FnnwGg93/HD/SNVm19Urajtz6JN7AV5Og0iZgPtqmUzrk43D//k3UBfyIhLKGlkY6wJQ HwY/J5sgClSfOUEA5Gpqq6AuFqcuyH8miX72g3jUmqtPeOiVcAmx6ejLuzhfbS2vxB6L NTBg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1RUAp0pIP8IoX/FPcmvTU3XZsk8NAxa1lxdinbtBP5o=; b=WIdNQymQmuxNxkPwMhFR5pZBMO4mCYqSjCUU3T6EOIcNqsqrRk53QV302ty3l03ce5 LBPybRPli5r0KQ74IY0D3UDlLJobC8/0Sm5G7SZmbJhsfAQsHF7phUwjUI7Tife2td0+ VZWL2tBiLaXSj4JNrW9nCGOzXW3Mxup2Cjg4ZO7aT1k0vGusZDZHJ9WsDiuLtNdNTZPA 3S1cURL0NfhQr6YphTqwKK+fbDU2AMWxOV86f0BA1x4RnKRk24Vj+6W77/MI188+NSfm D0W7v6D4/GiZuN6tPbh0sOdgPz+BKxuSErfhNGD1QuAxj/ftKG7oSl7TJTkC4TCodxEi gQZg==
X-Gm-Message-State: AOAM532l0X5gatphovcPKSQzpcYsPRARLQdxLw9VozFGRqnv8qTTEyX5 hIj7CsBXOA4NCeEGQYNKqhY=
X-Google-Smtp-Source: ABdhPJxM7qde/0tDWndNFTA+e3IEU4LAPuKX+ENnLPI6edgseNAicIWQR+8QfFj4r0W98jgy01lNhQ==
X-Received: by 2002:a17:90b:3850:: with SMTP id nl16mr14313230pjb.127.1633732841982;  Fri, 08 Oct 2021 15:40:41 -0700 (PDT)
Received: from ?IPv6:2406:e003:1018:b901:db7:d041:a2d:ce65? ([2406:e003:1018:b901:db7:d041:a2d:ce65]) by smtp.gmail.com with ESMTPSA id o10sm323089pgv.74.2021.10.08.15.40.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 Oct 2021 15:40:41 -0700 (PDT)
To: Carsten Bormann <cabo@tzi.org>, cbor@ietf.org
Cc: Michael Richardson <mcr+ietf@sandelman.ca>
References: <891995AA-2854-431E-9242-98FFCDA5E161@tzi.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <dab25fe3-43c4-865e-2c7a-54b24340c295@gmail.com>
Date: Sat, 9 Oct 2021 11:40:36 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <891995AA-2854-431E-9242-98FFCDA5E161@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/B-IqQj4SVhUWvF6xI3-n4NBNaUs>
Subject: Re: [Cbor] draft-ietf-cbor-network-addresses: tag validity; deterministic encoding
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: Fri, 08 Oct 2021 22:41:02 -0000

On 09-Oct-21 00:52, Carsten Bormann wrote:
> There are various admonitions scattered in draft-ietf-cbor-network-addr=
esses about doing the right thing when encoding and decoding the tags.
> We do have a concept in CBOR to handle this properly:
> Tag validity (Section 5.3.2 of RFC8949).
>=20
> In response to various observations about those admonitions during IESG=20
processing, I went ahead and consolidated the actual content to a proper =
section about Tag Validity.
>=20
> https://github.com/cbor-wg/cbor-network-address/pull/15
>=20
> I also wrote:
>=20
>> The tag validity rules, combined with the rules in {{Section 4.2.1 of
>> -cbor}}, lead to deterministic encoding for tags 54 and 52 and require=

>> no further Additional Deterministic Encoding Considerations as per
>> {{Section 4.2.2 of -cbor}}.
>=20
> =E2=80=A6 which might come in handy when deterministic encoding is actu=
ally needed.
>=20
> Comments welcome before we merge.

I glanced at my Python code while checking the PR and noticed this:

>> A recommendation for prefix decoder implementations is to first create=

>> an array of 16 (or 4) zero bytes.

That's exactly what I don't do in my code, although I'm sure it's exactly=

what I would do in C. I think 'recommendation' is a bit strong.

>> check that any unused
>> bits in the byte string are zero:

I came up with this:

    if prefix[length//8] & bytemasks[length%8][0] !=3D prefix[length//8]:=

        #extra bits in prefix, signal an error

I also came up with a corner use case - suppose all I want to convey is
a prefix length but no prefix? At the moment, I simply send an all-zeroes=

prefix, but those are wasted bits. Probably, this isn't worth fixing.

   Brian


>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor
>=20


From nobody Fri Oct  8 15:57:57 2021
Return-Path: <cabo@tzi.org>
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 D59633A0C67 for <cbor@ietfa.amsl.com>; Fri,  8 Oct 2021 15:57:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 01Pj5s_udnu7 for <cbor@ietfa.amsl.com>; Fri,  8 Oct 2021 15:57:50 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C04803A0C77 for <cbor@ietf.org>; Fri,  8 Oct 2021 15:57:49 -0700 (PDT)
Received: from smtpclient.apple (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HR3Vx6lsVz2xkh; Sat,  9 Oct 2021 00:57:45 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <dab25fe3-43c4-865e-2c7a-54b24340c295@gmail.com>
Date: Sat, 9 Oct 2021 00:57:45 +0200
Cc: cbor@ietf.org, Michael Richardson <mcr+ietf@sandelman.ca>
Content-Transfer-Encoding: quoted-printable
Message-Id: <19BCDB95-AB61-4F92-A38D-F6FD5CA8BBB1@tzi.org>
References: <891995AA-2854-431E-9242-98FFCDA5E161@tzi.org> <dab25fe3-43c4-865e-2c7a-54b24340c295@gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/RpryR9KB3i33DjPJABVbZNBjApM>
Subject: Re: [Cbor] draft-ietf-cbor-network-addresses: tag validity; deterministic encoding
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: Fri, 08 Oct 2021 22:57:55 -0000

Hi Brian,

The weird thing about the current definition of the prefix is that =
trailing zero bytes are not sent, even if they are part of the prefix.

   As an example, ::/128 is encoded as=09
 	=09
   54([128, h=E2=80=99=E2=80=99])

(::/128 is 16 zero bytes).

So don=E2=80=99t forget to zero-expand the prefix you get (which is =
another way to do the =E2=80=9Crecommendation=E2=80=9D).

I=E2=80=99m not fluent in Python after midnight, so here=E2=80=99s Ruby:

   fail if prefix[-1] =3D=3D =E2=80=9C\0=E2=80=9D # may need to check =
for prefix !=3D =E2=80=98=E2=80=99 in your language
   l =3D prefix.bytesize
   fail if l > 16
   prefix << =E2=80=9C\0=E2=80=9D.b * (16 - l)
   [now do the trailing bit check in the document[

Gr=C3=BC=C3=9Fe, Carsten


> On 9. Oct 2021, at 00:40, Brian E Carpenter =
<brian.e.carpenter@gmail.com> wrote:
>=20
> On 09-Oct-21 00:52, Carsten Bormann wrote:
>> There are various admonitions scattered in =
draft-ietf-cbor-network-addresses about doing the right thing when =
encoding and decoding the tags.
>> We do have a concept in CBOR to handle this properly:
>> Tag validity (Section 5.3.2 of RFC8949).
>>=20
>> In response to various observations about those admonitions during =
IESG=20
> processing, I went ahead and consolidated the actual content to a =
proper section about Tag Validity.
>>=20
>> https://github.com/cbor-wg/cbor-network-address/pull/15
>>=20
>> I also wrote:
>>=20
>>> The tag validity rules, combined with the rules in {{Section 4.2.1 =
of
>>> -cbor}}, lead to deterministic encoding for tags 54 and 52 and =
require
>>> no further Additional Deterministic Encoding Considerations as per
>>> {{Section 4.2.2 of -cbor}}.
>>=20
>> =E2=80=A6 which might come in handy when deterministic encoding is =
actually needed.
>>=20
>> Comments welcome before we merge.
>=20
> I glanced at my Python code while checking the PR and noticed this:
>=20
>>> A recommendation for prefix decoder implementations is to first =
create
>>> an array of 16 (or 4) zero bytes.
>=20
> That's exactly what I don't do in my code, although I'm sure it's =
exactly
> what I would do in C. I think 'recommendation' is a bit strong.
>=20
>>> check that any unused
>>> bits in the byte string are zero:
>=20
> I came up with this:
>=20
>    if prefix[length//8] & bytemasks[length%8][0] !=3D =
prefix[length//8]:
>        #extra bits in prefix, signal an error
>=20
> I also came up with a corner use case - suppose all I want to convey =
is
> a prefix length but no prefix? At the moment, I simply send an =
all-zeroes
> prefix, but those are wasted bits. Probably, this isn't worth fixing.
>=20
>   Brian
>=20
>=20
>>=20
>> Gr=C3=BC=C3=9Fe, Carsten
>>=20
>> _______________________________________________
>> CBOR mailing list
>> CBOR@ietf.org
>> https://www.ietf.org/mailman/listinfo/cbor


From nobody Fri Oct  8 16:05:31 2021
Return-Path: <cabo@tzi.org>
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 9E5AD3A0CBB; Fri,  8 Oct 2021 16:05:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 KFvyFNTJVb7U; Fri,  8 Oct 2021 16:05:25 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 94C193A0CBA; Fri,  8 Oct 2021 16:05:24 -0700 (PDT)
Received: from smtpclient.apple (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HR3gh1Jvhz2xkh; Sat,  9 Oct 2021 01:05:20 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <163357136013.2322.3640274684292396357@ietfa.amsl.com>
Date: Sat, 9 Oct 2021 01:05:19 +0200
Cc: The IESG <iesg@ietf.org>, draft-ietf-cbor-network-addresses@ietf.org, barryleiba@computer.org, cbor-chairs@ietf.org, cbor@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <A168D53C-9D58-46DE-B7F0-8AB4B23B5EE9@tzi.org>
References: <163357136013.2322.3640274684292396357@ietfa.amsl.com>
To: John Scudder <jgs@juniper.net>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/eCyrkBwbIXtW7hRTdmMaebXB0Zg>
Subject: Re: [Cbor] John Scudder's Discuss on draft-ietf-cbor-network-addresses-10: (with DISCUSS)
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: Fri, 08 Oct 2021 23:05:30 -0000

Hi John,

I agree with the gist of your DISCUSS.

Instead of sprinkling various admonitions over the draft about doing the =
right thing when encoding and decoding the tags, we do have a concept in =
CBOR to handle this properly:
Tag validity (Section 5.3.2 of RFC8949).

In response to your (and others=E2=80=99) observations about those =
admonitions, we went ahead and consolidated the actual content to a =
proper section about Tag Validity.

Since there are quite a few other changes in

   =
https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-cbor-network-addresses-11

=E2=80=A6it may be easier to dig out the new section 4 in the original =
pull request:

   https://github.com/cbor-wg/cbor-network-address/pull/15

Gr=C3=BC=C3=9Fe, Carsten



> On 7. Oct 2021, at 03:49, John Scudder via Datatracker =
<noreply@ietf.org> wrote:
>=20
> John Scudder has entered the following ballot position for
> draft-ietf-cbor-network-addresses-10: Discuss
>=20
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut =
this
> introductory paragraph, however.)
>=20
>=20
> Please refer to =
https://www.ietf.org/blog/handling-iesg-ballot-positions/
> for more information about how to handle DISCUSS and COMMENT =
positions.
>=20
>=20
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/
>=20
>=20
>=20
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
>=20
> Thanks for this document. In general I found it easy to read, =
blessedly
> concise, and useful. I do have one concern with how you treat the =
covert
> channel concern you raise, which I'm making a DISCUSS (which I think =
will be
> easily cleared).
>=20
> Section 4 says:
>=20
>   even though variations like:
>=20
>   54([44, h'20010db81233'])
>   54([45, h'20010db8123f'])
>=20
>   would be parsed in the exact same way; they MUST be considered
>   invalid.
>=20
> You choose to use a RFC 2119 keyword here, and this is in the encoder =
section,
> so presumably you are insisting that the encoder MUST... what? You =
already
> said, in an earlier paragraph, that the encoder MUST set the trailing =
bits to
> zero, so I can't figure out what the quoted text is telling me to do.
> (Presumably any compliant encoder won't produce the depicted values, =
and an
> encoder that's noncompliant for the purpose of deliberately =
exfiltrating data
> using this covert channel won't be put off by this MUST.)
>=20
> Then in Section 5 we have:
>=20
>   A particularly paranoid decoder could examine the lower non-relevant
>   bits to determine if they are non-zero, and reject the prefix.  This
>   would detect non-compliant encoders, or a possible covert channel.
>=20
> The fairly dismissive tone ("paranoid decoder could"), not to mention =
the
> preceding pseudocode, suggests that you have no real expectation the =
decoder
> will do anything to "consider invalid" values with nonzero low bits. =
So
> probably the MUST from Section 4 isn't meant to apply to the decoder.
>=20
> In short I don't understand what that clause in Section 4 is telling =
me to do.
> One fix would simply be to weaken the text, as in
>=20
>   would be parsed in the exact same way, they should not be
>   considered legitimate encodings.
>=20
> P.S.: The semicolon in the quoted text is also either wrong, or I'm =
even more
> confused about what's being specified than I thought I was.
>=20
>=20
>=20
>=20
>=20
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor


From nobody Fri Oct  8 16:07:13 2021
Return-Path: <cabo@tzi.org>
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 A36493A0CC5 for <cbor@ietfa.amsl.com>; Fri,  8 Oct 2021 16:07:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 AFqK1eK9I9SK for <cbor@ietfa.amsl.com>; Fri,  8 Oct 2021 16:07:08 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D231E3A0CC4 for <cbor@ietf.org>; Fri,  8 Oct 2021 16:07:07 -0700 (PDT)
Received: from smtpclient.apple (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HR3jj4lfbz2xkw; Sat,  9 Oct 2021 01:07:05 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <dab25fe3-43c4-865e-2c7a-54b24340c295@gmail.com>
Date: Sat, 9 Oct 2021 01:07:05 +0200
Cc: cbor@ietf.org, Michael Richardson <mcr+ietf@sandelman.ca>
Content-Transfer-Encoding: quoted-printable
Message-Id: <5CC4E130-6061-4EC8-A259-BA782BB131C7@tzi.org>
References: <891995AA-2854-431E-9242-98FFCDA5E161@tzi.org> <dab25fe3-43c4-865e-2c7a-54b24340c295@gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/YtHjn9cBBHAndxlj_5NU-kOytgs>
Subject: Re: [Cbor] draft-ietf-cbor-network-addresses: tag validity; deterministic encoding
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: Fri, 08 Oct 2021 23:07:12 -0000

On 9. Oct 2021, at 00:40, Brian E Carpenter =
<brian.e.carpenter@gmail.com> wrote:
>=20
> I think 'recommendation' is a bit strong.

It=E2=80=99s just =E2=80=9CA recommendation=E2=80=9D :-)

Better text that achieves =E2=80=9Cdo this if you don=E2=80=99t know =
what you are doing=E2=80=9D without insulting the reader gladly =
appreciated.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Fri Oct  8 16:31:48 2021
Return-Path: <cabo@tzi.org>
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 BDB273A0DDA; Fri,  8 Oct 2021 16:31:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 oTLJnpSwu6Tl; Fri,  8 Oct 2021 16:31:02 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 87C733A0DD8; Fri,  8 Oct 2021 16:31:02 -0700 (PDT)
Received: from [192.168.217.118] (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HR4FH13G9z2xkP; Sat,  9 Oct 2021 01:30:59 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mao-Original-Outgoing-Id: 655428658.42018-0b94f61088342db8154d8c955dad3dae
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Sat, 9 Oct 2021 01:30:58 +0200
Message-Id: <CBD1205B-7A79-4CC7-8B55-9E830042D3E2@tzi.org>
To: ace@ietf.org, Core <core@ietf.org>, cose@ietf.org, cbor@ietf.org, t2trg@irtf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/eGD_1AaC1F3SXbJMJcuswzMdZY4>
Subject: [Cbor] Constrained Node/Network Cluster @ IETF112: DRAFT AGENDA
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: Fri, 08 Oct 2021 23:31:08 -0000

Here is my usual eclectic condensed agenda based on the DRAFT AGENDA
for IETF112.  Remember that there is still quite some potential for
changes.

The IoT-relevant conflicts that most meet the eye this time are
ASDF/LAKE/RATS and IOTOPS/COSE.

All times are in UTC.
Note that the first week in November (W44) is the Week of Confusion,
where DST has ended in Europe but not yet in North America.
https://datatracker.ietf.org/meeting/agenda-utc might be handy.

Gr=C3=BC=C3=9Fe, Carsten

(### DST ENDS IN EUROPE ###)

MONDAY, November 1, 2021

1500-1600  Hackathon Kickoff
Rm 1    	GEN	hackathon	Hackathon

WEDNESDAY, November 3, 2021

1330-1500  IETF Plenary - Plenary

FRIDAY, November 5, 2021

1500-1700  Hackathon Closing
Rm 1    	GEN	hackathon	Hackathon

(### DST ENDS IN NORTH AMERICA ###)

MONDAY, November 8, 2021

1200-1400  Session I
Rm 1    	ART	dispatch	Dispatch WG - Joint with ARTAREA
Rm 6    	SEC ***	rats	Remote ATtestation ProcedureS WG
Rm 7    	TSV	masque	Multiplexed Application Substrate over =
QUIC Encryption WG

1430-1530  Session II
Rm 2    	INT ***	6lo	IPv6 over Networks of =
Resource-constrained Nodes WG
Rm 5    	RTG	rift	Routing In Fat Trees WG
Rm 7    	SEC ***	suit	Software Updates for Internet of Things =
WG
Rm 8    	TSV	tsvwg	Transport Area Working Group WG

1600-1800  Session III
Rm 1    	ART ***	core	Constrained RESTful Environments WG
Rm 3    	INT	madinas	MAC Address Device Identification for =
Network and Application Services WG

TUESDAY, November 9, 2021

1200-1400  Session I
Rm 1    	ART	webtrans	WebTransport WG
Rm 2    	INT	add	Adaptive DNS Discovery WG
Rm 6    	RTG	raw	Reliable and Available Wireless WG
Rm 7    	SEC	secdispatch	Security Dispatch WG

1430-1530  Session II
Rm 1    	ART	sedate	Serialising Extended Data About Times =
and Events WG
Rm 2    	INT ***	lpwan	IPv6 over Low Power Wide-Area Networks =
WG
Rm 3    	IRTF	maprg	Measurement and Analysis for Protocols
Rm 6    	SEC ***	ace	Authentication and Authorization for =
Constrained Environments WG

1600-1800  Session III
Rm 3    	INT	6man	IPv6 Maintenance WG
Rm 4    	IRTF	irtfopen	IRTF Open Meeting
Rm 8    	SEC	tls	Transport Layer Security WG

WEDNESDAY, November 10, 2021

1200-1400  Session I
Rm 2    	ART	jsonpath	JSON Path WG
Rm 3    	INT	intarea	Internet Area Working Group WG
Rm 6    	RTG	detnet	Deterministic Networking WG
Rm 8    	TSV	quic	QUIC WG

1430-1530  Session II
Rm 2    	ART	uta	Using TLS in Applications WG
Rm 4    	RTG	babel	Babel routing protocol WG
Rm 6    	RTG ***	roll	Routing Over Low power and Lossy =
networks WG
Rm 7    	SEC	openpgp	Open Specification for Pretty Good =
Privacy WG
Rm 8    	TSV	tsvarea	Transport Area Open Meeting

1600-1800  Session III
Rm 1    	ART	wpack	Web Packaging WG
Rm 3    	OPS	anima	Autonomic Networking Integrated Model =
and Approach WG

THURSDAY, November 11, 2021

1200-1400  Session I
Rm 3    	IRTF	cfrg	Crypto Forum
Rm 4    	IRTF	coinrg	Computing in the Network Research Group
Rm 7    	SEC	gnap	Grant Negotiation and Authorization =
Protocol WG

1430-1530  Session II
Rm 1    	ART ***	cbor	Concise Binary Object Representation =
Maintenance and Extensions WG
Rm 3    	INT ***	drip	Drone Remote ID Protocol WG
Rm 4    	IRTF	pearg	Privacy Enhancements and Assessments =
Research Group
Rm 6    	OPS	v6ops	IPv6 Operations WG
Rm 7    	RTG	bier	Bit Indexed Explicit Replication WG
Rm 8    	SEC	acme	Automated Certificate Management =
Environment WG

1600-1800  Session III
Rm 2    	IRTF	panrg	Path Aware Networking RG
Rm 6    	SEC	saag	Security Area Open Meeting

FRIDAY, November 12, 2021

1200-1400  Session I
Rm 2    	ART	httpapi	Building Blocks for HTTP APIs WG
Rm 4    	OPS	v6ops	IPv6 Operations WG - Joint with 6MAN
Rm 6    	SEC	dance	DANE Authentication for Network Clients =
Everywhere WG
Rm 7    	SEC ***	teep	Trusted Execution Environment =
Provisioning WG

1430-1530  Session II
Rm 1    	ART ***	asdf	A Semantic Definition Format for Data =
and Interactions of Things WG
Rm 5    	RTG	rtgarea	Routing Area Open Meeting
Rm 6    	SEC ***	lake	Lightweight Authenticated Key Exchange =
WG
Rm 7    	SEC ***	rats	Remote ATtestation ProcedureS WG
Rm 8    	TSV	rmcat	RTP Media Congestion Avoidance =
Techniques WG

1600-1700  Session III
Rm 3    	INT	dnssd	Extensions for Scalable DNS Service =
Discovery WG
Rm 4    	OPS ***	iotops	IOT Operations WG
Rm 7    	SEC ***	cose	CBOR Object Signing and Encryption WG
Rm 8    	TSV	tsvwg	Transport Area Working Group WG



From nobody Fri Oct  8 19:55:38 2021
Return-Path: <brian.e.carpenter@gmail.com>
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 2CD8E3A0FCF for <cbor@ietfa.amsl.com>; Fri,  8 Oct 2021 19:55:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, NICE_REPLY_A=-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 wy3vEXOI4tQx for <cbor@ietfa.amsl.com>; Fri,  8 Oct 2021 19:55:31 -0700 (PDT)
Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (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 9E79B3A0FD0 for <cbor@ietf.org>; Fri,  8 Oct 2021 19:55:31 -0700 (PDT)
Received: by mail-pl1-x62d.google.com with SMTP id 21so1124784plo.13 for <cbor@ietf.org>; Fri, 08 Oct 2021 19:55:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=74KNGUneqTJweMzDVXNC3w1rPkJsheZ20MgeAMHc+aQ=; b=pXypLB8rAFJkF/92njMJ/v6tE8vyV9A/L7E7e1XNCs+jSC+kFpbR+uXmuFRhKf58m2 F6YzBt/Ygjg7W220DpPPhaCoZD5t8DsaqN+1hjZVWhRAfcJMXhreuGMBdtR65unhUgAP 5AhkVQTSjfewHDDgvkI3SMpNKMkaUd2KHe9v0L+MhYkbSUt8teK+nl5lnLYDlPI+uLJo naapkh3YHAe/nnQJdYA0AcsNtimF1NK3qTHT3RquU1EHoZ1rNowRhytsVTFCPFRrGCN3 Trk1gXM6KLAvFNTg22c7cisqnEAglVzRcOBT9iHI/0J2zdoZD8drNVLX1oRytfeTIB+K l9CQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=74KNGUneqTJweMzDVXNC3w1rPkJsheZ20MgeAMHc+aQ=; b=T9bdbd3bSJsrZLyssXGgCCVTrscE1cPOonef/0nvWdFt8s2/OyZHotQ/GaF+YsgSlH w8miSpLwrne6Yguw2BmhSWQlE+gvxGcmuYMrC8MPHSEIXrMI86rpVucMlWcE1alFLc5J hDSiKztIgsOwzBJ7bpv+npxMBLUrQq2UNmopjwDsk8xPTKE1WARAVqON081DsuCXdUdl tiXqpArzMV94Z3mZh31sqi9cZDvBiesHeBIw5nqjq3JSxsA1svGi0yFV6v/pqhvrBdTJ 911uarCu4HQcrNiAVeZuhjchR1ynMlj7YCczqhvmKTZv6U+gjNtuIjiGVntfwGdvp0ut KBmg==
X-Gm-Message-State: AOAM531PUFD5s/vE1XszQF/79rc8BB4UXhlNSLbWC/QEYnK4dHl2lWCi Lhx/CvI109IEKtN+ftAjXKXN9DFJ7sk0ag==
X-Google-Smtp-Source: ABdhPJxsif/H9rJ1d6tHr75yXuUXqSdWCEAz/Abxd+/0XQMjYluzQ9r+IBmGcPaqlOGFOqkslJc7vQ==
X-Received: by 2002:a17:902:bb81:b0:12d:a7ec:3d85 with SMTP id m1-20020a170902bb8100b0012da7ec3d85mr12911850pls.17.1633748130528;  Fri, 08 Oct 2021 19:55:30 -0700 (PDT)
Received: from ?IPv6:2406:e003:1018:b901:db7:d041:a2d:ce65? ([2406:e003:1018:b901:db7:d041:a2d:ce65]) by smtp.gmail.com with ESMTPSA id c192sm566184pfb.110.2021.10.08.19.55.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 Oct 2021 19:55:29 -0700 (PDT)
To: Carsten Bormann <cabo@tzi.org>
Cc: cbor@ietf.org, Michael Richardson <mcr+ietf@sandelman.ca>
References: <891995AA-2854-431E-9242-98FFCDA5E161@tzi.org> <dab25fe3-43c4-865e-2c7a-54b24340c295@gmail.com> <5CC4E130-6061-4EC8-A259-BA782BB131C7@tzi.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <c083753e-0115-2941-ea41-b10410ad93bb@gmail.com>
Date: Sat, 9 Oct 2021 15:55:26 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <5CC4E130-6061-4EC8-A259-BA782BB131C7@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/5G04dp08E-srmoV15Fc680EhltE>
Subject: Re: [Cbor] draft-ietf-cbor-network-addresses: tag validity; deterministic encoding
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: Sat, 09 Oct 2021 02:55:36 -0000

On 09-Oct-21 12:07, Carsten Bormann wrote:
> On 9. Oct 2021, at 00:40, Brian E Carpenter <brian.e.carpenter@gmail.co=
m> wrote:
>>
>> I think 'recommendation' is a bit strong.
>=20
> It=E2=80=99s just =E2=80=9CA recommendation=E2=80=9D :-)
>=20
> Better text that achieves =E2=80=9Cdo this if you don=E2=80=99t know wh=
at you are doing=E2=80=9D without insulting the reader gladly appreciated=
=2E

Oh, we can certainly let this slide. Indeed, my code does expand the byte=
s object out to 4 or 16 bytes. The spec is fine and entirely implementabl=
e in Python3, which is what I wanted to check.

Not midnight here, just Saturday afternoon so maybe this was not the best=20
use of my time, but I had to re-debug my code. It took me a while to real=
ise that with one module using cbor.py calling another one using cbor2.py=
, the tag handling is slightly different. It's not good if one module thi=
nks the type is cbor.cbor.Tag and the other thinks it's cbor.CBORTag.

   Brian


From nobody Sat Oct  9 07:48:06 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 937F53A08C0; Sat,  9 Oct 2021 07:47:46 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: John Scudder via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-cbor-network-addresses@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, barryleiba@computer.org, barryleiba@computer.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: John Scudder <jgs@juniper.net>
Message-ID: <163379086657.14914.16486937342997295381@ietfa.amsl.com>
Date: Sat, 09 Oct 2021 07:47:46 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/bTC6Mm3j63cc2Dw12e5BsSFzntE>
Subject: [Cbor] John Scudder's No Objection on draft-ietf-cbor-network-addresses-11: (with COMMENT)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Sat, 09 Oct 2021 14:47:47 -0000

John Scudder has entered the following ballot position for
draft-ietf-cbor-network-addresses-11: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

The updated version looks good, thanks!

Text of former DISCUSS below for posterity.

--

Thanks for this document. In general I found it easy to read, blessedly
concise, and useful. I do have one concern with how you treat the covert
channel concern you raise, which I'm making a DISCUSS (which I think will be
easily cleared).

Section 4 says:

   even though variations like:

   54([44, h'20010db81233'])
   54([45, h'20010db8123f'])

   would be parsed in the exact same way; they MUST be considered
   invalid.

You choose to use a RFC 2119 keyword here, and this is in the encoder section,
so presumably you are insisting that the encoder MUST... what? You already
said, in an earlier paragraph, that the encoder MUST set the trailing bits to
zero, so I can't figure out what the quoted text is telling me to do.
(Presumably any compliant encoder won't produce the depicted values, and an
encoder that's noncompliant for the purpose of deliberately exfiltrating data
using this covert channel won't be put off by this MUST.)

Then in Section 5 we have:

   A particularly paranoid decoder could examine the lower non-relevant
   bits to determine if they are non-zero, and reject the prefix.  This
   would detect non-compliant encoders, or a possible covert channel.

The fairly dismissive tone ("paranoid decoder could"), not to mention the
preceding pseudocode, suggests that you have no real expectation the decoder
will do anything to "consider invalid" values with nonzero low bits. So
probably the MUST from Section 4 isn't meant to apply to the decoder.

In short I don't understand what that clause in Section 4 is telling me to do.
One fix would simply be to weaken the text, as in

   would be parsed in the exact same way, they should not be
   considered legitimate encodings.

P.S.: The semicolon in the quoted text is also either wrong, or I'm even more
confused about what's being specified than I thought I was.




From nobody Wed Oct 13 13:37:56 2021
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 1D6923A05A4; Wed, 13 Oct 2021 13:37:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 lMcmZifMv8wr; Wed, 13 Oct 2021 13:37:38 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E20663A086C; Wed, 13 Oct 2021 13:37:35 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 1683F18015; Wed, 13 Oct 2021 16:37:49 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8woS2EKuXy7v; Wed, 13 Oct 2021 16:37:48 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 75BCF18014; Wed, 13 Oct 2021 16:37:48 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 67355624; Wed, 13 Oct 2021 16:37:33 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Roman Danyliw <rdd@cert.org>
cc: "The IESG" <iesg@ietf.org>, draft-ietf-cbor-network-addresses@ietf.org, barryleiba@computer.org, cbor-chairs@ietf.org, cbor@ietf.org
In-Reply-To: <163337477331.26046.8239243254323936343@ietfa.amsl.com>
References: <163337477331.26046.8239243254323936343@ietfa.amsl.com>
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: Wed, 13 Oct 2021 16:37:33 -0400
Message-ID: <19402.1634157453@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/3YEgABUhJax9MR90_wGwtSr7noU>
Subject: Re: [Cbor] Roman Danyliw's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
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: Wed, 13 Oct 2021 20:37:50 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


I'm replying again to this email for completeness:
Roman Danyliw via Datatracker <noreply@ietf.org> wrote:
    > ** Section 7.  Recommend generalizing the text.

    > OLD
    > Identifying which byte sequences in a protocol are addresses may
    > allow an attacker or eavesdropper to better understand what parts of
    > a packet to attack.  That information, however, is likely to be found
    > in the relevant RFCs anyway, so this is not a significant exposure.

    > NEW
    > This document provides an CBOR encoding for IPv4 and IPv6 address inf=
ormation.
    > Any applications using these encodings will need to consider the secu=
rity
    > implications of this data in their specific context.  For example, id=
entifying
    > which byte sequences in a protocol are addresses may allow an attacke=
r or
    > eavesdropper to better understand what parts of a packet to attack.

I took your text as is, in commit 42e5c5cd0f3d7cb87a96908fba441f96391736e3
https://github.com/cbor-wg/cbor-network-address/commit/42e5c5cd0f3d7cb87a96=
908fba441f96391736e3

    > ** Section 8.3.  Recommend making the text clearer on what=E2=80=99s =
getting deprecated

    > OLD
    > IANA is requested to add the note "DEPRECATED in favor of 52 and 54
    > for IP addresses" to registrations 260 and 261

    > NEW
    > IANA is requested to add the note "DEPRECATED for use with IP address=
es in
    > favor of 52 and 54" to registrations 260 and 261

And this change was made in
https://github.com/cbor-wg/cbor-network-address/commit/de38e39dfa7fce46c567=
b42332fb578632a6b749


=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFnQ40ACgkQgItw+93Q
3WW/Igf/VgOEC2Uuc89+Cb4BxVMV52C/UgpZx1zTRaBmg6EQqIWSvBF4DL2vpFE7
xq8K2t+jBkevluPA9J9tV9s0481ehlYVeV+D0D5wLvLsaZ2NS8rvRWmzs6OsHZzk
NCCqBmqSPLpgf+54Wh3iWGbZDKoaoGBNVnVnZkcUHKeqtoR0yUBMu8ZwFD2kgBKH
1slb4Dwq8i98YXPrpmE7wygWypp6suRXlNwWoLA4yDeHGSETKvGWKIslWnBXQBx8
1Au09/0sVV+BjxvQB8r/I7S4MW5tol4/kFm/uBJJ8Y1aDcYUUAJ2YYZ4CMXyYOVB
INpTPH5k5CA17a07ESQqIhQtYUKvlw==
=wSSl
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Wed Oct 13 14:37:56 2021
Return-Path: <rdd@cert.org>
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 B61303A0E4C; Wed, 13 Oct 2021 14:37:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=seicmu.onmicrosoft.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 jOb_KfFIQGJK; Wed, 13 Oct 2021 14:37:37 -0700 (PDT)
Received: from USG02-CY1-obe.outbound.protection.office365.us (mail-cy1usg02on0113.outbound.protection.office365.us [23.103.209.113]) (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 01F763A0E60; Wed, 13 Oct 2021 14:37:36 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector5401; d=microsoft.com; cv=none; b=j2aNtJAzJT+94CP0wkPDyXv5UZKTrBALcRL8d1J16zY5Ey2ABZ1Qi1OdwEIintYEk9VfHhoSI/yMLljxra45OxLgeIm0fkBHBJOkd1Qj0rcUKELLydJLY4hcujNYwl6Md89ENWaIHjO8utrU85KJ7octS2ORoZ6NAZiJQjos9FV+cYW6xYc7JXuVGRgfbaHCBIDiKKX4GQGCNKNpreYSjktpynkZds1EaQ4gpEtiEL5dVtepika7eM8ewL/m7O/ZWxxDm8OpuWzbU+JQufLXEMg/mzwpnLUiJiAFi25zevFdw30HzPblhATyTeQhHFz+XjRshcALv7AgYNWpPm19EQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector5401; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;  bh=3fLKnKdle5AwgPsafhY6KSCw+0DWcsIQ6TCuw/200Qo=; b=hw3RphF3dEWV1Z2JOgKVgNITTo4+7CbaAitnq1Uk8co6tdibdLYKTLN2/dJ2FWad37eEgsM6hL2CXAxCxIQ2PTY/4ARSSQQDSPYGSvUw1pCkXuB1r6Z6qVVYtU8IBARBa4nqBSziSMpZWhqg/QkoPw41OKjQzsaIr6C32ttQjp5EJSdkJviEdeeMoXDe6usGTa5lxtniH9Tj5rOU+xXRw4regH2A5NzsXQwrsbir9J+GJLbBmu8otj7H9wvqoVZEPjW2BncSkUvK+j5zCimhcdagv7uu13KdvFykyh9UUCsRZYW4K6YUTfOCVipoxlIpMrLpluowfjdWd/8/3CKWvA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cert.org; dmarc=pass action=none header.from=cert.org; dkim=pass header.d=cert.org; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seicmu.onmicrosoft.com; s=selector1-seicmu-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3fLKnKdle5AwgPsafhY6KSCw+0DWcsIQ6TCuw/200Qo=; b=F+TauqAxtdlg9sFQXSuwFQYNECnZ9rSqbJGKKCrAxwQ1Lj7X11pe96/fWH3lNZ0tT7xhGiw7C6gguKS371RFJSRu2p/jydGJZtHWJV3Yg5Fy4IdZsSIqfEhFfScp/Z6e2rrt+fFCBZkxzXOBLRo4ebN4+cTWlqmH3XDETGO9rPY=
Received: from BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM (2001:489a:200:134::12) by BN1P110MB0578.NAMP110.PROD.OUTLOOK.COM (2001:489a:200:132::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.22; Wed, 13 Oct 2021 21:37:22 +0000
Received: from BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM ([fe80::4463:48d1:9769:567f]) by BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM ([fe80::4463:48d1:9769:567f%6]) with mapi id 15.20.4587.026; Wed, 13 Oct 2021 21:37:22 +0000
From: Roman Danyliw <rdd@cert.org>
To: Michael Richardson <mcr+ietf@sandelman.ca>
CC: "draft-ietf-cbor-network-addresses@ietf.org" <draft-ietf-cbor-network-addresses@ietf.org>, "barryleiba@computer.org" <barryleiba@computer.org>, "cbor@ietf.org" <cbor@ietf.org>, The IESG <iesg@ietf.org>, "cbor-chairs@ietf.org" <cbor-chairs@ietf.org>
Thread-Topic: [Cbor] Roman Danyliw's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
Thread-Index: AQHXuVPepPSryffzQEi8NX/WYVGXKqvRcaSAgAAQqQA=
Date: Wed, 13 Oct 2021 21:37:22 +0000
Message-ID: <BN1P110MB09398B8C3F5CD5BC809B7E35DCB79@BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM>
References: <163337477331.26046.8239243254323936343@ietfa.amsl.com> <19402.1634157453@localhost>
In-Reply-To: <19402.1634157453@localhost>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: sandelman.ca; dkim=none (message not signed) header.d=none;sandelman.ca; dmarc=none action=none header.from=cert.org;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: d5891b35-8e66-479e-670a-08d98e91a425
x-ms-traffictypediagnostic: BN1P110MB0578:
x-microsoft-antispam-prvs: <BN1P110MB05786E9956A70672767017B6DCB79@BN1P110MB0578.NAMP110.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:3276;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 7OSj5eSmQL50JLoSFvsHMuVIKAuAbBsdJ4eTQNDmp3tdQdA1UBTGIoeY0bfDG9pAqsq0+9zKYOP4YKrlrOZ2NpV4T1cvN2u+qcUj0GO/wd+9MfvWmIy7alquMdMhrSyR+REX5zxrouxeHGXoDFUqfzg/Ny01G4AprZUVzsLstCUN/UTI7h+4Jo2dfttyvnLBuwDYKqfqrvilMqZUOpL927DfdLaHi5LQA1QvmpwosfwKDAXen7gj1oE+uj8DGa3VdPUod1ZbvhzIipuAo1vQP59sdlxCp/+U/qdbWrmnI0F5LpGCRIA9RbpUxz136TZNFqIhotRk/ZWlhHJs3zyiMDqM2/laOkVl4SGasdxMz5LPhz6xm4bEQnjAN9pyksQ7crR3YcEtnQMXq4LFDqopN7i+beyFsNToXsvjFgZMGggLgNBS+BnUrXA9919rhSW2LVn5Ocd8tauK64JcYqcwLEhGs0z8FsEyr3oqCnxwnBAnfOczg7x8B+tDHCqDXs7HAlRFpv2MJvrh+bQ1uoe9QK7Mgo6ZxC7P3C7EjiX5o5cF62W0mhPQ97vyzsT7a9zJ2JLXjTBnhUcjmbePzA4NrO1Za5X/OyqsiG71TNTm5GAxGv2Sbbn+ufMsQM218TR0Q8I3XgpnN0xyahlIwbiUqOV7YG6+jjCeRGLLwBx8SISJIIkjC4BsuVq7k9SXgWjteT6SltbF/tcgj1l9t77EGQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(366004)(66946007)(52536014)(38100700002)(966005)(86362001)(33656002)(122000001)(4326008)(6506007)(66556008)(2906002)(66446008)(8676002)(83380400001)(8936002)(82960400001)(38070700005)(66574015)(7696005)(66476007)(186003)(54906003)(55016002)(64756008)(53546011)(5660300002)(76116006)(498600001)(9686003)(71200400001); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: Qgg74mX+IG9i8/+Bx+FC4aj0OWgnGR4ZEQ6b9Wv7/isaqpU0QYxncfIbRrTLpGJxIqBKcAOgwH9Pz8jZlzVJsXZp3fFMWUn7t5dS0RFd9UqwHz8HhfajjLZs8B8Vbj70JYi+BQFNZSY5pelI4U446xynWKjnjq2PmDQ0B50CCEInW3AkxlSWyFRoirGVYqUYooHoWRobkPKcnAOUMP5q/Ulkkf2EKfLawO/1XPd5f74Pea4H3Me3dsJlHtOrdUZ8LFVog8dRwNYSMSN5xs9kFmsA8TOjW9/4DfvPWX1rCnFEbNyAeK38kfCONLyfP6zfeYA1B0AZx5vt7hviVFQuv4I4INeYk5ivGAuTUSAKXVCINsFJycUjpsn+TSvD7GDDJlaILz7nmD2kHAvpSkL7ZgjLBzW7RtEPdcFazsczU6BJSZ2/4IMlnJGL5HaVgU1ZmCQ/yRNpHcpydv69dRxTmqDcPvFLMFMGmzy9dBDWxRcLCdz5bXip344REHZuo+ZV0SCoUDC7JUZF2ReP+OBU/HtGQjjzK7mYjwwqKEN2ACeAUDkMLMprpn0l/4G82JGMTcp1w++mhZrDw5pSXeQ9zNraPUyXVTlI8xz9enKHo+SeI/lQloMLLclcSOrVIjwb7gXXvjf8JuuXxzg+g3TmggvKqlBPET3JuOXCyAC713ofOG2VVXSFUnTEtWRkQE1rWdRy9HIE1E6MWm705DzBu45gV4hw8EhfYdbybgbBMzcMxCTGhiTGXLJ4jXXqn5+Eghd9CqweNMVc5XPEDSjbF7LEnELjfzvXr2JiJoWMmw4=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: cert.org
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: d5891b35-8e66-479e-670a-08d98e91a425
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2021 21:37:22.3673 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 95a9dce2-04f2-4043-995d-1ec3861911c6
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1P110MB0578
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/CEha2D6qORoHFtpVsfbyU41EcL8>
Subject: Re: [Cbor] Roman Danyliw's No Objection on draft-ietf-cbor-network-addresses-09: (with COMMENT)
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: Wed, 13 Oct 2021 21:37:52 -0000

VGhhbmtzIE1pY2hhZWwhDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTog
aWVzZyA8aWVzZy1ib3VuY2VzQGlldGYub3JnPiBPbiBCZWhhbGYgT2YgTWljaGFlbCBSaWNoYXJk
c29uDQo+IFNlbnQ6IFdlZG5lc2RheSwgT2N0b2JlciAxMywgMjAyMSA0OjM4IFBNDQo+IFRvOiBS
b21hbiBEYW55bGl3IDxyZGRAY2VydC5vcmc+DQo+IENjOiBkcmFmdC1pZXRmLWNib3ItbmV0d29y
ay1hZGRyZXNzZXNAaWV0Zi5vcmc7IGJhcnJ5bGVpYmFAY29tcHV0ZXIub3JnOw0KPiBjYm9yQGll
dGYub3JnOyBUaGUgSUVTRyA8aWVzZ0BpZXRmLm9yZz47IGNib3ItY2hhaXJzQGlldGYub3JnDQo+
IFN1YmplY3Q6IFJlOiBbQ2Jvcl0gUm9tYW4gRGFueWxpdydzIE5vIE9iamVjdGlvbiBvbiBkcmFm
dC1pZXRmLWNib3ItbmV0d29yay0NCj4gYWRkcmVzc2VzLTA5OiAod2l0aCBDT01NRU5UKQ0KPiAN
Cj4gDQo+IEknbSByZXBseWluZyBhZ2FpbiB0byB0aGlzIGVtYWlsIGZvciBjb21wbGV0ZW5lc3M6
DQo+IFJvbWFuIERhbnlsaXcgdmlhIERhdGF0cmFja2VyIDxub3JlcGx5QGlldGYub3JnPiB3cm90
ZToNCj4gICAgID4gKiogU2VjdGlvbiA3LiAgUmVjb21tZW5kIGdlbmVyYWxpemluZyB0aGUgdGV4
dC4NCj4gDQo+ICAgICA+IE9MRA0KPiAgICAgPiBJZGVudGlmeWluZyB3aGljaCBieXRlIHNlcXVl
bmNlcyBpbiBhIHByb3RvY29sIGFyZSBhZGRyZXNzZXMgbWF5DQo+ICAgICA+IGFsbG93IGFuIGF0
dGFja2VyIG9yIGVhdmVzZHJvcHBlciB0byBiZXR0ZXIgdW5kZXJzdGFuZCB3aGF0IHBhcnRzIG9m
DQo+ICAgICA+IGEgcGFja2V0IHRvIGF0dGFjay4gIFRoYXQgaW5mb3JtYXRpb24sIGhvd2V2ZXIs
IGlzIGxpa2VseSB0byBiZSBmb3VuZA0KPiAgICAgPiBpbiB0aGUgcmVsZXZhbnQgUkZDcyBhbnl3
YXksIHNvIHRoaXMgaXMgbm90IGEgc2lnbmlmaWNhbnQgZXhwb3N1cmUuDQo+IA0KPiAgICAgPiBO
RVcNCj4gICAgID4gVGhpcyBkb2N1bWVudCBwcm92aWRlcyBhbiBDQk9SIGVuY29kaW5nIGZvciBJ
UHY0IGFuZCBJUHY2IGFkZHJlc3MNCj4gaW5mb3JtYXRpb24uDQo+ICAgICA+IEFueSBhcHBsaWNh
dGlvbnMgdXNpbmcgdGhlc2UgZW5jb2RpbmdzIHdpbGwgbmVlZCB0byBjb25zaWRlciB0aGUgc2Vj
dXJpdHkNCj4gICAgID4gaW1wbGljYXRpb25zIG9mIHRoaXMgZGF0YSBpbiB0aGVpciBzcGVjaWZp
YyBjb250ZXh0LiAgRm9yIGV4YW1wbGUsIGlkZW50aWZ5aW5nDQo+ICAgICA+IHdoaWNoIGJ5dGUg
c2VxdWVuY2VzIGluIGEgcHJvdG9jb2wgYXJlIGFkZHJlc3NlcyBtYXkgYWxsb3cgYW4gYXR0YWNr
ZXIgb3INCj4gICAgID4gZWF2ZXNkcm9wcGVyIHRvIGJldHRlciB1bmRlcnN0YW5kIHdoYXQgcGFy
dHMgb2YgYSBwYWNrZXQgdG8gYXR0YWNrLg0KPiANCj4gSSB0b29rIHlvdXIgdGV4dCBhcyBpcywg
aW4gY29tbWl0DQo+IDQyZTVjNWNkMGYzZDdjYjg3YTk2OTA4ZmJhNDQxZjk2MzkxNzM2ZTMNCj4g
aHR0cHM6Ly9naXRodWIuY29tL2Nib3Itd2cvY2Jvci1uZXR3b3JrLQ0KPiBhZGRyZXNzL2NvbW1p
dC80MmU1YzVjZDBmM2Q3Y2I4N2E5NjkwOGZiYTQ0MWY5NjM5MTczNmUzDQo+IA0KPiAgICAgPiAq
KiBTZWN0aW9uIDguMy4gIFJlY29tbWVuZCBtYWtpbmcgdGhlIHRleHQgY2xlYXJlciBvbiB3aGF0
4oCZcyBnZXR0aW5nDQo+IGRlcHJlY2F0ZWQNCj4gDQo+ICAgICA+IE9MRA0KPiAgICAgPiBJQU5B
IGlzIHJlcXVlc3RlZCB0byBhZGQgdGhlIG5vdGUgIkRFUFJFQ0FURUQgaW4gZmF2b3Igb2YgNTIg
YW5kIDU0DQo+ICAgICA+IGZvciBJUCBhZGRyZXNzZXMiIHRvIHJlZ2lzdHJhdGlvbnMgMjYwIGFu
ZCAyNjENCj4gDQo+ICAgICA+IE5FVw0KPiAgICAgPiBJQU5BIGlzIHJlcXVlc3RlZCB0byBhZGQg
dGhlIG5vdGUgIkRFUFJFQ0FURUQgZm9yIHVzZSB3aXRoIElQIGFkZHJlc3Nlcw0KPiBpbg0KPiAg
ICAgPiBmYXZvciBvZiA1MiBhbmQgNTQiIHRvIHJlZ2lzdHJhdGlvbnMgMjYwIGFuZCAyNjENCj4g
DQo+IEFuZCB0aGlzIGNoYW5nZSB3YXMgbWFkZSBpbg0KPiBodHRwczovL2dpdGh1Yi5jb20vY2Jv
ci13Zy9jYm9yLW5ldHdvcmstDQo+IGFkZHJlc3MvY29tbWl0L2RlMzhlMzlkZmE3ZmNlNDZjNTY3
YjQyMzMyZmI1Nzg2MzJhNmI3NDkNCj4gDQo+IA0KPiAtLQ0KPiBNaWNoYWVsIFJpY2hhcmRzb24g
PG1jcitJRVRGQHNhbmRlbG1hbi5jYT4gICAuIG8gTyAoIElQdjYgScO4VCBjb25zdWx0aW5nICkN
Cj4gICAgICAgICAgICBTYW5kZWxtYW4gU29mdHdhcmUgV29ya3MgSW5jLCBPdHRhd2EgYW5kIFdv
cmxkd2lkZQ0KPiANCj4gDQo+IA0KDQo=


From nobody Thu Oct 14 21:35:18 2021
Return-Path: <brian.e.carpenter@gmail.com>
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 A73043A184D for <cbor@ietfa.amsl.com>; Thu, 14 Oct 2021 21:35:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, NICE_REPLY_A=-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 eGLk4tvRwFzy for <cbor@ietfa.amsl.com>; Thu, 14 Oct 2021 21:35:10 -0700 (PDT)
Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (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 7CBB23A17B9 for <cbor@ietf.org>; Thu, 14 Oct 2021 21:35:10 -0700 (PDT)
Received: by mail-pg1-x535.google.com with SMTP id c4so445700pgv.11 for <cbor@ietf.org>; Thu, 14 Oct 2021 21:35:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tP89SmXfrViX0+4ChqNkTb0E/+rMvkpGsWNdh0oCAhI=; b=DVthgVEWrN04OG5Q29OoBpn5kH0772y2NYmCsFapnPNN/xI4cBV+2wMAKLRRsgvp3H 98khx8bFFtxpRuEXyxHSNKwM282YmNqXrMzynK1yc59eNQDCMeXhalMUp557VzoCqXiF ycDT0InfxS/pjMcDoe69kJ/EqOdpeFXe0NujoMkDwMHJ0hOKR6CfuIV1c296xTzBLTsK J1JOecffJ7tofM1mpQZyLNmLRwC6kjgkrAp8exNBVNj0S/TkUeFiYn2ffv4M7YmTVYag Xet7N/QI6aDs+3qV/ZxMOnyMsO9od8uSQVvS5EMLgPX9CMzSv6FxDWouOv9rKCiEOcH6 rtyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tP89SmXfrViX0+4ChqNkTb0E/+rMvkpGsWNdh0oCAhI=; b=0PYpaEFlPJ43bmeCa0XnJmaQ50LnkX93chxExJPK3OAMbw2wv8mDVBOojHy0WQf0Of wx3UWHjuoB6ZJ6g9+pzefh1WNH71UrtVVpfYuY1XVRjJgslCV6yMkzfcLrXT0nPwejMd h8KB0PgSYdZNFS8uV94CtIfA2eLGdosPwgyuFlYx00OVhdyygnDfjFcmelyeFt62HhgI cnk4B5y8U0TbTE+6c1cCwnL0GNefiAfZwwNM3j7/xzsEw6nv4Z3D8nt0sr1lWox6Y/2t WFmC7ESzefC1RTa9LTSXx7O80n3GqubvLF6pRrMktyhKX6GSlkO4t9jfVvd8x1ROHu+/ k/iw==
X-Gm-Message-State: AOAM531z5y3sJ/LSg1KoFpBRkJlQ8tE/w6kFK53sMO9uW4x0pRRboD5q 823Qv3C0agNZxF42EEHOjbk5HaMPWL4=
X-Google-Smtp-Source: ABdhPJylW+ErWOdjrPOzjL8l+aErcQqoync+ZOdR4omLJ3ztWYmIg0zGQTpIrt6nWpyVd8UWbIq21Q==
X-Received: by 2002:a63:3548:: with SMTP id c69mr7432435pga.111.1634272508172;  Thu, 14 Oct 2021 21:35:08 -0700 (PDT)
Received: from ?IPv6:2406:e003:102d:e801:db7:d041:a2d:ce65? ([2406:e003:102d:e801:db7:d041:a2d:ce65]) by smtp.gmail.com with ESMTPSA id d138sm3863863pfd.74.2021.10.14.21.35.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Oct 2021 21:35:07 -0700 (PDT)
To: Carsten Bormann <cabo@tzi.org>
Cc: cbor@ietf.org, Michael Richardson <mcr+ietf@sandelman.ca>
References: <891995AA-2854-431E-9242-98FFCDA5E161@tzi.org> <dab25fe3-43c4-865e-2c7a-54b24340c295@gmail.com> <19BCDB95-AB61-4F92-A38D-F6FD5CA8BBB1@tzi.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <a616b11c-0fc3-436b-96b0-12a6156c37f5@gmail.com>
Date: Fri, 15 Oct 2021 17:35:02 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <19BCDB95-AB61-4F92-A38D-F6FD5CA8BBB1@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/g72zPdRWJ_eCo6SU4kwJbiTVTq0>
Subject: Re: [Cbor] draft-ietf-cbor-network-addresses: tag validity; deterministic encoding
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: Fri, 15 Oct 2021 04:35:16 -0000

On 09-Oct-21 11:57, Carsten Bormann wrote:
> Hi Brian,
>=20
> The weird thing about the current definition of the prefix is that trai=
ling zero bytes are not sent, even if they are part of the prefix.
>=20
>    As an example, ::/128 is encoded as=09
>  	=09
>    54([128, h=E2=80=99=E2=80=99])
>=20
> (::/128 is 16 zero bytes).
>=20
> So don=E2=80=99t forget to zero-expand the prefix you get (which is ano=
ther way to do the =E2=80=9Crecommendation=E2=80=9D).
>=20
> I=E2=80=99m not fluent in Python after midnight, so here=E2=80=99s Ruby=
:
>=20
>    fail if prefix[-1] =3D=3D =E2=80=9C\0=E2=80=9D # may need to check f=
or prefix !=3D =E2=80=98=E2=80=99 in your language
>    l =3D prefix.bytesize
>    fail if l > 16
>    prefix << =E2=80=9C\0=E2=80=9D.b * (16 - l)
>    [now do the trailing bit check in the document[

I was tidying up my Python code so that it would work with either the cbo=
r or cbor2 library, and was distracted by a mysterious segfault in the Py=
thon interpreter, but only on Linux. It was a nightmare to find the offen=
ding statement because the GRASP code is threaded and gdb has no way to t=
ell you which thread crashed.

Anyway, there was of course a user error *and* an oversight in the cbor2 =
library (now fixed: it wasn't reporting my user error as an exception).

So, my ugly code is in the functions build5254() and detag5254() in https=
://github.com/becarpenter/graspy/blob/master/pfxm4.py

   Brian

>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20
>=20
>> On 9. Oct 2021, at 00:40, Brian E Carpenter <brian.e.carpenter@gmail.c=
om> wrote:
>>
>> On 09-Oct-21 00:52, Carsten Bormann wrote:
>>> There are various admonitions scattered in draft-ietf-cbor-network-ad=
dresses about doing the right thing when encoding and decoding the tags.
>>> We do have a concept in CBOR to handle this properly:
>>> Tag validity (Section 5.3.2 of RFC8949).
>>>
>>> In response to various observations about those admonitions during IE=
SG=20
>> processing, I went ahead and consolidated the actual content to a prop=
er section about Tag Validity.
>>>
>>> https://github.com/cbor-wg/cbor-network-address/pull/15
>>>
>>> I also wrote:
>>>
>>>> The tag validity rules, combined with the rules in {{Section 4.2.1 o=
f
>>>> -cbor}}, lead to deterministic encoding for tags 54 and 52 and requi=
re
>>>> no further Additional Deterministic Encoding Considerations as per
>>>> {{Section 4.2.2 of -cbor}}.
>>>
>>> =E2=80=A6 which might come in handy when deterministic encoding is ac=
tually needed.
>>>
>>> Comments welcome before we merge.
>>
>> I glanced at my Python code while checking the PR and noticed this:
>>
>>>> A recommendation for prefix decoder implementations is to first crea=
te
>>>> an array of 16 (or 4) zero bytes.
>>
>> That's exactly what I don't do in my code, although I'm sure it's exac=
tly
>> what I would do in C. I think 'recommendation' is a bit strong.
>>
>>>> check that any unused
>>>> bits in the byte string are zero:
>>
>> I came up with this:
>>
>>    if prefix[length//8] & bytemasks[length%8][0] !=3D prefix[length//8=
]:
>>        #extra bits in prefix, signal an error
>>
>> I also came up with a corner use case - suppose all I want to convey i=
s
>> a prefix length but no prefix? At the moment, I simply send an all-zer=
oes
>> prefix, but those are wasted bits. Probably, this isn't worth fixing.
>>
>>   Brian
>>
>>
>>>
>>> Gr=C3=BC=C3=9Fe, Carsten
>>>
>>> _______________________________________________
>>> CBOR mailing list
>>> CBOR@ietf.org
>>> https://www.ietf.org/mailman/listinfo/cbor
>=20


From nobody Thu Oct 14 21:51:10 2021
Return-Path: <cabo@tzi.org>
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 DBDB23A184F for <cbor@ietfa.amsl.com>; Thu, 14 Oct 2021 21:51:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 X7rKzqYTAifI for <cbor@ietfa.amsl.com>; Thu, 14 Oct 2021 21:51:05 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DDA103A1850 for <cbor@ietf.org>; Thu, 14 Oct 2021 21:51:02 -0700 (PDT)
Received: from smtpclient.apple (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HVv3k5YdMz2xNb; Fri, 15 Oct 2021 06:50:58 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <a616b11c-0fc3-436b-96b0-12a6156c37f5@gmail.com>
Date: Fri, 15 Oct 2021 06:50:58 +0200
Cc: cbor@ietf.org, Michael Richardson <mcr+ietf@sandelman.ca>
Content-Transfer-Encoding: quoted-printable
Message-Id: <DAE0122E-D6AB-45B2-A287-AC270AD8A7CD@tzi.org>
References: <891995AA-2854-431E-9242-98FFCDA5E161@tzi.org> <dab25fe3-43c4-865e-2c7a-54b24340c295@gmail.com> <19BCDB95-AB61-4F92-A38D-F6FD5CA8BBB1@tzi.org> <a616b11c-0fc3-436b-96b0-12a6156c37f5@gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/_uzTUlPMXall72H80QbP7YvxjGc>
Subject: Re: [Cbor] draft-ietf-cbor-network-addresses: tag validity; deterministic encoding
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: Fri, 15 Oct 2021 04:51:09 -0000

On 15. Oct 2021, at 06:35, Brian E Carpenter =
<brian.e.carpenter@gmail.com> wrote:
>=20
> So, my ugly code is in the functions build5254() and detag5254() in =
https://github.com/becarpenter/graspy/blob/master/pfxm4.py

Nice.

After line 122, there needs to be the Python equivalent of a

prefix.sub!(/\x00*\z/, =E2=80=98=E2=80=99)

(Why not mix floating point calculations and a regex in the same five =
lines of code :-)

Before line 146, you=E2=80=99d need to check whether the size really is =
`asize`.

I think the while loop in 154 needs to be before 151.

If v[0] =3D=3D 128 and prefix is 16 bytes, what does prefix[v[0]//8] =
yield in Python?

Gr=C3=BC=C3=9Fe, Carsten


From nobody Fri Oct 15 12:41:55 2021
Return-Path: <brian.e.carpenter@gmail.com>
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 85CE93A0A24 for <cbor@ietfa.amsl.com>; Fri, 15 Oct 2021 12:41:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 lmVm_9Geu7C3 for <cbor@ietfa.amsl.com>; Fri, 15 Oct 2021 12:41:49 -0700 (PDT)
Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) (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 C18693A0A1A for <cbor@ietf.org>; Fri, 15 Oct 2021 12:41:48 -0700 (PDT)
Received: by mail-pl1-x633.google.com with SMTP id 21so6995486plo.13 for <cbor@ietf.org>; Fri, 15 Oct 2021 12:41:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=nhjtNXi6Fb7svpSaGt1EyWOam3bSVa0Q/3vX1O0xUNg=; b=HwAmtqXkPeyuWtpG6smxAnlMtGfWooBxS1x4p1e2diLF99vIxSG/4ppw/qF9d9s+16 yPorg38RXjzlAmsrhfa6qTnJBRDH2j9oTGoirqS3j9fOmsF+RTS/JwhNtGaL6vt8HBaH cTpGHMv1nzeyUL2mr8Gf1PimacxLUYhB0++nivPy5tMr31/YAWyHGZioCIDTsIXaqBFK KLNH1U5OAKqR/OGTWeRn2a2hIDK+qE7AX7apRCgMDVFSNmrFwEFrk917VJ+cyLnBeukz 8DkyWREBtddLkQoFJGJsMVESX8MSU8yPs2TKIfYYAOSVEdwtXfo4uDNtL0fW9hhpRfx/ XV6g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=nhjtNXi6Fb7svpSaGt1EyWOam3bSVa0Q/3vX1O0xUNg=; b=TySqTmZd5C8KQhZDTV50ejrr5YYRlw/FCSxZ99YMEWnw/VJBRZjv/0EjxOFnaBQiSF f2uwNBndeIzw3O3Tq2TgyJNu/UyAIWBxMZeO2PwsaJ0GZRPHrCBON0Vaz98bFw9jtEio NalQV+sXaeYYpjGzHcfRhAh4PnjtyUfUnpveLynwvPu+/hOFBIBgd4rsNXsWrohvHtCb avwlP9UJIwV1QU/n8KrKR5UVgsYVl87yQdrwuOfzv4vyUxDGiBCeNcjJgzPoQFbx2zRZ RsKmEjMoTiojPCv4uWY9UjhZIgYm3VYj5MKk0yHgulnGG1BDbs2CXrQ7OFqJ6W+6OicK /O6w==
X-Gm-Message-State: AOAM532cEaNCo6QJqqsH52VTRCJPb83oXh0PQ5BR/stK7Fmu0eCT7jbK Bs2jiDBt7wfGLp/okHpJQ88=
X-Google-Smtp-Source: ABdhPJyhcqpYQX1zMBm2VhSHGWZjzWiqk7ezpoDhfzn0/8hYCnhJDC5zUAJpB8VWKY3ZA/pio1T5eQ==
X-Received: by 2002:a17:90b:3684:: with SMTP id mj4mr30215395pjb.3.1634326907949;  Fri, 15 Oct 2021 12:41:47 -0700 (PDT)
Received: from ?IPv6:2406:e003:102d:e801:db7:d041:a2d:ce65? ([2406:e003:102d:e801:db7:d041:a2d:ce65]) by smtp.gmail.com with ESMTPSA id t9sm11940363pjm.36.2021.10.15.12.41.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Oct 2021 12:41:47 -0700 (PDT)
To: Carsten Bormann <cabo@tzi.org>
Cc: cbor@ietf.org, Michael Richardson <mcr+ietf@sandelman.ca>
References: <891995AA-2854-431E-9242-98FFCDA5E161@tzi.org> <dab25fe3-43c4-865e-2c7a-54b24340c295@gmail.com> <19BCDB95-AB61-4F92-A38D-F6FD5CA8BBB1@tzi.org> <a616b11c-0fc3-436b-96b0-12a6156c37f5@gmail.com> <DAE0122E-D6AB-45B2-A287-AC270AD8A7CD@tzi.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <c837d973-b136-8f1d-1b08-6516544cdc1f@gmail.com>
Date: Sat, 16 Oct 2021 08:41:42 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <DAE0122E-D6AB-45B2-A287-AC270AD8A7CD@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/mblK1kKTvs6-YNzIUm5DZhHTuDc>
Subject: Re: [Cbor] draft-ietf-cbor-network-addresses: tag validity; deterministic encoding
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: Fri, 15 Oct 2021 19:41:54 -0000

Thanks. I have to do some other things more urgently, but I will work on =
your comments in due course. In the context of my code, anything that get=
s passed to detag() was manufactured by build(), so the verification is a=
lways going to succeed. I didn't build a test harness and throw invalid t=
ags at detag(), but of course I should have done that.

I'd actually prefer if these tags were supported directly in the underlyi=
ng libraries, so that the code could be optimized and the validation coul=
d be complete. Or possibly there should be a separate library providing b=
uild and detag/verify functions in a generic way.

Regards
   Brian

On 15-Oct-21 17:50, Carsten Bormann wrote:
> On 15. Oct 2021, at 06:35, Brian E Carpenter <brian.e.carpenter@gmail.c=
om> wrote:
>>
>> So, my ugly code is in the functions build5254() and detag5254() in ht=
tps://github.com/becarpenter/graspy/blob/master/pfxm4.py
>=20
> Nice.
>=20
> After line 122, there needs to be the Python equivalent of a
>=20
> prefix.sub!(/\x00*\z/, =E2=80=98=E2=80=99)
>=20
> (Why not mix floating point calculations and a regex in the same five l=
ines of code :-)
>=20
> Before line 146, you=E2=80=99d need to check whether the size really is=20
`asize`.
>=20
> I think the while loop in 154 needs to be before 151.
>=20
> If v[0] =3D=3D 128 and prefix is 16 bytes, what does prefix[v[0]//8] yi=
eld in Python?
>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20


From nobody Fri Oct 15 15:39:31 2021
Return-Path: <agenda@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 4B38C3A0DC9; Fri, 15 Oct 2021 15:33:57 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "\"IETF Secretariat\"" <agenda@ietf.org>
To: <barryleiba@computer.org>, <cbor-chairs@ietf.org>
Cc: cbor@ietf.org, francesca.palombini@ericsson.com
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <163433723729.17026.14002924544017384869@ietfa.amsl.com>
Date: Fri, 15 Oct 2021 15:33:57 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/RwQT5lmk41noKteirgePncsV7bo>
Subject: [Cbor] cbor - Requested session has been scheduled for IETF 112
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 15 Oct 2021 22:33:59 -0000

Dear Barry Leiba,

The session(s) that you have requested have been scheduled.
Below is the scheduled session information followed by
the original request. 


    cbor Session 1 (1:00 requested)
    Thursday, 11 November 2021, Session II 1430-1530
    Room Name: Room 1 size: 501
    ---------------------------------------------


iCalendar: https://datatracker.ietf.org/meeting/112/sessions/cbor.ics

Request Information:


---------------------------------------------------------
Working Group Name: Concise Binary Object Representation Maintenance and Extensions
Area Name: Applications and Real-Time Area
Session Requester: Barry Leiba


Number of Sessions: 1
Length of Session(s):  1 Hour
Number of Attendees: 50
Conflicts to Avoid: 

       


People who must be present:
  Barry Leiba
  Carsten Bormann
  Christian Amsuess
  Francesca Palombini
  Michael Richardson

Resources Requested:

Special Requests:
  Please avoid collision with ART, Sec, and IoT-related BoFs.
---------------------------------------------------------



From nobody Fri Oct 15 18:07:46 2021
Return-Path: <cabo@tzi.org>
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 576863A13D9; Fri, 15 Oct 2021 18:07:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 83yChLCfm71F; Fri, 15 Oct 2021 18:07:40 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 777F33A13D5; Fri, 15 Oct 2021 18:07:39 -0700 (PDT)
Received: from smtpclient.apple (p5089a8ac.dip0.t-ipconnect.de [80.137.168.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HWQ3X1ZTPz2xLD; Sat, 16 Oct 2021 03:07:36 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Date: Sat, 16 Oct 2021 03:07:35 +0200
Message-Id: <1D04949B-1677-4768-937A-39F21E6327B7@tzi.org>
To: ace@ietf.org, "core@ietf.org WG (core@ietf.org)" <core@ietf.org>, cose@ietf.org, cbor@ietf.org, t2trg@irtf.org
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/QnSh8jJ54tyaXTp9DwTXfyJn2FU>
Subject: [Cbor] Constrained Node/Network Cluster @ IETF112: FINAL AGENDA
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: Sat, 16 Oct 2021 01:07:44 -0000

Here is my usual eclectic condensed agenda based on the "FINAL" AGENDA
for IETF112.  Remember that further agenda changes can still happen.

COSE no longer is on IOTOPS; MADINAS, ADD, INTAREA, UTA, and OPENPGP
have moved around a bit.  The conspicuous conflict of ASDF/LAKE/RATS
remains.

All times are in UTC.
Note that the first week in November (W44) is the Week of Confusion,
where DST has ended in Europe but not yet in North America.
https://datatracker.ietf.org/meeting/agenda-utc might be handy.

Gr=C3=BC=C3=9Fe, Carsten


(### DST ENDS IN EUROPE ###)

MONDAY, November 1, 2021

1500-1600  Hackathon Kickoff
Rm 1    	GEN	hackathon	Hackathon

WEDNESDAY, November 3, 2021

1330-1500  IETF Plenary - Plenary

FRIDAY, November 5, 2021

1500-1700  Hackathon Closing
Rm 1    	GEN	hackathon	Hackathon

(### DST ENDS IN NORTH AMERICA ###)

MONDAY, November 8, 2021

1200-1400  Session I
Rm 1    	ART	dispatch	Dispatch WG - Joint with ARTAREA
Rm 7    	SEC ***	rats	Remote ATtestation ProcedureS WG
Rm 8    	TSV	masque	Multiplexed Application Substrate over =
QUIC Encryption WG

1430-1530  Session II
Rm 2    	INT ***	6lo	IPv6 over Networks of =
Resource-constrained Nodes WG
Rm 5    	RTG	rift	Routing In Fat Trees WG
Rm 7    	SEC ***	suit	Software Updates for Internet of Things =
WG
Rm 8    	TSV	tsvwg	Transport Area Working Group WG

1600-1800  Session III
Rm 1    	ART ***	core	Constrained RESTful Environments WG
Rm 3    	INT	add	Adaptive DNS Discovery WG

TUESDAY, November 9, 2021

1200-1400  Session I
Rm 2    	ART	webtrans	WebTransport WG
Rm 3    	INT	intarea	Internet Area Working Group WG
Rm 6    	RTG	raw	Reliable and Available Wireless WG
Rm 7    	SEC	secdispatch	Security Dispatch WG

1430-1530  Session II
Rm 1    	ART	sedate	Serialising Extended Data About Times =
and Events WG
Rm 3    	INT ***	lpwan	IPv6 over Low Power Wide-Area Networks =
WG
Rm 4    	IRTF	maprg	Measurement and Analysis for Protocols
Rm 7    	SEC ***	ace	Authentication and Authorization for =
Constrained Environments WG

1600-1800  Session III
Rm 3    	INT	6man	IPv6 Maintenance WG
Rm 4    	IRTF	irtfopen	IRTF Open Meeting
Rm 8    	SEC	tls	Transport Layer Security WG

WEDNESDAY, November 10, 2021

1200-1400  Session I
Rm 2    	ART	jsonpath	JSON Path WG
Rm 3    	INT	madinas	MAC Address Device Identification for =
Network and Application Services WG
Rm 5    	RTG	detnet	Deterministic Networking WG
Rm 7    	SEC	openpgp	Open Specification for Pretty Good =
Privacy WG
Rm 8    	TSV	quic	QUIC WG

1430-1530  Session II
Rm 4    	RTG	babel	Babel routing protocol WG
Rm 6    	RTG ***	roll	Routing Over Low power and Lossy =
networks WG
Rm 7    	SEC ***	cose	CBOR Object Signing and Encryption WG
Rm 8    	TSV	tsvarea	Transport Area Open Meeting

1600-1800  Session III
Rm 1    	ART	wpack	Web Packaging WG
Rm 3    	OPS	anima	Autonomic Networking Integrated Model =
and Approach WG

THURSDAY, November 11, 2021

1200-1400  Session I
Rm 3    	IRTF	cfrg	Crypto Forum
Rm 4    	IRTF	coinrg	Computing in the Network Research Group
Rm 6    	SEC	gnap	Grant Negotiation and Authorization =
Protocol WG

1430-1530  Session II
Rm 1    	ART ***	cbor	Concise Binary Object Representation =
Maintenance and Extensions WG
Rm 3    	INT ***	drip	Drone Remote ID Protocol WG
Rm 4    	IRTF	pearg	Privacy Enhancements and Assessments =
Research Group
Rm 6    	OPS	v6ops	IPv6 Operations WG
Rm 7    	RTG	bier	Bit Indexed Explicit Replication WG
Rm 8    	SEC	acme	Automated Certificate Management =
Environment WG

1600-1800  Session III
Rm 1    	IRTF	panrg	Path Aware Networking RG
Rm 6    	SEC	saag	Security Area Open Meeting

FRIDAY, November 12, 2021

1200-1400  Session I
Rm 2    	ART	httpapi	Building Blocks for HTTP APIs WG
Rm 4    	OPS	v6ops	IPv6 Operations WG - Joint with 6MAN
Rm 6    	SEC	dance	DANE Authentication for Network Clients =
Everywhere WG
Rm 7    	SEC ***	teep	Trusted Execution Environment =
Provisioning WG

1430-1530  Session II
Rm 1    	ART ***	asdf	A Semantic Definition Format for Data =
and Interactions of Things WG
Rm 5    	RTG	rtgarea	Routing Area Open Meeting
Rm 6    	SEC ***	lake	Lightweight Authenticated Key Exchange =
WG
Rm 7    	SEC ***	rats	Remote ATtestation ProcedureS WG
Rm 8    	TSV	rmcat	RTP Media Congestion Avoidance =
Techniques WG

1600-1700  Session III
Rm 2    	ART	uta	Using TLS in Applications WG
Rm 3    	INT	dnssd	Extensions for Scalable DNS Service =
Discovery WG
Rm 4    	OPS ***	iotops	IOT Operations WG
Rm 7    	TSV	tsvwg	Transport Area Working Group WG
mediaman


From nobody Sat Oct 16 14:06:33 2021
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 797253A0DD7 for <cbor@ietfa.amsl.com>; Sat, 16 Oct 2021 14:06:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 J7p6pdNY7A2g for <cbor@ietfa.amsl.com>; Sat, 16 Oct 2021 14:06:26 -0700 (PDT)
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 E70063A0DD6 for <cbor@ietf.org>; Sat, 16 Oct 2021 14:06:25 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 2681018287; Sat, 16 Oct 2021 17:06:50 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4agL607V6K-U; Sat, 16 Oct 2021 17:06:49 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id C17751808D; Sat, 16 Oct 2021 17:06:49 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 765071C6; Sat, 16 Oct 2021 17:06:23 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, Carsten Bormann <cabo@tzi.org>, cbor@ietf.org
In-Reply-To: <c837d973-b136-8f1d-1b08-6516544cdc1f@gmail.com>
References: <891995AA-2854-431E-9242-98FFCDA5E161@tzi.org> <dab25fe3-43c4-865e-2c7a-54b24340c295@gmail.com> <19BCDB95-AB61-4F92-A38D-F6FD5CA8BBB1@tzi.org> <a616b11c-0fc3-436b-96b0-12a6156c37f5@gmail.com> <DAE0122E-D6AB-45B2-A287-AC270AD8A7CD@tzi.org> <c837d973-b136-8f1d-1b08-6516544cdc1f@gmail.com>
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: Sat, 16 Oct 2021 17:06:23 -0400
Message-ID: <25225.1634418383@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/qVf1-KqXgxFvjSLUD0BqZkpVvig>
Subject: Re: [Cbor] draft-ietf-cbor-network-addresses: tag validity; deterministic encoding
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: Sat, 16 Oct 2021 21:06:31 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
    > I'd actually prefer if these tags were supported directly in the
    > underlying libraries, so that the code could be optimized and the
    > validation could be complete. Or possibly there should be a separate
    > library providing build and detag/verify functions in a generic way.

yeah, so...
      cbor2sockaddr()

But, we didn't do port numbers or protocols, so sockaddr is wrong.
I actually found this annoying in my Rust code, because Sockaddr is the best
abstraction for v4/v6 addresses with scopes around, but without a service a=
nd
port number, you can't make one.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFrPs8ACgkQgItw+93Q
3WWNHgf/b8I8cWVCs2T8erBYx9iLNR63hpmXiwkuCSXqOF3CJIU3bzgUGfa3vGzY
sUmR3Jtx2GNsGeJDdkpOWI5gj4ewxjud1FKnFNuJRDOpkS3GrVOy9AaL2mlEwM7P
6ZXwCisVLLthdj3wezWkRn4DqXdQ1QbC4vgVzLjxLDRafc26oka4FqzNs5Tl2sLR
delbvdVDtna1uNIKAo8CSJSLP/m495IOUnuyXok7TR2NRhqtadGbMIMNc7Ux1O9X
Yl2IAcuYXmvAyN5+6ujtXHv0tZtX3LLx3wqEmIsLFFGk9BK72cG+58IASaJoSggF
6XpF/rjnvtISObwCOGFbCYuNOx7PQA==
=3PTu
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Mon Oct 18 04:00:23 2021
Return-Path: <lars@eggert.org>
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 A4E953A0BE0; Mon, 18 Oct 2021 04:00:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, WEIRD_QUOTING=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eggert.org
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 elFUy_oEZ9B9; Mon, 18 Oct 2021 04:00:07 -0700 (PDT)
Received: from mail.eggert.org (mail.eggert.org [91.190.195.94]) (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 0719D3A0BDF; Mon, 18 Oct 2021 04:00:03 -0700 (PDT)
Received: from smtpclient.apple (unknown [IPv6:2a00:ac00:4000:400:f59e:182:f628:e27f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.eggert.org (Postfix) with ESMTPSA id DD1B8600C9E; Mon, 18 Oct 2021 13:59:50 +0300 (EEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eggert.org; s=dkim; t=1634554791; bh=hvKSjt56R5xl/oRvFqxp5PCDTM1VdyrALP00bPRwMJI=; h=From:Subject:Date:In-Reply-To:Cc:To:References; b=nx85VF3HgOA+R426WPYHo7zCyMCql6wBNgdWkyQyJ44SGm7vGD3GJmrIPb96pfrvJ orRe9bM8OvhF9l/BcyaKCt2t8dqTm6gvvf13KXZ9+33zz1OwtD/fegx6Xbg5lxch1B ZVtTJHRTktwHwje3D/vjND4KeIEIyBd/1beXfwRE=
From: Lars Eggert <lars@eggert.org>
Message-Id: <9C69C609-4351-479E-974F-634FFFB5D82A@eggert.org>
Content-Type: multipart/signed; boundary="Apple-Mail=_799C3B8A-5FB4-4CB8-88E8-A0A2CC855E2B"; protocol="application/pgp-signature"; micalg=pgp-sha512
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Date: Mon, 18 Oct 2021 13:59:48 +0300
In-Reply-To: <163181597437.23922.16020691497893082297@ietfa.amsl.com>
Cc: General Area Review Team <gen-art@ietf.org>, cbor@ietf.org, draft-ietf-cbor-cddl-control.all@ietf.org, last-call@ietf.org
To: Theresa Enghardt <ietf@tenghardt.net>
References: <163181597437.23922.16020691497893082297@ietfa.amsl.com>
X-MailScanner-ID: DD1B8600C9E.A549E
X-MailScanner: Found to be clean
X-MailScanner-From: lars@eggert.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/eqGQCYWNzYF0Z8r8szEoD4L5Tak>
Subject: Re: [Cbor] [Gen-art] Genart last call review of draft-ietf-cbor-cddl-control-05
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: Mon, 18 Oct 2021 11:00:13 -0000

--Apple-Mail=_799C3B8A-5FB4-4CB8-88E8-A0A2CC855E2B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Theresa, thank you for your review. I have entered a No Objection ballot =
for this document.

Lars


> On 2021-9-16, at 21:12, Theresa Enghardt via Datatracker =
<noreply@ietf.org> wrote:
>=20
> Reviewer: Theresa Enghardt
> Review result: Ready with Nits
>=20
> I am the assigned Gen-ART reviewer for this draft. The General Area
> Review Team (Gen-ART) reviews all IETF documents being processed
> by the IESG for the IETF Chair.  Please treat these comments just
> like any other last call comments.
>=20
> For more information, please see the FAQ at
>=20
> <https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.
>=20
> Document: draft-ietf-cbor-cddl-control-05
> Reviewer: Theresa Enghardt
> Review Date: 2021-09-16
> IETF LC End Date: 2021-09-21
> IESG Telechat date: Not scheduled for a telechat
>=20
> Summary: This document is fairly clear and concise, and basically =
ready for
> publication. I noticed a few minor issues and nits that could further =
enhance
> document clarity.
>=20
> Major issues: None.
>=20
> Minor issues:
>=20
> Section 1:
> Please consider adding a brief description of what a control operator =
is, how
> it can be used, and what its components are.
>=20
> .feature is described as "Detecting feature use in extension points"
> (introduction) VS "indicating the use of a non-basic feature in an =
instance"
> (abstract) - How can a control operator detect feature use, doesn't it =
merely
> indicate? If both of these descriptions are meant to conved the same =
meaning,
> please consider changing the "purpose" of .feature to something like =
"Name of a
> feature that is used", or, ideally, find a different word to capture =
what a
> feature is.
>=20
> Section 2:
> "CDDL as defined in [RFC8610] does not have any mechanisms to compute
>   literals.  As an 80 % solution, this specification adds three =
control
>   operators"
> What are the missing 20%? Please consider briefly mentioning the =
limitations of
> the new operators.
>=20
> "Not all tools may be able to work with non-unique targets or =
controllers."
> Here, "tool" refers to "CDDL tool" as used in RFC8610, correct? If so, =
please
> consider making all references to "tool" in this document more =
precise.
>=20
> Section 2.3:
> Please consider adding the outcome of the .det operation in the =
example in
> Figure 3: The definition of dedenting includes "determining the =
smallest amount
> of left-most blank space (number of leading space characters) in all =
the
> non-blank lines". If I understand correctly, taking this definition =
literally,
> the operation ("oid" .det cbor-tags-oid) would result in no space =
being removed
> at all, because the string "oid" does not contain anly left-most blank =
spaces.
> But I suspect that the example is intended to show dedenting of the =
contents of
> the cbor-tags-oid variable. Perhaps I'm missing something about CDDL =
here that
> was discussed in RFC8610.
>=20
> Section 7 (Security considerations):
> Can there be any additional security concerns if CDDL specifications =
can
> contain ABNF or "arbitrary" features? While this document obviously =
can't go
> into specifics, maybe it's worth calling out that one needs to pay =
specific
> attention if these control operators are used.
>=20
> Nits/editorial comments:
>=20
> Section 2.2
> "concatenating the target text string ""foo"""
> Is foo intended to be in two double quotes, or should there only be =
one pair of
> quotes?
>=20
> Section 3
> "by defining a ".abnf" control operator"
> Should this say 'an ".abnf" control operator' instead?
>=20
>=20
> _______________________________________________
> Gen-art mailing list
> Gen-art@ietf.org
> https://www.ietf.org/mailman/listinfo/gen-art


--Apple-Mail=_799C3B8A-5FB4-4CB8-88E8-A0A2CC855E2B
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmpq0ZpSoejRmyhheVLXDCb9wwVcFAmFtU6QACgkQVLXDCb9w
wVcVzg//bbsninTrEJTcB1g82ODl9GX4CwHNAXCRqaJ3BpTwSt7Yie5/ybz4uh+Y
J8q47ORRvoMLnklq4fgYz0OW95KvwbleHKNF51i9zjhgupYZwTdS1pZZkCTo1nuT
UbQEqrZjHfq4mya+rRWqeuTn4C0yy+QtDGC3EYsZ+9gRiAQNu0Uw3B50Z9VijBGa
at4IHHUg+m8j9/7Jmdu/5Z6VqzBBlx63dTdSbSSCCEctVywlflUGGefkxpqwFs6e
ISkpzvOugHM8prmfVda+twfEMVZNEQxlf4dmkcaC+RgccmWk2DVGdBnDs3bQeRQL
fH9X55YQefiG9aX0pb2Er48BSZhK+bonJkDnzHVP5VhyDDEe5L1r0z+JNHvOdUAO
I52Cgh/58m77xTARwq+4fT4OKpV1haVHPfCtwzIBol+2fsVcPZ0R9IO7LmSdx04Q
ZayG9B9dNnequLSNN0CHsZwzOXC83K0WmPTq2y4k+ozOhVEK1ZKkNEluQmXay38D
ufvFGjiIeNGd99gS0yjuQHhwzRiduUOsOSC62m306yv/Y9CL+fQyW9yFlp2XpwjM
IYxCEBQZynm1GYZD8vsfmQ+oWW5/fWbDkAqtekiqRjOIrpGYDSsYzB7h7uyXZx3N
B4gp25wW5bRLjv9RMouA4AGtPP2wDefhMU3g0yDAQYEdeU3B8K8=
=8OdJ
-----END PGP SIGNATURE-----

--Apple-Mail=_799C3B8A-5FB4-4CB8-88E8-A0A2CC855E2B--


From nobody Tue Oct 19 10:28:54 2021
Return-Path: <barryleiba@gmail.com>
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 8A9D03A085D for <cbor@ietfa.amsl.com>; Tue, 19 Oct 2021 10:28:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.65
X-Spam-Level: 
X-Spam-Status: No, score=-1.65 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 8ssb1o7TIXd2 for <cbor@ietfa.amsl.com>; Tue, 19 Oct 2021 10:28:48 -0700 (PDT)
Received: from mail-ua1-f45.google.com (mail-ua1-f45.google.com [209.85.222.45]) (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 02F573A0860 for <cbor@ietf.org>; Tue, 19 Oct 2021 10:28:47 -0700 (PDT)
Received: by mail-ua1-f45.google.com with SMTP id u5so1333619uao.13 for <cbor@ietf.org>; Tue, 19 Oct 2021 10:28:47 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=YAr46M8YqANm2bD0OsSCmiwEPPbusDvIg3zK12yohg4=; b=6xw+rqQ7Y+unWhXefQ5tpS3fCHbLyFLpsfS5e8VgX5vPXm0zKZ3TIzpibW/oKkr9PV X4EX7CG1I/FLp0/YTH0VQ1TFPwzQM0O6pTE2zoVs5I48TdZLqrw3WPJnUbcYpsavSUHh 2WjcCXcBotz3xUtnExDbwwGPCkh8FFSqYF13XfQokiFxxK5jeGrOm0TcdIRcKBlHo0ta GgqEGmYQBoEkObKhDM0ywkY4k8/kqUVrhxQVlAyAyTDrkBItfQ3Ithq+QQ9+O6O7rqUH Rr+aTULrpSWMdMsXwtrtGt1JWnWmyyGhnVLArUwBCylDCVdC+BiZCc/+KDxlybJ6f/9s uAWQ==
X-Gm-Message-State: AOAM5304Gx/GwavNYQz3CbyckCDQaxv27z/sRaGnlJzbr/2D/vGYf6JB 3VoRZ5EnRRkenV9moLubGO4R7Bum9TVCy3wxGBcOBwP68fjScQ==
X-Google-Smtp-Source: ABdhPJzU3TfSWLyu+NLXOY1Z/saTnXPp4qeSdoHNz4LAlLoazislxH7v0XucwN5k7ULdmZ7d6braZ5YdNAy00yXTFlQ=
X-Received: by 2002:a67:d91b:: with SMTP id t27mr37643221vsj.55.1634664526723;  Tue, 19 Oct 2021 10:28:46 -0700 (PDT)
MIME-Version: 1.0
References: <CALaySJL9nydwQMgEfcKVW=_T6bhDxn875Pr4EfEc5kN5anuuuw@mail.gmail.com> <CALaySJJLdvcETtFVX337CU-YQuah0VNV6kpJW351-NeCvn92rA@mail.gmail.com>
In-Reply-To: <CALaySJJLdvcETtFVX337CU-YQuah0VNV6kpJW351-NeCvn92rA@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
Date: Tue, 19 Oct 2021 13:28:35 -0400
Message-ID: <CALaySJJ5UUvJZa7dOUWYUHAH1yQgO8XkYKPfx0sBCg983jhW_g@mail.gmail.com>
To: cbor@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/v3UaJLjUmNYyX-8Llf_mqQUzFZk>
Subject: [Cbor] Reminder: bi-weekly CBOR conference call on 6 October
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, 19 Oct 2021 17:28:53 -0000

We'll have our regular bi-weekly CBOR conference call on
Wednesday, 20 October, at 1400 UTC.  Various pointers are here:
https://datatracker.ietf.org/meeting/interim-2021-cbor-19/session/cbor

In particular, see the agenda here:
https://notes.ietf.org/notes-ietf-interim-2021-cbor-19-cbor

Please edit the agenda and add to it to propose specific discussions.
* Please volunteer ahead of time to help take notes! *

Meeting link: https://meetings.conf.meetecho.com/interim/?short=435b6e1b-a1d6-412f-bee8-004ff10c6629

Note that this is the last interim call before IETF 112, and the last
one currently scheduled.

--
Barry


From nobody Tue Oct 19 10:29:30 2021
Return-Path: <barryleiba@gmail.com>
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 E60963A0860 for <cbor@ietfa.amsl.com>; Tue, 19 Oct 2021 10:29:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.65
X-Spam-Level: 
X-Spam-Status: No, score=-1.65 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 RCDYyTuoA5tv for <cbor@ietfa.amsl.com>; Tue, 19 Oct 2021 10:29:24 -0700 (PDT)
Received: from mail-ua1-f52.google.com (mail-ua1-f52.google.com [209.85.222.52]) (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 DB7333A085D for <cbor@ietf.org>; Tue, 19 Oct 2021 10:29:23 -0700 (PDT)
Received: by mail-ua1-f52.google.com with SMTP id f4so1432246uad.4 for <cbor@ietf.org>; Tue, 19 Oct 2021 10:29:23 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=lUkymkykatmvXYGZNiFAdgBfyXTRDfwfzxF3BZvuD8k=; b=d3TdyPJl+OL9tXvjuEIxxyTySHZMFc9w9uYCVDXeKFJeGpFdq/1QWt9lMxLfED+jzY xHbEE37YKx5rykpoitfnD8Xkym4gCRAHiiUtPzECvDZKsdrRqTzi0pvdrsfk3ENlm5pZ zc2DaVtBuGKcJm6dw+PXZL8Zq3mbYza0StXXKnCx1iJ5il5HJ1jrYrpF0YUOcYkqIaPa Vy4KeyTrDXta57vU36qmLrjqJvCjTSyuKIBNeSUFdaD+Aj4gGzdCNKfRcifp7Lgcvf0z i+eH7GJnfgV4O8RF1FP0go48K76Wkc0ihuSo2uwgOB3wfk+tRMYNFE3xjhMy0Qs6ks52 FyKg==
X-Gm-Message-State: AOAM531dZF348iqLYBub3JyKrM/fHo2UWMFRybpVjnta8xelLgbgSD2w faX+BXp4UyiHOxNVYLOmTlf0idAdRBYEXEHdl+36HXIfaB4=
X-Google-Smtp-Source: ABdhPJw6jpqMChsoFmHdRMyAlDBuBSEIfWVJtoJi5lwcO+3A+Ly4aK7QQ5HoG8YeY626Yk7sAtNQTXdrjUAAXo0rrKU=
X-Received: by 2002:a9f:36f0:: with SMTP id p103mr1512593uap.42.1634664562544;  Tue, 19 Oct 2021 10:29:22 -0700 (PDT)
MIME-Version: 1.0
References: <CALaySJL9nydwQMgEfcKVW=_T6bhDxn875Pr4EfEc5kN5anuuuw@mail.gmail.com> <CALaySJJLdvcETtFVX337CU-YQuah0VNV6kpJW351-NeCvn92rA@mail.gmail.com> <CALaySJJ5UUvJZa7dOUWYUHAH1yQgO8XkYKPfx0sBCg983jhW_g@mail.gmail.com>
In-Reply-To: <CALaySJJ5UUvJZa7dOUWYUHAH1yQgO8XkYKPfx0sBCg983jhW_g@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
Date: Tue, 19 Oct 2021 13:29:11 -0400
Message-ID: <CALaySJLH+9CFykce_w2vrzhTjRYyqA6w7tEZFKx8-ZhxoZCx_g@mail.gmail.com>
To: cbor@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/P2_8ulq4BpzzA8IP4vUeBwLyNLU>
Subject: Re: [Cbor] Reminder: bi-weekly CBOR conference call on 20 October
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, 19 Oct 2021 17:29:28 -0000

Fixing subject line.  Sigh.

> We'll have our regular bi-weekly CBOR conference call on
> Wednesday, 20 October, at 1400 UTC.  Various pointers are here:
> https://datatracker.ietf.org/meeting/interim-2021-cbor-19/session/cbor
>
> In particular, see the agenda here:
> https://notes.ietf.org/notes-ietf-interim-2021-cbor-19-cbor
>
> Please edit the agenda and add to it to propose specific discussions.
> * Please volunteer ahead of time to help take notes! *
>
> Meeting link: https://meetings.conf.meetecho.com/interim/?short=435b6e1b-a1d6-412f-bee8-004ff10c6629
>
> Note that this is the last interim call before IETF 112, and the last
> one currently scheduled.
>
> --
> Barry


From nobody Tue Oct 19 10:29:59 2021
Return-Path: <barryleiba@gmail.com>
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 CB9333A087D for <cbor@ietfa.amsl.com>; Tue, 19 Oct 2021 10:29:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.65
X-Spam-Level: 
X-Spam-Status: No, score=-1.65 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 g5MxxwQeCn1F for <cbor@ietfa.amsl.com>; Tue, 19 Oct 2021 10:29:53 -0700 (PDT)
Received: from mail-ua1-f53.google.com (mail-ua1-f53.google.com [209.85.222.53]) (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 73AFB3A0879 for <cbor@ietf.org>; Tue, 19 Oct 2021 10:29:53 -0700 (PDT)
Received: by mail-ua1-f53.google.com with SMTP id e2so1403045uax.7 for <cbor@ietf.org>; Tue, 19 Oct 2021 10:29:53 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=lUkymkykatmvXYGZNiFAdgBfyXTRDfwfzxF3BZvuD8k=; b=QQBjylJxpWUlAnQFogSvXk3M84sxjGt1smRc7plc2Vl5H1RjjHUNnht8MWWJSao8h9 zoCmjnD1PffVqvJPGF8SUAJgdoOqlxQLLiGcPiOQMv9HZby+MZgtPT3rbB+ApqPXefh8 2/CBLLwS1wuFgp9hmCx3rPvZKriy4BUEZ9E0Pb0Tk86p+5mkh6fEVp0QmjEev8cOxHDJ kTiCHfLJAiqnl3CHwBrL5iCBw18GfglZzhJ71Mj1Lfs13V+4wTD+zzo1pzQ2cFKFwI6i uaNDcs3++6MDsmmp+Gb+o2MwR8NwgxvRNXVxid/y+UAnjmK9sKi7SaqqazTez2lEa5wN 827w==
X-Gm-Message-State: AOAM531QCC5CCRrnn2rj0Y5RSrMg5NaQfSShkDb+gYltYLUYCrFITtmc yzLcZNnJgAg5YLdGyhFDXPR81hVRPw+QurtGwafCloZKPr4=
X-Google-Smtp-Source: ABdhPJxlfNNV1q6a1UYKhdEKk8rcW0Ds5iItiquId4SkF7wrowzPvdLZ18KQR4fPMFN4fWT0uKmqIi1RZfenkY7xgi4=
X-Received: by 2002:ab0:3d06:: with SMTP id f6mr1530660uax.65.1634664591955; Tue, 19 Oct 2021 10:29:51 -0700 (PDT)
MIME-Version: 1.0
References: <CALaySJL9nydwQMgEfcKVW=_T6bhDxn875Pr4EfEc5kN5anuuuw@mail.gmail.com> <CALaySJJLdvcETtFVX337CU-YQuah0VNV6kpJW351-NeCvn92rA@mail.gmail.com> <CALaySJJ5UUvJZa7dOUWYUHAH1yQgO8XkYKPfx0sBCg983jhW_g@mail.gmail.com> <CALaySJLH+9CFykce_w2vrzhTjRYyqA6w7tEZFKx8-ZhxoZCx_g@mail.gmail.com>
In-Reply-To: <CALaySJLH+9CFykce_w2vrzhTjRYyqA6w7tEZFKx8-ZhxoZCx_g@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
Date: Tue, 19 Oct 2021 13:29:40 -0400
Message-ID: <CALaySJ+=Dc5j5EMG0iydqRXfuRORYP93UEvLoMDGbM3_nf0HsQ@mail.gmail.com>
To: cbor@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/1_dR3NWhwAkwKcTwYrTHk1PuxPs>
Subject: [Cbor] Reminder: bi-weekly CBOR conference call on 20 October
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, 19 Oct 2021 17:29:58 -0000

Fixing subject line.  Sigh.

> We'll have our regular bi-weekly CBOR conference call on
> Wednesday, 20 October, at 1400 UTC.  Various pointers are here:
> https://datatracker.ietf.org/meeting/interim-2021-cbor-19/session/cbor
>
> In particular, see the agenda here:
> https://notes.ietf.org/notes-ietf-interim-2021-cbor-19-cbor
>
> Please edit the agenda and add to it to propose specific discussions.
> * Please volunteer ahead of time to help take notes! *
>
> Meeting link: https://meetings.conf.meetecho.com/interim/?short=435b6e1b-a1d6-412f-bee8-004ff10c6629
>
> Note that this is the last interim call before IETF 112, and the last
> one currently scheduled.
>
> --
> Barry


From nobody Tue Oct 19 14:51:41 2021
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 450B13A041C for <cbor@ietfa.amsl.com>; Tue, 19 Oct 2021 14:51:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 HqlptEZetgmY for <cbor@ietfa.amsl.com>; Tue, 19 Oct 2021 14:51:31 -0700 (PDT)
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 5AB693A03FC for <cbor@ietf.org>; Tue, 19 Oct 2021 14:51:30 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id E58D618041 for <cbor@ietf.org>; Tue, 19 Oct 2021 17:52:06 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id y0SbDV7ZLkqV for <cbor@ietf.org>; Tue, 19 Oct 2021 17:52:06 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 8A3CB18035 for <cbor@ietf.org>; Tue, 19 Oct 2021 17:52:06 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id DCB2FF0 for <cbor@ietf.org>; Tue, 19 Oct 2021 17:51:28 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: cbor@ietf.org
In-Reply-To: <CALaySJJ5UUvJZa7dOUWYUHAH1yQgO8XkYKPfx0sBCg983jhW_g@mail.gmail.com>
References: <CALaySJL9nydwQMgEfcKVW=_T6bhDxn875Pr4EfEc5kN5anuuuw@mail.gmail.com> <CALaySJJLdvcETtFVX337CU-YQuah0VNV6kpJW351-NeCvn92rA@mail.gmail.com> <CALaySJJ5UUvJZa7dOUWYUHAH1yQgO8XkYKPfx0sBCg983jhW_g@mail.gmail.com>
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, 19 Oct 2021 17:51:28 -0400
Message-ID: <32059.1634680288@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/QAcH-JvqvGCYhBmrqqbLiBNQvi8>
Subject: Re: [Cbor] Reminder: bi-weekly CBOR conference call on 6 October
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, 19 Oct 2021 21:51:38 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Barry Leiba <barryleiba=3D40computer.org@dmarc.ietf.org> wrote:
    > Please edit the agenda and add to it to propose specific discussions.

1) cbor-network-addresses.  I think that it's done, but I think we are
   waiting confirmation on a fix before posting -12.

2) cbor-file-magic.  WGLC started 2021-07-16.
   Reviews from John M, Bernard Aboba, comments from Dale Worley,
   new documents posted in Aug, Sep in response.  Are we done yet?

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFvPeAACgkQgItw+93Q
3WUdTgf9G1GSl1R56W4I0IwMekT8vABxm4km34sZiDRLlM2awDo7Pp9BE3g9Qn89
/vOWLjWn1vBsYME5pKmGxV3oHuz9kLCBoIz1HUKn3A1H0mRl1AtrAK3Hapz3BGts
CSKPKYcH7Fc3gEZ4Wgyz9YzCe1t2nOAVzpAa1gbDBefcHLs4MRsTzvCTIsbL9weX
U8APGHDmr/Az0QkBlEmrf9cU9F/MuI2FKnOMn2eqpQcubV2mFk/x3aEtPZA/L4Gw
SJSvqhDYpfXyti2DMRghIdwtWuhq1jaTlz40d0zf5zPA/BveZq7mDWfIEMrkmSjf
VOaSAweJHWVqzlHjEBnpq33kKKscpA==
=zaaj
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Wed Oct 20 02:11:04 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 8880D3A0F9D; Wed, 20 Oct 2021 02:11:00 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <163472106033.18267.6214037560736263661@ietfa.amsl.com>
Date: Wed, 20 Oct 2021 02:11:00 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/hvQCB-cd9pKJB9KlYVfMtu5E2RI>
Subject: [Cbor] I-D Action: draft-ietf-cbor-network-addresses-12.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 20 Oct 2021 09:11:01 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : CBOR tags for IPv4 and IPv6 addresses and prefixes
        Authors         : Michael Richardson
                          Carsten Bormann
	Filename        : draft-ietf-cbor-network-addresses-12.txt
	Pages           : 12
	Date            : 2021-10-20

Abstract:
   This specification defines two CBOR Tags for use with IPv6 and IPv4
   addresses and prefixes.


   // RFC-EDITOR-please-remove: This work is tracked at
   // https://github.com/cbor-wg/cbor-network-address


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-network-addresses-12.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-network-addresses-12


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Wed Oct 20 04:49:38 2021
Return-Path: <cabo@tzi.org>
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 68F723A0A90 for <cbor@ietfa.amsl.com>; Wed, 20 Oct 2021 04:49:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 rvdwQHotojYJ for <cbor@ietfa.amsl.com>; Wed, 20 Oct 2021 04:49:32 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3FC543A0A79 for <cbor@ietf.org>; Wed, 20 Oct 2021 04:49:32 -0700 (PDT)
Received: from smtpclient.apple (p5089a10c.dip0.t-ipconnect.de [80.137.161.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HZ86D4j5gz30W5; Wed, 20 Oct 2021 13:49:24 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CALaySJ+=Dc5j5EMG0iydqRXfuRORYP93UEvLoMDGbM3_nf0HsQ@mail.gmail.com>
Date: Wed, 20 Oct 2021 13:49:24 +0200
Cc: cbor@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <7F5B10D1-98DA-4CAC-A01A-57DE20D8F5B9@tzi.org>
References: <CALaySJL9nydwQMgEfcKVW=_T6bhDxn875Pr4EfEc5kN5anuuuw@mail.gmail.com> <CALaySJJLdvcETtFVX337CU-YQuah0VNV6kpJW351-NeCvn92rA@mail.gmail.com> <CALaySJJ5UUvJZa7dOUWYUHAH1yQgO8XkYKPfx0sBCg983jhW_g@mail.gmail.com> <CALaySJLH+9CFykce_w2vrzhTjRYyqA6w7tEZFKx8-ZhxoZCx_g@mail.gmail.com> <CALaySJ+=Dc5j5EMG0iydqRXfuRORYP93UEvLoMDGbM3_nf0HsQ@mail.gmail.com>
To: Barry Leiba <barryleiba=40computer.org@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/qpfwZoSnK0tduY-YzAcJ5FzjJUI>
Subject: Re: [Cbor] Reminder: bi-weekly CBOR conference call on 20 October
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: Wed, 20 Oct 2021 11:49:37 -0000

I added

> - Tag registration requests of note
>=20
> https://github.com/japhb/cbor-specs/blob/main/capture.md
> (DE plans to confirm this registration; 1+1 tag)

Maybe we can have a quick look whether we all agree.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Wed Oct 20 05:16:56 2021
Return-Path: <christian@amsuess.com>
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 611B13A041C for <cbor@ietfa.amsl.com>; Wed, 20 Oct 2021 05:16:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 9XQcxxXoVdKx for <cbor@ietfa.amsl.com>; Wed, 20 Oct 2021 05:16:48 -0700 (PDT)
Received: from prometheus.amsuess.com (alt.prometheus.amsuess.com [IPv6:2a01:4f8:190:3064::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 109BB3A040A for <cbor@ietf.org>; Wed, 20 Oct 2021 05:16:47 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com (095129206250.cust.akis.net [95.129.206.250]) by prometheus.amsuess.com (Postfix) with ESMTPS id 16325401B7; Wed, 20 Oct 2021 14:16:44 +0200 (CEST)
Received: from poseidon-mailbox.amsuess.com (poseidon-mailbox.amsuess.com [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bf]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id BA07A106; Wed, 20 Oct 2021 14:16:42 +0200 (CEST)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:5a9d:daee:cd20:89d6]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 691B410A; Wed, 20 Oct 2021 14:16:42 +0200 (CEST)
Received: (nullmailer pid 578322 invoked by uid 1000); Wed, 20 Oct 2021 12:16:42 -0000
Date: Wed, 20 Oct 2021 14:16:42 +0200
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>
Cc: "cbor@ietf.org" <cbor@ietf.org>
Message-ID: <YXAIqp/lAQu26YpB@hephaistos.amsuess.com>
References: <HE1PR0701MB3050661AAA66295ECE439A4089ED9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HI0Syv7LuquNTHKS"
Content-Disposition: inline
In-Reply-To: <HE1PR0701MB3050661AAA66295ECE439A4089ED9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/bvG3dlQfXJpqFpuN_ilxQGGZxC4>
Subject: Re: [Cbor]  =?utf-8?q?=F0=9F=94=94_WGLC_with_request_for_reviews_on_c?= =?utf-8?q?bor-file-magic-02?=
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: Wed, 20 Oct 2021 12:16:52 -0000

--HI0Syv7LuquNTHKS
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello John,

thanks for proving this review; just picking a few points to comment:

On Sat, Jul 31, 2021 at 10:02:37AM +0000, John Mattsson wrote:
> Are protocols supposed to use some generic ".cbor" or ...

Independent of the either-or question (which AIU has not been addressed
up to -05), ".cbor" is the extension registered for the application/cbor
type.

> - "00000000  d9 d9 f8 da 4f 50 53 4e  43 42 4f 52         |....OPSNCBOR|"
> I don=E2=80=99t understand where the zeroes come from? Seems like postfix=
 instead of prefix.

It's just the offset in the `hd` output -- read "at location 00000000
are bytes 0xd9, 0xd9, ....".

BR
c

--=20
To use raw power is to make yourself infinitely vulnerable to greater power=
s.
  -- Bene Gesserit axiom

--HI0Syv7LuquNTHKS
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECM1tElX6OodcH7CWOY0REtOkveEFAmFwCKYACgkQOY0REtOk
veEVfxAApg/G6m8BdD3QzeEd74nUS5xm8/gOywuRbJuiuqJVPrCTmj6AjkNPcZno
/fadTt3IPdPKD93aCMkccKKWeQrax2Yuw0p/MnAu32QiEaHCxP3HZznPy53dkVrS
J/resAGtlad3n13o5Kz4BVGv/wrtH78yysc/eGfO1wcz42nFOkp17kWRQD/S9OjH
Jtjxa7vNOMe8NPGMfV52Qi5ZQKY83Rst0j8me+bm+Upqc2R4VSlIHXrkm3UGX7i9
wK1iKs/Vd9jFxPuqV9lv3WGt5JWXr4mgHJzbrvC2J0LSGTAX5ar9UVCbNxnHgGyI
KC9kB3DmkgNj1IBIvMo5IxC/EP9oxrvR7zIxSACWR7KupNh4sqXnv8AlJf9XQwry
A/DAKnSDyzBn8l1fOVvdkPny7SSl70oQGYaCPh7R3XajAH8uzq1CySqya3DHyUUA
tNF5i62bHQXNDzsT+YUwHSke1Or7LSR4OUQldLP0+VVXgmfh5T4tYlpHsmXE8Itb
/pEVCb74AI7qSn6yguKzKYBD3AxP8LeAJ06aSz5kA7ahiMcms6NNUyW92O7JBDxj
z08hNhxbXXjh/FiH72Jvg2WEi/ig3p9GAMnJIwu3mvHOQs09+2t/EyxouBf39etz
QGOtksG2RJIUyZQeNVVWDsu4wCMnfGUJXron1OfXK+6GqXOx7vE=
=1dL6
-----END PGP SIGNATURE-----

--HI0Syv7LuquNTHKS--


From nobody Wed Oct 20 07:05:56 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id C16713A0918; Wed, 20 Oct 2021 07:05:41 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: Roman Danyliw via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-cbor-cddl-control@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, christian@amsuess.com, christian@amsuess.com
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: Roman Danyliw <rdd@cert.org>
Message-ID: <163473874177.29260.10507244942924535953@ietfa.amsl.com>
Date: Wed, 20 Oct 2021 07:05:41 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/5AofChup3Hy0v4CLUtJEnCkRcqg>
Subject: [Cbor] Roman Danyliw's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 20 Oct 2021 14:05:42 -0000

Roman Danyliw has entered the following ballot position for
draft-ietf-cbor-cddl-control-06: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-cbor-cddl-control/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

** Section 2.2.  Checking my understanding of string concatenation:

(a) “Target and controller MUST be strings”

(b) “If the target is a text string, the result of that concatenation MUST be
valid UTF-8”.

There is a distinction being made between a “text string” and “byte string” per
Section 3.1 of RFC8610?




From nobody Wed Oct 20 07:38:21 2021
Return-Path: <christian@amsuess.com>
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 81CA53A074B for <cbor@ietfa.amsl.com>; Wed, 20 Oct 2021 07:38:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 S-tvhLcazhcf for <cbor@ietfa.amsl.com>; Wed, 20 Oct 2021 07:37:57 -0700 (PDT)
Received: from prometheus.amsuess.com (prometheus.amsuess.com [5.9.147.112]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9892F3A0A3A for <cbor@ietf.org>; Wed, 20 Oct 2021 07:37:48 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd]) by prometheus.amsuess.com (Postfix) with ESMTPS id 932FF401B7; Wed, 20 Oct 2021 16:37:45 +0200 (CEST)
Received: from poseidon-mailbox.amsuess.com (poseidon-mailbox.amsuess.com [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bf]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id BB143106; Wed, 20 Oct 2021 16:37:44 +0200 (CEST)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:5a9d:daee:cd20:89d6]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 7ED5D10A; Wed, 20 Oct 2021 16:37:44 +0200 (CEST)
Received: (nullmailer pid 590080 invoked by uid 1000); Wed, 20 Oct 2021 14:37:44 -0000
Date: Wed, 20 Oct 2021 16:37:44 +0200
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: core-file-magic@ietf.org
Cc: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>, "cbor@ietf.org" <cbor@ietf.org>
Message-ID: <YXApuOQsLxnLw1oF@hephaistos.amsuess.com>
References: <HE1PR0701MB3050661AAA66295ECE439A4089ED9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cBmgOX1WFfT1VAK7"
Content-Disposition: inline
In-Reply-To: <HE1PR0701MB3050661AAA66295ECE439A4089ED9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/pKmA-wYmc0-f2sfXU0bUgEBQ6bo>
Subject: Re: [Cbor]  =?utf-8?q?=F0=9F=94=94_WGLC_with_request_for_reviews_on_c?= =?utf-8?q?bor-file-magic-02?=
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: Wed, 20 Oct 2021 14:38:15 -0000

--cBmgOX1WFfT1VAK7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello file-magic authors,

while the minor comments have been addressed in the updates, I think
that these two were neither answered nor resulted in changes (not that
they'd necessarily would, but a change might be just as good as an
answer), could you comment on them?

On Sat, Jul 31, 2021 at 10:02:37AM +0000, John Mattsson wrote:
> - "as is a file extension"
> The draft does not say anything about how to chose a file extension. I th=
ink the needs to say something and give guidance. Are protocols supposed to=
 use some generic ".cbor" or use there own like ".c509". Is it recommended =
to use several tags with the same extension, i.e., should .c509 be used for=
 several different tags (chain, bag, CSR, CRL,...) or should each tag use i=
ts own file extension. In the later case it would be good if the file exten=
sion was registered together with tag number in IANA.
>=20
> - I think it would help the reader to have an examples (CBOR diagnostic +=
 CBOR encoding) already in Sections 3.1 and 3.2.
>   Something like the example in appendix B: "55800(1330664270(h'424F52'))"
>   Example CBOR protocol values and the resulting bytes in the file would =
be even better and would really help to make the draft easy to understand.

Thanks
Christian

--=20
To use raw power is to make yourself infinitely vulnerable to greater power=
s.
  -- Bene Gesserit axiom

--cBmgOX1WFfT1VAK7
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECM1tElX6OodcH7CWOY0REtOkveEFAmFwKbEACgkQOY0REtOk
veGudBAAzgmgjYYK6lT5WxdPYRyA4P3omZexXPbnow7QmkzK6AkdMtQ+RXnesOfl
zTm2wKeT+tEZFUVRJhdW7N2m4A2/SUyBttr2fVZKDL10mWrI7ZKmjrMoz0LWHGXN
g75QmYFCVRaacTFlu7RBDzXY0qQQGoAmC0jFCOdCnRS8cFy0RjSRNVd5if2vCXE7
MMU6TE7rVEnnAov/kB35ZY1xyrEjrONDtcsGMkXlVKVo8sz0/JeaeBIFqVCL5xNu
QR70SH41N2/5At+yJHfiqAFYW8Z1XShVT92LiW5H/Y7Vjk3j7tlwlR8Wd+aWpfzK
7IOG7i9gt131EtYyymNQr3uw834rnD9xuMa5Mqy7gYQEXIB2wvYFn/VrIhIcY3kn
78qia+sHQzd6/r7Qu8+yCDOb93cNnnEkoQEm/xAvltxBYcP5a9XhlSLoTA4wWpfC
euEG5ufTKdsodeyKKlBqvkY4m+7Hii+POMDNUfkBKiFZJtxLMwHscHBE17IOyHMJ
hNtiAXf2pNhPcCl7VCXFb3HLWNYIq82lFYcLmgUW0mzn8uSMRimE3ptXCRny7oYc
dGbPggG3whAcxv14An5kxd+vKpmoq8uyCMtI6O2draqP3jPO/ZYKGFlgQrcwpBeT
dj2SQnE3x48jnfjf78AiDVE0IlFd/06ukO5rbbRTJQF3RtBm9zU=
=+nsl
-----END PGP SIGNATURE-----

--cBmgOX1WFfT1VAK7--


From nobody Wed Oct 20 08:06:00 2021
Return-Path: <cabo@tzi.org>
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 004503A073D; Wed, 20 Oct 2021 08:05:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 71YJCvR7qI5O; Wed, 20 Oct 2021 08:05:45 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E5A3C3A059F; Wed, 20 Oct 2021 08:05:42 -0700 (PDT)
Received: from [192.168.217.118] (p5089a10c.dip0.t-ipconnect.de [80.137.161.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HZDSc0XVFz30dm; Wed, 20 Oct 2021 17:05:36 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <163473874177.29260.10507244942924535953@ietfa.amsl.com>
Date: Wed, 20 Oct 2021 17:05:35 +0200
Cc: The IESG <iesg@ietf.org>, draft-ietf-cbor-cddl-control@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, =?utf-8?Q?Christian_Ams=C3=BCss?= <christian@amsuess.com>
X-Mao-Original-Outgoing-Id: 656435135.681363-118dc525a7081f91d91d157cf6c64ae9
Content-Transfer-Encoding: quoted-printable
Message-Id: <2E5C0875-23F7-48C0-B317-DA25ED383418@tzi.org>
References: <163473874177.29260.10507244942924535953@ietfa.amsl.com>
To: Roman Danyliw <rdd@cert.org>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/OR0xO_yeEPG-ZvNle_vcLlIz-Cg>
Subject: Re: [Cbor] Roman Danyliw's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
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: Wed, 20 Oct 2021 15:05:50 -0000

Hi Roman,

On 2021-10-20, at 16:05, Roman Danyliw via Datatracker =
<noreply@ietf.org> wrote:
>=20
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>=20
> ** Section 2.2.  Checking my understanding of string concatenation:
>=20
> (a) =E2=80=9CTarget and controller MUST be strings=E2=80=9D
>=20
> (b) =E2=80=9CIf the target is a text string, the result of that =
concatenation MUST be
> valid UTF-8=E2=80=9D.
>=20
> There is a distinction being made between a =E2=80=9Ctext string=E2=80=9D=
 and =E2=80=9Cbyte string=E2=80=9D per
> Section 3.1 of RFC8610?

In the context of CDDL we do distinguish between text strings and byte =
strings (inherited from CBOR, which pretty much started to exist when we =
couldn=E2=80=99t get that distinction cleanly introduced into msgpack in =
2012).

Maybe we can honor POLA (*) by not using =E2=80=9Cstrings=E2=80=9D to =
refer to the type union of either, while keeping the reader =
unsuspecting.

Now https://github.com/cbor-wg/cddl-control/pull/12

Gr=C3=BC=C3=9Fe, Carsten

(*) https://en.wikipedia.org/wiki/Principle_of_least_astonishment
(not https://en.wikipedia.org/wiki/Principle_of_least_privilege :-)


From nobody Wed Oct 20 08:09:34 2021
Return-Path: <christian@amsuess.com>
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 DA1C63A0603; Wed, 20 Oct 2021 08:09:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable 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 bnlOuFfjtBqI; Wed, 20 Oct 2021 08:09:26 -0700 (PDT)
Received: from prometheus.amsuess.com (alt.prometheus.amsuess.com [IPv6:2a01:4f8:190:3064::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 143E63A0743; Wed, 20 Oct 2021 08:09:25 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com (095129206250.cust.akis.net [95.129.206.250]) by prometheus.amsuess.com (Postfix) with ESMTPS id 0A499401B7; Wed, 20 Oct 2021 17:09:18 +0200 (CEST)
Received: from poseidon-mailbox.amsuess.com (hermes.amsuess.com [10.13.13.254]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 3060E106; Wed, 20 Oct 2021 17:09:17 +0200 (CEST)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:5a9d:daee:cd20:89d6]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id C759E10A; Wed, 20 Oct 2021 17:09:16 +0200 (CEST)
Received: (nullmailer pid 592793 invoked by uid 1000); Wed, 20 Oct 2021 15:09:16 -0000
Date: Wed, 20 Oct 2021 17:09:16 +0200
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: draft-ietf-cbor-file-magic@ietf.org
Cc: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>, "cbor@ietf.org" <cbor@ietf.org>
Message-ID: <YXAxHFIHW1iBs+P2@hephaistos.amsuess.com>
References: <HE1PR0701MB3050661AAA66295ECE439A4089ED9@HE1PR0701MB3050.eurprd07.prod.outlook.com> <YXApuOQsLxnLw1oF@hephaistos.amsuess.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="p/sim9TSVn0dPHfB"
Content-Disposition: inline
In-Reply-To: <YXApuOQsLxnLw1oF@hephaistos.amsuess.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/UMuzlRy9XjyMPXiQwdjM5xbb-xU>
Subject: Re: [Cbor]  =?utf-8?q?=F0=9F=94=94_WGLC_with_request_for_reviews_on_c?= =?utf-8?q?bor-file-magic-02?=
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: Wed, 20 Oct 2021 15:09:30 -0000

--p/sim9TSVn0dPHfB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello file-magic authors,

(now with the right address, especially for group replies)

while the minor comments have been addressed in the updates, I think
that these two were neither answered nor resulted in changes (not that
they'd necessarily would, but a change might be just as good as an
answer), could you comment on them?

On Sat, Jul 31, 2021 at 10:02:37AM +0000, John Mattsson wrote:
> - "as is a file extension"
> The draft does not say anything about how to chose a file extension. I th=
ink the needs to say something and give guidance. Are protocols supposed to=
 use some generic ".cbor" or use there own like ".c509". Is it recommended =
to use several tags with the same extension, i.e., should .c509 be used for=
 several different tags (chain, bag, CSR, CRL,...) or should each tag use i=
ts own file extension. In the later case it would be good if the file exten=
sion was registered together with tag number in IANA.
>=20
> - I think it would help the reader to have an examples (CBOR diagnostic +=
 CBOR encoding) already in Sections 3.1 and 3.2.
>   Something like the example in appendix B: "55800(1330664270(h'424F52'))"
>   Example CBOR protocol values and the resulting bytes in the file would =
be even better and would really help to make the draft easy to understand.

Thanks
Christian

--=20
To use raw power is to make yourself infinitely vulnerable to greater power=
s.
  -- Bene Gesserit axiom

--p/sim9TSVn0dPHfB
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECM1tElX6OodcH7CWOY0REtOkveEFAmFwMRgACgkQOY0REtOk
veFN6BAAkJj3t7gzVCQIfVsR4Hj3DjwN0/zHSTNF93w3FZiNtI/Bjucyp/Atpnfk
OvR9tEd2gnjtNVdfhK7Tb0hZGB43CcrYdydvlSc5Bsy+0t+67iqynA/RYiYn5vvn
ZliEK+/aNGHwDt2mLOZwiRiP5kurpTn0fGjLLl7+z4O347O+WsJrkcxP9HRrSFWW
0sMdkDR5a/3ZPLVRSck/pG/NFUAtNvoirKE/TaCSwm7Mbl12P9c1zjfnjWqXZ9C1
lZZxYVnqL8ZctD4+lNNcOl0AeEqk9GuNZ+GzYxCVQL3hAuLzHYlMyAGoFmTuBd+Q
XG8rBQKcsp4cbQQTcBUbJBeOx13qjws7ACNVbxigRxooejY4HSGOTOfSyEp6+dF3
kyroTTeQWrxQwVhdgCd8QJGyP+8hHDd9NRMLhCPaGQVySO0HLFH7vMRBSG4skl6y
bUgSmbbSVWBQUEOzMihBPVeJy3rQOjjr/JpREksISLF+jV1OsTjkfRxe56Mt755O
Qy+5S2uXUtXZQkLn1mKMRz1I1CV9i1KJyC2f/07VBewC9lBAf2OEVFYMxlsMUlg6
QsxUENs0ha/xI/zV4f1X0IX5Z2N8s7HsfH5y3mclWvIrTv0537HRgbCtgc/3lV+T
jeBmEqld3OYSuz9zRHwrrLnL7pWknq0PeQ9WsYvk5zBMxJdcctw=
=SaOc
-----END PGP SIGNATURE-----

--p/sim9TSVn0dPHfB--


From nobody Wed Oct 20 08:17:48 2021
Return-Path: <mcr@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 8998C3A081F for <cbor@ietfa.amsl.com>; Wed, 20 Oct 2021 08:17:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 aqDLlwND7OCM for <cbor@ietfa.amsl.com>; Wed, 20 Oct 2021 08:17:43 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 48C1E3A0805 for <cbor@ietf.org>; Wed, 20 Oct 2021 08:17:42 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 6850218078; Wed, 20 Oct 2021 11:18:21 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WvvBNfpJarLR; Wed, 20 Oct 2021 11:18:21 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 0DB0718012; Wed, 20 Oct 2021 11:18:21 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id A3B5C731; Wed, 20 Oct 2021 11:17:40 -0400 (EDT)
From: Michael Richardson <mcr@sandelman.ca>
To: "cbor\@ietf.org" <cbor@ietf.org>, John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>
In-Reply-To: <YXApuOQsLxnLw1oF@hephaistos.amsuess.com>
References: <HE1PR0701MB3050661AAA66295ECE439A4089ED9@HE1PR0701MB3050.eurprd07.prod.outlook.com> <YXApuOQsLxnLw1oF@hephaistos.amsuess.com>
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: Wed, 20 Oct 2021 11:17:40 -0400
Message-ID: <5821.1634743060@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/gYKplBDBhPrKdvZMNtt06ohWbDE>
Subject: Re: [Cbor]  =?utf-8?q?=F0=9F=94=94_WGLC_with_request_for_reviews_on_c?= =?utf-8?q?bor-file-magic-02?=
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: Wed, 20 Oct 2021 15:17:47 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Christian Ams=C3=BCss <christian@amsuess.com> wrote:
    > while the minor comments have been addressed in the updates, I think
    > that these two were neither answered nor resulted in changes (not that
    > they'd necessarily would, but a change might be just as good as an
    > answer), could you comment on them?

I don't think that the document should recommend any file extension.
That's not the place of this document.

    >> - I think it would help the reader to have an examples (CBOR
    >> diagnostic + CBOR encoding) already in Sections 3.1 and 3.2.
    >> Something like the example in appendix B:
    >> "55800(1330664270(h'424F52'))" Example CBOR protocol values and the
    >> resulting bytes in the file would be even better and would really he=
lp
    >> to make the draft easy to understand.

I'm not sure I understand.
Is an example that is CBOR TAG Wrapped being asked for?


--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmFwMxQACgkQgItw+93Q
3WXJ5ggAsmWocq43+CIzurbBX72uVUFc7mh2HhD9t0RCj+KorgRNgcTgAbtXcyOA
17w7JLpbRqZX+19qP62c9P/Q9wThK4Xl6SMre9bLWdQQIe5hoAwycZGcW+1jVPD0
EWhmFkDtgtgcOdxiI6GRX/NVup2TNfr/adwVb22RE4NR2pXTqsmmqgrWmBDCIlOz
lpEsSFZhexfsTqXvC1kikTxhwZfzfcILAABPv6touG39XLGkMtQ1/Qa5LkzvcpcJ
Ni1aoi58BTMgcDwpf+3B8tKmjlDvXJBKLR54wzxezeT2vaFsTNtHak1PIPxEnSez
qyWj2NMdH46qcnW9Zh2457iUUA7RcQ==
=vq8l
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Wed Oct 20 08:35:56 2021
Return-Path: <rdd@cert.org>
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 28E593A0866; Wed, 20 Oct 2021 08:35:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=seicmu.onmicrosoft.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 xB26mwxYKsWh; Wed, 20 Oct 2021 08:35:16 -0700 (PDT)
Received: from USG02-BN3-obe.outbound.protection.office365.us (mail-bn3usg02on0118.outbound.protection.office365.us [23.103.208.118]) (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 598173A0863; Wed, 20 Oct 2021 08:35:14 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector5401; d=microsoft.com; cv=none; b=DtwyqY1bfHVSUdzua72BmYayh4Et6+PSVIue5EQH2A/jOOKKAS/hDauTZUuSFJCOjNo1iz05Oi/ZY3vu5PuJ55KsroxOrAdfZGQnL1OBWcZhxf2xkoMctnT8fEnMN45hf4vokyS8wtB3RgjFB8U9o2bmHcO0MRBqsu5k7ToOwMu1pCKMbPGfr2xcZR0SKYy1p35D2EsVExRz723t0yd0vVgMjceubXETX0ume51VMCKlo3BYCTvxFzsjEO69+GXngEga6FKKDiJI1A+dCHlcicOt6+Fqs1sIm1eCYYuOeqSuzFvM5f4T89qdB0rUBpZn9pegYPkA39s+cjoWBEKceQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector5401; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;  bh=vcrwI8xhApWO7dN8JYFGxKHg2GlxWRiWxMsgLMb8cNg=; b=Sl/yJA0XEaSEEPZ/OdRAvcQXr9HkXd9jeln0IQFFo9VPcWC1KrfBGqKmds58xh9EF4PqZsR9yoFWNn7aDeVDFF/PSKKoL+IzB+Z+rjdlkhvUE6A3hYO1ZHOAEMTFapDQ/V3XYroHnQFsPU02h0OTblMB3meX6cBcX3Rq1V4AwKERXjdyHgDg9iES16byCSLfipIffeJ4Tz03Y9HUdBdQmrWVxENtpAIeyc9rrnvuyj64yPOMJl/guG0zza+HwGBxVJJEkqlBeLC77tYVE6zRAjglanHNr2dUXYrIYjiyaQlQw6qrnMcWrTiqQYisWgMezGmqxbOuZD6M9Qg43JFr+g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cert.org; dmarc=pass action=none header.from=cert.org; dkim=pass header.d=cert.org; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seicmu.onmicrosoft.com; s=selector1-seicmu-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vcrwI8xhApWO7dN8JYFGxKHg2GlxWRiWxMsgLMb8cNg=; b=X1/05VidoK6CvQSJCuN+Kh0jfv2DZF9/DWxN/RGMmQizwSQ04EKJwwL1c1JFzX0Ory1MZB+Mi591WcZKMvDUrZgbDbWaHLQPia1qMTYt7yp7TSz/vRcps9AZ64RzO3RnRmIlEcmmpodHQFZMOvk6Ew5KN4WhbwYpiYA+KgFrL9s=
Received: from BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM (2001:489a:200:134::12) by BN1P110MB0737.NAMP110.PROD.OUTLOOK.COM (2001:489a:200:135::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Wed, 20 Oct 2021 15:35:04 +0000
Received: from BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM ([fe80::4463:48d1:9769:567f]) by BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM ([fe80::4463:48d1:9769:567f%6]) with mapi id 15.20.4608.018; Wed, 20 Oct 2021 15:35:04 +0000
From: Roman Danyliw <rdd@cert.org>
To: Carsten Bormann <cabo@tzi.org>
CC: The IESG <iesg@ietf.org>, "draft-ietf-cbor-cddl-control@ietf.org" <draft-ietf-cbor-cddl-control@ietf.org>, "cbor-chairs@ietf.org" <cbor-chairs@ietf.org>, "cbor@ietf.org" <cbor@ietf.org>, =?utf-8?B?Q2hyaXN0aWFuIEFtc8O8c3M=?= <christian@amsuess.com>
Thread-Topic: Roman Danyliw's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
Thread-Index: AQHXxbuf3K42/IutF02WimG19sEjwKvb/GaAgAAID8A=
Date: Wed, 20 Oct 2021 15:35:04 +0000
Message-ID: <BN1P110MB09398C1126027D9910C2728DDCBE9@BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM>
References: <163473874177.29260.10507244942924535953@ietfa.amsl.com> <2E5C0875-23F7-48C0-B317-DA25ED383418@tzi.org>
In-Reply-To: <2E5C0875-23F7-48C0-B317-DA25ED383418@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=cert.org;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ed2d17b0-3a19-4873-c5f0-08d993df3051
x-ms-traffictypediagnostic: BN1P110MB0737:
x-microsoft-antispam-prvs: <BN1P110MB0737BECE7EDD0A3386B273ECDCBE9@BN1P110MB0737.NAMP110.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 3KnRBxbCrpDh9wvOkbUNZI1VjVKN3M4f4oW6ba92Nv94/hanOe5psn7ZiqyccEwOip6RPMqBJy2AcU7CkG/vxZc8fwV7+/KQwROunosP2NBfUOtl67nbDaTgx/IJsx1KFy0eCd30qkrizzbEzputCiWtlZYGumTTGXSljwNSsVSKIi2RVINKc9nzTAfCfXpb6RAWxttqA0IHpeTHa0XCiNKFhg5wZOEouxtzZiWKQGDpRpsZt0Y+iuJIs+iXnnf+osqehA3whj2rDHbzViwEqQnH4sjTRG6A+LJipOyv+vECywDL4um9/94TmQQAbxq+UWy0P2JWlhIEUgA2W92Mdfuk7vaMHChlMQhGGOMrQqqSNCXnEwb5sr4NlgbBgorkYHQYrPkG+1enIKgzhvD1Ng50BOyLeOgGtico0H79mGvaDk5ojMdTtZ9mZhJc1HqWrBzyaPhQAD8d23zp97+CH1x5GsoDORxmA/hyxP8xOWL7tPwvNnBlAzF+vDn/PtxziZaqOiv2TcUaR7r0abEEW9puSxO+snzlFMXnWqqBAGCzes2nixoGdlbF2N5DNmnrhxCYXiFjZwyrVK4dOVuqoKj3QktF3KqVJ/cWXhZ7KKem2C549avGKNoMAyiUWCFo6zLEsZ6lLyVsjGWqCKDijeLZXTBzD8m9ua4Kol14/gJcUKhFM1qjFXmNiwEV2nh8WHonFVrXh1j1CsXEJVwkwA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(366004)(71200400001)(8676002)(26005)(86362001)(9686003)(4001150100001)(8936002)(83380400001)(122000001)(186003)(53546011)(498600001)(66446008)(66556008)(64756008)(966005)(7696005)(38070700005)(66574015)(76116006)(52536014)(54906003)(6916009)(55016002)(5660300002)(38100700002)(82960400001)(66946007)(4326008)(6506007)(66476007)(2906002)(33656002); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: eHvLVzVHzwLqtdTIXCLARQRKjsJj8jqvLZ9hyODTddQGekxFDyKrfMo4+4Vp8nJ307VwafUsAhFeMhR/CawDacK/XudUNAYuU5ut8BTl37jCBHOm41RcgH9VehCTM0ic0B3uHxBmZ/GYDT90Qs/Ltm/WY8bUujG0vt+zzjyZMr074YjucBhGHpqZNGLgl54Sy6ub1XjXSA1h3Ep7o1/JY1gfDntk+uL0r9uG6WYY+VMZ/Z2zMfUDmE/k3IihasujeXs3vrNAiCH2KK0ohXIY5qKqtbkRdGXHqYSuCjslNasnvcfMmua+8LM90BeL/RcEVE8Cj+hQySO+D6NHdrJI2erd3eWrs/WuKQ0Tf2Z0ZTpAt/DoK6RTQ8/e6MhRtHr1TvbzLA7NH5mCJiKSBrj+mREgNc0jHH9p/ei9mwL9ZEhTbuPbf+nRtEbVDx0mbr4FYdL+o7vnrdgdWF6jyHrrFk51aImADMmDSCsedNGKi+xHIRaYeD4nqoiV43nU2PRVrVyrgDipmSSmMwz7wX+TUw1cvH7SUE8nGANBQCA+M0LIOOCkPFrPe0K9Inx2ZYonYKKJbiPnmup5DxQqHW7Bd1K/iR5saezrkkv4PdBh+Evk+7g82l0Kj34NBevgTooysP1bSXKLKWGyqbeHDwc7l9MT5Rc1MH2ShzD5eqhqVHgVplBE6hlC0ezKVSbd6lgOnivcRH1ainhFYrizYnG5eJR3tZuNSAsYlNgvYG4kqc4=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: cert.org
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN1P110MB0939.NAMP110.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: ed2d17b0-3a19-4873-c5f0-08d993df3051
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2021 15:35:04.6341 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 95a9dce2-04f2-4043-995d-1ec3861911c6
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1P110MB0737
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/ifHIJPZWbOmawW1q5sKJ4gEVokY>
Subject: Re: [Cbor] Roman Danyliw's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
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: Wed, 20 Oct 2021 15:35:23 -0000

SGkgQ2Fyc3RlbiENCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBDYXJz
dGVuIEJvcm1hbm4gPGNhYm9AdHppLm9yZz4NCj4gU2VudDogV2VkbmVzZGF5LCBPY3RvYmVyIDIw
LCAyMDIxIDExOjA2IEFNDQo+IFRvOiBSb21hbiBEYW55bGl3IDxyZGRAY2VydC5vcmc+DQo+IENj
OiBUaGUgSUVTRyA8aWVzZ0BpZXRmLm9yZz47IGRyYWZ0LWlldGYtY2Jvci1jZGRsLWNvbnRyb2xA
aWV0Zi5vcmc7IGNib3ItDQo+IGNoYWlyc0BpZXRmLm9yZzsgY2JvckBpZXRmLm9yZzsgQ2hyaXN0
aWFuIEFtc8O8c3MgPGNocmlzdGlhbkBhbXN1ZXNzLmNvbT4NCj4gU3ViamVjdDogUmU6IFJvbWFu
IERhbnlsaXcncyBObyBPYmplY3Rpb24gb24gZHJhZnQtaWV0Zi1jYm9yLWNkZGwtY29udHJvbC0w
NjoNCj4gKHdpdGggQ09NTUVOVCkNCj4gDQo+IEhpIFJvbWFuLA0KPiANCj4gT24gMjAyMS0xMC0y
MCwgYXQgMTY6MDUsIFJvbWFuIERhbnlsaXcgdmlhIERhdGF0cmFja2VyIDxub3JlcGx5QGlldGYu
b3JnPg0KPiB3cm90ZToNCj4gPg0KPiA+IC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NCj4gPiBDT01NRU5UOg0KPiA+
IC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0NCj4gPg0KPiA+ICoqIFNlY3Rpb24gMi4yLiAgQ2hlY2tpbmcgbXkgdW5k
ZXJzdGFuZGluZyBvZiBzdHJpbmcgY29uY2F0ZW5hdGlvbjoNCj4gPg0KPiA+IChhKSDigJxUYXJn
ZXQgYW5kIGNvbnRyb2xsZXIgTVVTVCBiZSBzdHJpbmdz4oCdDQo+ID4NCj4gPiAoYikg4oCcSWYg
dGhlIHRhcmdldCBpcyBhIHRleHQgc3RyaW5nLCB0aGUgcmVzdWx0IG9mIHRoYXQgY29uY2F0ZW5h
dGlvbg0KPiA+IE1VU1QgYmUgdmFsaWQgVVRGLTjigJ0uDQo+ID4NCj4gPiBUaGVyZSBpcyBhIGRp
c3RpbmN0aW9uIGJlaW5nIG1hZGUgYmV0d2VlbiBhIOKAnHRleHQgc3RyaW5n4oCdIGFuZCDigJxi
eXRlDQo+ID4gc3RyaW5n4oCdIHBlciBTZWN0aW9uIDMuMSBvZiBSRkM4NjEwPw0KPiANCj4gSW4g
dGhlIGNvbnRleHQgb2YgQ0RETCB3ZSBkbyBkaXN0aW5ndWlzaCBiZXR3ZWVuIHRleHQgc3RyaW5n
cyBhbmQgYnl0ZSBzdHJpbmdzDQo+IChpbmhlcml0ZWQgZnJvbSBDQk9SLCB3aGljaCBwcmV0dHkg
bXVjaCBzdGFydGVkIHRvIGV4aXN0IHdoZW4gd2UgY291bGRu4oCZdCBnZXQNCj4gdGhhdCBkaXN0
aW5jdGlvbiBjbGVhbmx5IGludHJvZHVjZWQgaW50byBtc2dwYWNrIGluIDIwMTIpLg0KPiANCj4g
TWF5YmUgd2UgY2FuIGhvbm9yIFBPTEEgKCopIGJ5IG5vdCB1c2luZyDigJxzdHJpbmdz4oCdIHRv
IHJlZmVyIHRvIHRoZSB0eXBlIHVuaW9uDQo+IG9mIGVpdGhlciwgd2hpbGUga2VlcGluZyB0aGUg
cmVhZGVyIHVuc3VzcGVjdGluZy4NCj4gDQo+IE5vdyBodHRwczovL2dpdGh1Yi5jb20vY2Jvci13
Zy9jZGRsLWNvbnRyb2wvcHVsbC8xMg0KDQpUaGFua3MgZm9yIGV4cGxhaW5pbmcuICBUaGUgZWRp
dHMgaW4gdGhlIHB1bGwgcmVxdWVzdCBtYWtlcyBpcyBjbGVhci4gIA0KDQpNdWNoIGFwcHJlY2lh
dGVkLA0KUm9tYW4NCg0KPiANCj4gR3LDvMOfZSwgQ2Fyc3Rlbg0KPiANCj4gKCopIGh0dHBzOi8v
ZW4ud2lraXBlZGlhLm9yZy93aWtpL1ByaW5jaXBsZV9vZl9sZWFzdF9hc3RvbmlzaG1lbnQNCj4g
KG5vdCBodHRwczovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9QcmluY2lwbGVfb2ZfbGVhc3RfcHJp
dmlsZWdlIDotKQ0KDQo=


From nobody Wed Oct 20 14:17:55 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id CE7C03A126B; Wed, 20 Oct 2021 14:17:48 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Warren Kumari via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-cbor-cddl-control@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, christian@amsuess.com, christian@amsuess.com, zhoutianran@huawei.com opsdir@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: Warren Kumari <warren@kumari.net>
Message-ID: <163476466880.31273.6045020833790893747@ietfa.amsl.com>
Date: Wed, 20 Oct 2021 14:17:48 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/D_gI-Jrpdscijvmxd5mZtbtYqHU>
Subject: [Cbor] Warren Kumari's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 20 Oct 2021 21:17:49 -0000

Warren Kumari has entered the following ballot position for
draft-ietf-cbor-cddl-control-06: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-cbor-cddl-control/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Thank you Tianran for the OpsDir review, and Carsten Bormann (and others) for
addressing the comments.

I see that the document had a second IETF LC with the new track, and think that
the Info -> Std chance made a lot of sense.

Thanks again, W




From nobody Wed Oct 20 14:20:25 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id C1EEA3A1287; Wed, 20 Oct 2021 14:20:23 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Warren Kumari via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-cbor-cddl-control@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, christian@amsuess.com, christian@amsuess.com, zhoutianran@huawei.com, opsdir@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: Warren Kumari <warren@kumari.net>
Message-ID: <163476482377.30921.14075136190137857111@ietfa.amsl.com>
Date: Wed, 20 Oct 2021 14:20:23 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/iWlxBi8yMhjVVvXezpfbHzGa9Xs>
Subject: [Cbor] Warren Kumari's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 20 Oct 2021 21:20:24 -0000

Warren Kumari has entered the following ballot position for
draft-ietf-cbor-cddl-control-06: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-cbor-cddl-control/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Thank you Tianran for the OpsDir review, and Carsten Bormann (and others) for
addressing the comments.

I see that the document had a second IETF LC with the new track, and think that
the Info -> Std chance made a lot of sense.

Thanks again, W

[ Resending because the previous one got et by the mailer...]




From nobody Wed Oct 20 18:29:47 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id D46A33A0E88; Wed, 20 Oct 2021 18:29:03 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: John Scudder via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-cbor-cddl-control@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, christian@amsuess.com, christian@amsuess.com
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: John Scudder <jgs@juniper.net>
Message-ID: <163477974332.10082.14585207336425707919@ietfa.amsl.com>
Date: Wed, 20 Oct 2021 18:29:03 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/JHwVH_AnnnFNcUCBTNWOWSr6tr8>
Subject: [Cbor] John Scudder's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 21 Oct 2021 01:29:05 -0000

John Scudder has entered the following ballot position for
draft-ietf-cbor-cddl-control-06: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-cbor-cddl-control/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

"dedcat". Heh. Thanks for the smile (and the easy-to-follow spec).




From nobody Wed Oct 20 23:44:07 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id BB8413A1009; Wed, 20 Oct 2021 23:43:19 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Benjamin Kaduk via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-cbor-cddl-control@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, christian@amsuess.com, christian@amsuess.com
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: Benjamin Kaduk <kaduk@mit.edu>
Message-ID: <163479859923.26389.9202872336721142535@ietfa.amsl.com>
Date: Wed, 20 Oct 2021 23:43:19 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/x84QhvOc6Fpd_o4xUiNQ1to8Vdc>
Subject: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 21 Oct 2021 06:43:26 -0000

Benjamin Kaduk has entered the following ballot position for
draft-ietf-cbor-cddl-control-06: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-cbor-cddl-control/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Does the inclusion of RFC 7405 as a normative reference imply that the
%s"" construct is part of the core grammar used by .abnf and .abnfb?
My understanding was that just saying "ABNF" did not by default include
the case-sensitivity functionality (regardless of what references are
present), and so that it might be appropriate for us to say something
like "the ABNF control operators defined by this document allow use of
the case-sensitive extensions defined in [RFC7405]".

Section 2.1

   interval<BASE> = (
     BASE => int             ; lower bound
     (BASE .plus 1) => int   ; upper bound
     ? (BASE .plus 2) => int ; tolerance

I'm having a really hard time coming up for a use case where making the
tolerance depend on the base of the interval by an affine transformation
is useful.  It feels a bit contrived as an example.

Section 4

   (enable/disable).  The latter approach could for instance be used for
   a JSON/CBOR switch, as illustrated in Figure 9.

I'd suggest something like "as illustrated in Figure 9 using SenML
[RFC8428] as the example data model used with both JSON and CBOR".  (The
main goal being to get the 8428 reference in.)

Section 6

The shepherd writeup indicates that the author has a complete
implementation, so it's surprising to not see it mentioned in this
Implementation Status section [that is to be removed prior to
publication as an RFC, so this comment itself is somewhat pointless].

Section 7

I would suggest that the ABNF security considerations would also imply,
except that both referenced documents disclaim any such considerations
(not even "what you actually describe may not be what you think you are
describing" or "ABNF just says whether a given string matches the
constraints of a given construction, and does not require a unique
interpretation of the string").

I might also consider mentioning that the behavior of the "floor" function
(for converting floating-point values to integers) on negative inputs
invariably surprises some people (i.e., it is not "round to zero").




From nobody Thu Oct 21 04:39:54 2021
Return-Path: <cabo@tzi.org>
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 61D353A15B4; Thu, 21 Oct 2021 04:39:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 vZ-jLF44Xceu; Thu, 21 Oct 2021 04:39:18 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4A8D33A15A8; Thu, 21 Oct 2021 04:39:16 -0700 (PDT)
Received: from [192.168.217.118] (p5089a10c.dip0.t-ipconnect.de [80.137.161.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HZlqx1Tbjz30Tj; Thu, 21 Oct 2021 13:39:09 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <163479859923.26389.9202872336721142535@ietfa.amsl.com>
Date: Thu, 21 Oct 2021 13:39:09 +0200
Cc: The IESG <iesg@ietf.org>, =?utf-8?Q?Christian_Ams=C3=BCss?= <christian@amsuess.com>, cbor@ietf.org, draft-ietf-cbor-cddl-control@ietf.org, cbor-chairs@ietf.org
X-Mao-Original-Outgoing-Id: 656509148.743652-d5e9a4c404703cbcd60c0eaaa3bf7e35
Content-Transfer-Encoding: quoted-printable
Message-Id: <8D259A3B-48A6-402B-B1E2-E85971BEFD05@tzi.org>
References: <163479859923.26389.9202872336721142535@ietfa.amsl.com>
To: Benjamin Kaduk <kaduk@mit.edu>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/ec7MHRVma4SchkH74oOqaTnmZ7E>
Subject: Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
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: Thu, 21 Oct 2021 11:39:25 -0000

Hi Ben,

thank you for these detailed and thoughtful comments!

All the resulting changes below are now in
https://github.com/cbor-wg/cddl-control/pull/13

> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>=20
> Does the inclusion of RFC 7405 as a normative reference imply that the
> %s"" construct is part of the core grammar used by .abnf and .abnfb?

Yes, that is the intention.

> My understanding was that just saying "ABNF" did not by default =
include
> the case-sensitivity functionality (regardless of what references are
> present), and so that it might be appropriate for us to say something
> like "the ABNF control operators defined by this document allow use of
> the case-sensitive extensions defined in [RFC7405]".

Interesting!  I live in a world that has pretty much completed the =
transition, and so I thought just always referencing 5234 and 7405 =
together would be sufficient indication.

I put into terminology:

   The term ABNF in this specification stands for the combination of
   [RFC5234] and [RFC7405], i.e., the ABNF control operators defined by
   this document allow use of the case-sensitive extensions defined in
   [RFC7405].

> Section 2.1
>=20
>   interval<BASE> =3D (
>     BASE =3D> int             ; lower bound
>     (BASE .plus 1) =3D> int   ; upper bound
>     ? (BASE .plus 2) =3D> int ; tolerance
>=20
> I'm having a really hard time coming up for a use case where making =
the
> tolerance depend on the base of the interval by an affine =
transformation
> is useful.  It feels a bit contrived as an example.

Oh.  The BASE is just the encoding base, i.e., if base is 400, the three =
numbers used as labels here are 400, 401, 402 =E2=80=94 no interaction =
with the semantics of an interval.

Now:

   The example in Figure 1 contains the generic definition of a CDDL
   group "interval" that gives a lower and an upper bound and optionally
   a tolerance.  The parameter BASE allows the non-conflicting use of
   multiple of these interval groups in one map, by assigning different
   labels to the entries of the interval. "rect" combines two of these
   interval groups into a map, one group for the X dimension (using 0,
   1, and 2 as labels) and one for Y dimension (using 3, 4, and 5 as
   labels).

> Section 4
>=20
>   (enable/disable).  The latter approach could for instance be used =
for
>   a JSON/CBOR switch, as illustrated in Figure 9.
>=20
> I'd suggest something like "as illustrated in Figure 9 using SenML
> [RFC8428] as the example data model used with both JSON and CBOR".  =
(The
> main goal being to get the 8428 reference in.)

Nice!  I put that in.

> Section 6
>=20
> The shepherd writeup indicates that the author has a complete
> implementation, so it's surprising to not see it mentioned in this
> Implementation Status section [that is to be removed prior to
> publication as an RFC, so this comment itself is somewhat pointless].

That is actually the implementation mentioned as

   An early implementation of the control operator .feature has been
   available in the CDDL tool described in Appendix F of [RFC8610] since
   version 0.8.11.  [=E2=80=A6]

> Section 7
>=20
> I would suggest that the ABNF security considerations would also =
imply,
> except that both referenced documents disclaim any such considerations
> (not even "what you actually describe may not be what you think you =
are
> describing" or "ABNF just says whether a given string matches the
> constraints of a given construction, and does not require a unique
> interpretation of the string").

Yep, I was about to write =E2=80=9CThe security considerations of =E2=80=A6=
 apply=E2=80=9D, and then read those...

I have now added:

   While both [RFC5234] and [RFC7405] state that security is truly
   believed to be irrelevant to the respective document, the use of
   formal description techniques cannot only simplify, but sometimes
   also complicate a specification.  This can lead to security problems
   in implementations and in the specification itself.  As with CDDL
   itself, ABNF should be judiciously applied, and overly complex (or
   "cute") constructions should be avoided.

I think that should really be a standard disclaimer on all FDT =
techniques.
(I haven=E2=80=99t added =E2=80=9CIf the FDT specification does not make =
boring reading, you are holding it wrong.=E2=80=9D)

> I might also consider mentioning that the behavior of the "floor" =
function
> (for converting floating-point values to integers) on negative inputs
> invariably surprises some people (i.e., it is not "round to zero").

I=E2=80=99d rather avoid that surprise be being more explicit:

 target; converting from a floating point number to an integer selects
 its floor (the largest integer less than or equal to the floating
-point number).
+point number, i.e., rounding down).

Gr=C3=BC=C3=9Fe, Carsten


From nobody Thu Oct 21 07:19:31 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id B00D33A174F; Thu, 21 Oct 2021 07:19:21 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Robert Wilton via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-cbor-cddl-control@ietf.org, cbor-chairs@ietf.org, cbor@ietf.org, christian@amsuess.com, christian@amsuess.com
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: Robert Wilton <rwilton@cisco.com>
Message-ID: <163482596094.17691.12740221348124236410@ietfa.amsl.com>
Date: Thu, 21 Oct 2021 07:19:21 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/jttUzPCHCIvVyWSvLGdW44o5gkM>
Subject: [Cbor] Robert Wilton's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 21 Oct 2021 14:19:31 -0000

Robert Wilton has entered the following ballot position for
draft-ietf-cbor-cddl-control-06: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-cbor-cddl-control/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Hi,

Thanks for this.  I have to confess that I'm not particularly familiar with
CDDL.

It does feel that adding support for ABNF increases the size/complexity of the
CDDL language a fair bit.  Is the expectation that all CDDL implementations
will add support for these new control codes?  I guess you have to add support
if you want to parse CDDL text that uses the new control codes.  Would it be
helpful to have any text in the introduction about conformance/implementation? 
Finally, would it be helpful for this document to "update" the base CDDL spec,
so that readers looking for the base CDDL spec would also find this RFC, or
perhaps that is achieved via the IANA registration.

One minor nit:

Regarding dedenting, I suggest changing "in all" => "present in all"

   1.  determining the smallest amount of left-most blank space (number
       of leading space characters) in all the non-blank lines, and

Just a suggestion, but it might be helpful to include a short example where
some lines are not fully dedented.  I.e., so something doesn't think that each
line is processed independently.

Regards,
Rob




From nobody Thu Oct 21 08:04:27 2021
Return-Path: <cabo@tzi.org>
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 78F7E3A177F; Thu, 21 Oct 2021 08:04:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 w5XQz6kMj2Ei; Thu, 21 Oct 2021 08:04:15 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B177F3A177B; Thu, 21 Oct 2021 08:04:14 -0700 (PDT)
Received: from [192.168.217.118] (p5089a10c.dip0.t-ipconnect.de [80.137.161.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HZrNW2W46z30L8; Thu, 21 Oct 2021 17:04:11 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <163482596094.17691.12740221348124236410@ietfa.amsl.com>
Date: Thu, 21 Oct 2021 17:04:11 +0200
Cc: The IESG <iesg@ietf.org>, =?utf-8?Q?Christian_Ams=C3=BCss?= <christian@amsuess.com>, cbor@ietf.org, draft-ietf-cbor-cddl-control@ietf.org, cbor-chairs@ietf.org
X-Mao-Original-Outgoing-Id: 656521450.607217-a5e9aea910d54871ac0e8266df952210
Content-Transfer-Encoding: quoted-printable
Message-Id: <33B27933-BC05-4A25-8694-B072B1C616EA@tzi.org>
References: <163482596094.17691.12740221348124236410@ietfa.amsl.com>
To: Robert Wilton <rwilton@cisco.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/qb0Ie3OpiOIGvjagrYYCgY_LLIQ>
Subject: Re: [Cbor] Robert Wilton's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
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: Thu, 21 Oct 2021 15:04:19 -0000

Hi Rob,

Thank you for your review.

> ----------------------------------------------------------------------
> COMMENT:
> =
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94
> [=E2=80=A6]
> It does feel that adding support for ABNF increases the =
size/complexity of the
> CDDL language a fair bit.  Is the expectation that all CDDL =
implementations
> will add support for these new control codes? =20

No.  The extension point =E2=80=9Ccontrol operator=E2=80=9D was designed =
so that you can still meaningfully do something with the CDDL if you =
don=E2=80=99t (or only partially) implement it.

By the way, both Andrew Weiss and I were quite surprised by how easy =
ABNF is to implement.  (Contrast this to regexps=E2=80=A6)

> I guess you have to add support
> if you want to parse CDDL text that uses the new control codes. =20

You can parse CDDL without implementing ABNF (as .abnf uses a =
well-defined extension point).
You just can=E2=80=99t check what is said in the ABNF.

> Would it be
> helpful to have any text in the introduction about =
conformance/implementation?=20

I=E2=80=99d leave that to Section 3.8 of RFC 8610 (or any update of that =
=E2=80=94 see below).

> Finally, would it be helpful for this document to "update" the base =
CDDL spec,
> so that readers looking for the base CDDL spec would also find this =
RFC, or
> perhaps that is achieved via the IANA registration.

Control operators are a well-defined extension point, and we don=E2=80=99t=
 =E2=80=9Cupdate=E2=80=9D base drafts when their extension points are =
exercised in the prescribed manner.
I think the registry is indeed a good link to the various specifications =
that do (RFC 9090 and cddl-control so far, with several in the =
pipeline).

> One minor nit:
>=20
> Regarding dedenting, I suggest changing "in all" =3D> "present in all"
>=20
>   1.  determining the smallest amount of left-most blank space (number
>       of leading space characters) in all the non-blank lines, and

Thanks!
Now in https://github.com/cbor-wg/cddl-control/pull/14

> Just a suggestion, but it might be helpful to include a short example =
where
> some lines are not fully dedented.  I.e., so something doesn't think =
that each
> line is processed independently.

I would expect that those that have to implement this will pick it up =
from the above definition.  Most users of .det will mostly use it with =
.abnf/.abnfb, where Bill Fenner=E2=80=99s bap will already have =
complained about unevenly indented input.
So I think we are fine even without one more example.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Thu Oct 21 13:04:40 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 3FBC13A0A24; Thu, 21 Oct 2021 13:03:46 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <163484662604.2786.6905890868276647458@ietfa.amsl.com>
Date: Thu, 21 Oct 2021 13:03:46 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/9ricX4C4xLFSP8z1Pg9p2sg2_9c>
Subject: [Cbor] I-D Action: draft-ietf-cbor-file-magic-06.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 21 Oct 2021 20:03:51 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : On storing CBOR encoded items on stable storage
        Authors         : Michael Richardson
                          Carsten Bormann
	Filename        : draft-ietf-cbor-file-magic-06.txt
	Pages           : 14
	Date            : 2021-10-21

Abstract:
   This document defines an on-disk format for CBOR objects that is
   friendly to common on-disk recognition systems such as the Unix
   file(1) command.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-file-magic/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-file-magic-06.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-file-magic-06


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Thu Oct 21 18:53:07 2021
Return-Path: <kaduk@mit.edu>
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 C017E3A0898; Thu, 21 Oct 2021 18:53:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.499
X-Spam-Level: 
X-Spam-Status: No, score=-1.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no 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 v6eQkWr2pQj4; Thu, 21 Oct 2021 18:52:58 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 888263A048A; Thu, 21 Oct 2021 18:52:57 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 19M1qhDT001975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Oct 2021 21:52:49 -0400
Date: Thu, 21 Oct 2021 18:52:43 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: Carsten Bormann <cabo@tzi.org>
Cc: The IESG <iesg@ietf.org>, Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>, cbor@ietf.org, draft-ietf-cbor-cddl-control@ietf.org, cbor-chairs@ietf.org
Message-ID: <20211022015243.GS88762@kduck.mit.edu>
References: <163479859923.26389.9202872336721142535@ietfa.amsl.com> <8D259A3B-48A6-402B-B1E2-E85971BEFD05@tzi.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <8D259A3B-48A6-402B-B1E2-E85971BEFD05@tzi.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/YluYedYuhjtdGKsh80lv_egXbMY>
Subject: Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
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: Fri, 22 Oct 2021 01:53:04 -0000

Hi Carsten,

On Thu, Oct 21, 2021 at 01:39:09PM +0200, Carsten Bormann wrote:
> Hi Ben,
> 
> thank you for these detailed and thoughtful comments!
> 
> All the resulting changes below are now in
> https://github.com/cbor-wg/cddl-control/pull/13
> 
> > ----------------------------------------------------------------------
> > COMMENT:
> > ----------------------------------------------------------------------
> > 
> > Does the inclusion of RFC 7405 as a normative reference imply that the
> > %s"" construct is part of the core grammar used by .abnf and .abnfb?
> 
> Yes, that is the intention.
> 
> > My understanding was that just saying "ABNF" did not by default include
> > the case-sensitivity functionality (regardless of what references are
> > present), and so that it might be appropriate for us to say something
> > like "the ABNF control operators defined by this document allow use of
> > the case-sensitive extensions defined in [RFC7405]".
> 
> Interesting!  I live in a world that has pretty much completed the transition, and so I thought just always referencing 5234 and 7405 together would be sufficient indication.

That is reassuring to hear; it's possible that I should re-calibrate myself
(since I mostly only encounter ABNF while doing IESG reviews).

> I put into terminology:
> 
>    The term ABNF in this specification stands for the combination of
>    [RFC5234] and [RFC7405], i.e., the ABNF control operators defined by
>    this document allow use of the case-sensitive extensions defined in
>    [RFC7405].

Thanks; that is well said.

> > Section 2.1
> > 
> >   interval<BASE> = (
> >     BASE => int             ; lower bound
> >     (BASE .plus 1) => int   ; upper bound
> >     ? (BASE .plus 2) => int ; tolerance
> > 
> > I'm having a really hard time coming up for a use case where making the
> > tolerance depend on the base of the interval by an affine transformation
> > is useful.  It feels a bit contrived as an example.
> 
> Oh.  The BASE is just the encoding base, i.e., if base is 400, the three numbers used as labels here are 400, 401, 402 — no interaction with the semantics of an interval.

Oh!  I guess I should have brushed up on my CDDL more before reviewing, at
least when it's after 2200h local time.

> Now:
> 
>    The example in Figure 1 contains the generic definition of a CDDL
>    group "interval" that gives a lower and an upper bound and optionally
>    a tolerance.  The parameter BASE allows the non-conflicting use of
>    multiple of these interval groups in one map, by assigning different
>    labels to the entries of the interval. "rect" combines two of these
>    interval groups into a map, one group for the X dimension (using 0,
>    1, and 2 as labels) and one for Y dimension (using 3, 4, and 5 as
>    labels).

Thanks!

> > Section 4
> > 
> >   (enable/disable).  The latter approach could for instance be used for
> >   a JSON/CBOR switch, as illustrated in Figure 9.
> > 
> > I'd suggest something like "as illustrated in Figure 9 using SenML
> > [RFC8428] as the example data model used with both JSON and CBOR".  (The
> > main goal being to get the 8428 reference in.)
> 
> Nice!  I put that in.
> 
> > Section 6
> > 
> > The shepherd writeup indicates that the author has a complete
> > implementation, so it's surprising to not see it mentioned in this
> > Implementation Status section [that is to be removed prior to
> > publication as an RFC, so this comment itself is somewhat pointless].
> 
> That is actually the implementation mentioned as
> 
>    An early implementation of the control operator .feature has been
>    available in the CDDL tool described in Appendix F of [RFC8610] since
>    version 0.8.11.  […]

Ah.  I guess I was assuming that "early" and "complete" were incompatible,
which is not guaranteed to be a valid assumption.

> > Section 7
> > 
> > I would suggest that the ABNF security considerations would also imply,
> > except that both referenced documents disclaim any such considerations
> > (not even "what you actually describe may not be what you think you are
> > describing" or "ABNF just says whether a given string matches the
> > constraints of a given construction, and does not require a unique
> > interpretation of the string").
> 
> Yep, I was about to write “The security considerations of … apply”, and then read those...
> 
> I have now added:
> 
>    While both [RFC5234] and [RFC7405] state that security is truly
>    believed to be irrelevant to the respective document, the use of
>    formal description techniques cannot only simplify, but sometimes
>    also complicate a specification.  This can lead to security problems
>    in implementations and in the specification itself.  As with CDDL
>    itself, ABNF should be judiciously applied, and overly complex (or
>    "cute") constructions should be avoided.
> 
> I think that should really be a standard disclaimer on all FDT techniques.
> (I haven’t added “If the FDT specification does not make boring reading, you are holding it wrong.”)

:)

> > I might also consider mentioning that the behavior of the "floor" function
> > (for converting floating-point values to integers) on negative inputs
> > invariably surprises some people (i.e., it is not "round to zero").
> 
> I’d rather avoid that surprise be being more explicit:
> 
>  target; converting from a floating point number to an integer selects
>  its floor (the largest integer less than or equal to the floating
> -point number).
> +point number, i.e., rounding down).

I left a suggestion on the PR.

Thanks for this -- it, and the PR, look good.

-Ben


From nobody Thu Oct 21 23:54:30 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id C723E3A08B8; Thu, 21 Oct 2021 23:52:39 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <163488555967.25772.5950563057228956189@ietfa.amsl.com>
Date: Thu, 21 Oct 2021 23:52:39 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/GDojJ01kSSHvob3BOb1YcfJ7Lpg>
Subject: [Cbor] I-D Action: draft-ietf-cbor-cddl-control-07.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 22 Oct 2021 06:52:41 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : Additional Control Operators for CDDL
        Author          : Carsten Bormann
	Filename        : draft-ietf-cbor-cddl-control-07.txt
	Pages           : 13
	Date            : 2021-10-21

Abstract:
   The Concise Data Definition Language (CDDL), standardized in RFC
   8610, provides "control operators" as its main language extension
   point.

   The present document defines a number of control operators that were
   not yet ready at the time RFC 8610 was completed: .plus, .cat and
   .det for the construction of constants, .abnf/.abnfb for including
   ABNF (RFC 5234/RFC 7405) in CDDL specifications, and .feature for
   indicating the use of a non-basic feature in an instance.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-cddl-control/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-cddl-control-07.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-cddl-control-07


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Thu Oct 21 23:55:45 2021
Return-Path: <cabo@tzi.org>
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 196B23A005F; Thu, 21 Oct 2021 23:55:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 wj4xvrjLB1wA; Thu, 21 Oct 2021 23:55:39 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 82EE23A0029; Thu, 21 Oct 2021 23:55:39 -0700 (PDT)
Received: from smtpclient.apple (p5089a10c.dip0.t-ipconnect.de [80.137.161.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HbFVH2mfXz2xKl; Fri, 22 Oct 2021 08:55:35 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <20211022015243.GS88762@kduck.mit.edu>
Date: Fri, 22 Oct 2021 08:55:34 +0200
Cc: =?utf-8?Q?Christian_Ams=C3=BCss?= <christian@amsuess.com>, cbor@ietf.org,  draft-ietf-cbor-cddl-control@ietf.org, The IESG <iesg@ietf.org>, cbor-chairs@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <374A89C2-30F4-4142-8CA3-D58543BF8797@tzi.org>
References: <163479859923.26389.9202872336721142535@ietfa.amsl.com> <8D259A3B-48A6-402B-B1E2-E85971BEFD05@tzi.org> <20211022015243.GS88762@kduck.mit.edu>
To: Benjamin Kaduk <kaduk@mit.edu>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/NgpOCUEIfKpuoz0mQwA85ZGPblU>
Subject: Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-cddl-control-06: (with COMMENT)
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: Fri, 22 Oct 2021 06:55:44 -0000

Hi Ben,

thank you for the confirmation, and the further improvement.

> On 22. Oct 2021, at 03:52, Benjamin Kaduk <kaduk@mit.edu> wrote:
>=20
> I left a suggestion on the PR.

Committed, merged, and -07 (with input from Lars, Roman, Rob, and you) =
submitted.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Fri Oct 22 07:28:35 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 2EABD3A0ED6; Fri, 22 Oct 2021 07:28:33 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <163491291310.30528.4729287274086440167@ietfa.amsl.com>
Date: Fri, 22 Oct 2021 07:28:33 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/2K1n_n2RTm2GIF_5E-xrNl8FNis>
Subject: [Cbor] I-D Action: draft-ietf-cbor-network-addresses-13.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 22 Oct 2021 14:28:33 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : CBOR tags for IPv4 and IPv6 addresses and prefixes
        Authors         : Michael Richardson
                          Carsten Bormann
	Filename        : draft-ietf-cbor-network-addresses-13.txt
	Pages           : 12
	Date            : 2021-10-22

Abstract:
   This specification defines two CBOR Tags for use with IPv6 and IPv4
   addresses and prefixes.


   // RFC-EDITOR-please-remove: This work is tracked at
   // https://github.com/cbor-wg/cbor-network-address


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-network-addresses-13.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-network-addresses-13


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Fri Oct 22 13:59:56 2021
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 753D73A0B4D; Fri, 22 Oct 2021 13:57:51 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: The IESG <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Cc: The IESG <iesg@ietf.org>, cbor-chairs@ietf.org, cbor@ietf.org, christian@amsuess.com, draft-ietf-cbor-cddl-control@ietf.org, francesca.palombini@ericsson.com, rfc-editor@rfc-editor.org
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Message-ID: <163493627145.29411.13201663557819870240@ietfa.amsl.com>
Date: Fri, 22 Oct 2021 13:57:51 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/hI9K-fhiRuEmyMIbdVw_cVNci6s>
Subject: [Cbor] Protocol Action: 'Additional Control Operators for CDDL' to Proposed Standard (draft-ietf-cbor-cddl-control-07.txt)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 22 Oct 2021 20:57:53 -0000

The IESG has approved the following document:
- 'Additional Control Operators for CDDL'
  (draft-ietf-cbor-cddl-control-07.txt) as Proposed Standard

This document is the product of the Concise Binary Object Representation
Maintenance and Extensions Working Group.

The IESG contact persons are Murray Kucherawy and Francesca Palombini.

A URL of this Internet Draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-cddl-control/




Technical Summary:

The Concise Data Definition Language (CDDL), standardized in RFC 8610, provides "control operators" as its main language extension point. The present document defines a number of control operators that did not make it into RFC 8610: .plus, .cat and .det for the construction of constants, .abnf/.abnfb for including ABNF (RFC 5234/RFC 7405) in CDDL specifications, and .feature for indicating the use of a non-basic feature in an instance.

Working Group Summary:

The process through the WG was a bit quiet but uncontroversial. Discussion happened more during interims than on list; an outstanding point was on whether the document needs to go to such lengths (dedenting) to accommodate ABNF oddities -- this was found to be the most practical way.

Document Quality:

A complete implementation exists, provided by the author; a second exists but is incomplete. No vendors that use this are currently known, but it is being used inside IETF by ASDF. Henk Birkholz's comprehensive review <https://mailarchive.ietf.org/arch/msg/cbor/bc8xxKE6xGzEQ8NSDT6eyB9JXx0> well sums up the status, with some enhancements processed into -04.

Personnel:

Christian Amsüss is Document Shepherd, Francesca Palombini is the Responsible AD.



From nobody Fri Oct 22 14:06:44 2021
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id A99483A0BA8; Fri, 22 Oct 2021 14:06:24 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Cc: The IESG <iesg@ietf.org>, barryleiba@computer.org, cbor-chairs@ietf.org, cbor@ietf.org, draft-ietf-cbor-network-addresses@ietf.org, francesca.palombini@ericsson.com, rfc-editor@rfc-editor.org
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-ID: <163493678466.24907.4624548836778346837@ietfa.amsl.com>
Date: Fri, 22 Oct 2021 14:06:24 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/ngDZK4BO0pCyN73-7SXXXQ2xG1A>
Subject: [Cbor] Protocol Action: 'CBOR tags for IPv4 and IPv6 addresses and prefixes' to Proposed Standard (draft-ietf-cbor-network-addresses-13.txt)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 22 Oct 2021 21:06:27 -0000

The IESG has approved the following document:
- 'CBOR tags for IPv4 and IPv6 addresses and prefixes'
  (draft-ietf-cbor-network-addresses-13.txt) as Proposed Standard

This document is the product of the Concise Binary Object Representation
Maintenance and Extensions Working Group.

The IESG contact persons are Murray Kucherawy and Francesca Palombini.

A URL of this Internet Draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/





Technical Summary

This specification defines two new CBOR tags, 54 and 52, which provide formats for IPv6 and IPv4 addresses, respectively.  The new tags are intended to be used in place of the existing 260 and 261 tags, and make a clear distinction between v6 and v4 while also allowing specification of addresses, prefixes, and addresses with prefixes.  These new tags are proposed as standard tags, so the document is a Proposed Standard.

Working Group Summary and Document Quality

The document is a simple one, and had discussion among a relatively small group of participants.  On request during working group last call we confirmed that the support in the working group is broad, and that the working group as a whole agrees with it.  External reviews have been requested during WGLC and received from OpsDir and IoTDir.  Discussion in general has been largely editorial.  There are broad plans to implement these tags; the desire for the features provided here, noting how 260 and 261 are lacking, was the reason for creating this.

There has been some late discussion to do with zone index, which might continue during IETF-wide last call.  At this time, we don't think changes are needed as a result of that discussion.

Personnel

The document shepherd is Barry Leiba; the responsible AD is Francesca Palombini.



From nobody Sat Oct 23 12:49:32 2021
Return-Path: <kriszyp@gmail.com>
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 5C7793A0BDC for <cbor@ietfa.amsl.com>; Sat, 23 Oct 2021 12:49:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, 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 AXerayoKcelf for <cbor@ietfa.amsl.com>; Sat, 23 Oct 2021 12:49:22 -0700 (PDT)
Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 7D20E3A0BC2 for <cbor@ietf.org>; Sat, 23 Oct 2021 12:49:22 -0700 (PDT)
Received: by mail-ed1-x52a.google.com with SMTP id w19so9267771edd.2 for <cbor@ietf.org>; Sat, 23 Oct 2021 12:49:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=dwxPx9CY0jzS02g3F3BHQvIVEkIO92QSA6nYo2NYI7I=; b=FcWMr8JRV31MVbksDFGjsthsodMvBznc9g/wNOazPxb2ghP4AZyqSHZM+gWluQXdNo YwQoMTayU7PTU0ZNqxgvcN4RmVM+bIVGKYBuOY77BEyM/KBedP2Q7jCmh3GwEJyJpP4m 5yEEqczs8kQb8OpVegylJYqkpCFnvR1ymGvtIRHzgKV8eJH0xL2e2VspacTnd2u2PNBA 9QUqUmbR4JRNgQofkWyorsH5fuKy5epQ1UBWOD48fsaITecialuzRCPZyc7qtLsAoXMk +qyOYIl98eurJgHpzLFt920aXGUvdMaZLpUHT7aKCSEGJjxmufkFzKsIY9KUK/VCOm77 QPEw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=dwxPx9CY0jzS02g3F3BHQvIVEkIO92QSA6nYo2NYI7I=; b=WA9kflJK9YzCxV/g9N56WK3LIgNnQ2RvHZj+5wIUMfI3K+cu3V5F2CEjxwGl5Jy90p vmHIuclfLnCBWHr6GhPUXjSNb4p6YDHYu1ecuJWkySyObqsvfr4QC7/++GX5LkEKTXE3 B7QIsEJOP2CU9UlkBqsea+TaW6NtoV2/3vGPllfOHt7QqMq82+F3iIz9IZevzwigR5DV 0l7vEWz8FvqgER0Ig50drFxSZZ6vFrknS4p3jCTyVwYJcWeD+pbKQ2jvZ6HBx6C1XJ81 wyJZaEm8aYjVXB8/WvBNNgugsgF+Qq4P7IAogtMt4SsO1A473z8dvW+kPApQ8rMmGAJB M1XQ==
X-Gm-Message-State: AOAM531qAash86/PaBhOj0ZAMn18DgRc736+f4TISSh4rSJnBrPmmB5f 85L9fjRFkmS2RnJTN7aaod9XD7YS4zyk5EEOGngk6yXR
X-Google-Smtp-Source: ABdhPJyAZ6duPUlSVvYH87oRVA1yhQqsUgzPXQVzCGlCN/ryGlgg4WW9iFhkIgWbvUvXbntoNoZSuXF7tgq2NbZeBkU=
X-Received: by 2002:a17:906:f0ca:: with SMTP id dk10mr9613068ejb.94.1635018558712;  Sat, 23 Oct 2021 12:49:18 -0700 (PDT)
MIME-Version: 1.0
References: <CAEs2a6vNhrHhaiPUNtbJ68WYfbrprETPr+kmWNJgNXMSawyBig@mail.gmail.com> <E3F121DA-95EE-43C6-BC72-E3763C034944@tzi.org>
In-Reply-To: <E3F121DA-95EE-43C6-BC72-E3763C034944@tzi.org>
From: Kris Zyp <kriszyp@gmail.com>
Date: Sat, 23 Oct 2021 13:49:07 -0600
Message-ID: <CAEs2a6uZrT9FFP6qa+hPV2sYO0y+xJJmLaF-pPoynE2vqspfBg@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: =?UTF-8?Q?Christian_Ams=C3=BCss?= <christian@amsuess.com>, cbor@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/1gA7lS3pvryKbG9k9-TtL8iL08g>
Subject: Re: [Cbor] Record proposal
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: Sat, 23 Oct 2021 19:49:30 -0000

Just checking to see if you had a chance to discuss this further?
Thanks,
Kris

On Tue, Sep 21, 2021 at 12:14 AM Carsten Bormann <cabo@tzi.org> wrote:
>
> Hi Kris,
>
> I=E2=80=99m on vacation this week, but I think we have good feedback to g=
o forward with this. More next week=E2=80=A6
>
> Sent from mobile, sorry for terse
>
> On 21. Sep 2021, at 06:29, Kris Zyp <kriszyp@gmail.com> wrote:
>
> =EF=BB=BFDid you ever get a chance to discuss this? Is there a next step =
for
> this registry entry submission? By the way, I have been working on
> implementing cbor-packed as well, which seems to complement the record
> tag nicely.
> Thanks,
> Kris
>


From nobody Mon Oct 25 10:23:26 2021
Return-Path: <lgl@island-resort.com>
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 674BA3A0E15 for <cbor@ietfa.amsl.com>; Mon, 25 Oct 2021 10:23:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 R3Nx1BDrRJG9 for <cbor@ietfa.amsl.com>; Mon, 25 Oct 2021 10:23:12 -0700 (PDT)
Received: from p3plsmtpa06-02.prod.phx3.secureserver.net (p3plsmtpa06-02.prod.phx3.secureserver.net [173.201.192.103]) (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 4F8AE3A0DC7 for <cbor@ietf.org>; Mon, 25 Oct 2021 10:23:12 -0700 (PDT)
Received: from [192.168.1.3] ([75.80.148.243]) by :SMTPAUTH: with ESMTPSA id f3eamRSjOZUorf3eamw2eh; Mon, 25 Oct 2021 10:20:56 -0700
X-CMAE-Analysis: v=2.4 cv=asJ3tQVV c=1 sm=1 tr=0 ts=6176e779 a=VPU1mRQhDhA4uSX60JRRww==:117 a=VPU1mRQhDhA4uSX60JRRww==:17 a=48vgC7mUAAAA:8 a=xLVHtm_MZ-zFkIr1GpEA:9 a=QEXdDO2ut3YA:10 a=0uuE_O8oMfqEXb6voXcA:9 a=-pPNhuCSWNJX9qXt:21 a=_W_S_7VecoQA:10 a=w1C3t2QeGrPiZgrLijVG:22
X-SECURESERVER-ACCT: lgl@island-resort.com
From: Laurence Lundblade <lgl@island-resort.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_4DB9C3E0-E196-4F62-AEEF-42582A8163BA"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
Message-Id: <DF92CC30-A84C-4474-AF2B-C51C9856534D@island-resort.com>
Date: Mon, 25 Oct 2021 10:20:56 -0700
To: rats <rats@ietf.org>, cose <cose@ietf.org>, cbor@ietf.org, ace@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.1)
X-CMAE-Envelope: MS4xfMRNw0V1/Icpu6lZBtimBwuWmAq0GdSc/7JJVCsGOEKH+gvWkR/lRkqjrtob+srHxfwMcKAu6VcwuZG12jbKthBP4WJ7cS36cLKpSsBgXoipiAg3lt6C TelXvihHAVVa8UYAnTD8E025p3wJt6ftWRa3gNsGBUDL1grVMkOrLZ9ae/YNX1Jj4GTIm4x4p6Lu1J0Hthhx6YPoE+zpGN80IimYsHLhYZzNDKeVOwAltU3T FfmXLQhmW37luM2oSVZ1tg==
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/GXf2QXK51n31AflwRZ6mpKc6Ulc>
Subject: [Cbor] CDDL for CWT, JWT, UCCS and UJCS
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: Mon, 25 Oct 2021 17:23:21 -0000

--Apple-Mail=_4DB9C3E0-E196-4F62-AEEF-42582A8163BA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi folks,

Sorry for the large cross-post, but wanted to be sure everyone is a =
little aware of this.

The latest EAT draft=C2=A0 =
<https://datatracker.ietf.org/doc/html/draft-ietf-rats-eat-11> efines =
CDDL for a Claims-Set, the main collection of label-value pairs that is =
central to CWT and JWT. It is intended to work for both CBOR and JSON =
(and maybe other encodings). When you want to define a new claim for a =
CWT or JWT you can write it in CDDL and both the CBOR protocol =
implementer and JSON protocol implementer know what to do. Should even =
work with the CDDL validation tools. See here =
<https://datatracker.ietf.org/doc/html/draft-ietf-rats-eat-11#section-8.4>=
.

There=E2=80=99s a few other things in this EAT draft:
The Claims-Set CDDL applies to UCCS
It defines UJCS (which is a one-liner in CDDL) in case you don=E2=80=99t =
want to use JWT NULL algorithm for something like EAT Attestation =
Results
It defines a way to put a CWT inside a JWT and vice versa since EAT =
needs nested tokens

A common format for signed/encrypted/unsecured collections of CBOR/JSON =
label-value pairs seems generally useful for more than just EAT. The =
common format could give some code re use too.

I=E2=80=99m not sure that this belongs in the EAT draft. I put it in EAT =
to get it published in a coherent way for the basis of discussion. I=E2=80=
=99m expecting discussion of this in the RATS sessions at IETF 112 =
(Chairs / ADs, maybe you have an opinion on where further discussion can =
happen).

LL


P.S. This turned up some issues around how CDDL for CBOR+JSON works and =
how to validate with the cddl validation tool:
Integer vs text labels
How to represent byte strings so they get b64 encoded and validate
An alternative to CBOR tags for JSON


--Apple-Mail=_4DB9C3E0-E196-4F62-AEEF-42582A8163BA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">Hi =
folks,<div class=3D""><br class=3D""></div><div class=3D"">Sorry for the =
large cross-post, but wanted to be sure everyone is a little aware of =
this.</div><div class=3D""><br class=3D""></div><div =
class=3D"">The&nbsp;<a =
href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-rats-eat-11" =
class=3D"">latest EAT draft&nbsp;</a>&nbsp;efines CDDL for a Claims-Set, =
the main collection of label-value pairs that is central to CWT and JWT. =
It is intended to work for both CBOR and JSON (and maybe other =
encodings). When you want to define a new claim for a CWT or JWT you can =
write it in CDDL and both the CBOR protocol implementer and JSON =
protocol implementer know what to do. Should even work with the CDDL =
validation tools. See&nbsp;<a =
href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-rats-eat-11#secti=
on-8.4" class=3D"">here</a>.</div><div class=3D""><br =
class=3D""></div><div class=3D"">There=E2=80=99s a few other things in =
this EAT draft:</div><div class=3D""><ul class=3D"MailOutline"><li =
class=3D"">The Claims-Set CDDL applies to UCCS</li><li class=3D"">It =
defines UJCS (which is a one-liner in CDDL) in case you don=E2=80=99t =
want to use JWT NULL algorithm for something like EAT Attestation =
Results</li><li class=3D"">It defines a way to put a CWT inside a JWT =
and vice versa since EAT needs nested tokens</li></ul><div class=3D""><br =
class=3D""></div></div><div class=3D"">A common format for =
signed/encrypted/unsecured collections of CBOR/JSON label-value pairs =
seems generally useful for more than just EAT. The common format could =
give some code re use too.</div><div class=3D""><br class=3D""></div><div =
class=3D"">I=E2=80=99m not sure that this belongs in the EAT draft. I =
put it in EAT to get it published in a coherent way for the basis of =
discussion. I=E2=80=99m expecting discussion of this in the RATS =
sessions at IETF 112 (Chairs / ADs, maybe you have an opinion on where =
further discussion can happen).</div><div class=3D""><br =
class=3D""></div><div class=3D"">LL</div><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div><div class=3D"">P.S.=
 This turned up some issues around how CDDL for CBOR+JSON works and how =
to validate with the cddl validation tool:</div><div class=3D""><ul =
class=3D"MailOutline"><li class=3D"">Integer vs text labels</li><li =
class=3D"">How to represent byte strings so they get b64 encoded and =
validate</li><li class=3D"">An alternative to CBOR tags for =
JSON</li></ul></div><div class=3D""><br class=3D""></div></body></html>=

--Apple-Mail=_4DB9C3E0-E196-4F62-AEEF-42582A8163BA--

