Re: [core] coap discovery

Christian Amsüss <christian@amsuess.com> Tue, 17 August 2021 12:48 UTC

Return-Path: <christian@amsuess.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 113EB3A21F8 for <core@ietfa.amsl.com>; Tue, 17 Aug 2021 05:48: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 pfQbpao_0Pit for <core@ietfa.amsl.com>; Tue, 17 Aug 2021 05:48:40 -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 B33123A21F4 for <core@ietf.org>; Tue, 17 Aug 2021 05:48:38 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com (095129206250.cust.akis.net [95.129.206.250]) by prometheus.amsuess.com (Postfix) with ESMTPS id 6F1A040104; Tue, 17 Aug 2021 14:48:35 +0200 (CEST)
Received: from poseidon-mailbox.amsuess.com (hermes.amsuess.com [10.13.13.254]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id A71BAD0; Tue, 17 Aug 2021 14:48:34 +0200 (CEST)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:8d88:bd61:7974:fcd3]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 6884646; Tue, 17 Aug 2021 14:48:34 +0200 (CEST)
Received: (nullmailer pid 2976449 invoked by uid 1000); Tue, 17 Aug 2021 12:48:34 -0000
Date: Tue, 17 Aug 2021 14:48:34 +0200
From: Christian Amsüss <christian@amsuess.com>
To: Peter van der Stok <stokcons@bbhmail.nl>
Cc: core@ietf.org
Message-ID: <YRuwIjlxDtfygpq/@hephaistos.amsuess.com>
References: <4795365b6cd768eb1b9500e0e96736b4@bbhmail.nl>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="JsfHnZyKUBQlOYji"
Content-Disposition: inline
In-Reply-To: <4795365b6cd768eb1b9500e0e96736b4@bbhmail.nl>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/hHQbDO_O_v5TTX-IbXyizdwlXv8>
Subject: Re: [core] coap discovery
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Aug 2021 12:48:43 -0000

Hi Peter,

> However, the join-proxy discovers the Registrar port by discovering a
> related coap resource and its port on the Registrar with rt = brski-yyy
> 
> Question:
> Is this a legitimate use of coap discovery to discover the non-standard
> ports on join proxy and Registrar?

If that protocol is really not CoAP, it can be legitimately discovered,
but should IMO be indicated with a different protocol than coap, say
<brski://registrar-ip:port/registrar-resource>;rt=brski-yyy

However, just to get a better understanding, why is the protocol through
which the CoAP messages are forwarded between the join-proxy and the
registrar neither CoAP nor a new CoAP transport? (Just sounds like it'd
be working around the very shortcomics of CoAP proxies that RFC8974
resolved). Is this protocol described anywhere so far?

BR
c

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