7978
PROPOSED STANDARD
Transparent Interconnection of Lots of Links (TRILL): RBridge Channel Header Extension
Authors: D. Eastlake 3rd, M. Umair, Y. Li
Date: September 2016
Area: rtg
Working Group: trill
Stream: IETF
Updates:
RFC 7178
Abstract
The IETF TRILL (Transparent Interconnection of Lots of Links) protocol includes an optional mechanism (specified in RFC 7178) called RBridge Channel for the transmission of typed messages between TRILL switches in the same campus and the transmission of such messages between TRILL switches and end stations on the same link. This document specifies extensions to the RBridge Channel protocol header to support two features as follows: (1) a standard method to tunnel payloads whose type can be indicated by Ethertype through encapsulation in RBridge Channel messages; and (2) a method to support security facilities for RBridge Channel messages. This document updates RFC 7178.
RFC 7978
PROPOSED STANDARD
Internet Engineering Task Force (IETF) D. Eastlake 3rd
Request for Comments: 7978 Huawei
Updates: <a href="./rfc7178">7178</a> M. Umair
Category: Standards Track IPinfusion
ISSN: 2070-1721 Y. Li
Huawei
September 2016
<span class="h1">Transparent Interconnection of Lots of Links (TRILL):</span>
<span class="h1">RBridge Channel Header Extension</span>
Abstract
The IETF TRILL (Transparent Interconnection of Lots of Links)
protocol includes an optional mechanism (specified in <a href="./rfc7178">RFC 7178</a>)
called RBridge Channel for the transmission of typed messages between
TRILL switches in the same campus and the transmission of such
messages between TRILL switches and end stations on the same link.
This document specifies extensions to the RBridge Channel protocol
header to support two features as follows: (1) a standard method to
tunnel payloads whose type can be indicated by Ethertype through
encapsulation in RBridge Channel messages; and (2) a method to
support security facilities for RBridge Channel messages. This
document updates <a href="./rfc7178">RFC 7178</a>.
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 <a href="./rfc7841#section-2">Section 2 of RFC 7841</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="https://www.rfc-editor.org/info/rfc7978">http://www.rfc-editor.org/info/rfc7978</a>.
<span class="grey">Eastlake, et al. Standards Track [Page 1]</span>
<span id="page-2" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
Copyright Notice
Copyright (c) 2016 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) 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.
<span class="grey">Eastlake, et al. Standards Track [Page 2]</span>
<span id="page-3" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-4">4</a>
<a href="#section-1.1">1.1</a>. Terminology and Acronyms ...................................<a href="#page-4">4</a>
<a href="#section-2">2</a>. RBridge Channel Header Extension Format .........................<a href="#page-5">5</a>
<a href="#section-3">3</a>. Extended RBridge Channel Payload Types ..........................<a href="#page-8">8</a>
<a href="#section-3.1">3.1</a>. Null Payload ...............................................<a href="#page-8">8</a>
<a href="#section-3.2">3.2</a>. Ethertyped Payload .........................................<a href="#page-9">9</a>
<a href="#section-3.2.1">3.2.1</a>. RBridge Channel Message as the Payload ..............<a href="#page-9">9</a>
<a href="#section-3.2.2">3.2.2</a>. TRILL Data Packet as the Payload ...................<a href="#page-10">10</a>
<a href="#section-3.2.3">3.2.3</a>. TRILL IS-IS Packet as the Payload ..................<a href="#page-10">10</a>
<a href="#section-3.3">3.3</a>. Ethernet Frame ............................................<a href="#page-11">11</a>
<a href="#section-4">4</a>. Extended RBridge Channel Security ..............................<a href="#page-13">13</a>
<a href="#section-4.1">4.1</a>. Derived Keying Material ...................................<a href="#page-14">14</a>
<a href="#section-4.2">4.2</a>. SType None ................................................<a href="#page-14">14</a>
<a href="#section-4.3">4.3</a>. IS-IS CRYPTO_AUTH-Based Authentication ....................<a href="#page-15">15</a>
<a href="#section-4.4">4.4</a>. DTLS Pairwise Security ....................................<a href="#page-17">17</a>
<a href="#section-4.5">4.5</a>. Composite Security ........................................<a href="#page-18">18</a>
<a href="#section-5">5</a>. Extended RBridge Channel Errors ................................<a href="#page-18">18</a>
<a href="#section-5.1">5.1</a>. SubERRs ...................................................<a href="#page-19">19</a>
<a href="#section-5.2">5.2</a>. Secure Nested RBridge Channel Errors ......................<a href="#page-19">19</a>
<a href="#section-6">6</a>. IANA Considerations ............................................<a href="#page-19">19</a>
<a href="#section-6.1">6.1</a>. Extended RBridge Channel Protocol Number ..................<a href="#page-19">19</a>
<a href="#section-6.2">6.2</a>. RBridge Channel Protocol Subregistries ....................<a href="#page-20">20</a>
<a href="#section-6.2.1">6.2.1</a>. RBridge Channel Error Codes ........................<a href="#page-20">20</a>
<a href="#section-6.2.2">6.2.2</a>. RBridge Channel SubError Codes .....................<a href="#page-20">20</a>
6.2.3. Extended RBridge Channel Payload Types
Subregistry ........................................<a href="#page-20">20</a>
6.2.4. Extended RBridge Channel Security Types
Subregistry ........................................<a href="#page-21">21</a>
<a href="#section-7">7</a>. Security Considerations ........................................<a href="#page-21">21</a>
<a href="#section-8">8</a>. Normative References ...........................................<a href="#page-22">22</a>
<a href="#section-9">9</a>. Informative References .........................................<a href="#page-23">23</a>
Acknowledgements ..................................................<a href="#page-25">25</a>
Authors' Addresses ................................................<a href="#page-25">25</a>
<span class="grey">Eastlake, et al. Standards Track [Page 3]</span>
<span id="page-4" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
The IETF TRILL base protocol [<a href="./rfc6325" title=""Routing Bridges (RBridges): Base Protocol Specification"">RFC6325</a>] [<a href="./rfc7780" title=""Transparent Interconnection of Lots of Links (TRILL): Clarifications, Corrections, and Updates"">RFC7780</a>] has been extended
with the RBridge Channel [<a href="./rfc7178" title=""Transparent Interconnection of Lots of Links (TRILL): RBridge Channel Support"">RFC7178</a>] facility to support transmission
of typed messages (for example, Bidirectional Forwarding Detection
(BFD) [<a href="./rfc7175" title=""Transparent Interconnection of Lots of Links (TRILL): Bidirectional Forwarding Detection (BFD) Support"">RFC7175</a>]) between two TRILL switches (RBridges) in the same
campus and the transmission of such messages between RBridges and end
stations on the same link. When sent between RBridges in the same
campus, a TRILL Data packet with a TRILL Header is used, and the
destination RBridge is indicated by nickname. When sent between a
RBridge and an end station on the same link in either direction, a
native RBridge Channel message [<a href="./rfc7178" title=""Transparent Interconnection of Lots of Links (TRILL): RBridge Channel Support"">RFC7178</a>] is used with no TRILL
Header, and the destination port or ports are indicated by a Media
Access Control (MAC) address. (There is no mechanism to stop end
stations on the same link from sending native RBridge Channel
messages to each other; however, such use is outside the scope of
this document.)
This document updates [<a href="./rfc7178" title=""Transparent Interconnection of Lots of Links (TRILL): RBridge Channel Support"">RFC7178</a>] and specifies extensions to the
RBridge Channel header that provide two additional facilities as
follows:
(1) A standard method to tunnel payloads, whose type may be
indicated by Ethertype, through encapsulation in RBridge
Channel messages.
(2) A method to provide security facilities for RBridge Channel
messages. Example uses requiring such facilities are the
security of Pull Directory messages [<a href="./rfc7067" title=""Directory Assistance Problem and High-Level Design Proposal"">RFC7067</a>], address flush
messages [<a href="#ref-AddrFlush">AddrFlush</a>], and port shutdown messages [<a href="#ref-TRILL-AF">TRILL-AF</a>].
Use of each of these facilities is optional, except that, as
specified below, if this header extension is implemented, there are
two payload types that MUST be implemented. Both of the above
facilities can be used in the same packet. In case of conflict
between this document and [<a href="./rfc7178" title=""Transparent Interconnection of Lots of Links (TRILL): RBridge Channel Support"">RFC7178</a>], this document takes precedence.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Terminology and Acronyms</span>
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
[<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
This document uses terminology and abbreviations defined in [<a href="./rfc6325" title=""Routing Bridges (RBridges): Base Protocol Specification"">RFC6325</a>]
and [<a href="./rfc7178" title=""Transparent Interconnection of Lots of Links (TRILL): RBridge Channel Support"">RFC7178</a>]. Some of these are listed below for convenience along
with new terms and abbreviations.
<span class="grey">Eastlake, et al. Standards Track [Page 4]</span>
<span id="page-5" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
application_data - A DTLS [<a href="./rfc6347" title=""Datagram Transport Layer Security Version 1.2"">RFC6347</a>] message type.
Data Label - VLAN or FGL.
DTLS - Datagram Transport Layer Security [<a href="./rfc6347" title=""Datagram Transport Layer Security Version 1.2"">RFC6347</a>].
FCS - Frame Check Sequence.
FGL - Fine-Grained Label [<a href="./rfc7172" title=""Transparent Interconnection of Lots of Links (TRILL): Fine-Grained Labeling"">RFC7172</a>].
HKDF - HMAC-based Key Derivation Function [<a href="./rfc5869" title=""HMAC-based Extract-and-Expand Key Derivation Function (HKDF)"">RFC5869</a>].
IS-IS - Intermediate System to Intermediate System [<a href="#ref-IS-IS" title=""Information technology -- Telecommunications and information exchange between systems -- Intermediate System to Intermediate System intra-domain routeing information exchange protocol for use in conjunction with the protocol for providing the connectionless-mode network service (ISO 8473)"">IS-IS</a>].
PDU - Protocol Data Unit.
MTU - Maximum Transmission Unit.
RBridge - An alternative term for a TRILL switch.
SHA - Secure Hash Algorithm [<a href="./rfc6234" title=""US Secure Hash Algorithms (SHA and SHA-based HMAC and HKDF)"">RFC6234</a>].
Sz - Campus-wide minimum link MTU [<a href="./rfc6325" title=""Routing Bridges (RBridges): Base Protocol Specification"">RFC6325</a>] [<a href="./rfc7780" title=""Transparent Interconnection of Lots of Links (TRILL): Clarifications, Corrections, and Updates"">RFC7780</a>].
TRILL - Transparent Interconnection of Lots of Links or Tunneled
Routing in the Link Layer.
TRILL switch - A device that implements the TRILL protocol
[<a href="./rfc6325" title=""Routing Bridges (RBridges): Base Protocol Specification"">RFC6325</a>] [<a href="./rfc7780" title=""Transparent Interconnection of Lots of Links (TRILL): Clarifications, Corrections, and Updates"">RFC7780</a>], sometimes referred to as an RBridge.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. RBridge Channel Header Extension Format</span>
The general structure of an RBridge Channel message between two TRILL
switches (RBridges) in the same campus is shown in Figure 1 below.
The structure of a native RBridge Channel message sent between an
RBridge and an end station on the same link, in either direction, is
shown in Figure 2 and, compared with the first case, omits the TRILL
Header, inner Ethernet addresses, and Data Label. A Protocol field
in the RBridge Channel Header gives the type of RBridge Channel
message and indicates how to interpret the Channel-Protocol-Specific
Payload [<a href="./rfc7178" title=""Transparent Interconnection of Lots of Links (TRILL): RBridge Channel Support"">RFC7178</a>].
<span class="grey">Eastlake, et al. Standards Track [Page 5]</span>
<span id="page-6" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
+-----------------------------------+
| Link Header |
+-----------------------------------+
| TRILL Header |
+-----------------------------------+
| Inner Ethernet Addresses |
+-----------------------------------+
| Data Label (VLAN or FGL) |
+-----------------------------------+
| RBridge Channel Header |
+-----------------------------------+
| Channel-Protocol-Specific Payload |
+-----------------------------------+
| Link Trailer (FCS if Ethernet) |
+-----------------------------------+
Figure 1: RBridge Channel Packet Structure
+-----------------------------------+
| Ethernet Link Header |
+-----------------------------------+
| RBridge Channel Header |
+-----------------------------------+
| Channel-Protocol-Specific Payload |
+-----------------------------------+
| FCS |
+-----------------------------------+
Figure 2: Native RBridge Channel Frame
The RBridge Channel Header looks like this:
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 0x8946 | CHV=0 | Channel Protocol |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Flags | ERR | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ /
/ Channel-Protocol-Specific Data /
/-+-+-+-+-+- /
Figure 3: RBridge Channel Header
where 0x8946 is the RBridge-Channel Ethertype and CHV is the Channel
Header Version. This document is based on RBridge Channel version
zero.
<span class="grey">Eastlake, et al. Standards Track [Page 6]</span>
<span id="page-7" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
The header extensions specified herein are in the form of an RBridge
Channel protocol, the Extended RBridge Channel Protocol. Figure 4
below expands the RBridge Channel Header and Protocol-Specific
Payload above for the case where the header extension is present.
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 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
RBridge Channel Header:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 0x8946 | CHV=0 | Channel Protocol=0x004|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Flags | ERR |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Header Extension Specific: | SubERR| RESV4 | SType | PType |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Security Information, variable length (0 length if SType = 0) /
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...
| Tunneled Data, variable length
| ...
Figure 4: RBridge Channel Header Extension Structure
The RBridge Channel Header Protocol field is used to indicate that
the header extension is present. Its contents MUST be the value
allocated for this purpose (see <a href="#section-6">Section 6</a>). The use of an RBridge
Channel protocol to indicate extensions makes it easy to determine if
a remote RBridge in the campus supports extensions since RBridges
advertise in their LSP which such protocols they support.
The Extended RBridge Channel-Protocol-Specific Data fields are as
follows:
SubERR: This field provides further details when an error is
indicated in the RBridge Channel ERR field. If ERR is zero,
then SubERR MUST be sent as zero and ignored on receipt. See
<a href="#section-5">Section 5</a>.
RESV4: This field MUST be sent as zero. If non-zero when
received, this is an error condition. See <a href="#section-5">Section 5</a>.
SType: This field describes the type of security information and
features, including keying material, being used or provided by
the extended RBridge Channel message. See <a href="#section-4">Section 4</a>.
PType: Payload Type. This describes the tunneled data. See
<a href="#section-3">Section 3</a>.
<span class="grey">Eastlake, et al. Standards Track [Page 7]</span>
<span id="page-8" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
Security Information: Variable-length information. Length is zero
if SType is zero. See <a href="#section-4">Section 4</a>.
The RBridge Channel Header Extension is integrated with the RBridge
Channel facility. Extension errors are reported as if they were
RBridge Channel errors, using newly allocated code points in the ERR
field of the RBridge Channel Header supplemented by the SubERR field.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Extended RBridge Channel Payload Types</span>
The Extended RBridge Channel Protocol can carry a variety of payloads
as indicated by the PType (Payload Type) field. Values are shown in
the table below with further explanation below the table (see also
<a href="#section-6.2.2">Section 6.2.2</a>).
PType Description Reference
----- ----------- ---------
0 Reserved
1 Null <a href="./rfc7978#section-3.1">Section 3.1 of RFC 7978</a>
2 Ethertyped Payload <a href="./rfc7978#section-3.2">Section 3.2 of RFC 7978</a>
3 Ethernet Frame <a href="./rfc7978#section-3.3">Section 3.3 of RFC 7978</a>
4-14 Unassigned
15 Reserved
Table 1: Payload Type Values
While implementation of the RBridge Channel Header Extension is
optional, if it is implemented, PType 1 (Null) MUST be implemented
and PType 2 (Ethertyped Payload) with the RBridge-Channel Ethertype
MUST be implemented. PType 2 for any Ethertypes other than the
RBridge-Channel Ethertype MAY be implemented. PType 3 MAY be
implemented.
The processing of any particular extended header RBridge Channel
message and its payload depends on meeting local security and other
policy at the destination TRILL switch or end station.
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Null Payload</span>
The Null payload type (PType = 1) is intended to be used for testing
or for messages such as key negotiation or the like where only
security information is present. It indicates that there is no user
data payload. Any tunneled user data after the Security Information
field is ignored. If the RBridge Channel Header Extension is
implemented, the Null Payload MUST be supported in the sense that an
"Unsupported PType" error is not returned (see <a href="#section-5">Section 5</a>). Any
particular use of the Null Payload should specify what VLAN or FGL
<span class="grey">Eastlake, et al. Standards Track [Page 8]</span>
<span id="page-9" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
and what priority should be used in the inner Data Label of the
RBridge Channel message (or in an outer VLAN tag for the native
RBridge Channel message case) when those values are relevant.
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Ethertyped Payload</span>
A PType of 2 indicates that the payload (tunneled data) of the
extended RBridge Channel message begins with an Ethertype. A TRILL
switch supporting the RBridge Channel Header Extension MUST support a
PType of 2 with a payload beginning with the RBridge-Channel
Ethertype as described in <a href="#section-3.2.1">Section 3.2.1</a>. Other Ethertypes, including
the TRILL and L2-IS-IS Ethertypes as described in Sections <a href="#section-3.2.2">3.2.2</a> and
3.2.3, MAY be supported.
<span class="h4"><a class="selflink" id="section-3.2.1" href="#section-3.2.1">3.2.1</a>. RBridge Channel Message as the Payload</span>
A PType of 2 whose payload has an initial RBridge-Channel Ethertype
indicates an encapsulated RBridge Channel message. A typical reason
for sending an RBridge Channel message inside an extended RBridge
Channel message is to provide security services, such as
authentication or encryption, for the encapsulated message.
This RBridge Channel message type looks like the following:
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| RBridge-Channel (0x8946) | CHV=0 | Channel Protocol=0x004|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Flags | ERR | SubERR| RESV4 | SType | 0x2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
/ Security Information, variable length (0 length if SType = 0) /
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| RBridge-Channel (0x8946) | CHV=0 |Nested Channel Protocol|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Flags | ERR | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| Nested Channel-Protocol-Specific Data ... /
/ /
Figure 5: Message Structure with RBridge Channel Payload
<span class="grey">Eastlake, et al. Standards Track [Page 9]</span>
<span id="page-10" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
<span class="h4"><a class="selflink" id="section-3.2.2" href="#section-3.2.2">3.2.2</a>. TRILL Data Packet as the Payload</span>
A PType of 2 whose payload has an initial TRILL Ethertype indicates
an encapsulated TRILL Data packet as shown in Figure 6. If this
Ethertype is supported for PType = 2 and the message meets local
policy for acceptance, the TRILL Data packet is handled as if it had
been received by the destination TRILL switch on the port where the
Extended RBridge Channel message was received.
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| RBridge-Channel (0x8946) | CHV=0 | Channel Protocol=0x004|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Flags | ERR | SubERR| RESV4 | SType | 0x2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
/ Security Information, variable length (0 length if SType = 0) /
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TRILL (0x22F3) | V |A|C|M| RESV |F| Hop Count |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Egress Nickname | Ingress Nickname |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
/ Optional Flags Word /
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Inner.MacDA |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Inner.MacDA continued | Inner.MacSA |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Inner.MacSA (cont.) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Inner Data Label (2 or 4 bytes)
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...
| TRILL Data Packet payload
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...
Figure 6: Message Structure with TRILL Data Packet Payload
The optional flags word is only present if the F bit in the TRILL
Header is one [<a href="./rfc7780" title=""Transparent Interconnection of Lots of Links (TRILL): Clarifications, Corrections, and Updates"">RFC7780</a>].
<span class="h4"><a class="selflink" id="section-3.2.3" href="#section-3.2.3">3.2.3</a>. TRILL IS-IS Packet as the Payload</span>
A PType of 2 and an initial L2-IS-IS Ethertype indicate that the
payload of the Extended RBridge Channel protocol message is an
encapsulated TRILL IS-IS PDU as shown in Figure 7. If this Ethertype
is supported for PType = 2, the tunneled TRILL IS-IS packet is
processed by the destination RBridge if it meets local policy. One
possible use is to expedite the receipt of a link state PDU (LSP) by
<span class="grey">Eastlake, et al. Standards Track [Page 10]</span>
<span id="page-11" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
some TRILL switch or switches with an immediate requirement for the
link state information. A link local IS-IS PDU would not normally be
sent via this Extended RBridge Channel method except possibly to
encrypt the PDU since such PDUs can just be transmitted on the link
and do not normally need RBridge Channel handling. (Link local IS-IS
PDUs are (1) Hello, CSNP, PSNP [<a href="#ref-IS-IS" title=""Information technology -- Telecommunications and information exchange between systems -- Intermediate System to Intermediate System intra-domain routeing information exchange protocol for use in conjunction with the protocol for providing the connectionless-mode network service (ISO 8473)"">IS-IS</a>]; (2) MTU-probe, MTU-ack
[<a href="./rfc7176" title=""Transparent Interconnection of Lots of Links (TRILL) Use of IS-IS"">RFC7176</a>]; and (3) circuit scoped FS-LSP, FS-CSNP, and FS-PSNP
[<a href="./rfc7356" title=""IS-IS Flooding Scope Link State PDUs (LSPs)"">RFC7356</a>].)
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| RBridge-Channel (0x8946) | CHV=0 | Channel Protocol=0x004|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Flags | ERR | SubERR| RESV4 | SType | 0x2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
/ Security Information, variable length (0 length if SType = 0) /
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...
| L2-IS-IS (0x22F4) | 0x83 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| rest of IS-IS PDU
+-+-+-+-+-+-+-+-+-+-+-+-+-+-...
Figure 7: Message Structure with TRILL IS-IS Packet Payload
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. Ethernet Frame</span>
If PType is 3, the extended RBridge Channel payload is an Ethernet
frame as might be received from or sent to an end station except that
the encapsulated Ethernet frame's FCS is omitted, as shown in
Figure 8. (There is still an overall final FCS if the RBridge
Channel message is being sent on an Ethernet link.) If this PType is
implemented and the message meets local policy, the encapsulated
frame is handled as if it had been received on the port on which the
Extended RBridge Channel message was received.
The priority of the RBridge Channel message can be copied from the
Ethernet frame VLAN tag, if one is present, except that priority 7
SHOULD only be used for messages critical to establishing or
maintaining adjacency and priority 6 SHOULD only be used for other
important control messages.
<span class="grey">Eastlake, et al. Standards Track [Page 11]</span>
<span id="page-12" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| RBridge-Channel (0x8946) | 0x0 | Channel Protocol=0x004|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Flags | ERR | SubERR| RESV4 | SType | 0x3 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
/ Security Information, variable length (0 length if SType = 0) /
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MacDA |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MacDA (cont.) | MacSA |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MacSA (cont.) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Any Ethernet frame tagging...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...
| Ethernet frame payload...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...
Figure 8: Message Structure with Ethernet Frame Payload
In the case of a non-Ethernet link, such as a PPP (Point-to-Point
Protocol) link [<a href="./rfc6361" title=""PPP Transparent Interconnection of Lots of Links (TRILL) Protocol Control Protocol"">RFC6361</a>], the ports on the link are considered to
have link-local synthetic 48-bit MAC addresses constructed as
described below. Such a constructed address MAY be used as a MacSA.
If the RBridge Channel message is individually addressed to a link-
local port, the source TRILL switch will have the information to
construct such a MAC address for the destination TRILL switch port,
and that MAC address MAY be used as the MacDA. By the use of such a
MacSA and either such a unicast MacDA or a group-addressed MacDA, an
Ethernet frame can be sent between two TRILL switch ports connected
by a non-Ethernet link.
These synthetic TRILL switch port MAC addresses for non-Ethernet
ports are constructed as follows (and as shown in Figure 9): 0xFEFF,
the nickname of the TRILL switch used in TRILL Hellos sent on that
port, and the Port ID that the TRILL switch has assigned to that
port. (Both the Port ID of the port on which a TRILL Hello is sent
and the nickname of the sending TRILL switch appear in the Special
VLANs and Flags sub-TLV [<a href="./rfc7176" title=""Transparent Interconnection of Lots of Links (TRILL) Use of IS-IS"">RFC7176</a>] in TRILL IS-IS Hellos.) The
resulting MAC address has the Local bit on and the Group bit off
[<a href="./rfc7042" title=""IANA Considerations and IETF Protocol and Documentation Usage for IEEE 802 Parameters"">RFC7042</a>]. However, since there will be no Ethernet end stations on
a non-Ethernet link in a TRILL campus, such synthetic MAC addresses
cannot conflict on the link with a real Ethernet port address
regardless of their values.
<span class="grey">Eastlake, et al. Standards Track [Page 12]</span>
<span id="page-13" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 0xFEFF | Nickname |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Port ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 9: Synthetic MAC Address
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Extended RBridge Channel Security</span>
Table 2 below gives the assigned values of the SType (Security Type)
field and their meaning. Use of DTLS Pairwise Security (SType = 2)
or Composite Security (SType = 3) is RECOMMENDED.
While IS-IS CRYPTO_AUTH-based authentication is also specified and
can be used for both pairwise and multi-destination traffic, it
provides only authentication and is not considered to meet current
security standards. For example, it does not provide for key
negotiation; thus, its use is NOT RECOMMENDED.
The Extended RBridge Channel DTLS-based security specified in
<a href="#section-4.4">Section 4.4</a> and the Composite Security specified in <a href="#section-4.5">Section 4.5</a> are
intended for pairwise (known unicast) use. That is, the case where
the M bit in the TRILL Header is zero and any Outer.MacDA is
individually addressed.
Multi-destination Extended RBridge Channel packets would be those
with the M bit in the TRILL Header set to one or, in the native
RBridge Channel case, the Outer.MacDA would be group addressed. The
DTLS Pairwise Security and Composite Security STypes can also be used
in the multi-destination case by serially unicasting the messages to
all data-accessible RBridges (or stations in the native RBridge
Channel case) in the recipient group. For TRILL Data packets, that
group is specified by the Data Label; for native frames, the group is
specified by the groupcast destination MAC address. It is intended
to specify a true group keyed SType to secure multi-destination
packets in a separate document [<a href="#ref-GroupKey">GroupKey</a>].
<span class="grey">Eastlake, et al. Standards Track [Page 13]</span>
<span id="page-14" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
SType Description Reference
----- ----------- ---------
0 None <a href="./rfc7978#section-4.2">Section 4.2 of RFC 7978</a>
1 IS-IS CRYPTO_AUTH-Based <a href="./rfc7978#section-4.3">Section 4.3 of RFC 7978</a>
Authentication
2 DTLS Pairwise Security <a href="./rfc7978#section-4.4">Section 4.4 of RFC 7978</a>
3 Composite Security <a href="./rfc7978#section-4.5">Section 4.5 of RFC 7978</a>
4-14 Unassigned
15 Reserved
Table 2: SType Values
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Derived Keying Material</span>
In some cases, it is possible to use material derived from IS-IS
CRYPTO_AUTH keying material [<a href="./rfc5310" title=""IS-IS Generic Cryptographic Authentication"">RFC5310</a>] as an element of Extended
RBridge Channel security. It is assumed that the IS-IS keying
material is of high quality. The material actually used is derived
from the IS-IS keying material as follows:
Derived Material =
HKDF-Expand-SHA256 ( IS-IS-key, "Extended Channel" | 0x0S, L )
where "|" indicates concatenation, HKDF is as in [<a href="./rfc5869" title=""HMAC-based Extract-and-Expand Key Derivation Function (HKDF)"">RFC5869</a>], SHA256 is
as in [<a href="./rfc6234" title=""US Secure Hash Algorithms (SHA and SHA-based HMAC and HKDF)"">RFC6234</a>], IS-IS-key is the input IS-IS keying material,
"Extended Channel" is the 16-character ASCII [<a href="./rfc20" title=""ASCII format for network interchange"">RFC20</a>] string indicated
without any leading length byte or trailing zero byte, 0x0S is a
single byte where S is the SType for which this key derivation is
being used and the upper nibble is zero, and L is the length of the
output-derived material needed.
Whenever IS-IS keying material is being used as above, the underlying
IS-IS CRYPTO_AUTH keying material [<a href="./rfc5310" title=""IS-IS Generic Cryptographic Authentication"">RFC5310</a>] might expire or be
invalidated. At the time of or before such expiration or
invalidation, the use of the Derived Material from the IS-IS keying
material MUST cease. Continued security MAY use new derived material
from currently valid IS-IS CRYPTO_AUTH keying material.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. SType None</span>
No security services are being invoked. The length of the Security
Information field (see Figure 4) is zero.
<span class="grey">Eastlake, et al. Standards Track [Page 14]</span>
<span id="page-15" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. IS-IS CRYPTO_AUTH-Based Authentication</span>
This SType provides security for Extended RBridge Channel messages
similar to that provided for [<a href="#ref-IS-IS" title=""Information technology -- Telecommunications and information exchange between systems -- Intermediate System to Intermediate System intra-domain routeing information exchange protocol for use in conjunction with the protocol for providing the connectionless-mode network service (ISO 8473)"">IS-IS</a>] PDUs by the [<a href="#ref-IS-IS" title=""Information technology -- Telecommunications and information exchange between systems -- Intermediate System to Intermediate System intra-domain routeing information exchange protocol for use in conjunction with the protocol for providing the connectionless-mode network service (ISO 8473)"">IS-IS</a>]
Authentication TLV. The Security Information (see Figure 4) is as
shown in Figure 10.
1 1 1 1 1 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| RESV | Size |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Key ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+
| Authentication Data (Variable)
+
|
+-+-+-+-+-+-+-+-+-+-+-+-+-...
Figure 10: SType 1 Security Information
o RESV: Four bits that MUST be sent as zero and ignored on receipt.
o Size: Set to 2 + the size of Authentication Data in bytes.
o Key ID: specifies the keying value and authentication algorithm
that the Key ID specifies for TRILL IS-IS LSP [<a href="./rfc5310" title=""IS-IS Generic Cryptographic Authentication"">RFC5310</a>]
Authentication TLVs. The keying material actually used is always
derived as shown in <a href="#section-4.1">Section 4.1</a>.
o Authentication Data: The authentication data produced by the
derived key and algorithm associated with the Key ID acting on the
part of the TRILL Data packet shown. Length of the authentication
data depends on the algorithm. The authentication value is
included in the security information field and is treated as zero
when authentication is calculated.
As show in Figure 11, the area covered by this authentication starts
with the byte immediately after the TRILL Header optional Flag Word
if it is present. If the Flag Word is not present, it starts after
the TRILL Header Ingress Nickname. In either case, it extends to
just before the TRILL Data packet link trailer. For example, for an
Ethernet packet it would extend to just before the FCS.
<span class="grey">Eastlake, et al. Standards Track [Page 15]</span>
<span id="page-16" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
+-----------------------------+
| Link Header |
+-----------------------------+
| TRILL Header |
| (plus optional Flag Word) |
+-----------------------------+ ^
| Inner Ethernet Addresses | |
+-----------------------------+ .
| Data Label (VLAN or FGL) | |
+-----------------------------+ .
| RBridge Channel Header | | <-authentication
+-----------------------------+ .
| Extended Channel Header | |
| (plus Security Information)| .
+-----------------------------+ |
| Payload | .
+-----------------------------+ v
| Link Trailer |
+-----------------------------+
Figure 11: SType 1 Authentication Coverage
In the native RBridge Channel case, this authentication coverage is
as specified in the above paragraph except that it starts with the
RBridge-Channel Ethertype, since there is no TRILL Header, inner
Ethernet addresses, or inner Data Label (see Figure 12).
+-----------------------------+
| Ethernet Header |
+-----------------------------+ ^
| RBridge Channel Header | |
+-----------------------------+ .
| Extended Channel Header | | <-authentication
| (plus Security Information)| .
+-----------------------------+ |
| Payload | .
+-----------------------------+ v
| Ethernet Trailer |
+-----------------------------+
Figure 12: Native SType 1 Authentication Coverage
RBridges, which are IS-IS routers, can reasonably be expected to hold
IS-IS CRYPTO_AUTH keying material [<a href="./rfc5310" title=""IS-IS Generic Cryptographic Authentication"">RFC5310</a>] so that this SType can be
used for RBridge Channel messages, which go between RBridges. How
end stations might come to hold IS-IS CRYPTO_AUTH keying material is
<span class="grey">Eastlake, et al. Standards Track [Page 16]</span>
<span id="page-17" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
beyond the scope of this document. Thus, this SType might not be
applicable to native RBridge Channel messages, which are between an
RBridge and an end station.
<span class="h3"><a class="selflink" id="section-4.4" href="#section-4.4">4.4</a>. DTLS Pairwise Security</span>
DTLS [<a href="./rfc6347" title=""Datagram Transport Layer Security Version 1.2"">RFC6347</a>] supports key negotiation and provides both encryption
and authentication. The RBridge Channel Extended Header DTLS
Pairwise SType uses a negotiated DTLS version that MUST NOT be less
than 1.2.
When DTLS pairwise security is used, the entire payload of the
Extended RBridge Channel packet, starting just after the null
Security Information and ending just before the link trailer, is one
or more DTLS records [<a href="./rfc6347" title=""Datagram Transport Layer Security Version 1.2"">RFC6347</a>]. As specified in [<a href="./rfc6347" title=""Datagram Transport Layer Security Version 1.2"">RFC6347</a>], DTLS
records MUST be limited by the path MTU, in this case so that each
record fits entirely within a single Extended RBridge Channel
message. A minimum path MTU can be determined from the TRILL campus
minimum MTU Sz, which will not be less than 1470 bytes, by allowing
for the TRILL Data packet, extended RBridge Channel, and DTLS framing
overhead. With this SType, the security information between the
extended RBridge Channel header and the payload is null because all
the security information is in the payload area.
The DTLS Pairwise keying is set up between a pair of RBridges,
independent of Data Label, using messages of a priority configurable
at the RBridge level, which defaults to priority 6. DTLS message
types other than application_data can be the payload of an extended
RBridge Channel message with a TRILL Header using any Data Label,
and, for such DTLS message types, the PType in the RBridge Channel
Header Extension is ignored.
Actual application_data sent within such a message using this SType
SHOULD use the Data Label and priority as specified for that
application_data. In this case, the PType value in the RBridge
Channel Header Extension applies to the decrypted application_data.
TRILL switches that implement the extended RBridge Channel DTLS
Pairwise SType SHOULD support the use of certificates for DTLS, but
certificate size may be limited by the DTLS requirement that each
record fit within a single message. Appropriate certificate contents
are out of scope for this document.
TRILL switches that support the extended RBridge Channel DTLS
Pairwise SType MUST support the use of pre-shared keys. If the
psk_identity (see [<a href="./rfc4279" title=""Pre-Shared Key Ciphersuites for Transport Layer Security (TLS)"">RFC4279</a>]) is two bytes, it is interpreted as a Key
ID as defined in [<a href="./rfc5310" title=""IS-IS Generic Cryptographic Authentication"">RFC5310</a>], and the value derived as shown in
<a href="#section-4.1">Section 4.1</a> from that key is used as a pre-shared key for DTLS
<span class="grey">Eastlake, et al. Standards Track [Page 17]</span>
<span id="page-18" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
negotiation. A psk_identity with a length other than two bytes MAY
be used to indicate other implementation-dependent pre-shared keys.
Pre-shared keys used for DTLS negotiation SHOULD be shared only by
the pair of endpoints; otherwise, security could be attacked by
diverting messages to another endpoint holding that pre-shared key.
<span class="h3"><a class="selflink" id="section-4.5" href="#section-4.5">4.5</a>. Composite Security</span>
Composite Security (SType = 3) is the combination of DTLS Pairwise
Security and IS-IS CRYPTO_AUTH-Based Authentication. On
transmission, the DTLS record or records to be sent are secured as
specified in <a href="#section-4.4">Section 4.4</a> then used as the payload for the application
of Authentication as specified in <a href="#section-4.3">Section 4.3</a>. On reception, the
IS-IS CRYPTO_AUTH-based authentication is verified first and an error
is returned if it fails. If the IS-IS CRYPTO_AUTH-based
authentication succeeds, then the DTLS record or records are
processed.
An advantage of Composite Security is that the payload is
authenticated and encrypted with a modern security protocol; in
addition, the RBridge Channel Header and (except in the native case)
preceding the MAC addresses and Data Label are provided with some
authentication.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Extended RBridge Channel Errors</span>
RBridge Channel Header Extension errors are reported like RBridge
Channel errors. The ERR field is set to one of the following error
codes:
Value RBridge Channel Error Code Meaning
----- ------------------------------------
6 Unknown or unsupported field value
7 Authentication failure
8 Error in nested RBridge Channel message
Table 3: Additional ERR Values
<span class="grey">Eastlake, et al. Standards Track [Page 18]</span>
<span id="page-19" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. SubERRs</span>
If the ERR field is 6, the SubERR field indicates the problematic
field or value as shown in the table below. At this time no
suberrror codes are assigned under any other ERR field value.
Err SubERR Meaning (for ERR = 6)
--- ------ -----------------------
0 No Error; suberrors not allowed
1-5 (no suberrors assigned)
6 0 Reserved
6 1 Non-zero RESV4 nibble
6 2 Unsupported SType
6 3 Unsupported PType
6 4 Unknown Key ID
6 5 Unsupported Ethertype with PType = 2
6 6 Unsupported authentication algorithm for SType = 1
6 7 Non-zero SubERR with zero ERR field
7-14 (no suberrors assigned)
15 Reserved
Table 4: SubERR Values
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Secure Nested RBridge Channel Errors</span>
If
o an extended RBridge Channel message is sent with security and with
a payload type (PType) indicating an Ethertyped payload and the
Ethertype indicates a nested RBridge Channel message and
o there is an error in the processing of that nested message that
results in a return RBridge Channel message with a non-zero ERR
field,
then that returned message SHOULD also be nested in an extended
RBridge Channel message using the same type of security. In this
case, the ERR field in the Extended RBridge Channel envelope is set
to 8 indicating that there is a nested error in the message being
tunneled back.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. IANA Considerations</span>
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Extended RBridge Channel Protocol Number</span>
IANA has assigned 0x004 from the range assigned by Standards Action
[<a href="./rfc5226" title="">RFC5226</a>] as the RBridge Channel protocol number to indicate RBridge
Channel Header Extension.
<span class="grey">Eastlake, et al. Standards Track [Page 19]</span>
<span id="page-20" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
The added "RBridge Channel Protocols" registry in the TRILL
Parameters registry is as follows:
Protocol Description Reference
-------- -------------------------- ----------------
0x004 RBridge Channel Extension <a href="./rfc7978">RFC 7978</a>
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. RBridge Channel Protocol Subregistries</span>
IANA has created three subregistries under the "RBridge Channel
Protocols" registry as detailed in the subsections below.
<span class="h4"><a class="selflink" id="section-6.2.1" href="#section-6.2.1">6.2.1</a>. RBridge Channel Error Codes</span>
IANA has assigned three additional code points in the "RBridge
Channel Error Codes" subregistry in the "Transparent Interconnection
of Lots of Links (TRILL) Parameters" registry. The additional
entries are as shown in Table 3 in <a href="#section-5">Section 5</a> and the "Reference"
column value is "<a href="./rfc7978">RFC 7978</a>" for those rows.
<span class="h4"><a class="selflink" id="section-6.2.2" href="#section-6.2.2">6.2.2</a>. RBridge Channel SubError Codes</span>
IANA has created a subregistry indented under the "RBridge Channel
Error Codes" registry, for RBridge Channel SubError Codes. The
initial contents of this subregistry are shown in Table 4 in <a href="#section-5.1">Section</a>
<a href="#section-5.1">5.1</a> and the fourth column "Reference" includes value "<a href="./rfc7978">RFC 7978</a>" for
all rows. The header information is as follows:
Registry Name: RBridge Channel SubError Codes
Registration Procedures: IETF Review
Reference: <a href="./rfc7978">RFC 7978</a>
<span class="h4"><a class="selflink" id="section-6.2.3" href="#section-6.2.3">6.2.3</a>. Extended RBridge Channel Payload Types Subregistry</span>
IANA has created an "Extended RBridge Channel Payload Types"
subregistry after the "RBridge Channel Protocols" registry in the
"Transparent Interconnection of Lots of Links (TRILL) Parameters"
registry. The header information is as follows:
Registration Procedures: IETF Review
Reference: <a href="./rfc7978">RFC 7978</a>
The initial registry content is in Table 1 in <a href="#section-3">Section 3</a> of this
document.
<span class="grey">Eastlake, et al. Standards Track [Page 20]</span>
<span id="page-21" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
<span class="h4"><a class="selflink" id="section-6.2.4" href="#section-6.2.4">6.2.4</a>. Extended RBridge Channel Security Types Subregistry</span>
IANA has created an "Extended RBridge Channel Security Types"
subregistry after the "Extended RBridge Channel Payload Types"
registry in the "Transparent Interconnection of Lots of Links (TRILL)
Parameters" registry. The header information is as follows:
Registration Procedures: IETF Review
Reference: <a href="./rfc7978">RFC 7978</a>
The initial registry content is in Table 2 in <a href="#section-4">Section 4</a> of this
document.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
The RBridge Channel Header Extension has potentially positive and
negative effects on security.
On the positive side, it provides optional security that can be used
to authenticate and/or encrypt RBridge Channel messages. Some
RBridge Channel message payloads, such as BFD [<a href="./rfc7175" title=""Transparent Interconnection of Lots of Links (TRILL): Bidirectional Forwarding Detection (BFD) Support"">RFC7175</a>], provide
their own security but where this is not true, consideration should
be given, when specifying an RBridge Channel protocol, to
recommending or requiring use of the security features of the RBridge
Channel Header Extension.
On the negative side, the optional ability to tunnel more payload
types, and to tunnel them between TRILL switches and to and from end
stations, can increase risk unless precautions are taken. The
processing of decapsulated extended RBridge Channel payloads is a
place where you SHOULD NOT be liberal in what you accept. This is
because the tunneling facility makes it easier for unexpected
messages to pop up in unexpected places in a TRILL campus due to
accidents or the actions of an adversary. Local policies SHOULD
generally be strict and only accept payload types required and then
only with adequate security for the particular circumstances.
See the first paragraph of <a href="#section-4">Section 4</a> for recommendations on SType
usage.
See [<a href="./rfc7457" title=""Summarizing Known Attacks on Transport Layer Security (TLS) and Datagram TLS (DTLS)"">RFC7457</a>] for security considerations of DTLS.
If IS-IS authentication is not being used, then IS-IS CRYPTO_AUTH
keying material [<a href="./rfc5310" title=""IS-IS Generic Cryptographic Authentication"">RFC5310</a>] would not normally be available but that
presumably represents a judgment by the TRILL campus operator that no
security is needed.
<span class="grey">Eastlake, et al. Standards Track [Page 21]</span>
<span id="page-22" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
See [<a href="./rfc7178" title=""Transparent Interconnection of Lots of Links (TRILL): RBridge Channel Support"">RFC7178</a>] for general RBridge Channel security considerations and
[<a href="./rfc6325" title=""Routing Bridges (RBridges): Base Protocol Specification"">RFC6325</a>] for general TRILL security considerations.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Normative References</span>
[<a id="ref-IS-IS">IS-IS</a>] International Organization for Standardization,
"Information technology -- Telecommunications and
information exchange between systems -- Intermediate System
to Intermediate System intra-domain routeing information
exchange protocol for use in conjunction with the protocol
for providing the connectionless-mode network service
(ISO 8473)", ISO/IEC 10589:2002, Second Edition, 2002.
[<a id="ref-RFC20">RFC20</a>] Cerf, V., "ASCII format for network interchange", STD 80,
<a href="./rfc20">RFC 20</a>, DOI 10.17487/RFC0020, October 1969,
<<a href="https://www.rfc-editor.org/info/rfc20">http://www.rfc-editor.org/info/rfc20</a>>.
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="https://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC4279">RFC4279</a>] Eronen, P., Ed., and H. Tschofenig, Ed., "Pre-Shared Key
Ciphersuites for Transport Layer Security (TLS)", <a href="./rfc4279">RFC 4279</a>,
DOI 10.17487/RFC4279, December 2005,
<<a href="https://www.rfc-editor.org/info/rfc4279">http://www.rfc-editor.org/info/rfc4279</a>>.
[<a id="ref-RFC5310">RFC5310</a>] Bhatia, M., Manral, V., Li, T., Atkinson, R., White, R.,
and M. Fanto, "IS-IS Generic Cryptographic Authentication",
<a href="./rfc5310">RFC 5310</a>, DOI 10.17487/RFC5310,v February 2009,
<<a href="https://www.rfc-editor.org/info/rfc5310">http://www.rfc-editor.org/info/rfc5310</a>>.
[<a id="ref-RFC5869">RFC5869</a>] Krawczyk, H. and P. Eronen, "HMAC-based Extract-and-Expand
Key Derivation Function (HKDF)", <a href="./rfc5869">RFC 5869</a>,
DOI 10.17487/RFC5869, May 2010,
<<a href="https://www.rfc-editor.org/info/rfc5869">http://www.rfc-editor.org/info/rfc5869</a>>.
[<a id="ref-RFC6325">RFC6325</a>] Perlman, R., Eastlake 3rd, D., Dutt, D., Gai, S., and A.
Ghanwani, "Routing Bridges (RBridges): Base Protocol
Specification", <a href="./rfc6325">RFC 6325</a>, DOI 10.17487/RFC6325, July 2011,
<<a href="https://www.rfc-editor.org/info/rfc6325">http://www.rfc-editor.org/info/rfc6325</a>>.
[<a id="ref-RFC6347">RFC6347</a>] Rescorla, E. and N. Modadugu, "Datagram Transport Layer
Security Version 1.2", <a href="./rfc6347">RFC 6347</a>, DOI 10.17487/RFC6347,
January 2012, <<a href="https://www.rfc-editor.org/info/rfc6347">http://www.rfc-editor.org/info/rfc6347</a>>.
<span class="grey">Eastlake, et al. Standards Track [Page 22]</span>
<span id="page-23" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
[<a id="ref-RFC7172">RFC7172</a>] Eastlake 3rd, D., Zhang, M., Agarwal, P., Perlman, R., and
D. Dutt, "Transparent Interconnection of Lots of Links
(TRILL): Fine-Grained Labeling", <a href="./rfc7172">RFC 7172</a>,
DOI 10.17487/RFC7172, May 2014,
<<a href="https://www.rfc-editor.org/info/rfc7172">http://www.rfc-editor.org/info/rfc7172</a>>.
[<a id="ref-RFC7176">RFC7176</a>] Eastlake 3rd, D., Senevirathne, T., Ghanwani, A., Dutt, D.,
and A. Banerjee, "Transparent Interconnection of Lots of
Links (TRILL) Use of IS-IS", <a href="./rfc7176">RFC 7176</a>,
DOI 10.17487/RFC7176, May 2014,
<<a href="https://www.rfc-editor.org/info/rfc7176">http://www.rfc-editor.org/info/rfc7176</a>>.
[<a id="ref-RFC7178">RFC7178</a>] Eastlake 3rd, D., Manral, V., Li, Y., Aldrin, S., and D.
Ward, "Transparent Interconnection of Lots of Links
(TRILL): RBridge Channel Support", <a href="./rfc7178">RFC 7178</a>,
DOI 10.17487/RFC7178, May 2014,
<<a href="https://www.rfc-editor.org/info/rfc7178">http://www.rfc-editor.org/info/rfc7178</a>>.
[<a id="ref-RFC7356">RFC7356</a>] Ginsberg, L., Previdi, S., and Y. Yang, "IS-IS Flooding
Scope Link State PDUs (LSPs)", <a href="./rfc7356">RFC 7356</a>,
DOI 10.17487/RFC7356, September 2014,
<<a href="https://www.rfc-editor.org/info/rfc7356">http://www.rfc-editor.org/info/rfc7356</a>>.
[<a id="ref-RFC7780">RFC7780</a>] Eastlake 3rd, D., Zhang, M., Perlman, R., Banerjee, A.,
Ghanwani, A., and S. Gupta, "Transparent Interconnection of
Lots of Links (TRILL): Clarifications, Corrections, and
Updates", <a href="./rfc7780">RFC 7780</a>, DOI 10.17487/RFC7780, February 2016,
<<a href="https://www.rfc-editor.org/info/rfc7780">http://www.rfc-editor.org/info/rfc7780</a>>.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Informative References</span>
[<a id="ref-RFC5226">RFC5226</a>] Narten, T. and H. Alvestrand, "Guidelines for Writing an
IANA Considerations Section in RFCs", <a href="https://www.rfc-editor.org/bcp/bcp26">BCP 26</a>, <a href="./rfc5226">RFC 5226</a>,
DOI 10.17487/RFC5226, May 2008,
<<a href="https://www.rfc-editor.org/info/rfc5226">http://www.rfc-editor.org/info/rfc5226</a>>.
[<a id="ref-RFC6234">RFC6234</a>] Eastlake 3rd, D. and T. Hansen, "US Secure Hash Algorithms
(SHA and SHA-based HMAC and HKDF)", <a href="./rfc6234">RFC 6234</a>,
DOI 10.17487/RFC6234, May 2011,
<<a href="https://www.rfc-editor.org/info/rfc6234">http://www.rfc-editor.org/info/rfc6234</a>>.
[<a id="ref-RFC6361">RFC6361</a>] Carlson, J. and D. Eastlake 3rd, "PPP Transparent
Interconnection of Lots of Links (TRILL) Protocol Control
Protocol", <a href="./rfc6361">RFC 6361</a>, DOI 10.17487/RFC6361, August 2011,
<<a href="https://www.rfc-editor.org/info/rfc6361">http://www.rfc-editor.org/info/rfc6361</a>>.
<span class="grey">Eastlake, et al. Standards Track [Page 23]</span>
<span id="page-24" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
[<a id="ref-RFC7042">RFC7042</a>] Eastlake 3rd, D. and J. Abley, "IANA Considerations and
IETF Protocol and Documentation Usage for IEEE 802
Parameters", <a href="https://www.rfc-editor.org/bcp/bcp141">BCP 141</a>, <a href="./rfc7042">RFC 7042</a>, DOI 10.17487/RFC7042,
October 2013, <<a href="https://www.rfc-editor.org/info/rfc7042">http://www.rfc-editor.org/info/rfc7042</a>>.
[<a id="ref-RFC7067">RFC7067</a>] Dunbar, L., Eastlake 3rd, D., Perlman, R., and I.
Gashinsky, "Directory Assistance Problem and High-Level
Design Proposal", <a href="./rfc7067">RFC 7067</a>, DOI 10.17487/RFC7067, November
2013, <<a href="https://www.rfc-editor.org/info/rfc7067">http://www.rfc-editor.org/info/rfc7067</a>>.
[<a id="ref-RFC7175">RFC7175</a>] Manral, V., Eastlake 3rd, D., Ward, D., and A. Banerjee,
"Transparent Interconnection of Lots of Links (TRILL):
Bidirectional Forwarding Detection (BFD) Support",
<a href="./rfc7175">RFC 7175</a>, DOI 10.17487/RFC7175, May 2014,
<<a href="https://www.rfc-editor.org/info/rfc7175">http://www.rfc-editor.org/info/rfc7175</a>>.
[<a id="ref-RFC7457">RFC7457</a>] Sheffer, Y., Holz, R., and P. Saint-Andre, "Summarizing
Known Attacks on Transport Layer Security (TLS) and
Datagram TLS (DTLS)", <a href="./rfc7457">RFC 7457</a>, DOI 10.17487/RFC7457,
February 2015, <<a href="https://www.rfc-editor.org/info/rfc7457">http://www.rfc-editor.org/info/rfc7457</a>>.
[<a id="ref-AddrFlush">AddrFlush</a>]
Hao, W., Eastlake, D., and Y. Li, "TRILL: Address Flush
Message", Work in Progress, <a href="./draft-ietf-trill-address-flush-00">draft-ietf-trill-address-</a>
<a href="./draft-ietf-trill-address-flush-00">flush-00</a>, May 2016.
[<a id="ref-GroupKey">GroupKey</a>]
Eastlake, D., <a style="text-decoration: none" href='https://www.google.com/search?sitesearch=datatracker.ietf.org%2Fdoc%2Fhtml%2F&q=inurl:draft-+%22TRILL%3A+Group+Keying%22'>"TRILL: Group Keying"</a>, Work in Progress,
<a href="./draft-eastlake-trill-group-keying-00">draft-eastlake-trill-group-keying-00</a>, July 2016.
[<a id="ref-TRILL-AF">TRILL-AF</a>]
Eastlake, D., Li, Y., Umair, M., Banerjee, A., and F. Hu,
"TRILL: Appointed Forwarders", Work in Progress,
<a href="./draft-ietf-trill-rfc6439bis-03">draft-ietf-trill-rfc6439bis-03</a>, August 2016.
<span class="grey">Eastlake, et al. Standards Track [Page 24]</span>
<span id="page-25" ></span>
<span class="grey"><a href="./rfc7978">RFC 7978</a> TRILL: RBridge Channel Extension September 2016</span>
Acknowledgements
The contributions of the following are hereby gratefully
acknowledged:
Stephen Farrell, Jonathan Hardwick, Susan Hares, Gayle Noble, Alvaro
Retana, Yaron Sheffer, and Peter Yee.
Authors' Addresses
Donald E. Eastlake, 3rd
Huawei Technologies
155 Beaver Street
Milford, MA 01757
United States of America
Phone: +1-508-333-2270
Email: [email protected]
Mohammed Umair
IPinfusion
Email: [email protected]
Yizhou Li
Huawei Technologies
101 Software Avenue
Nanjing 210012
China
Phone: +86-25-56622310
Email: [email protected]
Eastlake, et al. Standards Track [Page 25]
Annotations
Select text to annotate