6lo Working Group | D. Dujovne |
Internet-Draft | Universidad Diego Portales |
Intended status: Informational | M. Richardson |
Expires: January 18, 2019 | Sandelman Software Works |
July 17, 2018 |
IEEE802.15.4 Informational Element encapsulation of 6tisch Join and Enrollment Information
draft-6tisch-enrollment-enhanced-beacon-00
In TSCH mode of IEEE802.15.4, as described by [RFC8180], opportunities for broadcasts are limited to specific times and specific channels. Nodes in a TSCH network typically frequently send Enhanced Beacon (EB) frames to announce the presence of the network. This document provides a mechanism by which small details critical for new nodes (pledges) and long sleeping nodes may be carried within the Enhanced Beacon.
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."
This Internet-Draft will expire on January 18, 2019.
Copyright (c) 2018 IETF Trust and the persons identified as the document authors. All rights reserved.
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.
[RFC7554] describes the use of the time-slotted channel hopping (TSCH) mode of [ieee802154]. As further details in [RFC8180], an Enhanced Beacon is transmitted during a slot designated a broadcast slot.
EDNOTE: Explain why broadcasts are rare, and why we need them. What the Enhanced Beacon is, and what Information Elements are, and how the IETF has a subtype for that area. Explain what kind of things could be placed in Information Elements, how big they could be, and how they could be compressed.
In this document, the key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" are to be interpreted as described in BCP 14, RFC 2119 [RFC2119] and indicate requirement levels for compliant STuPiD implementations.
As explained in section 6 of [RFC8180], the Enhanced Beacon has a number of purposes: synchronization of ASN and Join Metric, timeslot template identifier, the channel hopping sequence identifier, TSCH SlotFrame and Link IE.
The Enhanced Beacon (EB) is used by nodes already part of a TSCH network to annouce its existance. Receiving an EB allows a Joining Node (pledge) to learn about the network and synchronize to it. The EB may also be used as a means for a node already part of the network to re-synchronize [RFC7554].
There are a limited number of timeslots designated as a broadcast slot by each router. These slots are rare, and with 10ms slots, with a slot-frame length of 100, there may be only 1 slot/s for the beacon.
At layer 3, [RFC2461] defines a mechanism by which nodes learn about routers by listening for multicasted Router Advertisements (RA). If no RA is heard within a set time, then a Router Solicitation (RS) may be multicast, to which an RA will be received, usually unicast.
Although [RFC6775] reduces the amount of multicast necessary to do address resolution via Neighbor Solicitation messages, it still requires multicast of either RAs or RS. This is an expensive operation for two reasons: there are few multicast timeslots for unsolicited RAs; if a pledge node does not hear an RA, and decides to send a RS (consuming a broadcast aloha slot with unencrypted traffic), many unicast RS may be sent in response.
This is a particularly acute issue for the join process for the following reasons:
[RFC8137] creates a registry for new IETF IE subtypes. This document allocates a new subtype TBD-XXX.
This document documents a new IE subtype structure is as follows. As explained in [RFC8137] the length of the Sub-Type Content can be calculated from the container, so no length information is necessary.
1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TBD-XXX |R| proxy prio. | rank priority | +-+-+-+-+-+-+-+-+-+-------------+-------------+-----------------+ | pan priority | | +---------------+ + | network ID | + + | | + + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+
In a 6tisch network, where RPL is used as the mesh routing protocol, the network ID can be constructed from a SHA256 hash of the prefix (/64) of the network. That is just a suggestion for a default value. In some LLNs where multiple PANIDs may lead to the same management device (the JRC), then a common value that is the same across all PANs MUST be configured.
Here will be three examples of processing.
All of the contents of this Information Element are sent in the clear. The containing Enhanced Beacon is not encrypted.
The Enhanced Beagon is authenticated at the layer-2 level using 802.15.4 mechanisms using the network-wide keying material. Nodes which are enrolled will have the network-wide keying material and can validate the beacon.
Pledges which have not yet enrolled are unable to authenticate the beacons.
The use of a network ID may reveal information about the network. The use of a SHA256 hash of the DODAGID, rather than using the DODAGID directly provides some cover the addresses used within the network. The DODAGID is usually the IPv6 address of the root of the RPL mesh.
An interloper with a radio sniffer would be able to use the network ID to map out the extend of the mesh network.
Allocate a new number TBD-XXX from Registry IETF IE Sub-type ID. This entry should be called 6tisch-Join-Info.
Thomas Watteyne provided extensive editorial comments on the document.
[I-D.ietf-6tisch-dtsecurity-secure-join] | Richardson, M., "6tisch Secure Join protocol", Internet-Draft draft-ietf-6tisch-dtsecurity-secure-join-01, February 2017. |
[RFC8180] | Vilajosana, X., 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. |
The rank priority was expanded to 2 bytes.
00: The extension was originally for the use of Pledges only during the enrollment/join process. Additional information was desired for nodes which have already enrolled in order to aid in the joining (selecting of a parent) of an RPL DAG. The term "join" was realized to be ambiguous, meaning different things to different groups, and so the activity where the pledge finds a "Join Proxy" has been named "enrollment"
-1: This is an evolution of an earlier proposal which provided for storing an entire IPv6 Router Adverisement in an Informational Element. It was deemed too general a solution, possibly subject to mis-use. This proposal restricts the use to just the key pieces of information required.