Re: [core] coap discovery

Michael Richardson <mcr+ietf@sandelman.ca> Tue, 17 August 2021 16:28 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 8FCCB3A218A for <core@ietfa.amsl.com>; Tue, 17 Aug 2021 09:28: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 XysOSQaS-hnk for <core@ietfa.amsl.com>; Tue, 17 Aug 2021 09:28:03 -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 891E13A2183 for <core@ietf.org>; Tue, 17 Aug 2021 09:28:03 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 9029638994; Tue, 17 Aug 2021 12:33:03 -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 FI_q64ovOh7w; Tue, 17 Aug 2021 12:32:58 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id E204538983; Tue, 17 Aug 2021 12:32:57 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 0CA99407; Tue, 17 Aug 2021 12:27:54 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>, Peter van der Stok <stokcons@bbhmail.nl>, core@ietf.org
In-Reply-To: <YRuwIjlxDtfygpq/@hephaistos.amsuess.com>
References: <4795365b6cd768eb1b9500e0e96736b4@bbhmail.nl> <YRuwIjlxDtfygpq/@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: Tue, 17 Aug 2021 12:27:54 -0400
Message-ID: <8819.1629217674@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/XPgZnZSqAXicOJBUgPLDR9F6dwo>
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 16:28:10 -0000

Christian Amsüss <christian@amsuess.com> wrote:
    > 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?

Because, it is CoAP in DTLS in stuff.

Between Pledge and Register, it is supposed to look like CoAP-in-DTLS.

Between Pledge and Join Proxy, it's CoAP-in-DTLS (over IPv6-LL)
Between Join Proxy and Register, it's CoAP-in-DTLS-in-"CBORUDP" (over ULA/GUA).

The "CBORUDP" provides for a stateless (i.e. stored in the network) record
of where the packets come from.

In RFC9031, which uses OSCORE, and therefore has security *above* CoAP,
rather than security *below* CoAP, we use the CoAP (extended) token for the state.
(RFC8974).

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