Re: [core] ALPN "coap" for DTLS

Michael Richardson <mcr+ietf@sandelman.ca> Fri, 23 February 2024 21: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 7CA2DC14F6A1 for <core@ietfa.amsl.com>; Fri, 23 Feb 2024 13:28:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sandelman.ca
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id udrlByTm4UEZ for <core@ietfa.amsl.com>; Fri, 23 Feb 2024 13:28:38 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5CF8DC14F69D for <core@ietf.org>; Fri, 23 Feb 2024 13:28:37 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id DB77E3898D; Fri, 23 Feb 2024 16:28:35 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mUBQaN_XMULb; Fri, 23 Feb 2024 16:28:34 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 1CB543898C; Fri, 23 Feb 2024 16:28:34 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandelman.ca; s=mail; t=1708723714; bh=h9eQ+LVKtWX+bfXT9/LLOKNt4Tf6cFgb2IyS1rb9Gm8=; h=From:To:cc:Subject:In-Reply-To:References:Date:From; b=gLHzyHJ97lLDZFGDZxrmihk0cqYtAGrO3slai5QDV0NzOLD8BbVK2gvGi11PMwYLD +SHhs5O1aYai070y1hiaYuuPidL5Ver1X+ZPtOJfj8vCLFU6RG7hObu6XHzAzmD//o dPWjvpXnZLWzYLQtNPM+R8sBlCsy8/U5mQc0l74kZTbGUVs2fGEw61Smi8QkpNx+Gd 45edRcuqPq2y5c0LWDFbv66est0e8BEle52gEfXbjDk45XElf4edGunjzcQnRihW+m DCGa4IzRjnMb8N/vohhRGIkuoAqFWHk1SiZiDMH0RCvdwcNHzEV4pi7Cy4ghokdUK2 u7HtXb02JMT7g==
Received: from obiwan.sandelman.ca (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 12479E6; Fri, 23 Feb 2024 16:28:34 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
cc: core@ietf.org
In-Reply-To: <ZdjG-UyWlHJC3cux@hephaistos.amsuess.com>
References: <ZCAdXXuvkqmn5eFB@hephaistos.amsuess.com> <Zdi1DaM64AwO6BaV@hephaistos.amsuess.com> <14683.1708704714@obiwan.sandelman.ca> <ZdjG-UyWlHJC3cux@hephaistos.amsuess.com>
X-Mailer: MH-E 8.6+git; nmh 1.8+dev; GNU Emacs 28.2
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, 23 Feb 2024 16:28:34 -0500
Message-ID: <5125.1708723714@obiwan.sandelman.ca>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/3Ih6grC8j0JxPuOQqdaFFjSC0r4>
Subject: Re: [core] ALPN "coap" for DTLS
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.39
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: Fri, 23 Feb 2024 21:28:42 -0000

Christian Amsüss <christian@amsuess.com> wrote:
    >> Will this apply to RFC9148, and therefore to
    >> draft-ietf-anima-constrained-voucher (which is no longer about
    >> vouchers, but about CoAP)?

    > I think so; any application using CoAP-over-DTLS will have the tools to
    > talk about the protocol it is using inside DTLS once this is registered
    > -- especially in the context of protocol discovery. 7252 did not
    > mandate sending an ALPN (how could it, predating them), and that
    > doesn't changed by having the value registered.

I think that servers should probably be tolerant of there being no ALPN.

    > As constrained-voucher already specifies details about how DTLS is set
    > up, it may opt to prescribe using the ALPN, but I don't know whether
    > that'd be a good or bad thing or compatible or incompatible thing.

I imagine we can fudge that in still.

    > Does that work for you?

I wish we had done this three years ago :-)


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