[Int-dir] iNTDIR Review of draft-ietf-cbor-network-addresses-09

Donald Eastlake <d3e3e3@gmail.com> Mon, 04 October 2021 23:18 UTC

Return-Path: <d3e3e3@gmail.com>
X-Original-To: int-dir@ietfa.amsl.com
Delivered-To: int-dir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A636F3A0CD0; Mon, 4 Oct 2021 16:18:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level:
X-Spam-Status: No, score=-1.848 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, 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 xXgCxyKDUovC; Mon, 4 Oct 2021 16:18:42 -0700 (PDT)
Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 4AE563A0CC6; Mon, 4 Oct 2021 16:18:42 -0700 (PDT)
Received: by mail-io1-xd33.google.com with SMTP id y197so22224101iof.11; Mon, 04 Oct 2021 16:18:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=trmDjgOV7MStDZ4qPvlMEbeF23N5OctNUfhrf+A4Gu4=; b=V5N76uFYHq6GNe1g9IuRP6P5FAXio2O0HfkGuRo/WsLS21KjQ6cPBMO1SJivC2aGUW w6LtRg5Opp7Ka26wl6CFT2Rdq5+JZAsoCCBwI4AeXFklbPZ6JgWy75A/zA3bgWQPpQ1d FDFj2TJ+jh3RFDU7ZwJDOT+Sch0LDc+tmbakzr2MjRFhNhCAHVdwAXsJG532AWBqGf6a 00VFr9E/c84a6bOSN76EQ+50dbTd/SV1Cjf/lwuAOF47Xcwg9NyJjFcTH1juPLZ/BMO6 /8din66qCEHg+XTw9AbgEWBgFOQgYgp06J6HwoBqccj2dofX5HecUYaQLIjN9Iq4DI43 zm3w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=trmDjgOV7MStDZ4qPvlMEbeF23N5OctNUfhrf+A4Gu4=; b=FbtM6O/VkDgHmMa02rMsWM7XDtqpPRaCbX/1HpMMEc7T3aJJ3zzHHuLEPEc0u17qpE 0det5AhsJNkXfiRnQyc10TeUjTq8/0Yz/53WpBoP8hxAG1M1g7L5K6VPkGOvP2vVeDM7 kC7ScbJ9rVYWW1lt9EszkJCYmufwAcgtmHHGKz4xD9gomGukwV947nsHUXmY8TBJliXi DGujweuYtbk45Y0qLmXIZtmGc6I7fanUKjtMYDsayX9c48DtPYaRziHDpPIErG8Uy0kp RIXS8KPAjeFIBiC+hzSDOaTPTvT5WHjIdRTDbBdIsGbTWpgjv9axsHucbDhRmlc2xgFq G2oA==
X-Gm-Message-State: AOAM530NQHWLwatJMsLhLMpuuSKxfMd/Yr4dvDHZTYyWhbhn9RtJy4HQ LGF0EJB/MOQS4gX+gf/ICufys2d3xlhMcQ5hAxIWmqDxItU=
X-Google-Smtp-Source: ABdhPJwQODr8jErt5yoVXoQRkiT1cUFsvkI0AtrhujbFeqx69tsQTgXPd5PqumTlaGBmiMAhL3tcTAftYP7uet31JBc=
X-Received: by 2002:a02:cd17:: with SMTP id g23mr13262474jaq.29.1633389521008; Mon, 04 Oct 2021 16:18:41 -0700 (PDT)
MIME-Version: 1.0
From: Donald Eastlake <d3e3e3@gmail.com>
Date: Mon, 04 Oct 2021 19:18:29 -0400
Message-ID: <CAF4+nEGzTuSuQcpw082uQFTSbUHw1ixJQNCXz62f=e1r9ocG2A@mail.gmail.com>
To: int-dir@ietf.org, "iesg@ietf.org" <iesg@ietf.org>
Cc: draft-ietf-cbor-network-addresses.all@ietf.org, cbor-chairs@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-dir/6Ox8iEBMqXkUoC2aUEF3wi4-c5g>
Subject: [Int-dir] iNTDIR Review of draft-ietf-cbor-network-addresses-09
X-BeenThere: int-dir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "This list is for discussion between the members of the Internet Area directorate." <int-dir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-dir>, <mailto:int-dir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/int-dir/>
List-Post: <mailto:int-dir@ietf.org>
List-Help: <mailto:int-dir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-dir>, <mailto:int-dir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Oct 2021 23:18:47 -0000

I am an assigned INT directorate reviewer for
<draft-ietf-cbor-network-addresses-09.txt>. These comments were
written primarily for the benefit of the Internet Area Directors.
Document editors and shepherd(s) should treat these comments just like
they would treat comments from any other IETF contributor and resolve
them along with any other Last Call comments that have been received.
For more details on the INT Directorate, see
<https://datatracker.ietf.org/group/intdir/about/>.

Based on my review if I was on the IESG I would ballot this document
as NO OBJECTION.

This is a simple document specifying new CBOR tags 54 and 52 for IPv6
and IPv4 where each can be used to encode an address, a prefix, or an
interface (the IP address of the interface plus the local netmask) by
clever use of the encoding of the content of the tag. The document
also deprecates CBOR tags 260 and 261 which were previously intended
for this use.

The following are issues I found with this document that SHOULD be
resolved before publication:

  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?

The following are minor issues with the document:

  I think it would be useful for readers not familiar with CBOR to
  include a sentence such as the following somewhere near the
  beginning of the document: "CBOR tag numbers are given as decimal
  numbers."

  This document does not believe in the Oxford comma, but I believe in
  it as does the RFC Editor so they can be added now or in RFC
  editing.

  I think the wording of the first paragraph could be improved. Also,
  while it gives a reason for deprecating tag 261, it does not give
  any reason for deprecating tag 260. Here is my quick attempt at a
  possible re-wording:
OLD
   [RFC8949] defines a number of CBOR Tags for common items.  Tags 260
   and 261 were later defined through IANA [IANA.cbor-tags].  These tags
   cover addresses (260), and prefixes (261).  Tag 260 distinguishes
   between IPv6, IPv4 and Ethernet through the length of the byte string
   only.  Tag 261 was not documented well enough to be used.
NEW
   [RFC8949] defines a number of CBOR Tags for common items. Tags 260
   and 261 were later defined in drafts listed with IANA
   [IANA.cbor-tags]. These tags were intended to cover addresses (260)
   and prefixes (261). Tag 260 distinguishes between IPv6, IPv4, and
   MAC [RFC7042] addresses only through the length of the byte string
   making it impossible, for example, to drop trailing zeros in the
   encoding of IP addresses. Tag 261 was not documented well enough to
   be used.

  Three times: "to be used" -> "for use"

  In Section 6, should the "recommended" in the first sentence be in
  all capital letters?

  I would delete all occurrences of "Note that " except for the one
  in the boilerplate :-)

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