Internet Engineering Task Force (IETF)                     M. S. Lenders
Request for Comments: 9952                                    TU Dresden
Category: Informational                                        C. Amsüss
ISSN: 2070-1721                                                         
                                                           T. C. Schmidt
                                                             HAW Hamburg
                                                             M. Wählisch
                                        TU Dresden & Barkhausen Institut
                                                              March 2026
        
Application-Layer Protocol Negotiation (ALPN) ID for CoAP over DTLS
CoAP over DTLS のアプリケーション層プロトコル ネゴシエーション (ALPN) ID
Abstract
概要

This document specifies an Application-Layer Protocol Negotiation (ALPN) ID for Constrained Application Protocol (CoAP) services that are secured by DTLS.

この文書では、DTLS によって保護される制約付きアプリケーション プロトコル (CoAP) サービスのアプリケーション層プロトコル ネゴシエーション (ALPN) ID を指定します。

Status of This Memo
本文書の状態

This document is not an Internet Standards Track specification; it is published for informational purposes.

この文書は Internet Standards Track 仕様ではありません。情報提供を目的として公開されています。

This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Not all documents approved by the IESG are candidates for any level of Internet Standard; see Section 2 of RFC 7841.

このドキュメントは Internet Engineering Task Force (IETF) の成果物です。これは IETF コミュニティのコンセンサスを表しています。この文書は公開レビューを受け、Internet Engineering Steering Group (IESG) によって公開が承認されました。IESG によって承認されたすべての文書が、あらゆるレベルのインターネット標準の候補となるわけではありません。RFC 7841 のセクション 2 を参照してください。

Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at https://www.rfc-editor.org/info/rfc9952.

この文書の現在のステータス、正誤表、およびそれに対するフィードバックの提供方法に関する情報は、https://www.rfc-editor.org/info/rfc9952 で入手できます。

著作権表示

Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.

Copyright (c) 2026 IETF Trust および文書の著者として特定された人物。無断転載を禁じます。

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.

この文書は、BCP 78 およびこの文書の発行日に有効な IETF 文書に関する IETF トラストの法的規定 (https://trustee.ietf.org/license-info) の対象となります。これらの文書には、この文書に関するお客様の権利と制限が記載されているため、注意深くお読みください。このドキュメントから抽出されたコード コンポーネントには、トラスト法的規定のセクション 4.e に記載されている改訂 BSD ライセンス テキストが含まれている必要があり、改訂 BSD ライセンスに記載されているように保証なしで提供されます。

Table of Contents
目次
   1.  Introduction
   2.  Application-Layer Protocol Negotiation (ALPN) IDs
   3.  Security Considerations
   4.  IANA Considerations
   5.  References
     5.1.  Normative References
     5.2.  Informative References
   Acknowledgments
   Authors' Addresses
        
1. Introduction
1. はじめに

Application-Layer Protocol Negotiation (ALPN) enables communicating parties to agree on an application-layer protocol during a Transport Layer Security (TLS) handshake using an ALPN ID [RFC7301]. This ALPN ID can be discovered for services as part of Service Bindings (SVCBs) via the DNS, using SVCB resource records with the "alpn" Service Parameter Keys [RFC9460]. As an example, applications that use the Constrained Application Protocol (CoAP) [RFC7252] can obtain this information as part of the discovery of DNS over CoAP (DoC) servers (see Section 3.2 of [RFC9953]) that deploy TLS 1.3 [RFC8446] as well as Datagram Transport Layer Security (DTLS) 1.2 or 1.3 [RFC6347] [RFC9147] to secure their messages. This document specifies an ALPN ID for CoAP services that are secured by DTLS. An ALPN ID for CoAP services secured by TLS has already been specified in [RFC8323].

アプリケーション層プロトコル ネゴシエーション (ALPN) により、通信当事者は、ALPN ID [RFC7301] を使用して、トランスポート層セキュリティ (TLS) ハンドシェイク中にアプリケーション層プロトコルに同意することができます。この ALPN ID は、「alpn」サービス パラメータ キー [RFC9460] を持つ SVCB リソース レコードを使用して、DNS 経由でサービス バインディング (SVCB) の一部としてサービスを検出できます。たとえば、Constrained Application Protocol (CoAP) [RFC7252] を使用するアプリケーションは、TLS 1.3 [RFC8446] および Datagram Transport Layer Security (DTLS) 1.2 または 1.3 [RFC6347] [RFC9147] を展開する DNS over CoAP (DoC) サーバー ([RFC9953] のセクション 3.2 を参照) の検出の一部としてこの情報を取得できます。メッセージを保護するために。この文書では、DTLS によって保護される CoAP サービスの ALPN ID を指定します。TLS によって保護された CoAP サービスの ALPN ID は、[RFC8323] ですでに指定されています。

2. Application-Layer Protocol Negotiation (ALPN) IDs
2. アプリケーション層プロトコル ネゴシエーション (ALPN) ID

For CoAP over TLS, an ALPN ID is defined as "coap" in [RFC8323]. As it is not advisable to reuse the same ALPN ID for a different transport layer, an ALPN for CoAP over DTLS is registered in Section 4.

CoAP over TLS の場合、ALPN ID は [RFC8323] で「coap」として定義されています。異なるトランスポート層に同じ ALPN ID を再利用することは推奨されないため、CoAP over DTLS の ALPN はセクション 4 に登録されます。

ALPN ID values have variable length. For CoAP over DTLS, a short value ("co") is allocated, as this can avoid fragmentation of Client Hello and Server Hello messages in constrained networks with link-layer fragmentation, such as 6LoWPAN [RFC4944].

ALPN ID 値は可変長です。CoAP over DTLS の場合、6LoWPAN [RFC4944] など、リンク層の断片化を伴う制約のあるネットワークでの Client Hello および Server Hello メッセージの断片化を回避できるため、短い値 (「co」) が割り当てられます。

To discover CoAP services that secure their messages with TLS or DTLS, the ALPN IDs "coap" and "co" can be used, respectively, in the same manner as for any other service secured with TLS, as described in [RFC9460]. The discovery of CoAP services that rely on other security mechanisms is out of the scope of this document.

TLS または DTLS でメッセージを保護する CoAP サービスを検出するには、[RFC9460] で説明されているように、TLS で保護された他のサービスと同じ方法で、ALPN ID の「coap」と「co」をそれぞれ使用できます。他のセキュリティ メカニズムに依存する CoAP サービスの検出については、このドキュメントの範囲外です。

3. Security Considerations
3. セキュリティに関する考慮事項

Any security considerations for ALPN (see [RFC7301]) and SVCB resource records (see [RFC9460]) also apply to this document.

ALPN ([RFC7301] を参照) および SVCB リソース レコード ([RFC9460] を参照) に関するセキュリティ上の考慮事項もこの文書に適用されます。

4. IANA Considerations
4. IANAの考慮事項

IANA has added the following entry to the "TLS Application-Layer Protocol Negotiation (ALPN) Protocol IDs" registry in the "Transport Layer Security (TLS) Extensions" registry group.

IANA は、「Transport Layer Security (TLS) Extensions」レジストリ グループの「TLS Application-Layer Protocol Negotiation (ALPN) Protocol IDs」レジストリに次のエントリを追加しました。

   +==================+=========================+=====================+
   | Protocol         | Identification Sequence | Reference           |
   +==================+=========================+=====================+
   | CoAP (over DTLS) | 0x63 0x6f ("co")        | [RFC7252], RFC 9952 |
   +------------------+-------------------------+---------------------+
        

Table 1: TLS Application-Layer Protocol Negotiation (ALPN) Protocol IDs Registry

表 1: TLS アプリケーション層プロトコル ネゴシエーション (ALPN) プロトコル ID レジストリ

Note that [RFC7252] does not define the use of the ALPN TLS extension during the DTLS connection handshake. This document does not change this behavior and thus does not establish any rules like those in Section 8.2 of [RFC8323].

[RFC7252] は、DTLS 接続ハンドシェイク中の ALPN TLS 拡張の使用を定義していないことに注意してください。この文書はこの動作を変更しないため、[RFC8323] のセクション 8.2 のようなルールは確立しません。

5. References
5. 参考文献
5.1. Normative References
5.1. 引用文献
   [RFC6347]  Rescorla, E. and N. Modadugu, "Datagram Transport Layer
              Security Version 1.2", RFC 6347, DOI 10.17487/RFC6347,
              January 2012, <https://www.rfc-editor.org/info/rfc6347>.
        
   [RFC7252]  Shelby, Z., Hartke, K., and C. Bormann, "The Constrained
              Application Protocol (CoAP)", RFC 7252,
              DOI 10.17487/RFC7252, June 2014,
              <https://www.rfc-editor.org/info/rfc7252>.
        
   [RFC7301]  Friedl, S., Popov, A., Langley, A., and E. Stephan,
              "Transport Layer Security (TLS) Application-Layer Protocol
              Negotiation Extension", RFC 7301, DOI 10.17487/RFC7301,
              July 2014, <https://www.rfc-editor.org/info/rfc7301>.
        
   [RFC9147]  Rescorla, E., Tschofenig, H., and N. Modadugu, "The
              Datagram Transport Layer Security (DTLS) Protocol Version
              1.3", RFC 9147, DOI 10.17487/RFC9147, April 2022,
              <https://www.rfc-editor.org/info/rfc9147>.
        
   [RFC9460]  Schwartz, B., Bishop, M., and E. Nygren, "Service Binding
              and Parameter Specification via the DNS (SVCB and HTTPS
              Resource Records)", RFC 9460, DOI 10.17487/RFC9460,
              November 2023, <https://www.rfc-editor.org/info/rfc9460>.
        
5.2. Informative References
5.2. 参考引用
   [RFC4944]  Montenegro, G., Kushalnagar, N., Hui, J., and D. Culler,
              "Transmission of IPv6 Packets over IEEE 802.15.4
              Networks", RFC 4944, DOI 10.17487/RFC4944, September 2007,
              <https://www.rfc-editor.org/info/rfc4944>.
        
   [RFC8323]  Bormann, C., Lemay, S., Tschofenig, H., Hartke, K.,
              Silverajan, B., and B. Raymor, Ed., "CoAP (Constrained
              Application Protocol) over TCP, TLS, and WebSockets",
              RFC 8323, DOI 10.17487/RFC8323, February 2018,
              <https://www.rfc-editor.org/info/rfc8323>.
        
   [RFC8446]  Rescorla, E., "The Transport Layer Security (TLS) Protocol
              Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018,
              <https://www.rfc-editor.org/info/rfc8446>.
        
   [RFC9953]  Lenders, M. S., Amsüss, C., Gündoğan, C., Schmidt, T. C.,
              and M. Wählisch, "DNS over CoAP (DoC)", RFC 9953,
              DOI 10.17487/RFC9953, March 2026,
              <https://www.rfc-editor.org/info/rfc9953>.
        
Acknowledgments
謝辞

We would like to thank Rich Salz for the expert review on the "co" ALPN ID allocation. We would also like to thank Mohamed Boucadair and Ben Schwartz for their early reviews before WG adoption of this specification and Esko Dijk, Thomas Fossati, and Marco Tiloca for their feedback and comments.

「co」ALPN ID の割り当てに関する専門家のレビューをしていただいた Rich Salz に感謝いたします。また、WG によるこの仕様の採用前の早期レビューをしていただいた Mohamed Boucadair 氏と Ben Schwartz 氏、フィードバックとコメントをいただいた Esko Dijk 氏、Thomas Fossati 氏、Marco Tiloca 氏に感謝いたします。

This work was supported in parts by the German Federal Ministry of Research, Technology, and Space (BMFTR) under the grant numbers 16KIS1386K (TU Dresden) and 16KIS1387 (HAW Hamburg) within the research project PIVOT and under the grant numbers 16KIS1694K (TU Dresden) and 16KIS1695 (HAW Hamburg) within the research project C-ray4edge.

この研究は、研究プロジェクト PIVOT 内の助成金番号 16KIS1386K (TU ドレスデン) および 16KIS1387 (HAW ハンブルク) に基づき、研究プロジェクト C-ray4edge 内の助成金番号 16KIS1694K (TU ドレスデン) および 16KIS1695 (HAW ハンブルク) に基づき、ドイツ連邦研究技術宇宙省 (BMFTR) によって部分的に支援されました。

Authors' Addresses
著者の住所
   Martine Sophie Lenders
   TUD Dresden University of Technology
   Helmholtzstr. 10
   D-01069 Dresden
   Germany
   Email: martine.lenders@tu-dresden.de
        
   Christian Amsüss
   Email: christian@amsuess.com
        
   Thomas C. Schmidt
   HAW Hamburg
   Berliner Tor 7
   D-20099 Hamburg
   Germany
   Email: t.schmidt@haw-hamburg.de
        
   Matthias Wählisch
   TUD Dresden University of Technology & Barkhausen Institut
   Helmholtzstr. 10
   D-01069 Dresden
   Germany
   Email: m.waehlisch@tu-dresden.de