Re: [Cbor] I-D Action: draft-richardson-cbor-network-addresses-01.txt

Christian Amsüss <christian@amsuess.com> Mon, 08 February 2021 12:16 UTC

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 7E5F53A1693 for <cbor@ietfa.amsl.com>; Mon, 8 Feb 2021 04:16:34 -0800 (PST)
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 gc2qGt-E8rCm for <cbor@ietfa.amsl.com>; Mon, 8 Feb 2021 04:16:32 -0800 (PST)
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 E0C1D3A1692 for <cbor@ietf.org>; Mon, 8 Feb 2021 04:16:30 -0800 (PST)
Received: from poseidon-mailhub.amsuess.com (095129206250.cust.akis.net [95.129.206.250]) by prometheus.amsuess.com (Postfix) with ESMTPS id 107C24022F; Mon, 8 Feb 2021 13:16:28 +0100 (CET)
Received: from poseidon-mailbox.amsuess.com (hermes.amsuess.com [10.13.13.254]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 2F864FD; Mon, 8 Feb 2021 13:16:27 +0100 (CET)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:8f7d:c5ab:2959:da08]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id E717F190; Mon, 8 Feb 2021 13:16:26 +0100 (CET)
Received: (nullmailer pid 3177820 invoked by uid 1000); Mon, 08 Feb 2021 12:16:26 -0000
Date: Mon, 08 Feb 2021 13:16:26 +0100
From: Christian Amsüss <christian@amsuess.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: Carsten Bormann <cabo@tzi.org>, cbor@ietf.org
Message-ID: <YCErmpOglKb2ITgx@hephaistos.amsuess.com>
References: <161266446471.542.2418789735601546566@ietfa.amsl.com> <8145641F-60C3-437D-93EA-1ACFC6ED2B89@tzi.org> <9223.1612672667@localhost> <BDB4ABFA-7980-447E-AF99-72EA781018B9@tzi.org> <7924.1612687798@localhost>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="LZGU9nncJSPKGESB"
Content-Disposition: inline
In-Reply-To: <7924.1612687798@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/BjauiSZ7IGxAep2iRXlnXVUnwKU>
Subject: Re: [Cbor] I-D Action: draft-richardson-cbor-network-addresses-01.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Feb 2021 12:16:35 -0000

Hi,

>     > Oh, and the other thing that is missing is a format for transport
>     > addresses (i.e., add a port).
> 
> So we'd wind up needing a protocol, scope and port.
> I'd say that a "sockaddr" TAG is appropriate here, with the v4/v6-ness
> established by these tags.  Or maybe not. ANIMA GRASP has all that stuff.

Yeah, an address with a port without a protocol has no meaning. It'd
either need to become more like a sockaddr (like a POSIX socket, with a
type and/or protocol) or like a URI up-to-authority-component (ie. an
Origin; a subset of core-href may make sense here).

BR
c

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