原文

[要約] RFC 9031は、6TiSCHネットワークに新規デバイス(Pledge)が安全に参加するための「制約付き結合プロトコル(CoJP)」を規定しています。共有鍵(PSK)とOSCOREを用いて安全な通信路を構築し、単一のCoAP交換のみでリンク層の鍵や識別子を配布する軽量な仕組みを定義しています。プロキシのステートレス動作やDoS攻撃対策についても詳述しており、リソース制約の厳しいIoT環境におけるセキュアなネットワーク参加を支援します。

Internet Engineering Task Force (IETF)                   M. Vučinić, Ed.
Request for Comments: 9031                                         Inria
Category: Standards Track                                       J. Simon
ISSN: 2070-1721                                           Analog Devices
                                                               K. Pister
                                       University of California Berkeley
                                                           M. Richardson
                                                Sandelman Software Works
                                                                May 2021
        

Constrained Join Protocol (CoJP) for 6TiSCH

6TiSCHのための制約付き参加プロトコル(CoJP)

Abstract

概要

This document describes the minimal framework required for a new device, called a "pledge", to securely join a 6TiSCH (IPv6 over the Time-Slotted Channel Hopping mode of IEEE 802.15.4) network. The framework requires that the pledge and the JRC (Join Registrar/ Coordinator, a central entity), share a symmetric key. How this key is provisioned is out of scope of this document. Through a single CoAP (Constrained Application Protocol) request-response exchange secured by OSCORE (Object Security for Constrained RESTful Environments), the pledge requests admission into the network, and the JRC configures it with link-layer keying material and other parameters. The JRC may at any time update the parameters through another request-response exchange secured by OSCORE. This specification defines the Constrained Join Protocol and its CBOR (Concise Binary Object Representation) data structures, and it describes how to configure the rest of the 6TiSCH communication stack for this join process to occur in a secure manner. Additional security mechanisms may be added on top of this minimal framework.

このドキュメントでは、「Predge」と呼ばれる新しいデバイスに必要な最小限のフレームワークについて、6Tisch(IEEE 802.15.4のタイムスロットチャネルホッピングモードにわたってIPv6)ネットワークを安全に結合します。フレームワークには、PREDGEとJRC(JOIN REGISTRAR /コーディネータ、中央エンティティ)が必要です。対称キーを共有します。このキーのプロビジョニング方法はこの文書の範囲外です。単一のCoAP(制約付きアプリケーションプロトコル)を通じて、OSCOREによって保護された要求応答エクスプレス(拘束されたRESTFUL環境のためのオブジェクトセキュリティ)、Predge要求はネットワークへの入場を要求し、JRCはそれをリンク層のキー化された材料および他のパラメータで構成します。 JRCは、OSCOREによって保護された別の要求応答交換を通じてパラメータをいつでも更新することができます。この仕様は、制約付き結合プロトコルとそのCBOR(簡潔なバイナリオブジェクト表現)データ構造を定義し、この結合プロセスのために6tisch通信スタックの残りの部分を安全な方法で行う方法を説明します。この最小限のフレームワークの上に追加のセキュリティメカニズムを追加することができます。

Status of This Memo

本文書の状態

This is an Internet Standards Track document.

これはインターネット規格のトラック文書です。

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). Further information on Internet Standards is available in Section 2 of RFC 7841.

この文書は、インターネットエンジニアリングタスクフォース(IETF)の製品です。IETFコミュニティのコンセンサスを表します。それは公開レビューを受け、インターネットエンジニアリングステアリンググループ(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/rfc9031.

この文書の現在のステータス、任意のエラータ、およびフィードバックを提供する方法は、https://www.rfc-editor.org/info/rfc9031で入手できます。

Copyright Notice

著作権表示

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

著作権(C)2021 IETF信頼と文書著者として識別された人。全著作権所有。

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 Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.

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

Table of Contents

目次

   1.  Introduction
   2.  Terminology
   3.  Provisioning Phase
   4.  Join Process Overview
     4.1.  Step 1 - Enhanced Beacon
     4.2.  Step 2 - Neighbor Discovery
     4.3.  Step 3 - Constrained Join Protocol (CoJP) Execution
     4.4.  The Special Case of the 6LBR Pledge Joining
   5.  Link-Layer Configuration
     5.1.  Distribution of Time
   6.  Network-Layer Configuration
     6.1.  Identification of Unauthenticated Traffic
   7.  Application-Layer Configuration
     7.1.  Statelessness of the JP
     7.2.  Recommended Settings
     7.3.  OSCORE
   8.  Constrained Join Protocol (CoJP)
     8.1.  Join Exchange
     8.2.  Parameter Update Exchange
     8.3.  Error Handling
     8.4.  CoJP Objects
     8.5.  Recommended Settings
   9.  Security Considerations
   10. Privacy Considerations
   11. IANA Considerations
     11.1.  Constrained Join Protocol (CoJP) Parameters
     11.2.  Constrained Join Protocol (CoJP) Key Usage
     11.3.  Constrained Join Protocol (CoJP) Unsupported Configuration
            Codes
   12. References
     12.1.  Normative References
     12.2.  Informative References
   Appendix A.  Example
   Appendix B.  Lightweight Implementation Option
   Acknowledgments
   Authors' Addresses
        
1. Introduction
1. はじめに

This document defines a "secure join" solution for a new device, called a "pledge", to securely join a 6TiSCH network. The term "secure join" refers to network access authentication, authorization, and parameter distribution as defined in [RFC9030]. The Constrained Join Protocol (CoJP) defined in this document handles parameter distribution needed for a pledge to become a joined node. Mutual authentication during network access and implicit authorization are achieved through the use of a secure channel as configured according to this document. This document also specifies a configuration of different layers of the 6TiSCH protocol stack that reduces the Denial of Service (DoS) attack surface during the join process.

この文書は、6Tischネットワークを安全に結合するために、「Predge」と呼ばれる新しいデバイスに対する「セキュア参加」ソリューションを定義します。「Secure Join」という用語は、[RFC9030]で定義されているネットワークアクセス認証、承認、およびパラメータ配布を指します。この文書で定義されている制約付き結合プロトコル(CoJP)は、誓約が結合されたノードになるために必要なパラメータ分布を処理します。ネットワークアクセス中の相互認証および暗黙の認証は、この文書に従って構成されているように安全なチャネルを使用することによって達成されます。この文書はまた、結合プロセス中にサービス拒否(DOS)攻撃面を縮小する6tischプロトコルスタックの異なる層の構成も指定しています。

This document presumes a 6TiSCH network as described by [RFC7554] and [RFC8180]. By design, nodes in a 6TiSCH network [RFC7554] have their radio turned off most of the time in order to conserve energy. As a consequence, the link used by a new device for joining the network has limited bandwidth [RFC8180]. The secure join solution defined in this document therefore keeps the number of over-the-air exchanges to a minimum.

この文書は、[RFC7554]と[RFC8180]で説明されている6Tischネットワークと推定されます。設計では、6Tischネットワークのノード[RFC7554]エネルギーを節約するために、ラジオがほとんどの時間をオフにしました。結果として、ネットワークに参加するための新しい装置によって使用されるリンクは限られた帯域幅[RFC8180]を有する。したがって、この文書で定義されているセキュア結合ソリューションは、空気の越境交換の数を最小限に抑えます。

The microcontrollers at the heart of 6TiSCH nodes have small amounts of code memory. It is therefore paramount to reuse existing protocols available as part of the 6TiSCH stack. At the application layer, the 6TiSCH stack already relies on CoAP [RFC7252] for web transfer and on OSCORE [RFC8613] for its end-to-end security. The secure join solution defined in this document therefore reuses those two protocols as its building blocks.

6tischノードの中心部のマイクロコントローラは、少量のコードメモリを有する。したがって、6Tischスタックの一部として使用可能な既存のプロトコルを再利用することは最優先です。アプリケーション層では、6TischスタックはすでにWeb転送用のCoAP [RFC7252]、およびエンドツーエンドのセキュリティのためのOSCCOR [RFC8613]に依存しています。したがって、このドキュメントで定義されているセキュア結合ソリューションは、それらの2つのプロトコルをビルディングブロックとして再利用します。

CoJP is a generic protocol that can be used as-is in all modes of IEEE Std 802.15.4 [IEEE802.15.4], including the Time-Slotted Channel Hopping (TSCH) mode on which 6TiSCH is based. CoJP may also be used in other (low-power) networking technologies where efficiency in terms of communication overhead and code footprint is important. In such a case, it may be necessary to define through companion documents the configuration parameters specific to the technology in question. The overall process is described in Section 4, and the configuration of the stack is specific to 6TiSCH.

CoJPは、6tischが基づくタイムスロットチャネルホッピング(TSCH)モードを含む、IEEE STD 802.15.4 [IEEE802.15.4]のすべてのモードで使用できる一般的なプロトコルです。CoJPはまた、通信オーバーヘッドおよびコードフットプリントに関して効率が重要である他の(低電力)ネットワーキング技術でも使用され得る。そのような場合、当該技術に特有の構成パラメータをコンパニオン文書を介して定義する必要があるかもしれません。全体のプロセスはセクション4で説明され、スタックの構成は6tischに固有のものです。

CoJP assumes the presence of a Join Registrar/Coordinator (JRC), a central entity. The configuration defined in this document assumes that the pledge and the JRC share a unique symmetric cryptographic key, called PSK (pre-shared key). The PSK is used to configure OSCORE to provide a secure channel to CoJP. How the PSK is installed is out of scope of this document: this may happen during the provisioning phase or by a key exchange protocol that may precede the execution of CoJP.

CoJPは中央エンティティであるJOINレジストラ/コーディネータ(JRC)の存在を想定しています。このドキュメントで定義されている構成は、PREDGEとJRCがPSK(事前共有キー)と呼ばれる固有の対称暗号鍵を共有していると想定しています。PSKは、CoJPに安全なチャネルを提供するためにOSCOREを設定するために使用されます。PSKがインストールされている方法はこの文書の範囲外です。これは、プロビジョニングフェーズ中、またはCoJPの実行に先行する可能性のある鍵交換プロトコルの間に発生する可能性があります。

When the pledge seeks admission to a 6TiSCH network, it first synchronizes to it by initiating the passive scan defined in [IEEE802.15.4]. The pledge then exchanges CoJP messages with the JRC; for this end-to-end communication to happen, the messages are forwarded by nodes, called Join Proxies, that are already part of the 6TiSCH network. The messages exchanged allow the JRC and the pledge to mutually authenticate based on the properties provided by OSCORE. They also allow the JRC to configure the pledge with link-layer keying material, a short identifier, and other parameters. After this secure join process successfully completes, the joined node can interact with its neighbors to request additional bandwidth using the 6TiSCH Operation Sublayer (6top) Protocol [RFC8480] and can start sending application traffic.

誓約が6Tischネットワークへの入場を求めると、それは最初に[IEEE802.15.4]で定義されたパッシブスキャンを開始することによってそれに同期します。その後、誓約はCoJPメッセージをJRCと交換します。このエンドツーエンドの通信が起こるためには、メッセージは結合プロキシと呼ばれるノードによって転送され、すでに6Tischネットワークの一部です。交換されたメッセージは、OSCOREによって提供されるプロパティに基づいてJRCとPREDGEを互いに認証することを可能にします。また、JRCはリンクレイヤのキーイングマテリアル、短い識別子、およびその他のパラメータを備えた誓約を設定することもできます。この安全な結合プロセスが正常に完了した後、結合されたノードはその隣接者と対話して、6Tisch操作サブレイヤ(6top)プロトコル[RFC8480]を使用して追加の帯域幅を要求し、アプリケーショントラフィックの送信を開始できます。

2. Terminology
2. 用語

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

このドキュメントのキーワード "MUST"、"MUST NOT"、"REQUIRED"、"SHALL"、"SHALL NOT"、"SHOULD"、"SHOULD NOT"、"RECOMMENDED"、"NOT RECOMMENDED"、"MAY"、および "OPTIONAL" は、BCP 14 [RFC2119] [RFC8174] で説明されているように、すべて大文字で表示される場合にのみ解釈されるものとします。

The reader is expected to be familiar with the terms and concepts defined in [RFC9030], [RFC7252], [RFC8613], and [RFC8152].

リーダーは[RFC9030]、[RFC7252]、[RFC8613]、[RFC8152]で定義されている用語と概念に精通していると予想されます。

The specification also includes a set of informative specifications using the Concise Data Definition Language (CDDL) [RFC8610].

この仕様には、簡潔なデータ定義言語(CDDL)[RFC8610]を使用した有益な仕様のセットも含まれています。

The following terms defined in [RFC9030] are used extensively throughout this document:

[RFC9030]で定義されている次の用語は、この文書全体で広く使用されています。

* pledge

* 誓約

* joined node

* ノードに参加しました

* Join Proxy (JP)

* プロキシ(JP)に参加する

* Join Registrar/Coordinator (JRC)

* 登録レジストラ/コーディネーター(JRC)

* Enhanced Beacon (EB)

* 強化されたビーコン(EB)

* join protocol

* プロトコルに参加します

* join process

* プロセスに参加します

The following terms defined in [RFC8505] are also used throughout this document:

[RFC8505]で定義されている以下の用語もこの文書全体で使用されます。

* 6LoWPAN Border Router (6LBR)

* 6ローパンボーダールーター(6LBR)

* 6LoWPAN Node (6LN)

* 6LOWPANノード(6LN)

The term "6LBR" is used interchangeably with the term "DODAG root" defined in [RFC6550] on the assumption that the two entities are co-located, as recommended by [RFC9030].

「6LBR」という用語は、[RFC9030]によって推奨されるように、2つのエンティティが同一に配置されているという仮定で、[RFC6550]で定義された「DODAGルート」という用語と互換的に使用される。

The term "pledge", as used throughout the document, explicitly denotes non-6LBR devices attempting to join the network using their IEEE Std 802.15.4 network interface. The device that attempts to join as the 6LBR of the network and does so over another network interface is explicitly denoted as the "6LBR pledge". When the text applies equally to the pledge and the 6LBR pledge, the "(6LBR) pledge" form is used.

文書全体を通して使用される「Pledge」という用語は、IEEE STD 802.15.4ネットワークインタフェースを使用してネットワークに参加しようとしている非6LBRデバイスを明示的に表します。ネットワークの6LBRとして参加しようとし、別のネットワークインターフェースを介しても、「6LBR PREDDE」として明示的に表されます。テキストが誓約と6LBR誓約に等しく適用されると、「(6LBR)誓約」フォームが使用されます。

In addition, we use generic terms "pledge identifier" and "network identifier". See Section 3.

また、一般的な用語「PREDGE ID」と「ネットワーク識別子」を使用しています。3を参照してください。

3. Provisioning Phase
3. プロビジョニングフェーズ

The (6LBR) pledge is provisioned with certain parameters before attempting to join the network, and the same parameters are provisioned to the JRC. There are many ways by which this provisioning can be done. Physically, the parameters can be written into the (6LBR) pledge with a number of mechanisms, such as using a JTAG (Joint Test Action Group) interface, using a serial (craft) console interface, pushing buttons simultaneously on different devices, configuring over-the-air in a Faraday cage, etc. The provisioning can be done by the vendor, the manufacturer, the integrator, etc.

ネットワークに参加しようとする前に(6LBR)誓約が特定のパラメータをプロビジョニングし、同じパラメータがJRCにプロビジョニングされています。このプロビジョニングを行うことができる多くの方法があります。物理的には、シリアル(Craft)コンソールインタフェースを使用して、JTAG(Joint Test Action Group)インタフェースを使用して、異なるデバイスでボタンを押すなどの(6LBR)誓約書にパラメータを(6LBR)誓約してください。 - ファラデーケージなどの空気は、ベンダー、製造業者、積分器などによって行うことができます。

Details of how this provisioning is done are out of scope of this document. What is assumed is that there can be a secure, private conversation between the JRC and the (6LBR) pledge, and that the two devices can exchange the parameters.

このプロビジョニングが行われる方法の詳細は、この文書の範囲外です。仮定されているのは、JRCと(6LBR)誓約の間に安全で個人的な会話がある可能性があり、2つのデバイスがパラメータを交換できることです。

Parameters that are provisioned to the (6LBR) pledge include:

(6LBR)誓約にプロビジョニングされているパラメータは次のとおりです。

pledge identifier: The pledge identifier identifies the (6LBR) pledge. The pledge identifier MUST be unique in the set of all pledge identifiers managed by a JRC. The pledge identifier uniqueness is an important security requirement, as discussed in Section 9. The pledge identifier is typically the globally unique 64-bit Extended Unique Identifier (EUI-64) of the IEEE Std 802.15.4 device, in which case it is provisioned by the hardware manufacturer. The pledge identifier is used to generate the IPv6 addresses of the (6LBR) pledge and to identify it during the execution of the join protocol. Depending on the configuration, the pledge identifier may also be used after the join process to identify the joined node. For privacy reasons (see Section 10), it is possible to use a pledge identifier different from the EUI-64. For example, a pledge identifier may be a random byte string, but care needs to be taken that such a string meets the uniqueness requirement.

プレッジ識別子 (pledge identifier): プレッジ識別子は (6LBR) プレッジを識別します。プレッジ識別子は、JRCが管理するすべてのプレッジ識別子の集合の中で一意でなければなりません (MUST)。セクション9で論じるように、プレッジ識別子の一意性は重要なセキュリティ要件です。プレッジ識別子は、通常、IEEE Std 802.15.4デバイスの、グローバルに一意な64ビットの拡張一意識別子 (EUI-64) であり、その場合はハードウェアの製造者によってプロビジョニングされます。プレッジ識別子は、(6LBR) プレッジのIPv6アドレスを生成するため、および参加プロトコルの実行中にプレッジを識別するために使用されます。設定によっては、参加処理の後に、参加済みノードを識別するためにプレッジ識別子が使われることもあります。プライバシー上の理由から(セクション10を参照)、EUI-64とは異なるプレッジ識別子を使用することもできます。たとえば、プレッジ識別子はランダムなバイト列でもかまいませんが、そのような文字列が一意性の要件を満たすように注意する必要があります。

Pre-Shared Key (PSK): A symmetric cryptographic key shared between the (6LBR) pledge and the JRC. To look up the PSK for a given pledge, the JRC additionally needs to store the corresponding pledge identifier. Each (6LBR) pledge MUST be provisioned with a unique PSK. The PSK MUST be a cryptographically strong key, with at least 128 bits of entropy, indistinguishable by feasible computation from a random uniform string of the same length. How the PSK is generated and/or provisioned is out of scope of this specification. This could be done during a provisioning step, or companion documents can specify the use of a key-agreement protocol. Common pitfalls when generating PSKs are discussed in Section 9. In the case of recommissioning a device to a new owner, the PSK MUST be changed. Note that the PSK is different from the link-layer keys K1 and K2 specified in [RFC8180]. The PSK is a long-term secret used to protect the execution of the secure join protocol specified in this document; the link-layer keys are transported as part of the secure join protocol.

事前共有鍵 (PSK): (6LBR) プレッジとJRCの間で共有される対称暗号鍵。あるプレッジのPSKを検索するために、JRCは対応するプレッジ識別子も保存しておく必要があります。各 (6LBR) プレッジには、一意のPSKがプロビジョニングされなければなりません (MUST)。PSKは、少なくとも128ビットのエントロピーを持ち、同じ長さの一様なランダム文字列と実行可能な計算では区別できない、暗号学的に強い鍵でなければなりません (MUST)。PSKをどのように生成および/またはプロビジョニングするかは、本仕様の範囲外です。これはプロビジョニングの段階で行うこともできれば、関連文書で鍵合意プロトコルの使用を規定することもできます。PSKを生成する際によくある落とし穴については、セクション9で論じます。デバイスを新しい所有者に再委託する場合は、PSKを変更しなければなりません (MUST)。PSKは、[RFC8180] で規定されるリンク層の鍵K1およびK2とは異なることに注意してください。PSKは、本文書で規定する安全な参加プロトコルの実行を保護するために使われる長期的な秘密であり、リンク層の鍵は安全な参加プロトコルの一部として運ばれます。

Optionally, a network identifier: The network identifier identifies the 6TiSCH network. The network identifier MUST be carried within Enhanced Beacon (EB) frames. Typically, the 16-bit Personal Area Network Identifier (PAN ID) defined in [IEEE802.15.4] is used as the network identifier. However, PAN ID is not considered a stable network identifier as it may change during network lifetime if a collision with another network is detected. Companion documents can specify the use of a different network identifier for join purposes, but this is out of scope of this specification. Provisioning the network identifier to a pledge is RECOMMENDED. However, due to operational constraints, the network identifier may not be known at the time of provisioning. If this parameter is not provisioned to the pledge, the pledge will attempt to join one advertised network at a time, which significantly prolongs the join process. This parameter MUST be provisioned to the 6LBR pledge.

省略可能なネットワーク識別子: ネットワーク識別子は6TiSCHネットワークを識別します。ネットワーク識別子は、Enhanced Beacon (EB) フレームの中で運ばれなければなりません (MUST)。通常は、[IEEE802.15.4] で定義される16ビットのPersonal Area Network Identifier (PAN ID) がネットワーク識別子として使われます。しかし、PAN IDは、他のネットワークとの衝突が検出されるとネットワークの存続期間中に変わる可能性があるため、安定したネットワーク識別子とはみなされません。関連文書で参加のために別のネットワーク識別子を使うことを規定することもできますが、これは本仕様の範囲外です。プレッジにネットワーク識別子をプロビジョニングすることが推奨されます (RECOMMENDED)。しかし、運用上の制約から、プロビジョニングの時点ではネットワーク識別子が分からない場合があります。このパラメータがプレッジにプロビジョニングされていない場合、プレッジは広告されているネットワークに1つずつ参加を試みるため、参加処理が大幅に長引きます。このパラメータは、6LBRプレッジにはプロビジョニングされなければなりません (MUST)。

Optionally, any non-default algorithms: The default algorithms are specified in Section 7.3.3. When algorithm identifiers are not provisioned, the use of these default algorithms is implied.

オプションで、デフォルト以外のアルゴリズム:デフォルトのアルゴリズムはセクション7.3.3で指定されています。アルゴリズム識別子がプロビジョニングされていない場合は、これらのデフォルトのアルゴリズムの使用が暗示されます。

Additionally, the 6LBR pledge that is not co-located with the JRC needs to be provisioned with the following:

さらに、JRCと同じ場所に配置されていない6LBR誓約書を次のようにしてプロビジョニングする必要があります。

Global IPv6 address of the JRC: This address is used by the 6LBR pledge to address the JRC during the join process. The 6LBR pledge may also obtain the IPv6 address of the JRC through other available mechanisms, such as DHCPv6 [RFC8415], Generic Autonomic Signaling Protocol (GRASP) [RFC8990], or Multicast DNS (mDNS) [RFC6762]; the use of these mechanisms is out of scope of this document. Pledges do not need to be provisioned with this address as they discover it dynamically through CoJP.

JRCのグローバルIPv6アドレス:このアドレスは、結合プロセス中にJRCに対処するために6LBR PREDGEDによって使用されます。6LBR誓約は、DHCPv6 [RFC8415]、一般的な自律型シグナリングプロトコル(GRASP)[RFC8990]、またはマルチキャストDNS(MDNS)[RFC6762]など、他の利用可能なメカニズムを介してJRCのIPv6アドレスを取得することもできます。これらのメカニズムの使用はこの文書の範囲外です。PLEDGESは、CoJPを介して動的に発見されたように、このアドレスをプロビジョニングする必要はありません。

4. Join Process Overview
4. 参加プロセスの概要

This section describes the steps taken by a pledge in a 6TiSCH network. When a pledge seeks admission to a 6TiSCH network, the following exchange occurs:

このセクションでは、6Tischネットワーク内の誓約によって取られるステップについて説明します。誓約が6Tischネットワークへの入場を求めると、次の交換が行われます。

1. The pledge listens for an Enhanced Beacon (EB) frame [IEEE802.15.4]. This frame provides network synchronization information, telling the device when it can send a frame to the node sending the beacons, which acts as a Join Proxy (JP) for the pledge, and when it can expect to receive a frame. The EB provides the link-layer address of the JP, and it may also provide its link-local IPv6 address.

1. Pledgeは拡張ビーコン(EB)フレーム[IEEE802.15.4]を聴取します。このフレームはネットワーク同期情報を提供し、デバイスにビーコンを送信するノードにフレームを送信できるときに、Predgeの結合プロキシ(JP)として機能し、フレームを受信することが期待できるときにデバイスに伝えます。EBは、JPのリンク層アドレスを提供し、そのリンクローカルIPv6アドレスを提供してもよい。

2. The pledge configures its link-local IPv6 address and advertises it to the JP using Neighbor Discovery. The advertisement step may be omitted if the link-local address has been derived from a known unique interface identifier, such as an EUI-64 address.

2. PREDCKはリンクローカルIPv6アドレスを設定し、それをネイバーディスカバリーを使用してJPにアドバタイズします。リンクローカルアドレスがEUI-64アドレスなどの既知の固有のインターフェイス識別子から派生した場合、広告ステップは省略されてもよい。

3. The pledge sends a Join Request to the JP in order to securely identify itself to the network. The Join Request is forwarded to the JRC.

3. PLEDGEは、ネットワークに安全に識別するためにJPに結合要求を送信します。結合要求はJRCに転送されます。

4. In the case of successful processing of the request, the pledge receives a Join Response from the JRC (via the JP). The Join Response contains configuration parameters necessary for the pledge to join the network.

4. 要求の成功した処理の場合、PREDGEはJRCから(JPを介して)JRCからの結合応答を受信する。結合応答には、ネットワークに参加するために必要な構成パラメータが含まれています。

From the pledge's perspective, joining is a local phenomenon -- the pledge only interacts with the JP, and it needs not know how far it is from the 6LBR or how to route to the JRC. Only after establishing one or more link-layer keys does it need to know about the particulars of a 6TiSCH network.

誓約の観点からは、参加は地元の現象です - 誓約はJPと交流するだけで、6LBRからの距離またはJRCへの道の距離までにはわかりません。1つ以上のリンク層キーを確立した後にのみ、6Tischネットワークの詳細について知る必要があります。

The join process is shown as a transaction diagram in Figure 1:

結合プロセスは図1のトランザクション図として表示されます。

     +--------+                 +-------+                 +--------+
     | pledge |                 |  JP   |                 |  JRC   |
     |        |                 |       |                 |        |
     +--------+                 +-------+                 +--------+
        |                          |                          |
        |<---Enhanced Beacon (1)---|                          |
        |                          |                          |
        |<-Neighbor Discovery (2)->|                          |
        |                          |                          |
        |-----Join Request (3a)----|----Join Request (3a)---->| \
        |                          |                          | | CoJP
        |<----Join Response (3b)---|----Join Response (3b)----| /
        |                          |                          |
        

Figure 1: Overview of a successful join process.

図1:結合プロセスが成功した概要

As for other nodes in the network, the 6LBR node may act as the JP. The 6LBR may in addition be co-located with the JRC.

ネットワーク内の他のノードに関しては、6LBRノードはJPとして機能することがある。6LBRはさらにJRCと同じ場所に配置されていてもよい。

The details of each step are described in the following sections.

各ステップの詳細は以下のセクションで説明されています。

4.1. Step 1 - Enhanced Beacon
4.1. ステップ1 - 強化されたビーコン

The pledge synchronizes to the network by listening for, and receiving, an EB sent by a node already in the network. This process is entirely defined by [IEEE802.15.4] and described in [RFC7554].

誓約は、ネットワーク内に既にネットワーク内に送られたEBを受信し、受信することによってネットワークに同期します。このプロセスは[IEEE802.15.4]で完全に定義され、[RFC7554]に記載されています。

Once the pledge hears an EB, it synchronizes to the joining schedule using the cells contained in the EB. The pledge can hear multiple EBs; the selection of which EB to use is out of the scope for this document and is discussed in [RFC7554]. Implementers should make use of information such as the following: which network identifier the EB contains, the value of the Join Metric field within EBs, whether the source link-layer address of the EB has been tried before, at which signal strength the different EBs were received, etc. In addition, the pledge may be preconfigured to search for EBs with a specific network identifier.

誓約がEBを聞くと、EBに含まれるセルを使用して接合スケジュールに同期させます。誓約は複数のEBSを聞くことができます。使用するEBの使用はこの文書の範囲外であり、[RFC7554]で説明されています。実装者は、次のような情報を利用する必要があります。どのネットワーク識別子に、EBが含まれているネットワーク識別子、EB内の結合メトリックフィールドの値、EBのソースリンクレイヤアドレスが前に試行されたかどうか、その信号強度が異なるEBSさらに、受信されたなど、特定のネットワーク識別子を用いてEBSを検索するために誓約を事前設定することができる。

If the pledge is not provisioned with the network identifier, it attempts to join one network at a time, as described in Section 8.1.1.

誓約がネットワーク識別子とプロビジョニングされていない場合は、セクション8.1.1で説明されているように、一度に1つのネットワークに参加しようとします。

Once the pledge selects the EB, it synchronizes to it and transitions into a low-power mode. It follows the schedule information contained in the EB, which indicates the slots that the pledge may use for the join process. During the remainder of the join process, the node that has sent the EB to the pledge acts as the JP.

誓約がEBを選択すると、それに同期して低電力モードに移行します。EBに含まれるスケジュール情報に続き、これは、誓約が結合プロセスに使用できるスロットを示す。結合プロセスの残りの部分では、EBをPREDGEに送信したノードはJPとして機能します。

At this point, the pledge may either proceed to step 2 or continue to listen for additional EBs.

この時点で、誓約はステップ2に進むか、追加のEBSを聴き続けることができます。

4.2. Step 2 - Neighbor Discovery
4.2. ステップ2 - ネイバーディスカバリー

The pledge forms its link-local IPv6 address based on the interface identifier per [RFC4944]. The pledge MAY perform the Neighbor Solicitation / Neighbor Advertisement exchange with the JP per Section 5.6 of [RFC8505]. Per [RFC8505], there is no need to perform duplicate address detection for the link-local address. The pledge and the JP use their link-local IPv6 addresses for all subsequent communication during the join process.

プレッジは、[RFC4944] に従ってインタフェース識別子に基づいてリンクローカルIPv6アドレスを形成します。プレッジは、[RFC8505] のセクション5.6に従って、JPとのNeighbor Solicitation / Neighbor Advertisementのやり取りを行ってもよいです (MAY)。[RFC8505] によれば、リンクローカルアドレスについて重複アドレス検出を行う必要はありません。プレッジとJPは、参加処理中のその後のすべての通信にリンクローカルIPv6アドレスを使用します。

Note that Neighbor Discovery exchanges at this point are not protected with link-layer security as the pledge is not in possession of the keys. How the JP accepts these unprotected frames is discussed in Section 5.

この時点でのネイバーディスカバリ交換は、誓約が鍵を所有していないので、リンク層のセキュリティで保護されていません。JPがこれらの未保護されていないフレームをどのように受け入れるかをセクション5で説明します。

4.3. Step 3 - Constrained Join Protocol (CoJP) Execution
4.3. ステップ3 - 制約付き結合プロトコル(CoJP)実行

The pledge triggers the join exchange of the Constrained Join Protocol (CoJP). The join exchange consists of two messages: the Join Request message (Step 3a (Section 4.3.1)) and the Join Response message, conditioned on the successful security processing of the request (Step 3b (Section 4.3.2)).

誓約は、制約付き結合プロトコル(CoJP)の結合交換を引き起こします。結合交換は、要求のセキュリティ処理を成功させるために、結合要求メッセージ(ステップ3a(セクション3a(セクション3a(セクション4.3.1))および結合応答メッセージ(ステップ3b(セクション4.3.2))で構成されている。

All CoJP messages are exchanged over a secure end-to-end channel that provides confidentiality, data authenticity, and replay protection. Frames carrying CoJP messages are not protected with link-layer security when exchanged between the pledge and the JP as the pledge is not in possession of the link-layer keys in use. How the JP and pledge accept these unprotected frames is discussed in Section 5. When frames carrying CoJP messages are exchanged between nodes that have already joined the network, the link-layer security is applied according to the security configuration used in the network.

すべてのCoJPメッセージは、機密性、データの真正性、および再生保護を提供する安全なエンドツーエンドのチャネルで交換されます。CoJPメッセージを運ぶフレームは、PREDGEとJPとの間で交換されたときにリンクレイヤのセキュリティで保護されていません。JPとPREDGNがこれらの保護されていないフレームをどのように受け入れているかについて説明します。

4.3.1. Step 3a - Join Request
4.3.1. ステップ3a - 結合リクエストを

The Join Request is a message sent from the pledge to the JP, and which the JP forwards to the JRC. The pledge indicates in the Join Request the role it requests to play in the network, as well as the identifier of the network it requests to join. The JP forwards the Join Request to the JRC on the existing links. How exactly this happens is out of scope of this document; some networks may wish to dedicate specific link-layer resources for this join traffic.

結合要求は、誓約からJPに送信され、JPがJRCに転送されるメッセージです。PREDGEは、結合を要求する役割を、ネットワーク内で再生要求する役割、および結合を要求するネットワークの識別子を示します。JPは既存のリンクのJRCに結合要求を転送します。これが起こるのはこの文書の範囲外です。一部のネットワークは、この参加トラフィックの特定のリンクレイヤリソースを専用にしたい場合があります。

4.3.2. Step 3b - Join Response
4.3.2. ステップ3B - 応答の結合

The Join Response is sent by the JRC to the pledge, and it is forwarded through the JP. The packet containing the Join Response travels from the JRC to the JP using the operating routes in the network. The JP delivers it to the pledge. The JP operates as an application-layer proxy, see Section 7.

結合応答はJRCによって誓約によって送信され、JPを通して転送されます。結合応答を含むパケットは、ネットワーク内の動作ルートを使用してJRCからJPへ移動します。JPはそれを誓約に供給します。JPはアプリケーションレイヤプロキシとして動作します。セクション7を参照してください。

The Join Response contains various parameters needed by the pledge to become a fully operational network node. These parameters include the link-layer key(s) currently in use in the network, the short address assigned to the pledge, the IPv6 address of the JRC needed by the pledge to operate as the JP, among others.

結合応答には、完全運用ネットワークノードになるために誓約者に必要なさまざまなパラメータが含まれています。これらのパラメータは、ネットワークで現在使用されているリンクレイヤキー、Predgeに割り当てられている短いアドレス、とりわけJPとして動作するPREDGEに必要なJRCのIPv6アドレスを含む。

4.4. The Special Case of the 6LBR Pledge Joining
4.4. 6LBR誓約の特別なケース

The 6LBR pledge performs Section 4.3 of the join process just like any other pledge, albeit over a different network interface. There is no JP intermediating the communication between the 6LBR pledge and the JRC, as described in Section 6. The other steps of the described join process do not apply to the 6LBR pledge. How the 6LBR pledge obtains an IPv6 address and triggers the execution of CoJP is out of scope of this document.

異なるネットワークインタフェースを介しても、6LBR PREDGEは、他の誓約と同じように、他の誓約と同じようにセクション4.3を実行します。セクション6に記載されているように、6LBR PREDGESとJRCとの間の通信を中間にするJPはない。説明された参加プロセスの他のステップは、6LBR誓約には適用されない。6LBR誓約がIPv6アドレスを取得し、CoJPの実行をトリガする方法は、この文書の範囲外です。

5. リンク層構成
5.1. Distribution of Time
5.1. 時間の分配

Nodes in a 6TiSCH network keep a global notion of time known as the Absolute Slot Number. The Absolute Slot Number is used in the construction of the link-layer nonce, as defined in [IEEE802.15.4]. The pledge initially synchronizes with the EB frame sent by the JP and uses the value of the Absolute Slot Number found in the TSCH Synchronization Information Element. At the time of the synchronization, the EB frame can neither be authenticated nor its freshness verified. During the join process, the pledge sends frames that are unprotected at the link-layer and protected end-to-end instead. The pledge does not obtain the time information as the output of the join process as this information is local to the network and may not be known at the JRC.

6Tischネットワーク内のノードは、絶対スロット番号として知られている時間のグローバルな概念を保持します。絶対スロット番号は、[IEEE802.15.4]で定義されているように、リンクレイヤのNONCEの構成に使用されます。PLEDDEは最初にJPによって送信されたEBフレームと同期し、TSCH同期情報要素にある絶対スロット番号の値を使用する。同期時には、EBフレームを認証することもその鮮度を検証することもできません。結合プロセス中に、Predgeはリンク層で保護されていないフレームを送信し、代わりにエンドツーエンドを保護します。この情報がネットワークに対してローカルであり、JRCではわからないため、誓約は結合プロセスの出力として時間情報を取得しません。

This enables an attack on the pledge where the attacker replays to the pledge legitimate EB frames obtained from the network and acts as a man-in-the-middle between the pledge and the JP. The EB frames will make the pledge believe that the replayed Absolute Slot Number value is the current notion of time in the network. By forwarding the join traffic to the legitimate JP, the attacker enables the pledge to join the network. Under different conditions relating to the reuse of the pledge's short address by the JRC or its attempt to rejoin the network, this may cause the pledge to reuse the link-layer nonce in the first frame it sends protected after the join process is completed.

これにより、攻撃者がネットワークから得られた誓約書に再生され、誓約とJPとの間の中央のマンインテリアとして機能する誓約書への攻撃を可能にします。EBフレームは、再生された絶対スロット数値がネットワーク内の時間の現在の概念であると誓約を信じるでしょう。結合トラフィックを正当なJPに転送することによって、攻撃者は誓約がネットワークに参加することを可能にします。JRCによるPREDGEの短いアドレスの再利用に関する異なる条件下で、またはネットワークを再調整するためのその試行に基づいて、結合プロセスが完了した後に保護された最初のフレーム内のリンクレイヤのノンスを再利用することがある。

For this reason, all frames originated at the JP and destined to the pledge during the join process MUST be authenticated at the link layer using the key that is normally in use in the network. Link-layer security processing at the pledge for these frames will fail as the pledge is not yet in possession of the key. The pledge acknowledges these frames without link-layer security, and JP accepts the unsecured acknowledgment due to the secExempt attribute set for the pledge. The frames should be passed to the upper layer for processing using the promiscuous mode of [IEEE802.15.4] or another appropriate mechanism. When the upper-layer processing on the pledge is completed, and the link-layer keys are configured, the upper layer MUST trigger the security processing of the corresponding frame. Once the security processing of the frame carrying the Join Response message is successful, the current Absolute Slot Number kept locally at the pledge SHALL be declared as valid.

このため、参加処理中にJPから発信されプレッジ宛てとなるすべてのフレームは、ネットワークで通常使用されている鍵を使ってリンク層で認証されなければなりません (MUST)。プレッジはまだその鍵を持っていないため、これらのフレームに対するプレッジでのリンク層セキュリティ処理は失敗します。プレッジはこれらのフレームにリンク層セキュリティなしで確認応答を返し、JPはそのプレッジに設定されたsecExempt属性により、保護されていない確認応答を受け入れます。フレームは、[IEEE802.15.4] のプロミスキャスモードまたは他の適切な仕組みを使って、処理のために上位層に渡されるべきです。プレッジでの上位層の処理が完了し、リンク層の鍵が設定されたら、上位層は対応するフレームのセキュリティ処理を起動しなければなりません (MUST)。Join Responseメッセージを運ぶフレームのセキュリティ処理が成功したら、プレッジがローカルに保持している現在のAbsolute Slot Numberを有効なものと宣言しなければなりません (SHALL)。

6. Network-Layer Configuration
6. ネットワーク層構成

The pledge and the JP SHOULD keep a separate neighbor cache for untrusted entries and use it to store each other's information during the join process. Mixing neighbor entries belonging to pledges and nodes that are part of the network opens up the JP to a DoS attack, as the attacker may fill the JP's neighbor table and prevent the discovery of legitimate neighbors.

プレッジおよびJPは、信頼できないエントリ用の個別の近隣キャッシュを保持すべきであり (SHOULD)、結合プロセス中に互いの情報を保存するためにそれを使用すべきです。ネットワークの一部である近隣エントリと混在させると、攻撃者がJPの近隣テーブルを満杯にして正当な近隣の検出を妨害できるため、JPがDoS攻撃にさらされることになります。

Once the pledge obtains link-layer keys and becomes a joined node, it is able to securely communicate with its neighbors, obtain the network IPv6 prefix, and form its global IPv6 address. The joined node then undergoes an independent process to bootstrap its neighbor cache entries, possibly with a node that formerly acted as a JP, following [RFC8505]. From the point of view of the JP, there is no relationship between the neighbor cache entry belonging to a pledge and the joined node that formerly acted as a pledge.

PLEDGEがリンク層キーを取得して結合されたノードになると、その隣接者と安全に通信し、ネットワークIPv6プレフィックスを入手し、そのグローバルIPv6アドレスを作成することができます。次いで、結合されたノードは独立したプロセスを受信し、おそらく[RFC8505]に続くJPとして実行されていたノードを使用して、そのネイバーキャッシュエントリを起動する。JPの観点からは、誓約に属する隣接キャッシュエントリと、以前は誓約として行動する結合ノードとの間には関係がない。

The pledge does not communicate with the JRC at the network layer. This allows the pledge to join without knowing the IPv6 address of the JRC. Instead, the pledge communicates with the JP at the network layer using link-local addressing, and with the JRC at the application layer, as specified in Section 7.

誓約はネットワーク層でJRCと通信しません。これにより、JRCのIPv6アドレスを知らずに誓約が参加することができます。代わりに、誓約は、セクション7で指定されているように、リンクローカルアドレッシングを使用して、ネットワークレイヤのJPとネットワーク層と通信します。

The JP communicates with the JRC over global IPv6 addresses. The JP discovers the network IPv6 prefix and configures its global IPv6 address upon successful completion of the join process and the obtention of link-layer keys. The pledge learns the IPv6 address of the JRC from the Join Response, as specified in Section 8.1.2; it uses it once joined in order to operate as a JP.

JPは、グローバルIPv6アドレスを介してJRCと通信します。JPはネットワークIPv6の接頭辞を検出し、結合プロセスが正常に完了したときにグローバルIPv6アドレスを構成し、リンクレイヤキーの獲得を行います。誓約は、8.1.2項で規定されているように、JON応答からJRCのIPv6アドレスを学習します。JPとして動作するために一度結合されたものを使用します。

As a special case, the 6LBR pledge may have an additional network interface that it uses in order to obtain the configuration parameters from the JRC and to start advertising the 6TiSCH network. This additional interface needs to be configured with a global IPv6 address, by a mechanism that is out of scope of this document. The 6LBR pledge uses this interface to directly communicate with the JRC using global IPv6 addressing.

特別な場合として、6LBR誓約は、JRCから構成パラメータを取得し、6Tischネットワークを広告するために使用する追加のネットワークインタフェースを有することができる。この追加のインターフェースは、この文書の範囲外のメカニズムによって、グローバルIPv6アドレスで設定する必要があります。6LBR PREDGEは、このインタフェースを使用して、グローバルIPv6アドレス指定を使用してJRCと直接通信します。

The JRC can be co-located on the 6LBR. In this special case, the IPv6 address of the JRC can be omitted from the Join Response message for space optimization. The 6LBR then MUST set the DODAGID field in the RPL DODAG Information Objects (DIOs) [RFC6550] to its IPv6 address. The pledge learns the address of the JRC once joined and upon the reception of the first RPL DIO message, and uses it to operate as a JP.

JRCは6LBRと同じ場所に配置できます。この特別な場合、スペースの最適化のためにJoin ResponseメッセージからJRCのIPv6アドレスを省略できます。その場合、6LBRはRPL DODAG Information Objects (DIO) [RFC6550] のDODAGIDフィールドを自身のIPv6アドレスに設定しなければなりません (MUST)。プレッジは結合後に最初のRPL DIOメッセージを受信した時点でJRCのアドレスを学習し、それをJPとして動作するために使用します。

6.1. Identification of Unauthenticated Traffic
6.1. 認証されていないトラフィックの識別

The traffic that is proxied by the JP comes from unauthenticated pledges, and there may be an arbitrary amount of it. In particular, an attacker may send fraudulent traffic in an attempt to overwhelm the network.

JPによってプロキシされているトラフィックは認証されていない誓約から来て、任意の量があるかもしれません。特に、攻撃者はネットワークを圧倒するために不正なトラフィックを送信することがあります。

When operating as part of a 6TiSCH minimal network [RFC8180] using distributed scheduling algorithms, the traffic from unauthenticated pledges may cause intermediate nodes to request additional bandwidth. An attacker could use this property to cause the network to overcommit bandwidth (and energy) to the join process.

分散スケジューリングアルゴリズムを使用して6tisch最小ネットワーク[RFC8180]の一部として動作すると、認証されていないPLedgesからのトラフィックは、中間ノードが追加の帯域幅を要求する可能性があります。攻撃者はこのプロパティを使用して、ネットワークに帯域幅(およびエネルギー)を結合プロセスに克服させる可能性があります。

The JP is aware of what traffic originates from unauthenticated pledges, and so can avoid allocating additional bandwidth itself. The JP implements a data cap on outgoing join traffic by implementing the recommendation of 1 packet per 3 seconds in Section 3.1.3 of [RFC8085]. This can be achieved with the congestion control mechanism specified in Section 4.7 of [RFC7252]. This cap will not protect intermediate nodes as they cannot tell join traffic from regular traffic. Despite the data cap implemented separately on each JP, the aggregate join traffic from many JPs may cause intermediate nodes to decide to allocate additional cells. It is undesirable to do so in response to the traffic originated from unauthenticated pledges. In order to permit the intermediate nodes to avoid this, the traffic needs to be tagged. [RFC2597] defines a set of per-hop behaviors that may be encoded into the Diffserv Code Points (DSCPs). Based on the DSCP, intermediate nodes can decide whether to act on a given packet.

JPは、どのトラフィックが未認証のプレッジ(新規参加端末)から発信されたかを把握しているため、自身で追加の帯域幅を割り当てることを回避できます。JPは、[RFC8085]のセクション3.1.3における3秒あたり1パケットという推奨を実装することで、発信ジョイントラフィックに対するデータ上限を実装します。これは、[RFC7252]のセクション4.7で指定されている輻輳制御メカニズムによって実現できます。ただし、中間ノードはジョイントラフィックと通常のトラフィックを区別できないため、このデータ上限によって中間ノードが保護されるわけではありません。各JPで個別にデータ上限が実装されているにもかかわらず、多数のJPからの集約されたジョイントラフィックにより、中間ノードが追加のセルを割り当てる判断を下してしまう可能性があります。未認証のプレッジから発信されたトラフィックに応じてこれを行うことは望ましくありません。中間ノードがこれを回避できるようにするため、トラフィックにタグを付ける必要があります。[RFC2597]は、Diffservコードポイント(DSCP)にエンコード可能な一連のホップ単位動作(PHB)を定義しています。中間ノードはDSCPに基づいて、特定のパケットに対してアクションを起こすかどうかを決定できます。

6.1.1. Traffic from JP to JRC
6.1.1. JPからJRCへのトラフィック

The JP SHOULD set the DSCP of packets that it produces as part of the forwarding process to AF43 code point (See Section 6 of [RFC2597]). A JP that does not require a specific DSCP value on forwarded traffic should set it to zero so that it is compressed out.

JPは、転送プロセスの一部として自身が生成するパケットのDSCPをAF43コードポイントに設定すべきです (SHOULD)([RFC2597] のセクション6を参照)。転送されるトラフィックに特定のDSCP値を必要としないJPは、圧縮されて除外されるようにそれをゼロに設定すべきです。

A Scheduling Function (SF) running on 6TiSCH nodes SHOULD NOT allocate additional cells as a result of traffic with code point AF43. Companion SF documents SHOULD specify how this recommended behavior is achieved.

6TiSCHノード上で動作するスケジューリング機能 (SF) は、コードポイントAF43のトラフィックの結果として追加のセルを割り当てるべきではありません (SHOULD NOT)。関連するSFドキュメントは、この推奨される動作がどのように達成されるかを指定すべきです (SHOULD)。

6.1.2. Traffic from JRC to JP
6.1.2. JRCからJPへのトラフィック

The JRC SHOULD set the DSCP of Join Response packets addressed to the JP to the AF42 code point. AF42 has lower drop probability than AF43, giving this traffic priority in buffers over the traffic going towards the JRC.

JRCは、JP宛てのJoin ResponseパケットのDSCPをAF42コードポイントに設定すべきです (SHOULD)。AF42はAF43よりも破棄確率が低いため、このトラフィックにはバッファ内でJRCに向かうトラフィックよりも優先度が与えられます。

The 6LBR links are often the most congested within a DODAG, and from that point down, there is progressively less (or equal) congestion. If the 6LBR paces itself when sending Join Response traffic, then it ought to never exceed the bandwidth allocated to the best effort traffic cells. If the 6LBR has the capacity (if it is not constrained), then it should provide some buffers in order to satisfy the Assured Forwarding behavior.

6LBRリンクは、しばしばDODAG内で最も輻輳しており、その点から、次第に(または等しい)輻輳があります。結合応答トラフィックを送信するときに6LBRがそれ自体をペースでペースすると、最良の努力トラフィックセルに割り当てられている帯域幅を超えてはいけません。6LBRが容量を持つ(それが制約されていない場合)、保証された転送動作を満たすためにいくつかのバッファを提供する必要があります。

Companion SF documents SHOULD specify how traffic with code point AF42 is handled with respect to cell allocation. If the recommended behavior described in this section is not followed, the network may become prone to the attack discussed in Section 6.1.

関連するSFドキュメントは、セル割り当てに関してコードポイントAF42のトラフィックがどのように処理されるかを指定すべきです (SHOULD)。本セクションで説明されている推奨される動作に従わない場合、ネットワークはセクション6.1で論じられている攻撃を受けやすくなる可能性があります。

7. Application-Layer Configuration
7. アプリケーションレイヤ構成

The CoJP join exchange in Figure 1 is carried over CoAP [RFC7252] and the secure channel provided by OSCORE [RFC8613]. The (6LBR) pledge acts as a CoAP client; the JRC acts as a CoAP server. The JP implements CoAP forward proxy functionality [RFC7252]. Because the JP can also be a constrained device, it cannot implement a cache.

図1のCoJP結合交換は、CoAP [RFC7252]とOSCORE [RFC8613]によって提供されたセキュアチャネルを介して運ばれます。(6LBR)の誓約は、CoAPクライアントとして機能します。JRCはCoAPサーバーとして機能します。JPはCoAP順方向プロキシ機能[RFC7252]を実装しています。JPは制約付きデバイスにすることもできますので、キャッシュを実装できません。

The pledge designates a JP as a proxy by including the Proxy-Scheme option in the CoAP requests that it sends to the JP. The pledge also includes in the requests the Uri-Host option with its value set to the well-known JRC's alias, as specified in Section 8.1.1.

PLEDDEは、JPに送信するCoAP要求にプロキシスキームオプションを含めることで、プロキシとしてJPを指定します。プロジェッジには、セクション8.1.1で指定されているように、その値を使用してURI-HOSTオプションを要求にも含まれています。

The JP resolves the alias to the IPv6 address of the JRC that it learned when it acted as a pledge and joined the network. This allows the JP to reach the JRC at the network layer and forward the requests on behalf of the pledge.

JPは、それが誓約として機能してネットワークに参加したときに学んだJRCのIPv6アドレスにエイリアスを解決します。これにより、JPはネットワーク層でJRCに到達し、誓約に代わって要求を転送することができます。

7.1. Statelessness of the JP
7.1. JPのステートレス

The CoAP proxy defined in [RFC7252] keeps per-client state information in order to forward the response towards the originator of the request. This state information includes at least the CoAP token, the IPv6 address of the client, and the UDP source port number. Since the JP can be a constrained device that acts as a CoAP proxy, memory limitations make it prone to a DoS attack.

[RFC7252]で定義されたCoAPプロキシは、応答を要求の発信者に向けるために、クライアントごとの状態情報を保持します。この状態情報は、少なくともCoAPトークン、クライアントのIPv6アドレス、およびUDPソースポート番号を含む。JPは、CoAPプロキシとして機能する制約付きデバイスになる可能性があるため、メモリの制限はDOS攻撃を受けやすくなります。

This DoS vector on the JP can be mitigated by making the JP act as a stateless CoAP proxy, where "state" encompasses the information related to individual pledges. The JP can wrap the state it needs to keep for a given pledge throughout the network stack in a "state object" and include it as a CoAP token in the forwarded request to the JRC. The JP may use the CoAP token as defined in [RFC7252], if the size of the serialized state object permits, or use the extended CoAP token defined in [RFC8974] to transport the state object. The JRC and any other potential proxy on the JP-JRC path MUST support extended token lengths, as defined in [RFC8974]. Since the CoAP token is echoed back in the response, the JP is able to decode the state object and configure the state needed to forward the response to the pledge. The information that the JP needs to encode in the state object to operate in a fully stateless manner with respect to a given pledge is implementation specific.

JPにおけるこのDoSベクトルは、JPをステートレスCoAPプロキシとして動作させることによって軽減できます。ここで「状態」には、個々のプレッジに関連する情報が含まれます。JPは、ネットワークスタック全体で特定のプレッジに対して保持する必要がある状態を「状態オブジェクト」にラップし、JRCへの転送要求内のCoAPトークンとしてそれを含めることができます。シリアライズされた状態オブジェクトのサイズが許せば、JPは [RFC7252] で定義されているCoAPトークンを使用してもよく、または状態オブジェクトを転送するために [RFC8974] で定義されている拡張CoAPトークンを使用してもよいです。JRCおよびJP-JRCパス上の他のすべての潜在的なプロキシは、[RFC8974] で定義されている拡張トークン長をサポートしなければなりません (MUST)。CoAPトークンは応答内でそのままエコーバックされるため、JPは状態オブジェクトをデコードし、プレッジに応答を転送するために必要な状態を設定できます。特定のプレッジに関して完全にステートレスな方法で動作するためにJPが状態オブジェクト内でエンコードする必要がある情報は、実装固有です。

It is RECOMMENDED that the JP operates in a stateless manner and signals the per-pledge state within the CoAP token for every request that it forwards into the network on behalf of unauthenticated pledges. When the JP is operating in a stateless manner, the security considerations from [RFC8974] apply, and the type of the CoAP message that the JP forwards on behalf of the pledge MUST be non-confirmable (NON), regardless of the message type received from the pledge. The use of a non-confirmable message by the JP alleviates the JP from keeping CoAP message exchange state. The retransmission burden is then entirely shifted to the pledge. A JP that operates in a stateless manner still needs to keep congestion control state with the JRC, see Section 9. Recommended values of CoAP settings for use during the join process, both by the pledge and the JP, are given in Section 7.2.

未認証のプレッジに代わってネットワーク内に転送するすべての要求について、JPがステートレスな方法で動作し、CoAPトークン内でプレッジごとの状態をシグナリングすることが推奨されます (RECOMMENDED)。JPがステートレスな方法で動作している場合、[RFC8974] からのセキュリティ上の考慮事項が適用され、プレッジから受信したメッセージタイプに関係なく、JPがプレッジに代わって転送するCoAPメッセージのタイプはノンコンファーマブル (NON) でなければなりません (MUST)。JPによるノンコンファーマブルメッセージの使用により、JPはCoAPメッセージ交換状態を保持する負担から解放されます。再送信の負担は完全にプレッジに移されます。ステートレスな方法で動作するJPは、依然としてJRCとの間で輻輳制御状態を保持する必要があります(セクション9を参照)。プレッジとJPの両方による結合プロセス中の使用のためのCoAP設定の推奨値は、セクション7.2に示されています。

Note that in some networking stack implementations, a fully (per-pledge) stateless operation of the JP may be challenging from the implementation's point of view. In those cases, the JP may operate as a stateful proxy that stores the per-pledge state until the response is received or timed out, but this comes at a price of a DoS vector.

いくつかのネットワーキングスタックの実装では、JPの完全(PELEDGE PERDEDGE)ステートレス操作は、実装の観点から困難である可能性があります。そのような場合、JPは、応答が受信されるかタイミングされるまでプレッケードごとの状態を格納するステートフルプロキシとして動作しますが、これはDOSベクトルの価格で来ます。

7.2. 推奨設定
7.3. OSCORE
7.3. OSCORE

Before the (6LBR) pledge and the JRC start exchanging CoAP messages protected with OSCORE, they need to derive the OSCORE security context from the provisioned parameters, as discussed in Section 3.

(6LBR)の誓約およびJRCがOSCOREで保護されたCoAPメッセージの交換を開始する前に、セクション3で説明したように、プロビジョニングされたパラメータからオスアセキュリティコンテキストを導出する必要があります。

The OSCORE security context MUST be derived per Section 3 of [RFC8613].

OSCOREセキュリティコンテキストは、[RFC8613] のセクション3に従って導出されなければなりません (MUST)。

* The Master Secret MUST be the PSK.

* Master SecretはPSKでなければなりません (MUST)。

* The Master Salt MUST be the empty byte string.

* Master Saltは空のバイト文字列でなければなりません (MUST)。

* The ID Context MUST be set to the pledge identifier.

* ID Contextはプレッジ識別子に設定されなければなりません (MUST)。

* The ID of the pledge MUST be set to the empty byte string. This identifier is used as the OSCORE Sender ID of the pledge in the security context derivation, since the pledge initially acts as a CoAP client.

* プレッジのIDは空のバイト文字列に設定されなければなりません (MUST)。プレッジは最初はCoAPクライアントとして動作するため、この識別子はセキュリティコンテキスト導出においてプレッジのOSCORE Sender IDとして使用されます。

* The ID of the JRC MUST be set to the byte string 0x4a5243 ("JRC" in ASCII). This identifier is used as the OSCORE Recipient ID of the pledge in the security context derivation, as the JRC initially acts as a CoAP server.

* JRCのIDはバイト文字列0x4a5243(ASCIIで「JRC」)に設定されなければなりません (MUST)。JRCは最初はCoAPサーバとして動作するため、この識別子はセキュリティコンテキスト導出においてプレッジのOSCORE Recipient IDとして使用されます。

* The Algorithm MUST be set to the value from [RFC8152], agreed to out-of-band by the same mechanism used to provision the PSK. The default is AES-CCM-16-64-128.

* Algorithmは、PSKのプロビジョニングに使用されたのと同じメカニズムによって帯域外で合意された [RFC8152] の値に設定されなければなりません (MUST)。デフォルトはAES-CCM-16-64-128です。

* The key derivation function MUST be agreed out-of-band by the same mechanism used to provision the PSK. Default is HKDF SHA-256 [RFC5869].

* 鍵導出関数は、PSKのプロビジョニングに使用されたのと同じメカニズムによって帯域外で合意されなければなりません (MUST)。デフォルトはHKDF SHA-256 [RFC5869] です。

Since the pledge's OSCORE Sender ID is the empty byte string, when constructing the OSCORE option, the pledge sets the 'kid' flag in the OSCORE flag bits but indicates a 0-length 'kid'. The pledge transports its pledge identifier within the 'kid context' field of the OSCORE option. The derivation in [RFC8613] results in OSCORE keys and a Common Initialization Vector (IV) for each side of the conversation. Nonces are constructed by XORing the Common IV with the current sequence number. For details on nonce and OSCORE option construction, refer to [RFC8613].

PLEDDEのOSCORE SENDER IDは空のバイト文字列です.OSCOREオプションを作成するときは、プロジェッジはOSCOREフラグビット内の 'KID'フラグを設定しますが、0-length 'Kid'を示します。PREDGEは、OSCOREオプションの「KID CONTECTION」フィールド内にそのPREDGE IDを輸送します。[RFC8613]の派生は、会話の各側のオスアーキーと共通の初期化ベクトル(IV)をもたらします。Nonceは、現在のシーケンス番号を使用して共通IVをXORGEに構築します。NonceおよびOSCOREオプションの構成については、[RFC8613]を参照してください。

Implementations MUST ensure that multiple CoAP requests, including to different JRCs, are properly incrementing the sequence numbers, so that the same sequence number is never reused in distinct requests protected under the same PSK. The pledge typically sends requests to different JRCs if it is not provisioned with the network identifier and attempts to join one network at a time. Failure to comply will break the security guarantees of the Authenticated Encryption with Associated Data (AEAD) algorithm because of nonce reuse.

実装は、異なるJRC宛てを含む複数のCoAP要求がシーケンス番号を適切にインクリメントしていることを保証しなければならず (MUST)、これにより同じPSKで保護された異なる要求で同じシーケンス番号が再利用されることは決してありません。プレッジは、ネットワーク識別子がプロビジョニングされていない場合、通常は異なるJRCに要求を送信し、一度に1つのネットワークへの結合を試みます。これに従わない場合、ナンスの再利用により、関連データ付き認証付き暗号 (AEAD) アルゴリズムのセキュリティ保証が破られることになります。

This OSCORE security context is used for the initial joining of the (6LBR) pledge, where the (6LBR) pledge acts as a CoAP client, as well as for any later parameter updates, where the JRC acts as a CoAP client and the joined node as a CoAP server, as discussed in Section 8.2. Note that when the (6LBR) pledge and the JRC change roles between CoAP client and CoAP server, the same OSCORE security context as initially derived remains in use, and the derived parameters are unchanged, for example, Sender ID when sending and Recipient ID when receiving (see Section 3.1 of [RFC8613]). A (6LBR) pledge is expected to have exactly one OSCORE security context with the JRC.

このOSCOREセキュリティコンテキストは、(6LBR)誓約を初期結合しており、ここで(6LBR)誓約はCOAAクライアントとして機能し、JRCがCoAPクライアントと結合されたノードとして機能する任意のパラメータ更新と同様に機能します。セクション8.2で説明したように、CoAPサーバーとして。(6LBR)の誓約とJRCがCoAPクライアントとCoAPサーバー間のロールを変更すると、最初に導出されたのと同じOSCORセキュリティコンテキストが使用されており、派生パラメータは変更されず、送信元IDと受信側IDの場合は送信者IDなどです。受信([RFC8613]のセクション3.1を参照)。A(6LBR)の誓約は、JRCと正確に1つのオスアセキュリティコンテキストを持つことが期待されています。

7.3.1. Replay Window and Persistency
7.3.1. 再生ウィンドウと持続性

Both the (6LBR) pledge and the JRC MUST implement a replay-protection mechanism. The use of the default OSCORE replay-protection mechanism specified in Section 3.2.2 of [RFC8613] is RECOMMENDED.

(6LBR) プレッジとJRCの両方がリプレイ保護メカニズムを実装しなければなりません (MUST)。[RFC8613] のセクション3.2.2で指定されているデフォルトのOSCOREリプレイ保護メカニズムの使用が推奨されます (RECOMMENDED)。

Implementations MUST ensure that mutable OSCORE context parameters (Sender Sequence Number, Replay Window) are stored in persistent memory. A technique detailed in Appendix B.1.1 of [RFC8613] that prevents reuse of sequence numbers MUST be implemented. Each update of the OSCORE Replay Window MUST be written to persistent memory.

実装は、可変のOSCOREコンテキストパラメータ(Sender Sequence Number、Replay Window)が永続メモリに保存されることを保証しなければなりません (MUST)。シーケンス番号の再利用を防止する、[RFC8613] の付録B.1.1に詳述されている手法を実装しなければなりません (MUST)。OSCORE Replay Windowの各更新は、永続メモリに書き込まれなければなりません (MUST)。

This is an important security requirement in order to guarantee nonce uniqueness and resistance to replay attacks across reboots and rejoins. Traffic between the (6LBR) pledge and the JRC is rare, making security outweigh the cost of writing to persistent memory.

これは、再起動および再参加を介してリプレイ攻撃を再生するための非CCEの一意性と抵抗を保証するための重要なセキュリティ要件です。(6LBR)誓約とJRCの間のトラフィックはまれであり、セキュリティは永続的なメモリへの書き込みのコストを上回る。

7.3.2. OSCORE Error Handling
7.3.2. OSCOREエラー処理

Errors raised by OSCORE during the join process MUST be silently dropped, with no error response being signaled. The pledge MUST silently discard any response not protected with OSCORE, including error codes.

結合プロセス中にOSCOREによって発生したエラーは、エラー応答を通知することなく、サイレントに破棄されなければなりません (MUST)。プレッジは、エラーコードを含め、OSCOREで保護されていない応答をサイレントに破棄しなければなりません (MUST)。

Such errors may happen for a number of reasons, including failed lookup of an appropriate security context (e.g., the pledge attempting to join a wrong network), failed decryption, positive Replay Window lookup, formatting errors (possibly due to malicious alterations in transit). Silently dropping OSCORE messages prevents a DoS attack on the pledge where the attacker could send bogus error responses, forcing the pledge to attempt joining one network at a time, until all networks have been tried.

そのようなエラーは、適切なセキュリティコンテキストの検索の失敗(誤ったネットワークに参加しようとした誓約)、復号化の失敗、肯定的な再生ウィンドウの検索、フォーマットエラー(おそらくトランジット内の悪意のある変更による)を含む、いくつかの理由で発生する可能性があります。。黙ってOSCOREメッセージを削除すると、攻撃者がボーガスのエラー回答を送信し、すべてのネットワークが試行されるまで、攻撃者が偽のエラー回答を送信することができる誓約者に対するDOS攻撃を防ぎます。

7.3.3. Mandatory-to-Implement Algorithms
7.3.3. 必須のアルゴリズム

The mandatory-to-implement AEAD algorithm for use with OSCORE is AES-CCM-16-64-128 from [RFC8152]. This is the algorithm used for securing IEEE Std 802.15.4 frames, and hardware acceleration for it is present in virtually all compliant radio chips. With this choice, CoAP messages are protected with an 8-byte CCM authentication tag, and the algorithm uses 13-byte long nonces.

OSCOREで使用するための必須のAEDアルゴリズムは、[RFC8152]からAES-CCM-16-64-128です。これは、IEEE STD 802.15.4フレームを保護するために使用されるアルゴリズムであり、それに対するハードウェア加速度は実質的にすべての準拠のラジオチップに存在します。この選択では、CoAPメッセージは8バイトのCCM認証タグで保護されており、アルゴリズムは13バイトの長いノンスを使用します。

The mandatory-to-implement hash algorithm is SHA-256 [RFC4231]. The mandatory-to-implement key derivation function is HKDF [RFC5869], instantiated with a SHA-256 hash. See Appendix B for implementation guidance when code footprint is important.

義務的な実施ハッシュアルゴリズムはSHA-256 [RFC4231]です。義務的な実施キー派生機能は、SHA-256ハッシュでインスタンス化されたHKDF [RFC5869]です。コードのフットプリントが重要な場合は、実装ガイダンスについては付録Bを参照してください。

8. Constrained Join Protocol (CoJP)
8. 制約付き共同プロトコル(CO JP)

The Constrained Join Protocol (CoJP) is a lightweight protocol over CoAP [RFC7252] and a secure channel provided by OSCORE [RFC8613]. CoJP allows a (6LBR) pledge to request admission into a network managed by the JRC. It enables the JRC to configure the pledge with the necessary parameters. The JRC may update the parameters at any time, by reaching out to the joined node that formerly acted as a (6LBR) pledge. For example, network-wide rekeying can be implemented by updating the keying material on each node.

制約付き結合プロトコル(CoJP)は、CoAP [RFC7252]の上の軽量プロトコルとOSCCOR [RFC8613]によって提供されるセキュアチャネルです。CoJPでは、(6LBR)誓約をすることで、JRCによって管理されているネットワークへの入場を要求することができます。それはJRCが必要なパラメータを持つ誓約を構成することを可能にします。JRCは、以前は(6LBR)誓約として行動する結合ノードに達することによって、いつでもパラメータを更新することができる。例えば、各ノード上のキーイングマテリアルを更新することによってネットワーク全体の生の生活を実現することができる。

CoJP relies on the security properties provided by OSCORE. This includes end-to-end confidentiality, data authenticity, replay protection, and a secure binding of responses to requests.

CoJPはOSCOREによって提供されるセキュリティプロパティに依存しています。これには、エンドツーエンドの機密性、データの信頼性、再生保護、および要求に対する応答の安全なバインディングが含まれます。

               +-----------------------------------+
               |  Constrained Join Protocol (CoJP) |
               +-----------------------------------+
               +-----------------------------------+  \
               |         Requests / Responses      |  |
               |-----------------------------------|  |
               |               OSCORE              |  | CoAP
               |-----------------------------------|  |
               |           Messaging Layer         |  |
               +-----------------------------------+  /
               +-----------------------------------+
               |                UDP                |
               +-----------------------------------+
        

Figure 2: Abstract layering of CoJP.

図2:CO JPの抽象層化。

When a (6LBR) pledge requests admission to a given network, it undergoes the CoJP join exchange that consists of:

(6LBR)の誓約要求が特定のネットワークへの入場を要求するとき、それは以下からなるCoJP結合交換を受ける。

* The Join Request message, sent by the (6LBR) pledge to the JRC, potentially proxied by the JP. The Join Request message and its mapping to CoAP is specified in Section 8.1.1.

* JRCに送信される(6LBR)JRCに送信された参加要求メッセージは、JPによって潜在的にプロキシされています。結合要求メッセージとCoAPへのマッピングはセクション8.1.1で指定されています。

* The Join Response message, sent by the JRC to the (6LBR) pledge, if the JRC successfully processes the Join Request using OSCORE and it determines through a mechanism that is out of scope of this specification that the (6LBR) pledge is authorized to join the network. The Join Response message is potentially proxied by the JP. The Join Response message and its mapping to CoAP is specified in Section 8.1.2.

* JRCから(6LBR)PREDDDERがOSCOREを使用してJRCに送信され、(6LBR)誓約の範囲外のメカニズムを介して、JRCから(6LBR)PREDCKに送信され、(6LBR)の誓約が参加することを許可されているメカニズムを決定します。ネットワーク結合応答メッセージは、JPによって潜在的にプロキシされます。結合応答メッセージとそのCoAPへのマッピングはセクション8.1.2で指定されています。

When the JRC needs to update the parameters of a joined node that formerly acted as a (6LBR) pledge, it executes the CoJP parameter update exchange that consists of the following:

JRCが(6LBR)誓約として行動されていた参加ノードのパラメータを更新する必要がある場合は、次のものからなるCoJPパラメータ更新交換を実行します。

* The Parameter Update message, sent by the JRC to the joined node that formerly acted as a (6LBR) pledge. The Parameter Update message and its mapping to CoAP is specified in Section 8.2.1.

* JRCによって(6LBR)誓約として行動されていた参加ノードにJRCによって送信されたパラメータ更新メッセージ。パラメータ更新メッセージとそのCoAPへのマッピングはセクション8.2.1で指定されています。

The payload of CoJP messages is encoded with CBOR [RFC8949]. The CBOR data structures that may appear as the payload of different CoJP messages are specified in Section 8.4.

CoJPメッセージのペイロードはCBOR [RFC8949]でエンコードされています。さまざまなCoJPメッセージのペイロードとして表示される可能性があるCBORデータ構造はセクション8.4で指定されています。

8.1. Join Exchange
8.1. Exchangeに参加

This section specifies the messages exchanged when the (6LBR) pledge requests admission and configuration parameters from the JRC.

このセクションでは、(6LBR)PREDDERがJRCからの入場パラメータと構成パラメータが要求されたときに交換されたメッセージを指定します。

8.1.1. Join Request Message
8.1.1. 参加してください

The Join Request message that the (6LBR) pledge sends SHALL be mapped to a CoAP request:

(6LBR) プレッジが送信するJoin Requestメッセージは、CoAP要求にマッピングされなければなりません (SHALL)。

* The request method is POST.

* 要求方法はPOSTです。

* The type is Confirmable (CON).

* タイプは確認可能(CON)です。

* The Proxy-Scheme option is set to "coap".

* Proxy-Schemeオプションは「coap」に設定されます。

* The Uri-Host option is set to "6tisch.arpa". This is an anycast type of identifier of the JRC that is resolved to its IPv6 address by the JP or the 6LBR pledge.

* URI-hostオプションは "6tisch.arpa"に設定されています。これは、JPまたは6LBR誓約によってIPv6アドレスに解決されるJRCの識別子のAnycastタイプです。

* The Uri-Path option is set to "j".

* Uri-Pathオプションは「j」に設定されます。

* The OSCORE option SHALL be set according to [RFC8613]. The OSCORE security context used is the one derived in Section 7.3. The OSCORE 'kid context' allows the JRC to retrieve the security context for a given pledge.

* OSCOREオプションは [RFC8613] に従って設定されなければなりません (SHALL)。使用されるOSCOREセキュリティコンテキストは、セクション7.3で導出されたものです。OSCOREの「kid context」により、JRCは特定のプレッジのセキュリティコンテキストを取得できます。

* The payload is a Join_Request CBOR object, as defined in Section 8.4.1.

* ペイロードは、セクション8.4.1で定義されているように、Join_Request CBORオブジェクトです。

Since the Join Request is a confirmable message, the transmission at (6LBR) pledge will be controlled by CoAP's retransmission mechanism. The JP, when operating in a stateless manner, forwards this Join Request as a non-confirmable (NON) CoAP message, as specified in Section 7. If the CoAP implementation at the (6LBR) pledge declares the message transmission a failure, the (6LBR) pledge SHOULD attempt to join a 6TiSCH network advertised with a different network identifier. See Section 7.2 for recommended values of CoAP settings to use during the join exchange.

Join Requestはconfirmableメッセージなので、(6LBR) プレッジでの送信はCoAPの再送の仕組みによって制御されます。JPは、ステートレスに動作している場合、セクション7で規定するように、このJoin Requestをnon-confirmable (NON) のCoAPメッセージとして転送します。(6LBR) プレッジのCoAP実装がメッセージの送信を失敗と判断した場合、(6LBR) プレッジは、異なるネットワーク識別子で広告されている6TiSCHネットワークへの参加を試みるべきです (SHOULD)。参加のやり取りの際に使用するCoAPの設定の推奨値については、セクション7.2を参照してください。

If all join attempts to advertised networks have failed, the (6LBR) pledge SHOULD signal the presence of an error condition, through some out-of-band mechanism.

広告されているネットワークへの参加の試みがすべて失敗した場合、(6LBR) プレッジは、何らかの帯域外の仕組みによって、エラー状態の存在を通知すべきです (SHOULD)。

BCP 190 [RFC8820] provides guidelines on URI design and ownership. It recommends that whenever a third party wants to mandate a URI to web authority that it SHOULD go under "/.well-known" (per [RFC8615]). In the case of CoJP, the Uri-Host option is always set to "6tisch.arpa", and based upon the recommendations in Section 1 of [RFC8820], it is asserted that this document is the owner of the CoJP service. As such, the concerns of [RFC8820] do not apply, and thus the Uri-Path is only "j".

BCP 190 [RFC8820] は、URIの設計と所有権に関する指針を示しています。BCP 190は、第三者がWeb権限に対してURIを義務付けたい場合は常に、そのURIを([RFC8615] に従い)「/.well-known」の下に置くべきである (SHOULD) と推奨しています。CoJPの場合、Uri-Hostオプションは常に「6tisch.arpa」に設定され、[RFC8820] のセクション1の推奨事項に基づき、本文書がCoJPサービスの所有者であると主張します。そのため、[RFC8820] の懸念は当てはまらず、Uri-Pathは単に「j」となります。

8.1.2. Join Response Message
8.1.2. 応答メッセージに参加してください

The Join Response message that the JRC sends SHALL be mapped to a CoAP response:

JRCが送信するJoin Responseメッセージは、CoAP応答にマッピングされなければなりません (SHALL)。

* The Response Code is 2.04 (Changed).

* 応答コードは2.04(変更)です。

* The payload is a Configuration CBOR object, as defined in Section 8.4.2.

* ペイロードは、セクション8.4.2で定義されているように、構成CBORオブジェクトです。

8.2. Parameter Update Exchange
8.2. パラメータ更新Exchange.

During the network lifetime, parameters returned as part of the Join Response may need to be updated. One typical example is the update of link-layer keying material for the network, a process known as rekeying. This section specifies a generic mechanism when this parameter update is initiated by the JRC.

ネットワークの有効期間中に、結合応答の一部として返されるパラメータを更新する必要があるかもしれません。1つの典型的な例は、ネットワークのためのリンク層キーイング材料の更新、生後に知られているプロセスです。このセクションは、このパラメータ更新がJRCによって開始されたときの一般的なメカニズムを指定します。

At the time of the join, the (6LBR) pledge acts as a CoAP client and requests the network parameters through a representation of the "/j" resource exposed by the JRC. In order for the update of these parameters to happen, the JRC needs to asynchronously contact the joined node. The use of the CoAP Observe option for this purpose is not feasible due to the change in the IPv6 address when the pledge becomes the joined node and obtains a global address.

結合時に、(6LBR)誓約はCoAPクライアントとして機能し、JRCによって公開された「/ J」リソースの表現を通してネットワークパラメータを要求する。これらのパラメータの更新が起こるためには、JRCは結合ノードに非同期的に連絡する必要がある。この目的のためのCoAP観測オプションの使用は、PELDGEが結合されたノードになったときにIPv6アドレスの変更が可能であり、グローバルアドレスを取得します。

Instead, once the (6LBR) pledge receives and successfully validates the Join Response and so becomes a joined node, it becomes a CoAP server. The joined node creates a CoAP service at the Uri-Host value of "6tisch.arpa", and the joined node exposes the "/j" resource that is used by the JRC to update the parameters. Consequently, the JRC operates as a CoAP client when updating the parameters. The request/ response exchange between the JRC and the (6LBR) pledge happens over the already-established OSCORE secure channel.

代わりに、(6LBR)の誓約が受信して結合応答を正常に検証したら、結合ノードになると、CoAPサーバーになります。結合されたノードは、URIホスト値「6tisch.ARPA」でCoAPサービスを作成し、結合されたノードは、JRCによって使用される「/ j」リソースを公開してパラメータを更新する。その結果、パラメータを更新するときにJRCはCoAPクライアントとして動作します。JRCと(6LBR)誓約の間の要求/応答交換は、既存のオスアセキュアチャネルを介して行われます。

8.2.1. Parameter Update Message
8.2.1. パラメータ更新メッセージ

The Parameter Update message that the JRC sends to the joined node SHALL be mapped to a CoAP request:

JRCが結合済みノードに送信するParameter Updateメッセージは、CoAP要求にマッピングされなければなりません (SHALL)。

* The request method is POST.

* 要求方法はPOSTです。

* The type is Confirmable (CON).

* タイプは確認可能(CON)です。

* The Uri-Host option is set to "6tisch.arpa".

* URI-hostオプションは "6tisch.arpa"に設定されています。

* The Uri-Path option is set to "j".

* Uri-Pathオプションは「j」に設定されます。

* The OSCORE option SHALL be set according to [RFC8613]. The OSCORE security context used is the one derived in Section 7.3. When a joined node receives a request with the Sender ID set to 0x4a5243 (ID of the JRC), it is able to correctly retrieve the security context with the JRC.

* OSCOREオプションは [RFC8613] に従って設定されなければなりません (SHALL)。使用するOSCOREのセキュリティコンテキストは、セクション7.3で導出したものです。参加済みノードが、Sender IDが0x4a5243(JRCのID)に設定された要求を受信した場合、そのノードはJRCとのセキュリティコンテキストを正しく取得できます。

* The payload is a Configuration CBOR object, as defined in Section 8.4.2.

* ペイロードは、セクション8.4.2で定義されているように、構成CBORオブジェクトです。

The JRC has implicit knowledge of the global IPv6 address of the joined node, as it knows the pledge identifier that the joined node used when it acted as a pledge and the IPv6 network prefix. The JRC uses this implicitly derived IPv6 address of the joined node to directly address CoAP messages to it.

JRCには、結合されたノードのグローバルIPv6アドレスに関する暗黙の知識が、PredgeとIPv6ネットワークプレフィックスとして機能したときに使用されるPELDGE IDを知っています。JRCは、この暗黙的に派生したノードの暗黙的に派生したIPv6アドレスを使用して、CoAPメッセージを直接アドレスにします。

If the JRC does not receive a response to a Parameter Update message, it attempts multiple retransmissions as configured by the underlying CoAP retransmission mechanism triggered for confirmable messages. Finally, if the CoAP implementation declares the transmission a failure, the JRC may consider this as a hint that the joined node is no longer in the network. How the JRC decides when to stop attempting to contact a previously joined node is out of scope of this specification, but the security considerations on the reuse of assigned resources apply, as discussed in Section 9.

JRCがパラメータ更新メッセージに対する応答を受け取らない場合、確認可能なメッセージに対してトリガされた基礎となるCoAP再送メカニズムによって構成されている複数の再送信を試みます。最後に、CoAP実装が送信を失敗したことを宣言した場合、JRCは、結合されたノードがネットワーク内でもはやネットワーク内ではないというヒントとして考慮することができます。JRCが以前に参加したノードと連絡を試みることを停止するかを決定する方法は、この仕様の範囲外ですが、セクション9で説明したように、割り当てられたリソースの再利用に関するセキュリティ上の考慮事項が適用されます。

8.3. Error Handling
8.3. エラー処理
8.3.1. CoJP CBOR Object Processing
8.3.1. CoJP CBORオブジェクト処理

CoJP CBOR objects are transported within both CoAP requests and responses. This section describes handling the cases in which certain CoJP CBOR object parameters are not supported by the implementation or their processing fails. See Section 7.3.2 for the handling of errors that may be raised by the underlying OSCORE implementation.

CoJP CBORオブジェクトは、CoAP要求と応答の両方で輸送されます。このセクションでは、特定のCoJP CBORオブジェクトパラメータが実装によってサポートされていない場合、またはそれらの処理が失敗する場合について説明します。基礎となるOSCORORE実装によって発生する可能性があるエラーの処理については、セクション7.3.2を参照してください。

When such a parameter is detected in a CoAP request (Join Request message, Parameter Update message), a Diagnostic Response message MUST be returned. A Diagnostic Response message maps to a CoAP response and is specified in Section 8.3.2.

そのようなパラメータがCoAP要求(Join Requestメッセージ、Parameter Updateメッセージ)で検出された場合、Diagnostic Responseメッセージを返さなければなりません (MUST)。Diagnostic ResponseメッセージはCoAP応答に対応付けられ、セクション8.3.2で規定されています。

When a parameter that cannot be acted upon is encountered while processing a CoJP object in a CoAP response (Join Response message), a (6LBR) pledge SHOULD reattempt to join. In this case, the (6LBR) pledge SHOULD include the Unsupported Configuration CBOR object within the Join Request object in the following Join Request message. The Unsupported Configuration CBOR object is self-contained and enables the (6LBR) pledge to signal any parameters that the implementation of the networking stack may not support. A (6LBR) pledge MUST NOT attempt more than COJP_MAX_JOIN_ATTEMPTS number of attempts to join if the processing of the Join Response message fails each time. If the COJP_MAX_JOIN_ATTEMPTS number of attempts is reached without success, the (6LBR) pledge SHOULD signal the presence of an error condition through some out-of-band mechanism.

CoAP応答(Join Responseメッセージ)内のCoJPオブジェクトを処理している際に、処理できないパラメータに遭遇した場合、(6LBR) プレッジは参加を再試行すべきです (SHOULD)。この場合、(6LBR) プレッジは、次のJoin Requestメッセージにおいて、Join Requestオブジェクト内にUnsupported Configuration CBORオブジェクトを含めるべきです (SHOULD)。Unsupported Configuration CBORオブジェクトは自己完結しており、(6LBR) プレッジが、ネットワーキングスタックの実装がサポートしていない可能性のあるパラメータを通知できるようにします。Join Responseメッセージの処理が毎回失敗する場合、(6LBR) プレッジはCOJP_MAX_JOIN_ATTEMPTS回を超えて参加を試みてはなりません (MUST NOT)。COJP_MAX_JOIN_ATTEMPTS回の試行に達しても成功しない場合、(6LBR) プレッジは、何らかの帯域外の仕組みによってエラー状態の存在を通知すべきです (SHOULD)。

Note that COJP_MAX_JOIN_ATTEMPTS relates to the application-layer handling of the CoAP response and is different from CoAP's MAX_RETRANSMIT setting, which drives the retransmission mechanism of the underlying CoAP message.

COJP_MAX_JOIN_ATTEMPTSは、CoAP応答のアプリケーションレイヤの処理に関連し、CoAPのMAX_RETRANSMIT設定とは異なります。これは、基礎となるCoAPメッセージの再送信メカニズムを駆動します。

8.3.2. Diagnostic Response Message
8.3.2. 診断応答メッセージ

The Diagnostic Response message is returned for any CoJP request when the processing of the payload failed. The Diagnostic Response message is protected by OSCORE as any other CoJP message.

ペイロードの処理が失敗したときに、診断応答メッセージがCoJP要求に対して返されます。診断応答メッセージは、他のどのCoJPメッセージとしてOSCOREによって保護されています。

The Diagnostic Response message SHALL be mapped to a CoAP response:

Diagnostic Responseメッセージは、次のようにCoAP応答に対応付けられなければなりません (SHALL):

* The Response Code is 4.00 (Bad Request).

* 応答コードは4.00(不良要求)です。

* The payload is an Unsupported Configuration CBOR object, as defined in Section 8.4.5, containing more information about the parameter that triggered the sending of this message.

* ペイロードは、このメッセージの送信をトリガーしたパラメータに関する詳細情報を含む、サポートされていない構成CBORオブジェクトです。

8.3.3. Failure Handling
8.3.3. 失敗処理

The parameter update exchange may be triggered at any time during the network lifetime, which may span several years. During this period, a joined node or the JRC may experience unexpected events such as reboots or complete failures.

パラメータ更新交換は、ネットワークの有効期間中いつでもトリガされ、これは数年間及ぶ可能性があります。この期間中、結合されたノードまたはJRCは、再起動や完全な失敗などの予期しないイベントを経験する可能性があります。

This document mandates that the mutable parameters in the security context are written to persistent memory (see Section 7.3.1) by both the JRC and pledges (joined nodes). As the pledge (joined node) is typically a constrained device that handles the write operations to persistent memory in a predictable manner, the retrieval of mutable security-context parameters is feasible across reboots such that there is no risk of AEAD nonce reuse due to reinitialized Sender Sequence Numbers or of a replay attack due to the reinitialized Replay Window. The JRC may be hosted on a generic machine where the write operation to persistent memory may lead to unpredictable delays due to caching. If a reboot event occurs at the JRC before the cached data is written to persistent memory, the loss of mutable security-context parameters is likely, which consequently poses the risk of AEAD nonce reuse.

この文書は、セキュリティコンテキスト内の可変パラメータがJRCとPLEDGES(結合ノード)の両方によって永続メモリ(7.3.1項を参照)に書き込まれていることを義務付けています。PREDGE(結合ノード)は、通常、予測可能な方法で永続的なメモリへの書き込み操作を処理する制約付きデバイスであるため、再起動のリスクがないため、再起動のリスクがないように、変更可能なセキュリティコンテキストパラメータの検索は実行可能です。再初期化再生ウィンドウによる送信者シーケンス番号または再生攻撃。JRCは、持続的メモリへの書き込み動作がキャッシングによる予測不可能な遅延をもたらす可能性がある一般的なマシン上でホストされてもよい。キャッシュされたデータが永続的なメモリに書き込まれる前にJRCで再起動イベントが発生した場合、可変のセキュリティコンテキストパラメータの損失は可能性があり、その結果、AED NOCEの再利用のリスクが発生します。

In the event of a complete device failure, where the mutable security-context parameters cannot be retrieved, it is expected that a failed joined node will be replaced with a new physical device, using a new pledge identifier and a PSK. When such a failure event occurs at the JRC, it is possible that the static information on provisioned pledges, like PSKs and pledge identifiers, can be retrieved through available backups. However, it is likely that the information about joined nodes, their assigned short identifiers and mutable security-context parameters, is lost. If this is the case, the network administrator MUST force all the networks managed by the failed JRC to rejoin through out-of-band means during the process of JRC reinitialization, e.g., reinitialize the 6LBR nodes and freshly generate dynamic cryptographic keys and other parameters that influence the security properties of the network.

変更可能なセキュリティコンテキストのパラメータを取り出せないような、デバイスの完全な故障が起きた場合、故障した参加済みノードは、新しいプレッジ識別子とPSKを使う新しい物理デバイスで置き換えられることが想定されます。このような故障がJRCで起きた場合、PSKやプレッジ識別子のような、プロビジョニングされたプレッジに関する静的な情報は、利用可能なバックアップから取り出せる可能性があります。しかし、参加済みノード、それらに割り当てられた短い識別子、および変更可能なセキュリティコンテキストのパラメータに関する情報は失われる可能性が高いです。その場合、ネットワーク管理者は、JRCの再初期化の過程で、帯域外の手段によって、故障したJRCが管理するすべてのネットワークを強制的に再参加させなければなりません (MUST)。たとえば、6LBRノードを再初期化し、動的な暗号鍵や、ネットワークのセキュリティ特性に影響するその他のパラメータを新たに生成します。

In order to recover from such a failure event, the reinitialized JRC can trigger the renegotiation of the OSCORE security context through the procedure described in Appendix B.2 of [RFC8613]. Aware of the failure event, the reinitialized JRC responds to the first Join Request of each pledge it is managing with a 4.01 (Unauthorized) error and a random nonce. The pledge verifies the error response and then initiates the CoJP join exchange using a new OSCORE security context derived from an ID Context consisting of the concatenation of two nonces, one that it received from the JRC and the other that the pledge generates locally. After verifying the Join Request with the new ID Context and the derived OSCORE security context, the JRC should consequently map the new ID Context to the previously used pledge identifier. How the JRC handles this mapping is out of scope of this document.

このような故障イベントから回復するために、再初期化されたJRCは[RFC8613]の付録B.2に記載されている手順を通じて、オスアセキュリティコンテキストの再交渉を引き起こす可能性がある。失敗イベントを認識しているため、再初期化されたJRCは、4.01(不正な)エラーとランダムなノンスで管理されている各誓約の最初の結合要求に応答します。PLEDGEはエラー応答を検証し、次に、2つのノンスの連結からなるIDコンテキストから派生した新しいOSCORセキュリティコンテキストを使用して、CoJP結合交換を開始します.1つはJRCから受信し、もう一方がローカルに生成されます。新しいIDコンテキストと派生オスアセキュリティコンテキストを使用して結合要求を検証した後、JRCは新しいIDコンテキストを以前に使用されたPLEDDE IDにマッピングする必要があります。JRCがこのマッピングを処理する方法はこの文書の範囲外です。

The use of the procedure specified in Appendix B.2 of [RFC8613] is RECOMMENDED in order to handle the failure events or any other event that may lead to the loss of mutable security-context parameters. The length of nonces exchanged using this procedure MUST be at least 8 bytes.

故障の発生や、変更可能なセキュリティコンテキストのパラメータの喪失につながり得るその他の事象に対処するために、[RFC8613] の付録B.2で規定される手順を使用することが推奨されます (RECOMMENDED)。この手順で交換するナンスの長さは、少なくとも8バイトでなければなりません (MUST)。

The procedure requires both the pledge and the JRC to have good sources of randomness. While this is typically not an issue at the JRC side, the constrained device hosting the pledge may pose limitations in this regard. If the procedure outlined in Appendix B.2 of [RFC8613] is not supported by the pledge, the network administrator MUST reprovision the concerned devices with freshly generated parameters through out-of-band means.

この手順では、プレッジとJRCの両方に良質な乱数源が必要です。JRC側では通常これは問題になりませんが、プレッジを収容する制約のあるデバイスでは、この点で制限がある可能性があります。[RFC8613] の付録B.2で概説されている手順がプレッジでサポートされていない場合、ネットワーク管理者は、帯域外の手段によって、該当するデバイスに新たに生成したパラメータを再プロビジョニングしなければなりません (MUST)。

8.4. CoJP Objects
8.4. CoJPオブジェクト

This section specifies the structure of CoJP CBOR objects that may be carried as the payload of CoJP messages. Some of these objects may be received both as part of the CoJP join exchange when the device operates as a (CoJP) pledge or as part of the parameter update exchange when the device operates as a joined (6LBR) node.

このセクションでは、CoJPメッセージのペイロードとして実行できるCoJP CBOORオブジェクトの構造を指定します。デバイスが(CoJP)PREDGESとして動作したとき、またはデバイスが結合された(6LBR)ノードとして動作している場合は、これらのオブジェクトの一部をCoJP結合交換の一部として受信することができます。

8.4.1. Join Request Object
8.4.1. リクエストオブジェクトに参加

The Join_Request structure is built on a CBOR map object.

Join_Request構造体はCBOR MAPオブジェクトに構築されています。

The set of parameters that can appear in a Join_Request object is summarized below. The labels can be found in the "Constrained Join Protocol (CoJP) Parameters" registry, Section 11.1.

Join_Requestオブジェクトに表示できるパラメータのセットは以下のとおりです。ラベルは、「制約付き結合プロトコル(CoJP)パラメータ」レジストリ、セクション11.1にあります。

role: The identifier of the role that the pledge requests to play in the network once it joins, encoded as an unsigned integer. Possible values are specified in Table 3. This parameter MAY be included. If the parameter is omitted, the default value of 0, i.e., the role "6TiSCH Node", MUST be assumed.

role: プレッジが参加後にネットワークで担うことを要求する役割の識別子で、符号なし整数として符号化されます。取り得る値は表3で規定されています。このパラメータは含めてもよいです (MAY)。このパラメータが省略された場合は、デフォルト値の0、すなわち役割「6TiSCH Node」を想定しなければなりません (MUST)。

network identifier: The identifier of the network, as discussed in Section 3, encoded as a CBOR byte string. When present in the Join_Request, it hints to the JRC which network the pledge is requesting to join, enabling the JRC to manage multiple networks. The pledge obtains the value of the network identifier from the received EB frames. This parameter MUST be included in a Join_Request object regardless of the role parameter value.

network identifier: セクション3で論じたネットワークの識別子で、CBORのバイト列として符号化されます。Join_Requestに存在する場合、プレッジがどのネットワークへの参加を要求しているかをJRCに示し、JRCが複数のネットワークを管理できるようにします。プレッジは、受信したEBフレームからネットワーク識別子の値を取得します。このパラメータは、roleパラメータの値にかかわらず、Join_Requestオブジェクトに含めなければなりません (MUST)。

unsupported configuration: The identifier of the parameters that are not supported by the implementation, encoded as an Unsupported_Configuration object described in Section 8.4.5. This parameter MAY be included. If a (6LBR) pledge previously attempted to join and received a valid Join Response message over OSCORE but failed to act on its payload (Configuration object), it SHOULD include this parameter to facilitate the recovery and debugging.

unsupported configuration: 実装がサポートしていないパラメータの識別子で、セクション8.4.5で説明するUnsupported_Configurationオブジェクトとして符号化されます。このパラメータは含めてもよいです (MAY)。(6LBR) プレッジが以前に参加を試み、OSCORE経由で有効なJoin Responseメッセージを受信したものの、そのペイロード(Configurationオブジェクト)を処理できなかった場合、回復とデバッグを容易にするために、このパラメータを含めるべきです (SHOULD)。

Table 2 summarizes the parameters that may appear in a Join_Request object.

表2は、Join_Requestオブジェクトに表示されるパラメータをまとめたものです。

         +===========================+=======+==================+
         | Name                      | Label | CBOR Type        |
         +===========================+=======+==================+
         | role                      | 1     | unsigned integer |
         +---------------------------+-------+------------------+
         | network identifier        | 5     | byte string      |
         +---------------------------+-------+------------------+
         | unsupported configuration | 8     | array            |
         +---------------------------+-------+------------------+
        

Table 2: Summary of Join_Request parameters.

表2:Join_Requestパラメータの概要。

The CDDL fragment that represents the text above for the Join_Request follows:

Join_Requestの上記のテキストを表すCDDLフラグメントは次のとおりです。

   Join_Request = {
       ? 1 : uint,                       ; role
         5 : bstr,                       ; network identifier
       ? 8 : Unsupported_Configuration   ; unsupported configuration
   }
        
       +========+=======+==============================+===========+
       | Name   | Value | Description                  | Reference |
       +========+=======+==============================+===========+
       | 6TiSCH | 0     | The pledge requests to play  | RFC 9031  |
       | Node   |       | the role of a regular 6TiSCH |           |
       |        |       | node, i.e., non-6LBR node.   |           |
       +--------+-------+------------------------------+-----------+
       | 6LBR   | 1     | The pledge requests to play  | RFC 9031  |
       |        |       | the role of 6LoWPAN Border   |           |
       |        |       | Router (6LBR).               |           |
       +--------+-------+------------------------------+-----------+
        

Table 3: Role values.

表3:役割の値。

8.4.2. Configuration Object
8.4.2. 構成オブジェクト

The Configuration structure is built on a CBOR map object. The set of parameters that can appear in a Configuration object is summarized below. The labels can be found in "Constrained Join Protocol (CoJP) Parameters" registry, Section 11.1.

構成構造はCBOR MAPオブジェクトに構築されています。構成オブジェクトに表示できるパラメータのセットは以下のとおりです。ラベルは、「制約付き結合プロトコル(CoJP)パラメータ」レジストリ、セクション11.1にあります。

link-layer key set: An array encompassing a set of cryptographic keys and their identifiers that are currently in use in the network or that are scheduled to be used in the future. The encoding of individual keys is described in Section 8.4.3. The link-layer key set parameter MAY be included in a Configuration object. When present, the link-layer key set parameter MUST contain at least one key. This parameter is also used to implement rekeying in the network. The installation and use of keys differs for the 6LBR and other (regular) nodes, and this is explained in Sections 8.4.3.1 and 8.4.3.2.

link-layer key set: ネットワーク内で現在使用されているか、または将来使用される予定の暗号鍵とその識別子のセットを含む配列です。個々の鍵のエンコーディングはセクション8.4.3で説明されています。link-layer key setパラメータはConfigurationオブジェクトに含まれてもよいです (MAY)。存在する場合、link-layer key setパラメータには少なくとも1つの鍵が含まれていなければなりません (MUST)。このパラメータは、ネットワーク内での再鍵設定を実装するためにも使用されます。鍵のインストールと使用は6LBRと他の(通常の)ノードで異なり、これはセクション8.4.3.1および8.4.3.2で説明されています。

short identifier: A compact identifier assigned to the pledge. The short identifier structure is described in Section 8.4.4. The short identifier parameter MAY be included in a Configuration object.

short identifier: プレッジに割り当てられたコンパクトな識別子です。short identifierの構造はセクション8.4.4で説明されています。short identifierパラメータはConfigurationオブジェクトに含まれてもよいです (MAY)。

JRC address: The IPv6 address of the JRC, encoded as a byte string, with the length of 16 bytes. If the length of the byte string is different from 16, the parameter MUST be discarded. If the JRC is not co-located with the 6LBR and has a different IPv6 address than the 6LBR, this parameter MUST be included. In the special case where the JRC is co-located with the 6LBR and has the same IPv6 address as the 6LBR, this parameter MAY be included. If the JRC address parameter is not present in the Configuration object, this indicates that the JRC has the same IPv6 address as the 6LBR. The joined node can then discover the IPv6 address of the JRC through network control traffic. See Section 6.

JRC address: 16バイトの長さのバイト文字列としてエンコードされたJRCのIPv6アドレスです。バイト文字列の長さが16と異なる場合、パラメータは破棄されなければなりません (MUST)。JRCが6LBRと同じ場所に配置されておらず、6LBRとは異なるIPv6アドレスを持つ場合、このパラメータを含めなければなりません (MUST)。JRCが6LBRと同じ場所に配置され、6LBRと同じIPv6アドレスを持つ特別な場合、このパラメータを含めてもよいです (MAY)。ConfigurationオブジェクトにJRC addressパラメータが存在しない場合、これはJRCが6LBRと同じIPv6アドレスを持つことを示します。結合済みノードは、ネットワーク制御トラフィックを通じてJRCのIPv6アドレスを検出できます(セクション6を参照)。

blacklist: An array encompassing a list of pledge identifiers that are blacklisted by the JRC, with each pledge identifier encoded as a byte string. The blacklist parameter MAY be included in a Configuration object. When present, the array MUST contain zero or more byte strings encoding pledge identifiers. The joined node MUST silently drop any link-layer frames originating from the pledge identifiers enclosed in the blacklist parameter. When this parameter is received, its value MUST overwrite any previously set values. This parameter allows the JRC to configure the node acting as a JP to filter out traffic from misconfigured or malicious pledges before their traffic is forwarded into the network. If the JRC decides to remove a given pledge identifier from a blacklist, it omits the pledge identifier in the blacklist parameter value it sends next. Since the blacklist parameter carries the pledge identifiers, privacy considerations apply. See Section 10.

blacklist: JRCによってブラックリストに登録されたプレッジ識別子のリストを含む配列であり、各プレッジ識別子はバイト文字列としてエンコードされます。blacklistパラメータはConfigurationオブジェクトに含まれてもよいです (MAY)。存在する場合、配列にはプレッジ識別子をエンコードする0個以上のバイト文字列が含まれていなければなりません (MUST)。結合済みノードは、blacklistパラメータに含まれるプレッジ識別子から発信されたいかなるリンク層フレームもサイレントに破棄しなければなりません (MUST)。このパラメータを受信した際、その値は以前に設定されたすべての値を上書きしなければなりません (MUST)。このパラメータにより、JRCはJPとして動作するノードを設定して、誤設定されたプレッジや悪意のあるプレッジからのトラフィックがネットワーク内に転送される前にフィルタリングして除外できます。JRCが特定のプレッジ識別子をブラックリストから削除することを決定した場合、次に送信するblacklistパラメータ値においてそのプレッジ識別子を省略します。blacklistパラメータはプレッジ識別子を伝送するため、プライバシー上の考慮事項が適用されます(セクション10を参照)。

join rate: The average data rate (in units of bytes/second) of join traffic forwarded into the network that should not be exceeded when a joined node operates as a JP, encoded as an unsigned integer. The join rate parameter MAY be included in a Configuration object. This parameter allows the JRC to configure different nodes in the network to operate as JP and to act in case of an attack by throttling the rate at which JP forwards unauthenticated traffic into the network. When this parameter is present in a Configuration object, the value MUST be used to set the PROBING_RATE of CoAP at the joined node for communication with the JRC. If this parameter is set to zero, a joined node MUST silently drop any join traffic coming from unauthenticated pledges. If this parameter is omitted, the value of positive infinity SHOULD be assumed. A node operating as a JP MAY use another mechanism that is out of scope of this specification to configure the PROBING_RATE of CoAP in the absence of a join rate parameter from the Configuration object.

join rate: 結合済みノードがJPとして動作する際に超えるべきではない、ネットワーク内に転送される結合トラフィックの平均データレート(バイト/秒単位)であり、符号なし整数としてエンコードされます。join rateパラメータはConfigurationオブジェクトに含まれてもよいです (MAY)。このパラメータにより、JRCはネットワーク内の異なるノードをJPとして動作するように設定し、JPが未認証のトラフィックをネットワーク内に転送するレートを抑制することによって攻撃に対処できます。Configurationオブジェクトにこのパラメータが存在する場合、結合済みノードにおけるJRCとの通信のためのCoAPのPROBING_RATEを設定するためにその値を使用しなければなりません (MUST)。このパラメータがゼロに設定されている場合、結合済みノードは未認証のプレッジから来るすべての結合トラフィックをサイレントに破棄しなければなりません (MUST)。このパラメータが省略された場合、正の無限大の値が想定されるべきです (SHOULD)。JPとして動作するノードは、Configurationオブジェクトからのjoin rateパラメータが存在しない場合、CoAPのPROBING_RATEを設定するために本仕様の範囲外である別のメカニズムを使用してもよいです (MAY)。

Table 4 summarizes the parameters that may appear in a Configuration object.

表4は、構成オブジェクトに表示される可能性があるパラメータをまとめたものです。

             +====================+=======+==================+
             | Name               | Label | CBOR Type        |
             +====================+=======+==================+
             | link-layer key set | 2     | array            |
             +--------------------+-------+------------------+
             | short identifier   | 3     | array            |
             +--------------------+-------+------------------+
             | JRC address        | 4     | byte string      |
             +--------------------+-------+------------------+
             | blacklist          | 6     | array            |
             +--------------------+-------+------------------+
             | join rate          | 7     | unsigned integer |
             +--------------------+-------+------------------+
        

Table 4: Summary of Configuration parameters.

表4:構成パラメータの概要

The CDDL fragment that represents the text above for the Configuration follows. The structures Link_Layer_Key and Short_Identifier are specified in Sections 8.4.3 and 8.4.4, respectively.

上記のテキストを表すCDDLフラグメントは次のとおりです。構造物Link_Layer_KeyとShort_Identifierは、それぞれ8.4.3と8.4.4で指定されています。

   Configuration = {
       ? 2 : [ +Link_Layer_Key ],   ; link-layer key set
       ? 3 : Short_Identifier,      ; short identifier
       ? 4 : bstr,                  ; JRC address
       ? 6 : [ *bstr ],             ; blacklist
       ? 7 : uint                   ; join rate
   }
        
   +===============+=======+==========+====================+===========+
   | Name          | Label | CBOR     | Description        | Reference |
   |               |       | type     |                    |           |
   +===============+=======+==========+====================+===========+
   | role          | 1     | unsigned | Identifies the     | RFC 9031  |
   |               |       | integer  | role parameter     |           |
   +---------------+-------+----------+--------------------+-----------+
   | link-layer    | 2     | array    | Identifies the     | RFC 9031  |
   | key set       |       |          | array carrying     |           |
   |               |       |          | one or more        |           |
   |               |       |          | link-layer         |           |
   |               |       |          | cryptographic      |           |
   |               |       |          | keys               |           |
   +---------------+-------+----------+--------------------+-----------+
   | short         | 3     | array    | Identifies the     | RFC 9031  |
   | identifier    |       |          | assigned short     |           |
   |               |       |          | identifier         |           |
   +---------------+-------+----------+--------------------+-----------+
   | JRC address   | 4     | byte     | Identifies the     | RFC 9031  |
   |               |       | string   | IPv6 address       |           |
   |               |       |          | of the JRC         |           |
   +---------------+-------+----------+--------------------+-----------+
   | network       | 5     | byte     | Identifies the     | RFC 9031  |
   | identifier    |       | string   | network            |           |
   |               |       |          | identifier         |           |
   |               |       |          | parameter          |           |
   +---------------+-------+----------+--------------------+-----------+
   | blacklist     | 6     | array    | Identifies the     | RFC 9031  |
   |               |       |          | blacklist          |           |
   |               |       |          | parameter          |           |
   +---------------+-------+----------+--------------------+-----------+
   | join rate     | 7     | unsigned | Identifier the     | RFC 9031  |
   |               |       | integer  | join rate          |           |
   |               |       |          | parameter          |           |
   +---------------+-------+----------+--------------------+-----------+
   | unsupported   | 8     | array    | Identifies the     | RFC 9031  |
   | configuration |       |          | unsupported        |           |
   |               |       |          | configuration      |           |
   |               |       |          | parameter          |           |
   +---------------+-------+----------+--------------------+-----------+
        

Table 5: CoJP parameters map labels.

表5:CoJPパラメータマップラベル。

8.4.3. リンクレイヤキー
8.4.3.1. Rekeying of 6LBRs
8.4.3.1. 6LBRSの生き返り

When the 6LBR receives the Configuration object containing a link-layer key set, it MUST immediately install and start using the new keys for all outgoing traffic and remove any old keys it has installed from the previous key set after a delay of COJP_REKEYING_GUARD_TIME has passed. This mechanism is used by the JRC to force the 6LBR to start sending traffic with the new key. The decision is made by the JRC when it has determined that the new key has been made available to all (or some overwhelming majority) of nodes. Any node that the JRC has not yet reached at that point is either nonfunctional or in extended sleep such that it will not be reached. To get the key update, such a node will need to go through the join process anew.

6LBRは、リンク層の鍵セットを含むConfigurationオブジェクトを受信した場合、ただちに新しい鍵をインストールしてすべての送信トラフィックに使い始め、COJP_REKEYING_GUARD_TIMEの遅延が経過した後に、以前の鍵セットからインストールしていた古い鍵を削除しなければなりません (MUST)。この仕組みは、JRCが6LBRに新しい鍵でトラフィックの送信を開始させるために使用されます。この判断は、新しい鍵がすべての(または圧倒的多数の)ノードで利用可能になったとJRCが判断した時点で行われます。その時点でJRCがまだ到達できていないノードは、機能していないか、到達できないほど長いスリープ状態にあります。鍵の更新を得るには、そのようなノードは参加処理を改めて行う必要があります。

8.4.3.2. Rekeying of 6LNs
8.4.3.2. 6LNSの回復

When a regular 6LN receives the Configuration object with a link-layer key set, it MUST install the new keys. The 6LN will use both the old and the new keys to decrypt and authenticate any incoming traffic that arrives based upon the key identifier in the packet. It MUST continue to use the old keys for all outgoing traffic until it has detected that the network has switched to the new key set.

通常の6LNは、リンク層の鍵セットを含むConfigurationオブジェクトを受信した場合、新しい鍵をインストールしなければなりません (MUST)。6LNは、パケット内の鍵識別子に基づいて、到着するすべての受信トラフィックの復号と認証に古い鍵と新しい鍵の両方を使用します。6LNは、ネットワークが新しい鍵セットに切り替わったことを検出するまでは、すべての送信トラフィックに古い鍵を使い続けなければなりません (MUST)。

The detection of the network switch is based upon the receipt of traffic secured with the new keys. Upon the reception and the successful security processing of a link-layer frame secured with a key from the new key set, a 6LN MUST then switch to sending all outgoing traffic using the keys from the new set. The 6LN MUST remove any keys it had installed from the previous key set after waiting COJP_REKEYING_GUARD_TIME since it started using the new key set.

ネットワークの切り替えの検出は、新しい鍵で保護されたトラフィックの受信に基づきます。新しい鍵セットの鍵で保護されたリンク層フレームを受信し、そのセキュリティ処理に成功したら、6LNは、すべての送信トラフィックを新しいセットの鍵を使って送信するように切り替えなければなりません (MUST)。6LNは、新しい鍵セットを使い始めてからCOJP_REKEYING_GUARD_TIMEだけ待った後、以前の鍵セットからインストールしていた鍵を削除しなければなりません (MUST)。

Sending traffic with the new keys signals to other downstream nodes to switch to their new key, causing a ripple of key updates around each 6LBR.

新しいキーを他のダウンストリームノードに送信するトラフィックを送信して新しいキーに切り替わり、各6LBRの周囲にキーアップデートのリップルが発生します。

8.4.3.3. Use in IEEE Std 802.15.4
8.4.3.3. IEEE STD 802.15.4での使用

When Link_Layer_Key is used in the context of [IEEE802.15.4], the following considerations apply.

[IEEE802.15.4]のコンテキストでLink_Layer_Keyが使用されている場合、以下の考慮事項が適用されます。

Signaling of different keying modes of [IEEE802.15.4] is done based on the parameter values present in a Link_Layer_Key object. For instance, the value of the key_id parameter in combination with key_addinfo denotes which of the four Key ID modes of [IEEE802.15.4] is used and how.

[IEEE802.15.4]の異なるキーイングモードのシグナリングは、Link_Layer_Keyオブジェクトに存在するパラメータ値に基づいて行われます。たとえば、key_addinfoと組み合わせたkey_idパラメーターの値は、[IEEE802.15.4]の4つのキーIDモードのどれを使用していますか。

Key ID Mode 0x00 (Implicit, pairwise): The key_id parameter MUST be set to 0. The key_addinfo parameter MUST be present. The key_addinfo parameter MUST be set to the link-layer address(es) of a single peer with whom the key should be used. Depending on the configuration of the network, key_addinfo may carry the peer's long link-layer address (i.e., pledge identifier), short link-layer address, or their concatenation with the long address being encoded first. Which address type(s) is carried is determined from the length of the byte string.

Key ID Mode 0x00(暗黙的、ペアごと): key_idパラメータは0に設定しなければなりません (MUST)。key_addinfoパラメータは存在しなければなりません (MUST)。key_addinfoパラメータは、その鍵を一緒に使用すべき単一のピアのリンク層アドレスに設定しなければなりません (MUST)。ネットワークの設定によって、key_addinfoは、ピアの長いリンク層アドレス(すなわちプレッジ識別子)、短いリンク層アドレス、またはそれらを長いアドレスを先にして連結したものを運びます。どのアドレスタイプが運ばれるかは、バイト列の長さから判断されます。

Key ID Mode 0x01 (Key Index): The key_id parameter MUST be set to a value different from 0. The key_addinfo parameter MUST NOT be present.

Key ID Mode 0x01 (Key Index): key_idパラメータは0以外の値に設定しなければなりません (MUST)。key_addinfoパラメータは存在してはなりません (MUST NOT)。

Key ID Mode 0x02 (4-byte Explicit Key Source): The key_id parameter MUST be set to a value different from 0. The key_addinfo parameter MUST be present. The key_addinfo parameter MUST be set to a byte string, exactly 4 bytes long. The key_addinfo parameter carries the Key Source parameter used to configure [IEEE802.15.4].

Key ID Mode 0x02(4バイトの明示的なKey Source): key_idパラメータは0以外の値に設定しなければなりません (MUST)。key_addinfoパラメータは存在しなければなりません (MUST)。key_addinfoパラメータは、ちょうど4バイトの長さのバイト列に設定しなければなりません (MUST)。key_addinfoパラメータは、[IEEE802.15.4] の設定に使用されるKey Sourceパラメータを運びます。

Key ID Mode 0x03 (8-byte Explicit Key Source): The key_id parameter MUST be set to a value different from 0. The key_addinfo parameter MUST be present. The key_addinfo parameter MUST be set to a byte string, exactly 8 bytes long. The key_addinfo parameter carries the Key Source parameter used to configure [IEEE802.15.4].

Key ID Mode 0x03(8バイトの明示的なKey Source): key_idパラメータは0以外の値に設定しなければなりません (MUST)。key_addinfoパラメータは存在しなければなりません (MUST)。key_addinfoパラメータは、ちょうど8バイトの長さのバイト列に設定しなければなりません (MUST)。key_addinfoパラメータは、[IEEE802.15.4] の設定に使用されるKey Sourceパラメータを運びます。

In all cases, the key_usage parameter determines how a particular key should be used with respect to incoming and outgoing security policies.

すべての場合において、key_usageパラメータは、着信および発信セキュリティポリシーに関して特定のキーをどのように使用するかを決定します。

For Key ID Modes 0x01 through 0x03, the key_id parameter sets the "secKeyIndex" parameter of [IEEE802.15.4] that is signaled in all outgoing frames secured with a given key. The maximum value that key_id can have is 254. The value of 255 is reserved in [IEEE802.15.4] and is therefore considered invalid.

キーIDモード0x01~0x03の場合、key_idパラメータは、指定されたキーで保護されたすべての発信フレームでシグナリングされている[IEEE802.15.4]の「secKeyIndex」パラメータを設定します。key_idが持つことができる最大値は254です.255の値は[IEEE802.15.4]に予約されており、したがって無効と見なされます。

Key ID Mode 0x00 (Implicit, pairwise) enables the JRC to act as a trusted third party and assign pairwise keys between nodes in the network. How the JRC learns about the network topology is out of scope of this specification, but it could be done through 6LBR-JRC signaling, for example. Pairwise keys could also be derived through a key agreement protocol executed between the peers directly, where the authentication is based on the symmetric cryptographic material provided to both peers by the JRC. Such a protocol is out of scope of this specification.

キーIDモード0x00(暗黙的、ペアワイズ)は、JRCが信頼できる第三者として機能し、ネットワーク内のノード間でペアワイズキーを割り当てることができます。ネットワークトポロジについてJRCがどのように学習するかは、この仕様の範囲外ですが、たとえば6LBR-JRCシグナリングを通じて行うことができます。ペアワイズキーは、ピア間で直接実行されるキー契約プロトコルを通じて、認証はJRCによって両方のピアに提供される対称暗号材料に基づいています。そのようなプロトコルはこの仕様の範囲外です。

Implementations MUST use different link-layer keys when using different authentication tag (MIC) lengths, as using the same key with different authentication tag lengths might be unsafe. For example, this prohibits the usage of the same key for both MIC-32 and MIC-64 levels. See Annex B.4.3 of [IEEE802.15.4] for more information.

異なる認証タグ (MIC) の長さを使用する場合、実装は異なるリンク層の鍵を使用しなければなりません (MUST)。同じ鍵を異なる認証タグの長さで使うことは安全でない可能性があるためです。たとえば、これにより、MIC-32とMIC-64の両方のレベルで同じ鍵を使うことは禁止されます。詳しくは [IEEE802.15.4] の附属書B.4.3を参照してください。

8.4.4. Short Identifier
8.4.4. 短識別子

The Short_Identifier object represents an identifier assigned to the pledge. It is encoded as a CBOR array object and contains, in order:

Short_Identifierオブジェクトは、誓約に割り当てられている識別子を表します。これはCBOR配列オブジェクトとしてエンコードされ、次のようになります。

identifier: The short identifier assigned to the pledge, encoded as a byte string. This parameter MUST be included. The identifier MUST be unique in the set of all identifiers assigned in a network that is managed by a JRC. If the identifier is invalid, the decoder MUST silently ignore the Short_Identifier object.

identifier: プレッジに割り当てられた短い識別子で、バイト列として符号化されます。このパラメータは含めなければなりません (MUST)。この識別子は、JRCが管理するネットワークで割り当てられたすべての識別子の集合の中で一意でなければなりません (MUST)。識別子が無効な場合、復号器はShort_Identifierオブジェクトを黙って無視しなければなりません (MUST)。

lease_time: The validity of the identifier in hours after the reception of the CBOR object, encoded as a CBOR unsigned integer. This parameter MAY be included. The node MUST stop using the assigned short identifier after the expiry of the lease_time interval. It is up to the JRC to renew the lease before the expiry of the previous interval. The JRC updates the lease by executing the parameter update exchange with the node and including the Short_Identifier in the Configuration object, as described in Section 8.2. If the lease expires, then the node SHOULD initiate a new join exchange, as described in Section 8.1. If this parameter is omitted, then the value of positive infinity MUST be assumed, meaning that the identifier is valid for as long as the node participates in the network.

lease_time: CBORオブジェクトの受信後、識別子が有効である時間数で、CBORの符号なし整数として符号化されます。このパラメータは含めてもよいです (MAY)。ノードは、lease_timeの期間が満了した後は、割り当てられた短い識別子の使用をやめなければなりません (MUST)。以前の期間が満了する前にリースを更新するのはJRCの役目です。JRCは、セクション8.2で説明するように、ノードとパラメータ更新のやり取りを行い、ConfigurationオブジェクトにShort_Identifierを含めることでリースを更新します。リースが満了した場合、ノードはセクション8.1で説明するように、新たな参加のやり取りを開始すべきです (SHOULD)。このパラメータが省略された場合は、正の無限大の値を想定しなければならず (MUST)、これは、ノードがネットワークに参加している限り識別子が有効であることを意味します。

The CDDL fragment for the Short_Identifier that represents the text above follows:

上記のテキストを表すShort_IdentifierのCDDLフラグメントは次のとおりです。

   Short_Identifier = [
         identifier        : bstr,
       ? lease_time        : uint
   ]
        
8.4.4.1. Use in IEEE Std 802.15.4
8.4.4.1. IEEE STD 802.15.4での使用

When the Short_Identifier is used in the context of [IEEE802.15.4], the following considerations apply.

[IEEE802.15.4]のコンテキストでShort_Identifierが使用されている場合、以下の考慮事項が適用されます。

The identifier MUST be used to set the short address of the IEEE Std 802.15.4 module. When operating in TSCH mode, the identifier MUST be unique in the set of all identifiers assigned in multiple networks that share link-layer key(s). If the length of the byte string corresponding to the identifier parameter is different from 2, the identifier is considered invalid. The values 0xfffe and 0xffff are reserved by [IEEE802.15.4], and their use is considered invalid.

この識別子は、IEEE Std 802.15.4モジュールのショートアドレスを設定するために使用しなければなりません (MUST)。TSCHモードで動作する場合、この識別子は、リンク層の鍵を共有する複数のネットワークで割り当てられたすべての識別子の集合の中で一意でなければなりません (MUST)。identifierパラメータに対応するバイト列の長さが2でない場合、その識別子は無効とみなされます。値0xfffeと0xffffは [IEEE802.15.4] によって予約されており、それらの使用は無効とみなされます。

The security properties offered by the [IEEE802.15.4] link-layer in TSCH mode are conditioned on the uniqueness requirement of the short identifier (i.e., short address). The short address is one of the inputs in the construction of the nonce, which is used to protect link-layer frames. If a misconfiguration occurs, and the same short address is assigned twice under the same link-layer key, the loss of security properties is imminent. For this reason, practices where the pledge generates the short identifier locally are not safe and are likely to result in the loss of link-layer security properties.

TSCHモードの[IEEE802.15.4]リンク層が提供するセキュリティプロパティは、短識別子の一意性要件(すなわち、短いアドレス)で調整される。短いアドレスは、リンク層のフレームを保護するために使用されるNonceの構築における入力の1つです。誤構成が発生し、同じ短いアドレスが同じリンクレイヤキーの下で2回割り当てられている場合、セキュリティプロパティの損失は差し迫っています。このため、誓約が短識別子をローカルに生成する慣行は安全ではなく、リンク層のセキュリティプロパティの損失をもたらす可能性があります。

The JRC MUST ensure that at any given time there are never two of the same short identifiers being used under the same link-layer key. If the lease_time parameter of a given Short_Identifier object is set to positive infinity, care needs to be taken that the corresponding identifier is not assigned to another node until the JRC is certain that it is no longer in use, potentially through out-of-band signaling. If the lease_time parameter expires for any reason, the JRC should take into consideration potential ongoing transmissions by the joined node, which may be hanging in the queues, before assigning the same identifier to another node.

JRCは、同じリンク層の鍵の下で、同じ短い識別子が同時に2つ使われることが決してないことを保証しなければなりません (MUST)。あるShort_Identifierオブジェクトのlease_timeパラメータが正の無限大に設定されている場合、その識別子がもはや使用されていないことをJRCが(場合によっては帯域外のシグナリングによって)確信できるまで、対応する識別子を別のノードに割り当てないよう注意する必要があります。何らかの理由でlease_timeパラメータが満了した場合、JRCは、同じ識別子を別のノードに割り当てる前に、キューに残っている可能性のある、参加済みノードによる進行中の送信を考慮すべきです。

Care needs to be taken on how the pledge (joined node) configures the expiration of the lease. Since units of the lease_time parameter are in hours after the reception of the CBOR object, the pledge needs to convert the received time to the corresponding Absolute Slot Number in the network. The joined node (pledge) MUST only use the Absolute Slot Number as the appropriate reference of time to determine whether the assigned short identifier is still valid.

プレッジ(参加済みノード)がリースの満了をどのように設定するかについては注意が必要です。lease_timeパラメータの単位はCBORオブジェクトの受信後の時間数であるため、プレッジは受信した時間を、ネットワークにおける対応するAbsolute Slot Numberに変換する必要があります。参加済みノード(プレッジ)は、割り当てられた短い識別子がまだ有効かどうかを判断するための適切な時間の基準として、Absolute Slot Numberのみを使用しなければなりません (MUST)。

8.4.5. Unsupported Configuration Object
8.4.5. サポートされていない構成オブジェクト

The Unsupported_Configuration object is encoded as a CBOR array, containing at least one Unsupported_Parameter object. Each Unsupported_Parameter object is a sequence of CBOR elements without an enclosing top-level CBOR object for compactness. The set of parameters that appear in an Unsupported_Parameter object is summarized below, in order:

Unsupported_Configurationオブジェクトは、少なくとも1つのUnsupported_Parameterオブジェクトを含むCBOR配列としてエンコードされています。各Unsupported_Parameterオブジェクトは、コンパクトさのために囲まれた最上位炭素オブジェクトなしのCBOR要素のシーケンスです。Unsupported_Parameterオブジェクトに表示されるパラメータのセットは、以下に要約されています。

code: Indicates the capability of acting on the parameter signaled by parameter_label, encoded as an integer. This parameter MUST be included. Possible values of this parameter are specified in the IANA "Constrained Join Protocol (CoJP) Unsupported Configuration Codes" registry (Section 11.3).

code: parameter_labelで示されたパラメータを処理できるかどうかを示し、整数として符号化されます。このパラメータは含めなければなりません (MUST)。このパラメータの取り得る値は、IANAの「Constrained Join Protocol (CoJP) Unsupported Configuration Codes」レジストリ(セクション11.3)で規定されています。

parameter_label: Indicates the parameter. This parameter MUST be included. Possible values of this parameter are specified in the label column of the IANA "Constrained Join Protocol (CoJP) Parameters" registry" (Section 11.1).

parameter_label: パラメータを示します。このパラメータは含めなければなりません (MUST)。このパラメータの取り得る値は、IANAの「Constrained Join Protocol (CoJP) Parameters」レジストリ(セクション11.1)のlabel列で規定されています。

parameter_addinfo: Additional information about the parameter that cannot be acted upon. This parameter MUST be included. If the code is set to "Unsupported", parameter_addinfo gives additional information to the JRC. If the parameter indicated by parameter_label cannot be acted upon regardless of its value, parameter_addinfo MUST be set to null, signaling to the JRC that it SHOULD NOT attempt to configure the parameter again. If the pledge can act on the parameter, but cannot configure the setting indicated by the parameter value, the pledge can hint this to the JRC. In this case, parameter_addinfo MUST be set to the value of the parameter that cannot be acted upon following the normative parameter structure specified in this document. For example, it is possible to include the link-layer key set object, signaling that either a subset or the entire key set that was received cannot be acted upon. In that case, the value of parameter_addinfo follows the link-layer key set structure defined in Section 8.4.2. If the code is set to "Malformed", parameter_addinfo MUST be set to null, signaling to the JRC that it SHOULD NOT attempt to configure the parameter again.

parameter_addinfo: 処理できないパラメータに関する追加情報です。このパラメータは含めなければなりません (MUST)。codeが「Unsupported」に設定されている場合、parameter_addinfoはJRCに追加情報を与えます。parameter_labelで示されたパラメータがその値にかかわらず処理できない場合、parameter_addinfoはnullに設定されなければならず (MUST)、それによってJRCに対し、そのパラメータを再び設定しようとすべきではない (SHOULD NOT) ことを通知します。プレッジがパラメータ自体は処理できるものの、パラメータの値が示す設定を行えない場合、プレッジはそのことをJRCに示唆できます。この場合、parameter_addinfoは、本文書で規定する規範的なパラメータ構造に従って、処理できないパラメータの値に設定されなければなりません (MUST)。たとえば、リンク層の鍵セットオブジェクトを含めて、受信した鍵セットの一部または全体を処理できないことを通知できます。その場合、parameter_addinfoの値は、セクション8.4.2で定義されるリンク層の鍵セットの構造に従います。codeが「Malformed」に設定されている場合、parameter_addinfoはnullに設定されなければならず (MUST)、それによってJRCに対し、そのパラメータを再び設定しようとすべきではない (SHOULD NOT) ことを通知します。

The CDDL fragment for the Unsupported_Configuration and Unsupported_Parameter objects that represents the text above follows:

上記のテキストを表すUnsupported_Configurationおよびsupported_parameterオブジェクトのCDDLフラグメント。

   Unsupported_Configuration = [
          + parameter           : Unsupported_Parameter
   ]
        
   Unsupported_Parameter = (
            code                : int,
            parameter_label     : int,
            parameter_addinfo   : nil / any
   )
        
    +=============+=======+==============================+===========+
    | Name        | Value | Description                  | Reference |
    +=============+=======+==============================+===========+
    | Unsupported | 0     | The indicated setting is not | RFC 9031  |
    |             |       | supported by the networking  |           |
    |             |       | stack implementation.        |           |
    +-------------+-------+------------------------------+-----------+
    | Malformed   | 1     | The indicated parameter      | RFC 9031  |
    |             |       | value is malformed.          |           |
    +-------------+-------+------------------------------+-----------+
        

Table 7: Unsupported Configuration code values.

表7:サポートされていない構成コード値。

8.5. 推奨設定
9. Security Considerations
9. セキュリティに関する考慮事項

Since this document uses the pledge identifier to set the ID Context parameter of OSCORE, an important security requirement is that the pledge identifier is unique in the set of all pledge identifiers managed by a JRC. The uniqueness of the pledge identifier ensures unique (key, nonce) pairs for the AEAD algorithm used by OSCORE. It also allows the JRC to retrieve the correct security context upon the reception of a Join Request message. The management of pledge identifiers is simplified if the globally unique EUI-64 is used, but this comes with privacy risks, as discussed in Section 10.

このドキュメントはPELDGED IDを使用してOSCOREのIDコンテキストパラメータを設定するため、重要なセキュリティ要件は、JRCによって管理されているすべての誓約識別子のセット内で一意であることです。PELDGED IDの一意性は、OSCOREによって使用されるAEDアルゴリズムのための固有の(キー、NONCE)ペアを保証します。また、JRCは、結合要求メッセージを受信したときに正しいセキュリティコンテキストを検索することもできます。グローバルにユニークなEUI-64が使用されている場合、誓約識別子の管理は単純化されていますが、セクション10で説明したように、プライバシーリスクが付属しています。

This document further mandates that the (6LBR) pledge and the JRC are provisioned with unique PSKs. While the process of provisioning PSKs to all pledges can result in a substantial operational overhead, it is vital to do so for the security properties of the network. The PSK is used to set the OSCORE Master Secret during security context derivation. This derivation process results in OSCORE keys that are important for mutual authentication of the (6LBR) pledge and the JRC. The resulting security context shared between the pledge (joined node) and the JRC is used for the purpose of joining and is long-lived in that it can be used throughout the lifetime of a joined node for parameter update exchanges. Should an attacker come to know the PSK, then a man-in-the-middle attack is possible.

この文書では、(6LBR)の誓約とJRCに固有のPSKがプロビジョニングされていることをさらに説明します。PSKをすべてのPLEDGESにプロビジョニングするプロセスは、実質的な操作上のオーバーヘッドをもたらす可能性がありますが、ネットワークのセキュリティプロパティのためにそれをすることは重要です。PSKは、セキュリティコンテキスト導出中にOSCOREマスターシークレットを設定するために使用されます。この派生プロセスは、(6LBR)誓約とJRCの相互認証にとって重要なオスアキーをもたらす。結果として生じるセキュリティコンテキストは、誓約(結合ノード)とJRCとの間で共有されているセキュリティコンテキストが結合する目的で使用され、パラメータ更新の交換のために結合されたノードの寿命を通して使用できるという点で長期にわたる。攻撃者がPSKを知るようになると、中間攻撃が可能です。

Note that while OSCORE provides replay protection, it does not provide an indication of freshness in the presence of an attacker that can drop and/or reorder traffic. Since the Join Request contains no randomness, and the sequence number is predictable, the JRC could in principle anticipate a Join Request from a particular pledge and pre-calculate the response. In such a scenario, the JRC does not have to be alive at the time the request is received. This could be relevant in the case when the JRC was temporarily compromised and control was subsequently regained by the legitimate owner.

OSCOREは再生保護を提供するが、トラフィックを削除することができる攻撃者の存在下での鮮度の表示は提供されないことに注意してください。結合要求にはランダム性が含まれず、シーケンス番号が予測可能であるため、JRCは原則として特定の誓約からの結合要求を予測し、応答を事前計算することができます。このようなシナリオでは、要求が受信された時点でJRCは生きている必要はありません。JRCが一時的に損なわれ、続いて正当な所有者によって制御された場合に関連がある可能性があります。

It is of utmost importance to avoid unsafe practices when generating and provisioning PSKs. The use of a single PSK shared among a group of devices is a common pitfall that results in poor security. In this case, the compromise of a single device is likely to lead to a compromise of the entire batch, with the attacker having the ability to impersonate a legitimate device and join the network, generate bogus data, and disturb the network operation. Additionally, some vendors use methods such as scrambling or hashing device serial numbers or their EUI-64 identifiers to generate "unique" PSKs. Without any secret information involved, the effort that the attacker needs to invest into breaking these unsafe derivation methods is quite low, resulting in the possible impersonation of any device from the batch, without even needing to compromise a single device. The use of cryptographically secure random number generators to generate the PSK is RECOMMENDED, see [NIST800-90A] for different mechanisms using deterministic methods.

PSKを生成およびプロビジョニングする際には、安全でない慣行を回避することが極めて重要です。デバイスのグループ間で共有される単一のPSKの使用は、貧弱なセキュリティをもたらす一般的な落とし穴です。この場合、単一のデバイスの侵害がバッチ全体の侵害につながる可能性が高く、攻撃者が正当なデバイスになりすましてネットワークに結合し、偽のデータを生成し、ネットワーク動作を妨害できるようになります。さらに、一部のベンダーは、デバイスのシリアル番号やEUI-64識別子のスクランブルやハッシュなどの方法を使用して「一意の」PSKを生成します。秘密情報が関与していないため、攻撃者がこれらの安全でない導出方法を破るために投資する必要がある労力は非常に低く、単一のデバイスを侵害することすら必要とせずに、バッチ内の任意のデバイスのなりすましが可能になります。PSKを生成するために暗号論的に安全な乱数生成器を使用することが推奨されます (RECOMMENDED)。決定論的方法を使用したさまざまなメカニズムについては [NIST800-90A] を参照してください。

The JP forwards the unauthenticated join traffic into the network. A data cap on the JP prevents it from forwarding more traffic than the network can handle and enables throttling in case of an attack. Note that this traffic can only be directed at the JRC so that the JRC needs to be prepared to handle such unsanitized inputs. The data cap can be configured by the JRC by including a join rate parameter in the Join Response, and it is implemented through the CoAP's PROBING_RATE setting. The use of a data cap at a JP forces attackers to use more than one JP if they wish to overwhelm the network. Marking the join traffic packets with a nonzero DSCP allows the network to carry the traffic if it has capacity, but it encourages the network to drop the extra traffic rather than add bandwidth due to that traffic.

JPは、未認証されていない結合トラフィックをネットワークに転送します。JP上のデータキャップは、ネットワークが扱うことができるよりも多くのトラフィックを転送するのを防ぎ、攻撃の場合にはスロットルを可能にします。このトラフィックはJRCにのみ向けられているため、JRCをこのような不整数型の入力を処理する準備をする必要があることに注意してください。データキャップは、結合応答に結合レートパラメータを含めることによってJRCによって構成することができ、それはCoAPのPROBING_RATE設定を通して実装される。JPでデータキャップを使用すると、ネットワークを圧倒したい場合は、攻撃者が複数のJPを使用するように強制します。ゼロ以外のDSCPを使用してTraffic Packetをマークすると、ネットワークが容量がある場合はトラフィックを伝送できますが、そのトラフィックのために帯域幅を追加するのではなく、ネットワークが追加のトラフィックを削除することを奨励します。

The shared nature of the "minimal" cell used for the join traffic makes the network prone to a DoS attack by congesting the JP with bogus traffic. Such an attacker is limited by its maximum transmit power. The redundancy in the number of deployed JPs alleviates the issue and also gives the pledge the possibility to use the best available link for joining. How a network node decides to become a JP is out of scope of this specification.

結合トラフィックに使用される「最小」セルの共有された性質は、JPを偽トラフィックで輻輳することによってネットワークをDOS攻撃に起動させる。そのような攻撃者はその最大送信電力によって制限されている。展開されたJPSの数の冗長性は問題を軽減し、参加のために最高の利用可能なリンクを使用する可能性を提供します。ネットワークノードがJPになることを決定する方法は、この仕様の範囲外です。

At the beginning of the join process, the pledge has no means of verifying the content in the EB and has to accept it at "face value". If the pledge tries to join an attacker's network, the Join Response message will either fail the security check or time out. The pledge may implement a temporary blacklist in order to filter out undesired EBs and try to join using the next seemingly valid EB. This blacklist alleviates the issue but is effectively limited by the node's available memory. Note that this temporary blacklist is different from the one communicated as part of the CoJP Configuration object as it helps the pledge fight a DoS attack. The bogus beacons prolong the join time of the pledge and so does the time spent in "minimal" duty cycle mode [RFC8180]. The blacklist communicated as part of the CoJP Configuration object helps the JP fight a DoS attack by a malicious pledge.

結合プロセスの開始時に、PredgeはEB内のコンテンツを検証する手段はありませんが、「顔の値」でそれを受け入れる必要があります。誓約が攻撃者のネットワークに参加しようとすると、結合応答メッセージはセキュリティチェックまたはタイムアウトに失敗します。誓約は、望ましくないEBSを除外し、次の一見有効なEBを使用して参加しようとするために一時的なブラックリストを実装することができる。このブラックリストは問題を軽減しますが、ノードの使用可能なメモリによって効果的に制限されています。この一時的なブラックリストは、誓約がDOS攻撃と戦うのに役立つので、CoJP構成オブジェクトの一部として通信されたものとは異なることに注意してください。Bogusビーコンは、誓約の結合時間を延ばし、そのため、「最小」デューティサイクルモード[RFC8180]に費やされた時間を過ごします。CoJP構成オブジェクトの一部として通信されたブラックリストは、JPが悪意のある誓約によるDOS攻撃と戦うのに役立ちます。

During the network lifetime, the JRC may at any time initiate a parameter update exchange with a joined node. The Parameter Update message uses the same OSCORE security context as is used for the join exchange, except that the server and client roles are interchanged. As a consequence, each Parameter Update message carries the well-known OSCORE Sender ID of the JRC. A passive attacker may use the OSCORE Sender ID to identify the Parameter Update traffic if the link-layer protection does not provide confidentiality. A countermeasure against such a traffic-analysis attack is to use encryption at the link layer. Note that the join traffic does not undergo link-layer protection at the first hop, as the pledge is not yet in possession of cryptographic keys. Similarly, EB traffic in the network is not encrypted. This makes it easy for a passive attacker to identify these types of traffic.

ネットワークの有効期間中、JRCはいつでも接続されたノードとのパラメータ更新交換を開始することができる。Parameter Updateメッセージは、サーバーとクライアントの役割が交換されている点を除いて、JOIN Exchangeに使用されるのと同じOSCOREセキュリティコンテキストを使用します。結果として、各パラメータ更新メッセージは、JRCの周知のオスア送信者IDを搬送する。パッシブ攻撃者は、リンク層保護が機密性を提供しない場合、オスア送信者IDを使用してパラメータ更新トラフィックを識別することができる。そのようなトラフィック分析攻撃に対する対策は、リンク層で暗号化を使用することです。誓約がまだ暗号鍵を所有していないので、結合トラフィックは最初のホップでリンク層保護を受けないことに注意してください。同様に、ネットワーク内のEBトラフィックは暗号化されていません。これにより、受動的な攻撃者がこれらのタイプのトラフィックを特定するのが簡単になります。

10. Privacy Considerations
10. プライバシーに関する考慮事項

The join solution specified in this document relies on the uniqueness of the pledge identifier in the set of all pledge identifiers managed by a JRC. This identifier is transferred in the clear as an OSCORE 'kid context'. The use of the globally unique EUI-64 as pledge identifier simplifies the management but comes with certain privacy risks. The implications are thoroughly discussed in [RFC7721] and comprise correlation of activities over time, location tracking, address scanning, and device-specific vulnerability exploitation. Since the join process occurs rarely compared to the network lifetime, long-term threats that arise from using EUI-64 as the pledge identifier are minimal. However, after the join process completes, the use of EUI-64 in the form of a Layer 2 or Layer 3 address extends the aforementioned privacy threats to the long term.

この文書で指定された結合ソリューションは、JRCによって管理されているすべての誓約識別子のセット内のPREDGE IDの一意性に依存しています。この識別子は、オスアの子コンテキストとしてクリアに転送されます。PLEDDE IDとしてグローバルに独自のEUI-64を使用すると、管理が簡単になりますが、特定のプライバシーリスクが付属しています。影響は[RFC7721]で徹底的に議論され、経時的、位置追跡、アドレススキャン、および装置固有の脆弱性活動の経過とともに活動の相関関係を含む。結合プロセスはネットワークの寿命と比較して行われるので、eUI-64をPELDGE-64として使用することから生じる長期的な脅威は最小限です。しかしながら、結合プロセスが完了した後、レイヤ2またはレイヤ3アドレスの形式のEUI-64の使用は、前述のプライバシーの脅威を長期的に拡張する。

As an optional mitigation technique, the Join Response message may contain a short address that is assigned by the JRC to the (6LBR) pledge. The assigned short address SHOULD be uncorrelated with the long-term pledge identifier. The short address is encrypted in the response. Once the join process completes, the new node may use the short addresses for all further Layer 2 (and Layer 3) operations. This reduces the privacy threats as the short Layer 2 address (visible even when the network is encrypted) does not disclose the manufacturer, as is the case of EUI-64. However, an eavesdropper with access to the radio medium during the join process may be able to correlate the assigned short address with the extended address based on timing information with a non-negligible probability. This probability decreases with an increasing number of pledges joining concurrently.

オプションの緩和技術として、Join ResponseメッセージにはJRCによって (6LBR) プレッジに割り当てられた短いアドレスを含めることができます。割り当てられた短いアドレスは、長期のプレッジ識別子と無相関であるべきです (SHOULD)。短いアドレスは応答内で暗号化されます。結合プロセスが完了すると、新しいノードはその後のすべてのレイヤ2(およびレイヤ3)操作にその短いアドレスを使用できます。これにより、短いレイヤ2アドレス(ネットワークが暗号化されている場合でも可視です)がEUI-64の場合のように製造元を開示しないため、プライバシーの脅威が軽減されます。ただし、結合プロセス中に無線媒体にアクセスできる盗聴者は、無視できない確率でタイミング情報に基づいて割り当てられた短いアドレスを拡張アドレスと相関させることができる場合があります。この確率は、同時に結合するプレッジの数が増加するにつれて減少します。

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

This document allocates a well-known name under the .arpa name space according to the rules given in [RFC3172] and [RFC6761]. The name "6tisch.arpa" is requested. No subdomains are expected, and addition of any such subdomains requires the publication of an IETF Standards Track RFC. No A, AAAA, or PTR record is requested.

この文書は、[RFC3172]と[RFC6761]で指定された規則に従って、.ARPAの名前空間の下にある有名な名前を割り当てます。"6tisch.arpa"という名前が要求されます。サブドメインは予想されず、そのようなサブドメインの追加は、IETF規格トラックRFCの出版を必要とします。A、AAAA、またはPTRレコードが要求されていません。

11.1. Constrained Join Protocol (CoJP) Parameters
11.1. 制約付き結合プロトコル(CoJP)パラメータ

This section defines a subregistry within the "IPv6 Over the TSCH Mode of IEEE 802.15.4 (6TiSCH)" registry with the name "Constrained Join Protocol (CoJP) Parameters".

このセクションでは、「IEEE 802.15.4(6tisch)」の「IEEE 802.15.4(6tisch)」レジストリを「制約付き結合プロトコル(CoJP)パラメータ」と定義しています。

The columns of the registry are:

レジストリの列は次のとおりです。

Name: This is a descriptive name that enables an easier reference to the item. It is not used in the encoding. The name MUST be unique.

Name: アイテムへのより容易な参照を可能にする説明的な名前です。エンコーディングには使用されません。名前は一意でなければなりません (MUST)。

Label: The value to be used to identify this parameter. The label is an integer. The label MUST be unique.

Label: このパラメータを識別するために使用される値です。ラベルは整数です。ラベルは一意でなければなりません (MUST)。

CBOR Type: This field contains the CBOR type for the field.

CBORタイプ:このフィールドには、フィールドのCBOR型が含まれています。

Description: This field contains a brief description for the field. The description MUST be unique.

Description: このフィールドには、フィールドの短い説明が含まれます。説明は一意でなければなりません (MUST)。

Reference: This field contains a pointer to the public specification for the field, if one exists.

リファレンス:このフィールドには、存在する場合は、フィールドのパブリック指定へのポインタが含まれています。

This registry is populated with the values in Table 5.

このレジストリには、表5の値が入力されています。

The amending formula for this subregistry is: Different ranges of values use different registration policies [RFC8126]. Integer values from -256 to 255 are designated as Standards Action. Integer values from -65536 to -257 and from 256 to 65535 are designated as Specification Required. Integer values greater than 65535 are designated as Expert Review. Integer values less than -65536 are marked as Private Use.

このサブレジストの修正式は次のとおりです。値の異なる範囲は、異なる登録ポリシーを使用します[RFC8126]。-256から255の整数値は標準アクションとして指定されています。-65536から-257および256から65535までの整数値は、必要な仕様として指定されています。65535より大きい整数値はエキスパートレビューとして指定されています。-65536未満の整数値はプライベート使用としてマークされています。

11.2. Constrained Join Protocol (CoJP) Key Usage
11.2. 制約付き結合プロトコル(CoJP)キー使用法

This section defines a subregistry within the "IPv6 Over the TSCH Mode of IEEE 802.15.4 (6TiSCH)" registry with the name "Constrained Join Protocol (CoJP) Key Usage".

このセクションでは、 "IEEE 802.15.4(6tisch)"のTSCHモードの "IPv6 over of IEEE 802.15.4(6tisch)"レジストリ "という名前の" "" increded Join Protocol(CoJP)キー使用法 "。

The columns of this registry are:

このレジストリの列は次のとおりです。

Name: This is a descriptive name that enables easier reference to the item. It is not used in the encoding. The name MUST be unique.

Name: アイテムへのより容易な参照を可能にする説明的な名前です。エンコーディングには使用されません。名前は一意でなければなりません (MUST)。

Value: This is the value used to identify the key usage setting. These values MUST be unique. The value is an integer.

Value: これは、鍵の使用法設定を識別するために使用される値です。これらの値は一意でなければなりません (MUST)。値は整数です。

Algorithm: This is a descriptive name of the link-layer algorithm in use and uniquely determines the key length. The name is not used in the encoding. The algorithm MUST be unique.

Algorithm: これは使用中のリンク層アルゴリズムの説明的な名前であり、鍵長を一意に決定します。名前はエンコーディングでは使用されません。アルゴリズムは一意でなければなりません (MUST)。

Description: This field contains a description of the key usage setting. The field should describe in enough detail how the key is to be used with different frame types, specific for the link-layer technology in question. The description MUST be unique.

Description: このフィールドには、鍵の使用法設定の説明が含まれます。このフィールドには、問題のリンク層技術に固有の異なるフレームタイプで鍵がどのように使用されるかを十分に詳細に記述すべきです。説明は一意でなければなりません (MUST)。

Reference: This contains a pointer to the public specification for the field, if one exists.

参照:これには、フィールドのパブリック仕様へのポインタがあります。

This registry is populated with the values in Table 6.

このレジストリには表6の値が入力されています。

The amending formula for this subregistry is: Different ranges of values use different registration policies [RFC8126]. Integer values from -256 to 255 are designated as Standards Action. Integer values from -65536 to -257 and from 256 to 65535 are designated as Specification Required. Integer values greater than 65535 are designated as Expert Review. Integer values less than -65536 are marked as Private Use.

このサブレジストの修正式は次のとおりです。値の異なる範囲は、異なる登録ポリシーを使用します[RFC8126]。-256から255の整数値は標準アクションとして指定されています。-65536から-257および256から65535までの整数値は、必要な仕様として指定されています。65535より大きい整数値はエキスパートレビューとして指定されています。-65536未満の整数値はプライベート使用としてマークされています。

11.3. Constrained Join Protocol (CoJP) Unsupported Configuration Codes
11.3. 制約付き結合プロトコル(CoJP)サポートされていない構成コード

This section defines a subregistry within the "IPv6 Over the TSCH Mode of IEEE 802.15.4 (6TiSCH)" registry with the name "Constrained Join Protocol (CoJP) Unsupported Configuration Codes".

このセクションでは、 "IEEE 802.15.4(6tisch)"の "IEEE 802.15.4(6tisch)"レジストリのTSCHモードで "IPv6の" "" Snalsided Join Protocol(CoJP)サポートされていないコンフィギュレーションコード "。

The columns of this registry are:

このレジストリの列は次のとおりです。

Name: This is a descriptive name that enables easier reference to the item. It is not used in the encoding. The name MUST be unique.

Name: アイテムへのより容易な参照を可能にする説明的な名前です。エンコーディングには使用されません。名前は一意でなければなりません (MUST)。

Value: This is the value used to identify the diagnostic code. These values MUST be unique. The value is an integer.

Value: これは診断コードを識別するために使用される値です。これらの値は一意でなければなりません (MUST)。値は整数です。

Description: This is a descriptive human-readable name. The description MUST be unique. It is not used in the encoding.

Description: これは人間が読める説明的な名前です。説明は一意でなければなりません (MUST)。エンコーディングには使用されません。

Reference: This contains a pointer to the public specification for the field, if one exists.

参照:これには、フィールドのパブリック仕様へのポインタがあります。

This registry is to be populated with the values in Table 7.

このレジストリには、表7の値が入力されます。

The amending formula for this subregistry is: Different ranges of values use different registration policies [RFC8126]. Integer values from -256 to 255 are designated as Standards Action. Integer values from -65536 to -257 and from 256 to 65535 are designated as Specification Required. Integer values greater than 65535 are designated as Expert Review. Integer values less than -65536 are marked as Private Use.

このサブレジストの修正式は次のとおりです。値の異なる範囲は、異なる登録ポリシーを使用します[RFC8126]。-256から255の整数値は標準アクションとして指定されています。-65536から-257および256から65535までの整数値は、必要な仕様として指定されています。65535より大きい整数値はエキスパートレビューとして指定されています。-65536未満の整数値はプライベート使用としてマークされています。

12. References
12. 参考文献
12.1. Normative References
12.1. 引用文献

[IEEE802.15.4] IEEE, "IEEE Standard for Low-Rate Wireless Networks", IEEE Standard 802.15.4-2015, DOI 10.1109/IEEESTD.2016.7460875, April 2016, <https://ieeexplore.ieee.org/document/7460875>.

[IEEE802.15.4] IEEE、「低速ワイヤレスネットワークのためのIEEE規格」、IEEEスタンダード802.15.4-2015、DOI 10.1109/IEEESTD.2016.7460875、2016年4月、<https://ieeexplore.ieee.org/document/7460875>。

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, <https://www.rfc-editor.org/info/rfc2119>.

[RFC2119] Bradner, S.、「RFCSで使用するためのキーワード」、BCP 14、RFC 2119、DOI 10.17487/RFC2119、1997年3月、<https://www.rfc-editor.org/info/rfc2119>。

[RFC2597] Heinanen, J., Baker, F., Weiss, W., and J. Wroclawski, "Assured Forwarding PHB Group", RFC 2597, DOI 10.17487/RFC2597, June 1999, <https://www.rfc-editor.org/info/rfc2597>.

[RFC2597] Heinanen, J., Baker, F., Weiss, W., and J. Wroclawski、「保証された転送PHBグループ」、RFC 2597、DOI 10.17487/RFC2597、1999年6月、<https://www.rfc-editor.org/info/rfc2597>。

[RFC3172] Huston, G., Ed., "Management Guidelines & Operational Requirements for the Address and Routing Parameter Area Domain ("arpa")", BCP 52, RFC 3172, DOI 10.17487/RFC3172, September 2001, <https://www.rfc-editor.org/info/rfc3172>.

[RFC3172] Huston, G., Ed.、「アドレスおよびルーティングパラメータエリアドメイン(「ARPA」)」、BCP 52、RFC 3172、DOI 10.17487/RFC3172、2001年9月、<https://www.rfc-editor.org/info/rfc3172>。

[RFC5869] Krawczyk, H. and P. Eronen, "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)", RFC 5869, DOI 10.17487/RFC5869, May 2010, <https://www.rfc-editor.org/info/rfc5869>.

[RFC5869] Krawczyk, H. and P. Eronen、「HMACベースの抽出と拡張キー派生機能(HKDF)」、RFC 5869、DOI 10.17487 / RFC 5869、2010年5月、<https://www.rfc-editor.org/info/rfc5869>。

[RFC6761] Cheshire, S. and M. Krochmal, "Special-Use Domain Names", RFC 6761, DOI 10.17487/RFC6761, February 2013, <https://www.rfc-editor.org/info/rfc6761>.

[RFC6761] Cheshire、S.およびM. KroChmal、RFC 6761、RFC 6761、DOI 10.17487/RFC6761、2013年2月、<https://www.rfc-editor.org/info/rfc6761>。

[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>.

[RFC7252] Shelby, Z., Hartke, K., and C. Bormann、「制約付きアプリケーションプロトコル(CoAP)」、RFC 7252、DOI 10.17487/RFC7252、2014年6月、<https://www.rfc-editor.org/info/rfc7252>。

[RFC7554] Watteyne, T., Ed., Palattella, M., and L. Grieco, "Using IEEE 802.15.4e Time-Slotted Channel Hopping (TSCH) in the Internet of Things (IoT): Problem Statement", RFC 7554, DOI 10.17487/RFC7554, May 2015, <https://www.rfc-editor.org/info/rfc7554>.

[RFC7554] Watteyne, T., Ed., Palattella, M., and L. Grieco, "Using IEEE 802.15.4e Time-Slotted Channel Hopping (TSCH) in the Internet of Things (IoT): Problem Statement", RFC 7554, DOI 10.17487/RFC7554, May 2015, <https://www.rfc-editor.org/info/rfc7554>.

[RFC8085] Eggert, L., Fairhurst, G., and G. Shepherd, "UDP Usage Guidelines", BCP 145, RFC 8085, DOI 10.17487/RFC8085, March 2017, <https://www.rfc-editor.org/info/rfc8085>.

[RFC8085] Eggert, L., Fairhurst, G., and G. Shepherd, "UDP使用ガイドライン"、BCP 145、RFC 8085、DOI 10.17487/RFC8085、2017年3月、<https://www.rfc-editor.org/info/rfc8085>。

[RFC8126] Cotton, M., Leiba, B., and T. Narten, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 8126, DOI 10.17487/RFC8126, June 2017, <https://www.rfc-editor.org/info/rfc8126>.

[RFC8126] Cotton, M., Leiba, B., and T. Narten、「RFCSのIANAに関する考察のためのガイドライン」、BCP 26、RFC 8126、DOI 10.17487/RFC8126、2017年6月、<https://www.rfc-editor.org/info/rfc8126>。

[RFC8152] Schaad, J., "CBOR Object Signing and Encryption (COSE)", RFC 8152, DOI 10.17487/RFC8152, July 2017, <https://www.rfc-editor.org/info/rfc8152>.

[RFC8152] Schaad, J., "CBORオブジェクトの署名と暗号化(CORE)"、RFC 8152、DOI 10.17487/RFC8152、2017年7月、<https://www.rfc-editor.org/info/rfc8152>。

[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, <https://www.rfc-editor.org/info/rfc8174>.

[RFC8174] Leiba, B.、「RFC 2119キーワードの大文字の曖昧さ」、BCP 14、RFC 8174、DOI 10.17487/RFC8174、2017年5月、<https://www.rfc-editor.org/info/rfc8174>。

[RFC8180] Vilajosana, X., Ed., Pister, K., and T. Watteyne, "Minimal IPv6 over the TSCH Mode of IEEE 802.15.4e (6TiSCH) Configuration", BCP 210, RFC 8180, DOI 10.17487/RFC8180, May 2017, <https://www.rfc-editor.org/info/rfc8180>.

[RFC8180] Vilajosana, X., Ed., Pister, K., and T. Watteyne、「IEEE 802.15.4EのTSCHモードでの最小IPv6(6tisch)構成」、BCP 210、RFC 8180、DOI 10.17487/RFC8180、2017年5月、<https://www.rfc-editor.org/info/rfc8180>。

[RFC8505] Thubert, P., Ed., Nordmark, E., Chakrabarti, S., and C. Perkins, "Registration Extensions for IPv6 over Low-Power Wireless Personal Area Network (6LoWPAN) Neighbor Discovery", RFC 8505, DOI 10.17487/RFC8505, November 2018, <https://www.rfc-editor.org/info/rfc8505>.

[RFC8505] Thubert, P., Ed., Nordmark, E., Chakrabarti, S., and C. Perkins、「低電力無線パーソナルエリアネットワーク(6lowpan)隣接ディスカバリーに関するIPv6の登録拡張」、RFC 8505、DOI10.17487 / RFC8505、2018年11月、<https://www.rfc-editor.org/info/rfc8505>。

[RFC8613] Selander, G., Mattsson, J., Palombini, F., and L. Seitz, "Object Security for Constrained RESTful Environments (OSCORE)", RFC 8613, DOI 10.17487/RFC8613, July 2019, <https://www.rfc-editor.org/info/rfc8613>.

[RFC8613] Selander, G., Mattsson, J., Palombini, F., and L. Seitz、「制約のあるRESTFUL環境のためのオブジェクトセキュリティ(OSCORE)」、RFC 8613、DOI 10.17487/RFC8613、2019年7月、<https://www.rfc-editor.org/info/rfc8613>。

[RFC8820] Nottingham, M., "URI Design and Ownership", BCP 190, RFC 8820, DOI 10.17487/RFC8820, June 2020, <https://www.rfc-editor.org/info/rfc8820>.

[RFC8820] Nottingham, M.、「URI設計と所有権」、BCP 190、RFC 8820、DOI 10.17487/RFC8820、2020年6月、<https://www.rfc-editor.org/info/rfc8820>。

[RFC8949] Bormann, C. and P. Hoffman, "Concise Binary Object Representation (CBOR)", STD 94, RFC 8949, DOI 10.17487/RFC8949, December 2020, <https://www.rfc-editor.org/info/rfc8949>.

[RFC8949] Bormann, C. and P. Hoffman、「簡潔なバイナリオブジェクト表現(CBOR)」、STD 94、RFC 8949、DOI 10.17487/RFC8949、2020年12月、<https://www.rfc-editor.org/info/rfc8949>。

[RFC8974] Hartke, K. and M. Richardson, "Extended Tokens and Stateless Clients in the Constrained Application Protocol (CoAP)", RFC 8974, DOI 10.17487/RFC8974, January 2021, <https://www.rfc-editor.org/info/rfc8974>.

[RFC8974] Hartke, K. and M. Richardson, "Extended Tokens and Stateless Clients in the Constrained Application Protocol (CoAP)", RFC 8974, DOI 10.17487/RFC8974, January 2021, <https://www.rfc-editor.org/info/rfc8974>.

[RFC9030] Thubert, P., Ed., "An Architecture for IPv6 over the Time-Slotted Channel Hopping Mode of IEEE 802.15.4 (6TiSCH)", RFC 9030, DOI 10.17487/RFC9030, May 2021, <https://www.rfc-editor.org/info/rfc9030>.

[RFC9030] Thubert, P., Ed., "An Architecture for IPv6 over the Time-Slotted Channel Hopping Mode of IEEE 802.15.4 (6TiSCH)", RFC 9030, DOI 10.17487/RFC9030, May 2021, <https://www.rfc-editor.org/info/rfc9030>.

12.2. Informative References
12.2. 参考引用

[NIST800-90A] National Institute of Standards and Technology, "Recommendation for Random Number Generation Using Deterministic Random Bit Generators", Special Publication 800-90A, Revision 1, DOI 10.6028/NIST.SP.800-90Ar1, June 2015, <https://doi.org/10.6028/NIST.SP.800-90Ar1>.

[NIST800-90A] National Institute of Standards and Technology, "Recommendation for Random Number Generation Using Deterministic Random Bit Generators", Special Publication 800-90A, Revision 1, DOI 10.6028/NIST.SP.800-90Ar1, June 2015, <https://doi.org/10.6028/NIST.SP.800-90Ar1>.

[RFC4231] Nystrom, M., "Identifiers and Test Vectors for HMAC-SHA-224, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512", RFC 4231, DOI 10.17487/RFC4231, December 2005, <https://www.rfc-editor.org/info/rfc4231>.

[RFC4231] Nystrom, M.、「HMAC-SHA-224、HMAC-SHA-384、HMAC-SHA-384、およびHMAC-SHA-384、およびHMAC-SHA-512」、RFC 4231、DOI 10.17487/RFC4231、2005年12月<https://www.rfc-editor.org/info/rfc4231>。

[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>.

[RFC4944] Montenegro, G., Kushalnagar, N., Hui, J., and D. Culler、「IEEE 802.15.4ネットワーク上のIPv6パケットの送信」、RFC 4944、DOI 10.17487/RFC4944、2007年9月、<https://www.rfc-editor.org/info/rfc4944>。

[RFC6550] Winter, T., Ed., Thubert, P., Ed., Brandt, A., Hui, J., Kelsey, R., Levis, P., Pister, K., Struik, R., Vasseur, JP., and R. Alexander, "RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks", RFC 6550, DOI 10.17487/RFC6550, March 2012, <https://www.rfc-editor.org/info/rfc6550>.

[RFC6550]冬、T.、ED。、Thubert、P.、Ed。、Brandt、A.、Hui、J.、Kelsey、R.、Levis、P.、Pister、K.、Struik、R.、Vasseur、JP。、およびR.RPL:低消費電力ネットワークの「RPL:IPv6ルーティングプロトコル」、RFC 6550、DOI 10.17487/RFC6550、2012年3月、<https://www.rfc-editor.org/info/rfc6550>。

[RFC6762] Cheshire, S. and M. Krochmal, "Multicast DNS", RFC 6762, DOI 10.17487/RFC6762, February 2013, <https://www.rfc-editor.org/info/rfc6762>.

[RFC6762] Cheshire, S. and M. Krochmal、「マルチキャストDNS」、RFC 6762、DOI 10.17487/RFC6762、2013年2月、<https://www.rfc-editor.org/info/rfc6762>。

[RFC7721] Cooper, A., Gont, F., and D. Thaler, "Security and Privacy Considerations for IPv6 Address Generation Mechanisms", RFC 7721, DOI 10.17487/RFC7721, March 2016, <https://www.rfc-editor.org/info/rfc7721>.

[RFC7721] Cooper, A., Gont, F., and D. Thaler、「IPv6アドレス生成メカニズムのためのセキュリティとプライバシーに関する考察」、RFC 7721、DOI 10.17487/RFC7721、2016年3月、<https://www.rfc-editor.org/info/rfc7721>。

[RFC8415] Mrugalski, T., Siodelski, M., Volz, B., Yourtchenko, A., Richardson, M., Jiang, S., Lemon, T., and T. Winters, "Dynamic Host Configuration Protocol for IPv6 (DHCPv6)", RFC 8415, DOI 10.17487/RFC8415, November 2018, <https://www.rfc-editor.org/info/rfc8415>.

[RFC8415] Mrugalski, T., Siodelski, M., Volz, B., Yourtchenko, A., Richardson, M., Jiang, S., Lemon, T., and T. Winters, "Dynamic Host Configuration Protocol for IPv6 (DHCPv6)", RFC 8415, DOI 10.17487/RFC8415, November 2018, <https://www.rfc-editor.org/info/rfc8415>.

[RFC8480] Wang, Q., Ed., Vilajosana, X., and T. Watteyne, "6TiSCH Operation Sublayer (6top) Protocol (6P)", RFC 8480, DOI 10.17487/RFC8480, November 2018, <https://www.rfc-editor.org/info/rfc8480>.

[RFC8480] Wang, Q., Ed., Vilajosana, X., and T. Watteyne, "6tisch操作サブレイヤ(6P)プロトコル(6P)"、RFC 8480、DOI 10.17487/RFC8480、2018年11月、<https://www.rfc-editor.org/info/rfc8480>。

[RFC8610] Birkholz, H., Vigano, C., and C. Bormann, "Concise Data Definition Language (CDDL): A Notational Convention to Express Concise Binary Object Representation (CBOR) and JSON Data Structures", RFC 8610, DOI 10.17487/RFC8610, June 2019, <https://www.rfc-editor.org/info/rfc8610>.

[RFC8610] Birkholz, H., Vigano, C., and C. Bormann、「簡潔なデータ定義言語(CDDL):簡潔なバイナリオブジェクト表現(CBOR)とJSONデータ構造を表現する表記規則」、RFC 8610、DOI 10.17487/RFC8610、2019年6月、<https://www.rfc-editor.org/info/rfc8610>。

[RFC8615] Nottingham, M., "Well-Known Uniform Resource Identifiers (URIs)", RFC 8615, DOI 10.17487/RFC8615, May 2019, <https://www.rfc-editor.org/info/rfc8615>.

[RFC8615] Nottingham, M.、「よく知られているユニフォーム識別子(URIS)」、RFC 8615、DOI 10.17487/RFC8615、2019年5月、<https://www.rfc-editor.org/info/rfc8615>。

[RFC8742] Bormann, C., "Concise Binary Object Representation (CBOR) Sequences", RFC 8742, DOI 10.17487/RFC8742, February 2020, <https://www.rfc-editor.org/info/rfc8742>.

[RFC8742] Bormann, C.、「CBOR)シーケンス」、RFC 8742、DOI 10.17487/RFC8742、2020年2月、<https://www.rfc-editor.org/info/rfc8742>。

[RFC8990] Bormann, C., Carpenter, B., Ed., and B. Liu, Ed., "GeneRic Autonomic Signaling Protocol (GRASP)", RFC 8990, DOI 10.17487/RFC8990, May 2021, <https://www.rfc-editor.org/info/rfc8990>.

[RFC8990] Bormann, C., Carpenter, B., Ed., and B. Liu, Ed.、「GENICAL自律型シグナリングプロトコル(GRASP)」、RFC 8990、DOI 10.17487/RFC8990、2021年5月、<https://www.rfc-editor.org/info/rfc8990>。

Appendix A. Example
付録A.例

Figure 3 illustrates a successful join protocol exchange. The pledge instantiates the OSCORE context and derives the OSCORE keys and nonces from the PSK. It uses the instantiated context to protect the Join Request addressed with a Proxy-Scheme option, the well-known host name of the JRC in the Uri-Host option, and it uses its EUI-64 as pledge identifier and OSCORE 'kid context'. Triggered by the presence of a Proxy-Scheme option, the JP forwards the request to the JRC and sets the CoAP token to the internally needed state. The JP learned the IPv6 address of the JRC when it acted as a pledge and joined the network. Once the JRC receives the request, it looks up the correct context based on the 'kid context' parameter. The OSCORE data authenticity verification ensures that the request has not been modified in transit. In addition, replay protection is ensured through persistent handling of mutable context parameters.

図3は、成功した結合プロトコル交換を示しています。PREDGEはオスアコンテキストをインスタンス化し、PSKからオスアキーとノンスを導きます。インスタンス化されたコンテキストを使用して、プロキシスキームオプション、URI-hostオプションでJRCの有名なホスト名でアドレス指定された参加要求を保護し、そのEUI-64をPLEDDE IDとOSCORE 'KIDコンテキストとして使用します。。プロキシスキームオプションの存在によってトリガーされ、JPは要求をJRCに転送し、CoAPトークンを内部必要な状態に設定します。JPは、それが誓約として機能し、ネットワークに参加したときにJRCのIPv6アドレスを学びました。JRCが要求を受信すると、 'Kid Context'パラメータに基づいて正しいコンテキストを調べます。OSCOREデータの認証検証は、要求がトランジットで変更されていないことを保証します。さらに、再生保護は、可変コンテキストパラメータの永続的な処理によって保証されます。

Once the JP receives the Join Response, it authenticates the state within the CoAP token before deciding where to forward. The JP sets its internal state to that found in the token and forwards the Join Response to the correct pledge. Note that the JP does not possess the key to decrypt the CoJP object (configuration) present in the payload. At the pledge, the Join Response is matched to the Join Request and verified for replay protection using OSCORE processing rules. In this example, the Join Response does not contain the IPv6 address of the JRC, hence the pledge understands that the JRC is co-located with the 6LBR.

JPが結合応答を受信すると、転送先を決定する前に、CoAPトークン内の状態を認証します。JPは、その内部状態をトークンにあるものに設定し、結合応答を正しい誓約に転送します。JPは、ペイロードに存在するCoJPオブジェクト(構成)を復号化するための鍵を持たないことに注意してください。PLEDDEでは、結合応答は結合要求と一致し、OSCORE処理規則を使用して再生保護を検証します。この例では、結合応答にJRCのIPv6アドレスが含まれていないため、JRCが6LBRと同じ場所にあることを理解しています。

      <-----E2E OSCORE------>
    Client      Proxy     Server
    Pledge       JP        JRC
      |          |          |
      |  Join    |          |            Code: 0.02 (POST)
      | Request  |          |           Token: -
      +--------->|          |    Proxy-Scheme: coap
      |          |          |        Uri-Host: 6tisch.arpa
      |          |          |          OSCORE: kid: -,
      |          |          |                  kid_context: EUI-64,
      |          |          |                  Partial IV: 1
      |          |          |         Payload: { Code: 0.02 (POST),
      |          |          |                    Uri-Path: "j",
      |          |          |                    join_request, <Tag> }
      |          |          |
      |          |  Join    |            Code: 0.02 (POST)
      |          | Request  |           Token: opaque state
      |          +--------->|          OSCORE: kid: -,
      |          |          |                  kid_context: EUI-64,
      |          |          |                  Partial IV: 1
      |          |          |         Payload: { Code: 0.02 (POST),
      |          |          |                    Uri-Path: "j",
      |          |          |                    join_request, <Tag> }
      |          |          |
      |          |          |
      |          |  Join    |            Code: 2.04 (Changed)
      |          | Response |           Token: opaque state
      |          |<---------+          OSCORE: -
      |          |          |         Payload: { Code: 2.04 (Changed),
      |          |          |                    configuration, <Tag> }
      |          |          |
      |          |          |
      |  Join    |          |            Code: 2.04 (Changed)
      | Response |          |           Token: -
      |<---------+          |          OSCORE: -
      |          |          |         Payload: { Code: 2.04 (Changed),
      |          |          |                    configuration, <Tag> }
      |          |          |
        

Figure 3: Example of a successful join protocol exchange. { ... } denotes authenticated encryption, <Tag> denotes the authentication tag.

図3:結合プロトコル交換が成功した例。{...}は認証された暗号化を表し、<tag>は認証タグを表します。

Where the join_request object is:

join_requestオブジェクトが次のとおりです。

   join_request:
   {
      5 : h'cafe' / PAN ID of the network pledge is attempting to join /
   }
        

Since the role parameter is not present, the default role of "6TiSCH Node" is implied.

役割パラメータが存在しないので、 "6tischノード"のデフォルトの役割が暗示されます。

The join_request object is converted to h'a10542cafe' with a size of 5 bytes.

join_requestオブジェクトは、5バイトのサイズのH'A10542CAFE 'に変換されます。

And the configuration object is the following:

そして構成オブジェクトは次のとおりです。

   configuration:
   {
      2 : [           / link-layer key set /
            1,        / key_id /
            h'e6bf4287c2d7618d6a9687445ffd33e6' / key_value /
          ],
      3 : [           / short identifier /
            h'af93'   / assigned short address /
          ]
   }
        

Since the key_usage parameter is not present in the link-layer key set object, the default value of "6TiSCH-K1K2-ENC-MIC32" is implied. Since the key_addinfo parameter is not present and key_id is different from 0, Key ID Mode 0x01 (Key Index) is implied. Similarly, since the lease_time parameter is not present in the short identifier object, the default value of positive infinity is implied.

key_usageパラメータはリンク層鍵セットオブジェクトに存在しないので、デフォルト値 "6tisch-K1K2-enc-mic32"が暗示されます。key_addinfoパラメーターが存在せず、key_idは0と異なるため、キーIDモード0x01(キーインデックス)が暗示されます。同様に、lease_timeパラメータは短識別子オブジェクトに存在しないため、正の無限大のデフォルト値が暗黙的にされます。

The configuration object is converted to the following:

構成オブジェクトは次のように変換されます。

h'a202820150e6bf4287c2d7618d6a9687445ffd33e6038142af93' with a size of 26 bytes.

h'a202820150e6bf4287c2d7618d6a9687445ffd33e6038142af93' with a size of 26 bytes.

Appendix B. Lightweight Implementation Option
付録B.軽量実装オプション

In environments where optimizing the implementation footprint is important, it is possible to implement this specification without having the implementations of HKDF [RFC5869] and SHA [RFC4231] on constrained devices. HKDF and SHA are used during the OSCORE security context derivation phase. This derivation can also be done by the JRC or a provisioning device on behalf of the (6LBR) pledge during the provisioning phase. In that case, the derived OSCORE security context parameters are written directly into the (6LBR) pledge, without requiring the PSK to be provisioned to the (6LBR) pledge.

実装フットプリントを最適化する環境では、HKDF [RFC5869]とSHA [RFC4231]の実装を制約付きデバイスに実装せずに本明細書を実装することができます。HKDFおよびSHAは、オスアセキュリティコンテキスト派生段階で使用されます。この導出は、プロビジョニング段階中に(6LBR)誓約を代表してJRCまたはプロビジョニング装置によっても行うことができる。その場合、派生オスアセキュリティコンテキストパラメータは、PSKを(6LBR)誓約にプロビジョニングされることを必要とせずに、(6LBR)誓約に直接書き込まれます。

The use of HKDF to derive OSCORE security context parameters ensures that the resulting OSCORE keys have good security properties and are unique as long as the input varies for different pledges. This specification ensures the uniqueness by mandating unique pledge identifiers and a unique PSK for each (6LBR) pledge. From the AEAD nonce reuse viewpoint, having a unique pledge identifier is a sufficient condition. However, as discussed in Section 9, the use of a single PSK shared among many devices is a common security pitfall. The compromise of this shared PSK on a single device would lead to the compromise of the entire batch. When using the implementation/ deployment scheme outlined above, the PSK does not need to be written to individual pledges. As a consequence, even if a shared PSK is used, the scheme offers a level of security comparable to the scenario in which each pledge is provisioned with a unique PSK. In this case, there is still a latent risk of the shared PSK being compromised on the provisioning device, which would compromise all devices in the batch.

OSCOREセキュリティコンテキストパラメータを導出するためのHKDFの使用は、結果として得られるOSCOREキーが良好なセキュリティプロパティを持ち、入力が異なるPLEDGESに対して異なる限り、独自のものであることを保証します。この仕様は、固有の誓約識別子と各(6LBR)誓約書の固有のPSKを義務付けることによる一意性を保証します。 AED Nonceの再利用ビューポイントから、独自のPREDGE IDを持つことは十分な条件です。ただし、セクション9で説明したように、多くのデバイス間で共有された単一のPSKの使用は一般的なセキュリティの落とし穴です。単一の装置上のこの共有PSKの妥協は、バッチ全体の妥協をもたらすだろう。上記の実装/展開スキームを使用する場合、PSKは個々のPLEDGESに書き込まれる必要はありません。結果として、共有PSKが使用されていても、スキームは各誓約がユニークなPSKでプロビジョニングされているシナリオに匹敵するレベルのセキュリティを提供します。この場合、共有PSKがプロビジョニング装置上で侵入されている潜在的なリスクが依然としてあり、これはバッチ内のすべての装置を危険にさらすであろう。

Acknowledgments

謝辞

The work on this document has been partially supported by the European Union's H2020 Programme for research, technological development and demonstration under grant agreements: No. 644852, project ARMOUR; No. 687884, project F-Interop and open-call project SPOTS; No. 732638, project Fed4FIRE+ and open-call project SODA.

この文書の作業は、助成金協定の下での研究、技術開発、および実証のための欧州連合のH2020プログラムによって部分的に支えられてきました:No。644852、プロジェクト装甲;第687884号、Project F InteropおよびOpen-Callプロジェクトスポット。No. 732638、FRID4FIREおよびOpen-Call Project Soda。

The following individuals provided input to this document (in alphabetic order): Christian Amsüss, Tengfei Chang, Roman Danyliw, Linda Dunbar, Vijay Gurbani, Klaus Hartke, Barry Leiba, Benjamin Kaduk, Tero Kivinen, Mirja Kühlewind, John Mattsson, Hilarie Orman, Alvaro Retana, Adam Roach, Jim Schaad, Göran Selander, Yasuyuki Tanaka, Pascal Thubert, William Vignat, Xavier Vilajosana, Éric Vyncke, and Thomas Watteyne.

次の個人はこの文書への入力を提供しました(アルファベット順):ChristianAmsüsss、Tengfei Chang、Roman DanyLiw、リンダ・ダンバー、ビジャイ・ガービニ、クラウス・ハルケット、Barry Leiba、BenjaminKühlewind、MirjaKühlewind、John Mattsson、Hilarie Orman、Alvaro Retana、アダムロハド、ジムシャド、景色、田中康之、Pascal Thubert、ウィリアム・ビニャート、Xavier vilajosana、エリオス・ビンケ、そしてThomas Watteyne。

Authors' Addresses

著者の住所

Mališa Vučinić (editor) Inria 2 Rue Simone Iff 75012 Paris France

MalićaVužinić(編集)Inria 2 Rue Simone IFF 75012パリフランス

   Email: malisa.vucinic@inria.fr
        

Jonathan Simon Analog Devices 32990 Alvarado-Niles Road, Suite 910 Union City, CA 94587 United States of America

Jonathan Simon Analog Devices 32990 Alvarado-Niles Road、Suite 910 Union City、CA 94587アメリカ合衆国

   Email: jonathan.simon@analog.com
        

Kris Pister University of California Berkeley 512 Cory Hall Berkeley, CA 94720 United States of America

カリフォルニア大学バークレー大学512 Cory Hall Berkeley、CA 94720アメリカ合衆国

   Email: pister@eecs.berkeley.edu
        

Michael Richardson Sandelman Software Works 470 Dawson Avenue Ottawa ON K1Z5V7 Canada

Michael Richardson Sandelman Software Works 470 Dawson Avenue Ottawa on K1Z5V7カナダ

   Email: mcr+ietf@sandelman.ca