idnits 2.17.00 (12 Aug 2021) /tmp/idnits8657/draft-mirsky-ippm-hybrid-two-step-09.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- No issues found here. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year -- The document date (30 March 2021) is 417 days in the past. Is this intentional? Checking references for intended status: Proposed Standard ---------------------------------------------------------------------------- (See RFCs 3967 and 4897 for information about using normative references to lower-maturity documents in RFCs) ** Downref: Normative reference to an Informational RFC: RFC 2104 == Outdated reference: A later version (-17) exists of draft-ietf-ippm-ioam-data-12 == Outdated reference: A later version (-07) exists of draft-ietf-ippm-ioam-direct-export-03 == Outdated reference: A later version (-12) exists of draft-song-ippm-postcard-based-telemetry-09 Summary: 1 error (**), 0 flaws (~~), 4 warnings (==), 1 comment (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 IPPM Working Group G. Mirsky 3 Internet-Draft ZTE Corp. 4 Intended status: Standards Track W. Lingqiang 5 Expires: 1 October 2021 G. Zhui 6 ZTE Corporation 7 H. Song 8 Futurewei Technologies 9 30 March 2021 11 Hybrid Two-Step Performance Measurement Method 12 draft-mirsky-ippm-hybrid-two-step-09 14 Abstract 16 Development of, and advancements in, automation of network operations 17 brought new requirements for measurement methodology. Among them is 18 the ability to collect instant network state as the packet being 19 processed by the networking elements along its path through the 20 domain. This document introduces a new hybrid measurement method, 21 referred to as hybrid two-step, as it separates the act of measuring 22 and/or calculating the performance metric from the act of collecting 23 and transporting network state. 25 Status of This Memo 27 This Internet-Draft is submitted in full conformance with the 28 provisions of BCP 78 and BCP 79. 30 Internet-Drafts are working documents of the Internet Engineering 31 Task Force (IETF). Note that other groups may also distribute 32 working documents as Internet-Drafts. The list of current Internet- 33 Drafts is at https://datatracker.ietf.org/drafts/current/. 35 Internet-Drafts are draft documents valid for a maximum of six months 36 and may be updated, replaced, or obsoleted by other documents at any 37 time. It is inappropriate to use Internet-Drafts as reference 38 material or to cite them other than as "work in progress." 40 This Internet-Draft will expire on 1 October 2021. 42 Copyright Notice 44 Copyright (c) 2021 IETF Trust and the persons identified as the 45 document authors. All rights reserved. 47 This document is subject to BCP 78 and the IETF Trust's Legal 48 Provisions Relating to IETF Documents (https://trustee.ietf.org/ 49 license-info) in effect on the date of publication of this document. 50 Please review these documents carefully, as they describe your rights 51 and restrictions with respect to this document. Code Components 52 extracted from this document must include Simplified BSD License text 53 as described in Section 4.e of the Trust Legal Provisions and are 54 provided without warranty as described in the Simplified BSD License. 56 Table of Contents 58 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 59 2. Conventions used in this document . . . . . . . . . . . . . . 3 60 2.1. Acronyms . . . . . . . . . . . . . . . . . . . . . . . . 3 61 2.2. Requirements Language . . . . . . . . . . . . . . . . . . 4 62 3. Problem Overview . . . . . . . . . . . . . . . . . . . . . . 4 63 4. Theory of Operation . . . . . . . . . . . . . . . . . . . . . 5 64 4.1. Operation of the HTS Ingress Node . . . . . . . . . . . . 6 65 4.2. Operation of the HTS Intermediate Node . . . . . . . . . 8 66 4.3. Operation of the HTS Egress Node . . . . . . . . . . . . 9 67 4.4. Considerations for HTS Timers . . . . . . . . . . . . . . 10 68 4.5. Deploying HTS in a Multicast Network . . . . . . . . . . 10 69 5. Authentication in HTS . . . . . . . . . . . . . . . . . . . . 11 70 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 12 71 6.1. IOAM Option-Type for HTS . . . . . . . . . . . . . . . . 12 72 6.2. HTS TLV Registry . . . . . . . . . . . . . . . . . . . . 12 73 6.3. HTS Sub-TLV Type Sub-registry . . . . . . . . . . . . . . 13 74 6.4. HMAC Type Sub-registry . . . . . . . . . . . . . . . . . 14 75 7. Security Considerations . . . . . . . . . . . . . . . . . . . 15 76 8. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 15 77 9. References . . . . . . . . . . . . . . . . . . . . . . . . . 15 78 9.1. Normative References . . . . . . . . . . . . . . . . . . 15 79 9.2. Informative References . . . . . . . . . . . . . . . . . 16 80 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 17 82 1. Introduction 84 Successful resolution of challenges of automated network operation, 85 as part of, for example, overall service orchestration or data center 86 operation, relies on a timely collection of accurate information that 87 reflects the state of network elements on an unprecedented scale. 88 Because performing the analysis and act upon the collected 89 information requires considerable computing and storage resources, 90 the network state information is unlikely to be processed by the 91 network elements themselves but will be relayed into the data storage 92 facilities, e.g., data lakes. The process of producing, collecting 93 network state information also referred to in this document as 94 network telemetry, and transporting it for post-processing should 95 work equally well with data flows or injected in the network test 96 packets. RFC 7799 [RFC7799] describes a combination of elements of 97 passive and active measurement as a hybrid measurement. 99 Several technical methods have been proposed to enable the collection 100 of network state information instantaneous to the packet processing, 101 among them [P4.INT] and [I-D.ietf-ippm-ioam-data]. The 102 instantaneous, i.e., in the data packet itself, collection of 103 telemetry information simplifies the process of attribution of 104 telemetry information to the particular monitored flow. On the other 105 hand, this collection method impacts the data packets, potentially 106 changing their treatment by the networking nodes. Also, the amount 107 of information the instantaneous method collects might be incomplete 108 because of the limited space it can be allotted. Other proposals 109 defined methods to collect telemetry information in a separate packet 110 from each node traversed by the monitored data flow. Examples of 111 this approach to collecting telemetry information are 112 [I-D.ietf-ippm-ioam-direct-export] and 113 [I-D.song-ippm-postcard-based-telemetry]. These methods allow data 114 collection from any arbitrary path and avoid directly impacting data 115 packets. On the other hand, the correlation of data and the 116 monitored flow requires that each packet with telemetry information 117 also includes characteristic information about the monitored flow. 119 This document introduces Hybrid Two-Step (HTS) as a new method of 120 telemetry collection that improvers accuracy of a measurement by 121 separating the act of measuring or calculating the performance metric 122 from the collecting and transporting this information while 123 minimizing the overhead of the generated load in a network. HTS 124 method extends the two-step mode of Residence Time Measurement (RTM) 125 defined in [RFC8169] to on-path network state collection and 126 transport. HTS allows the collection of telemetry information from 127 any arbitrary path, does not change data packets of the monitored 128 flow and makes the process of attribution of telemetry to the data 129 flow simple. 131 2. Conventions used in this document 133 2.1. Acronyms 135 RTM Residence Time Measurement 137 ECMP Equal Cost Multipath 139 MTU Maximum Transmission Unit 141 HTS Hybrid Two-Step 142 HMAC Hashed Message Authentication Code 144 Network telemetry - the process of collecting and reporting of 145 network state 147 2.2. Requirements Language 149 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 150 "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and 151 "OPTIONAL" in this document are to be interpreted as described in BCP 152 14 [RFC2119] [RFC8174] when, and only when, they appear in all 153 capitals, as shown here. 155 3. Problem Overview 157 Performance measurements are meant to provide data that characterize 158 conditions experienced by traffic flows in the network and possibly 159 trigger operational changes (e.g., re-route of flows, or changes in 160 resource allocations). Modifications to a network are determined 161 based on the performance metric information available when a change 162 is to be made. The correctness of this determination is based on the 163 quality of the collected metrics data. The quality of collected 164 measurement data is defined by: 166 * the resolution and accuracy of each measurement; 168 * predictability of both the time at which each measurement is made 169 and the timeliness of measurement collection data delivery for 170 use. 172 Consider the case of delay measurement that relies on collecting time 173 of packet arrival at the ingress interface and time of the packet 174 transmission at the egress interface. The method includes recording 175 a local clock value on receiving the first octet of an affected 176 message at the device ingress, and again recording the clock value on 177 transmitting the first byte of the same message at the device egress. 178 In this ideal case, the difference between the two recorded clock 179 times corresponds to the time that the message spent in traversing 180 the device. In practice, the time recorded can differ from the ideal 181 case by any fixed amount. A correction can be applied to compute the 182 same time difference taking into account the known fixed time 183 associated with the actual measurement. In this way, the resulting 184 time difference reflects any variable delay associated with queuing. 186 Depending on the implementation, it may be a challenge to compute the 187 difference between message arrival and departure times and - on the 188 fly - add the necessary residence time information to the same 189 message. And that task may become even more challenging if the 190 packet is encrypted. Recording the departure of a packet time in the 191 same packet may be decremental to the accuracy of the measurement 192 because the departure time includes the variable time component (such 193 as that associated with buffering and queuing of the packet). A 194 similar problem may lower the quality of, for example, information 195 that characterizes utilization of the egress interface. If unable to 196 obtain the data consistently, without variable delays for additional 197 processing, information may not accurately reflect the egress 198 interface state. To mitigate this problem [RFC8169] defined an RTM 199 two-step mode. 201 Another challenge associated with methods that collect network state 202 information into the actual data packet is the risk to exceed the 203 Maximum Transmission Unit (MTU) size, especially if the packet 204 traverses overlay domains or VPNs. Since the fragmentation is not 205 available at the transport network, operators may have to reduce MTU 206 size advertised to the client layer or risk missing network state 207 data for the part, most probably the latter part, of the path. 209 4. Theory of Operation 211 The HTS method consists of two phases: 213 * performing a measurement or obtaining network state information, 214 one or more than one type, on a node; 216 * collecting and transporting the measurement. 218 HTS uses HTS Trigger carried in a data packet or a specially 219 constructed test packet. For example, an HTS Trigger could be a 220 packet that has IOAM Option-Type set to the "IOAM Hybrid Two-Step 221 Option-Type" value (TBA1) allocated by IANA (see Section 6.1). The 222 HTS Trigger also includes IOAM Namespace-ID and IOAM-Trace-Type 223 information [I-D.ietf-ippm-ioam-data]. A packet in the flow to which 224 the Alternate-Marking method [RFC8321] is applied can be used as an 225 HTS Trigger. The nature of the HTS Trigger is a transport network 226 layer-specific, and its description is outside the scope of this 227 document. The packet that includes the HTS Trigger in this document 228 is also referred to as the trigger packet. 230 The HTS method uses the HTS Follow-up packet, referred to as the 231 follow-up packet, to collect measurement and network state data from 232 the nodes. The node that creates the HTS Trigger also generates the 233 HTS Follow-up packet. The follow-up packet contains characteristic 234 information, copied from the trigger packet, sufficient for 235 participating HTS nodes to associate it with the original packet. 236 The exact composition of the characteristic information is specific 237 for each transport network, and its definition is outside the scope 238 of this document. The follow-up packet also uses the same 239 encapsulation as the data packet. If not payload but only network 240 information used to load-balance flows in equal cost multipath 241 (ECMP), use of the network encapsulation identical to the trigger 242 packet should guarantee that the follow-up packet remains in-band, 243 i.e., traverses the same set of network elements, with the original 244 data packet with the HTS Trigger. Only one outstanding follow-up 245 packet MUST be on the node for the given path. That means that if 246 the node receives an HTS Trigger for the flow on which it still waits 247 for the follow-up packet to the previous HTS Trigger, the node will 248 originate the follow-up packet to transport the former set of the 249 network state data and transmit it before it sends the follow-up 250 packet with the latest collection of network state information. 252 4.1. Operation of the HTS Ingress Node 254 A node that originates the HTS Trigger is referred to as the HTS 255 ingress node. As stated, the ingress node originates the follow-up 256 packet. The follow-up packet has the transport network encapsulation 257 identical with the trigger packet followed by the HTS shim and one or 258 more telemetry information elements encoded as Type-Length-Value 259 {TLV}. Figure 1 displays an example of the follow-up packet format. 261 0 1 2 3 262 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 263 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 264 | | 265 ~ Transport Network ~ 266 | Encapsulation | 267 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 268 |Ver|HTS Shim Len| Flags | Sequence Number | 269 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 270 | Telemetry Data Profile | 271 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 272 | | 273 ~ Telemetry Data TLVs ~ 274 | | 275 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 277 Figure 1: Follow-up Packet Format 279 Fields of the HTS shim are as follows: 281 Version (Ver) is the two-bits long field. It specifies the 282 version of the HTS shim format. This document defines the format 283 for the 0b00 value of the field. 285 HTS Shim Length is the six bits-long field. It defines the length 286 of the HTS shim in bytes. The minimal value of the field is four 287 bytes. 289 0 290 0 1 2 3 4 5 6 7 291 +-+-+-+-+-+-+-+-+ 292 |F| Reserved | 293 +-+-+-+-+-+-+-+-+ 295 Figure 2: Flags Field Format 297 Flags is eight-bits long. The format of the Flags field displayed 298 in Figure 2. 300 - Full (F) flag MUST be set to zero by the node originating the 301 HTS follow-up packet and MUST be set to one by the node that 302 does not add its telemetry data to avoid exceeding MTU size. 304 - The node originating the follow-up packet MUST zero the 305 Reserved field and ignore it on the receipt. 307 Sequence Number is 16 bits-long field. The zero-based value of 308 the field reflects the place of the HTS follow-up packet in the 309 sequence of the HTS follow-up packets that originated in response 310 to the same HTS trigger. The ingress node MUST set the value of 311 the field to zero. 313 Telemetry Data Profile is the optional variable-length field of 314 bit-size flags. Each flag indicates the requested type of 315 telemetry data to be collected at each HTS node. The increment of 316 the field is four bytes with a minimum length of zero. For 317 example, IOAM-Trace-Type information defined in 318 [I-D.ietf-ippm-ioam-data] can be used in the Telemetry Data 319 Profile field. 321 0 1 2 3 322 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 323 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 324 | Type | Reserved | Length | 325 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 326 ~ Value ~ 327 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 329 Figure 3: Telemetry Data TLV Format 331 Telemetry Data TLV is a variable-length field. Multiple TLVs MAY 332 be placed in an HTS packet. Additional TLVs may be enclosed 333 within a given TLV, subject to the semantics of the (outer) TLV in 334 question. Figure 3 presents the format of a Telemetry Data TLV, 335 where fields are defined as the following: 337 - Type - a one-octet-long field that characterizes the 338 interpretation of the Value field. 340 - Reserved - one-octet-long field. 342 - Length - two-octet-long field equal to the length of the Value 343 field in octets. 345 - Value - a variable-length field. The value of the Type field 346 determines its interpretation and encoding. IOAM data fields, 347 defined in [I-D.ietf-ippm-ioam-data], MAY be carried in the 348 Value field. 350 All multibyte fields defined in this specification are in network 351 byte order. 353 4.2. Operation of the HTS Intermediate Node 355 Upon receiving the trigger packet, the HTS intermediate node MUST: 357 * copy the transport information; 359 * start the HTS Follow-up Timer for the obtained flow; 361 * transmit the trigger packet. 363 Upon receiving the follow-up packet, the HTS intermediate node MUST: 365 1. verify that the matching transport information exists and the 366 Full flag is cleared, then stop the associated HTS Follow-up 367 Timer; 369 2. otherwise, transmit the received packet. Proceed to Step 8; 371 3. collect telemetry data requested in the Telemetry Data Profile 372 field or defined by the local HTS policy; 374 4. if adding the collected telemetry would not exceed MTU, then 375 append data as a new Telemetry Data TLV and transmit the follow- 376 up packet. Proceed to Step 8; 378 5. otherwise, set the value of the Full flag to one, copy the 379 transport information from the received follow-up packet and 380 transmit it accordingly. Proceed to Step 8; 382 6. originate the new follow-up packet using the transport 383 information copied from the received follow-up packet. The value 384 of the Sequence Number field in the HTS shim MUST be set to the 385 value of the field in the received follow-up packet incremented 386 by one; 388 7. copy collected telemetry data into the first Telemetry Data TLV's 389 Value field and then transmit the packet; 391 8. processing completed. 393 If the HTS Follow-up Timer expires, the intermediate node MUST: 395 * originate the follow-up packet using transport information 396 associated with the expired timer; 398 * initialize the HTS shim by setting the Version field's value to 399 0b00 and Sequence Number field to 0. Values of HTS Shim Length 400 and Telemetry Data Profile fields MAY be set according to the 401 local policy. 403 * copy telemetry information into Telemetry Data TLV's Value field 404 and transmit the packet. 406 If the intermediate node receives a "late" follow-up packet, i.e., a 407 packet to which the node has no associated HTS Follow-up timer, the 408 node MUST forward the "late" packet. 410 4.3. Operation of the HTS Egress Node 412 Upon receiving the trigger packet, the HTS egress node MUST: 414 * copy the transport information; 416 * start the HTS Collection timer for the obtained flow. 418 When the egress node receives the follow-up packet for the known 419 flow, i.e., the flow to which the Collection timer is running, the 420 node for each of Telemetry Data TLVs MUST: 422 * if HTS is used in the authenticated mode, verify the 423 authentication of the Telemetry Data TLV using the Authentication 424 sub-TLV (see Section 5); 426 * copy telemetry information from the Value field; 428 * restart the corresponding Collection timer. 430 When the Collection timer expires, the egress relays the collected 431 telemetry information for processing and analysis to a local or 432 remote agent. 434 4.4. Considerations for HTS Timers 436 This specification defines two timers - HTS Follow-up and HTS 437 Collection. For the particular flow, there MUST be no more than one 438 HTS Trigger, values of HTS timers bounded by the rate of the trigger 439 generation for that flow. 441 4.5. Deploying HTS in a Multicast Network 443 Previous sections discussed the operation of HTS in a unicast 444 network. Multicast services are important, and the ability to 445 collect telemetry information is invaluable in delivering a high 446 quality of experience. While the replication of data packets is 447 necessary, replication of HTS follow-up packets is not. Replication 448 of multicast data packets down a multicast tree may be set based on 449 multicast routing information or explicit information included in the 450 special header, as, for example, in Bit-Indexed Explicit Replication 451 [RFC8296]. A replicating node processes the HTS packet as defined 452 below: 454 * the first transmitted multicast packet MUST be followed by the 455 received corresponding HTS packet as described in Section 4.2; 457 * each consecutively transmitted copy of the original multicast 458 packet MUST be followed by the new HTS packet originated by the 459 replicating node that acts as an intermediate HTS node when the 460 HTS Follow-up timer expired. 462 As a result, there are no duplicate copies of Telemetry Data TLV for 463 the same pair of ingress and egress interfaces. At the same time, 464 all ingress/egress pairs traversed by the given multicast packet 465 reflected in their respective Telemetry Data TLV. Consequently, a 466 centralized controller would reconstruct and analyze the state of the 467 particular multicast distribution tree based on HTS packets collected 468 from egress nodes. 470 5. Authentication in HTS 472 Telemetry information may be used to drive network operation, closing 473 the control loop for self-driving, self-healing networks. Thus it is 474 critical to provide a mechanism to protect the telemetry information 475 collected using the HTS method. This document defines an optional 476 authentication of a Telemetry Data TLV that protects the collected 477 information's integrity. 479 The format of the Authentication sub-TLV is displayed in Figure 4. 481 0 1 2 3 482 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 483 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 484 |Authentic. Type| HMAC Type | Length | 485 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 486 | | 487 | Digest | 488 | | 489 | | 490 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 492 Figure 4: HMAC sub-TLV 494 where fields are defined as follows: 496 * Authentication Type - is a one-octet-long field, value TBA2 497 allocated by IANA Section 6.2. 499 * Length - two-octet-long field, set equal to the length of the 500 Digest field in octets. 502 * HMAC Type - is a one-octet-long field that identifies the type of 503 the HMAC and the length of the digest and the length of the digest 504 according to the HTS HMAC Type sub-registry (see Section 6.4). 506 * Digest - is a variable-length field that carries HMAC digest of 507 the text that includes the encompassing TLV. 509 This specification defines the use of HMAC-SHA-256 truncated to 128 510 bits ([RFC4868]) in HTS. Future specifications may define the use in 511 HTS of more advanced cryptographic algorithms or the use of digest of 512 a different length. HMAC is calculated as defined in [RFC2104] over 513 text as the concatenation of the Sequence Number field of the follow- 514 up packet (see Figure 1) and the preceding data collected in the 515 Telemetry Data TLV. The digest then MUST be truncated to 128 bits 516 and written into the Digest field. Distribution and management of 517 shared keys are outside the scope of this document. In the HTS 518 authenticated mode, the Authentication sub-TLV MUST be present in 519 each Telemetry Data TLV. HMAC MUST be verified before using any data 520 in the included Telemetry Data TLV. If HMAC verification fails, the 521 system MUST stop processing corresponding Telemetry Data TLV and 522 notify an operator. Specification of the notification mechanism is 523 outside the scope of this document. 525 6. IANA Considerations 527 6.1. IOAM Option-Type for HTS 529 The IOAM Option-Type registry is requested in 530 [I-D.ietf-ippm-ioam-data]. IANA is requested to allocate a new code 531 point as listed in Table 1. 533 +=======+==================================+===============+ 534 | Value | Description | Reference | 535 +=======+==================================+===============+ 536 | TBA1 | IOAM Hybrid Two-Step Option-Type | This document | 537 +-------+----------------------------------+---------------+ 539 Table 1: IOAM Option-Type for HTS 541 6.2. HTS TLV Registry 543 IANA is requested to create the HTS TLV Type registry. All code 544 points in the range 1 through 175 in this registry shall be allocated 545 according to the "IETF Review" procedure specified in [RFC8126]. 546 Code points in the range 176 through 239 in this registry shall be 547 allocated according to the "First Come First Served" procedure 548 specified in [RFC8126]. The remaining code points are allocated 549 according to Table 2: 551 +===========+==============+===============+ 552 | Value | Description | Reference | 553 +===========+==============+===============+ 554 | 0 | Reserved | This document | 555 +-----------+--------------+---------------+ 556 | 1- 175 | Unassigned | This document | 557 +-----------+--------------+---------------+ 558 | 176 - 239 | Unassigned | This document | 559 +-----------+--------------+---------------+ 560 | 240 - 251 | Experimental | This document | 561 +-----------+--------------+---------------+ 562 | 252 - 254 | Private Use | This document | 563 +-----------+--------------+---------------+ 564 | 255 | Reserved | This document | 565 +-----------+--------------+---------------+ 567 Table 2: HTS TLV Type Registry 569 6.3. HTS Sub-TLV Type Sub-registry 571 IANA is requested to create the HTS sub-TLV Type sub-registry as part 572 of the HTS TLV Type registry. All code points in the range 1 through 573 175 in this registry shall be allocated according to the "IETF 574 Review" procedure specified in [RFC8126]. Code points in the range 575 176 through 239 in this registry shall be allocated according to the 576 "First Come First Served" procedure specified in [RFC8126]. The 577 remaining code points are allocated according to Table 3: 579 +===========+==============+===============+ 580 | Value | Description | Reference | 581 +===========+==============+===============+ 582 | 0 | Reserved | This document | 583 +-----------+--------------+---------------+ 584 | 1- 175 | Unassigned | This document | 585 +-----------+--------------+---------------+ 586 | 176 - 239 | Unassigned | This document | 587 +-----------+--------------+---------------+ 588 | 240 - 251 | Experimental | This document | 589 +-----------+--------------+---------------+ 590 | 252 - 254 | Private Use | This document | 591 +-----------+--------------+---------------+ 592 | 255 | Reserved | This document | 593 +-----------+--------------+---------------+ 595 Table 3: HTS Sub-TLV Type Sub-registry 597 This document defines the following new values in the IETF Review 598 range of the HTS sub-TLV Type sub-registry: 600 +=======+=============+==========+===============+ 601 | Value | Description | TLV Used | Reference | 602 +=======+=============+==========+===============+ 603 | TBA2 | HMAC | Any | This document | 604 +-------+-------------+----------+---------------+ 606 Table 4: HTS sub-TLV Types 608 6.4. HMAC Type Sub-registry 610 IANA is requested to create the HMAC Type sub-registry as part of the 611 HTS TLV Type registry. All code points in the range 1 through 127 in 612 this registry shall be allocated according to the "IETF Review" 613 procedure specified in [RFC8126]. Code points in the range 128 614 through 239 in this registry shall be allocated according to the 615 "First Come First Served" procedure specified in [RFC8126]. The 616 remaining code points are allocated according to Table 5: 618 +===========+==============+===============+ 619 | Value | Description | Reference | 620 +===========+==============+===============+ 621 | 0 | Reserved | This document | 622 +-----------+--------------+---------------+ 623 | 1- 127 | Unassigned | This document | 624 +-----------+--------------+---------------+ 625 | 128 - 239 | Unassigned | This document | 626 +-----------+--------------+---------------+ 627 | 240 - 249 | Experimental | This document | 628 +-----------+--------------+---------------+ 629 | 250 - 254 | Private Use | This document | 630 +-----------+--------------+---------------+ 631 | 255 | Reserved | This document | 632 +-----------+--------------+---------------+ 634 Table 5: HMAC Type Sub-registry 636 This document defines the following new values in the HMAC Type sub- 637 registry: 639 +=======+=============================+===============+ 640 | Value | Description | Reference | 641 +=======+=============================+===============+ 642 | 1 | HMAC-SHA-256 16 octets long | This document | 643 +-------+-----------------------------+---------------+ 645 Table 6: HMAC Types 647 7. Security Considerations 649 Nodes that practice the HTS method are presumed to share a trust 650 model that depends on the existence of a trusted relationship among 651 nodes. This is necessary as these nodes are expected to correctly 652 modify the specific content of the data in the follow-up packet, and 653 the degree to which HTS measurement is useful for network operation 654 depends on this ability. In practice, this means either 655 confidentiality or integrity protection cannot cover those portions 656 of messages that contain the network state data. Though there are 657 methods that make it possible in theory to provide either or both 658 such protections and still allow for intermediate nodes to make 659 detectable yet authenticated modifications, such methods do not seem 660 practical at present, particularly for protocols that used to measure 661 latency and/or jitter. 663 This document defines the use of authentication (Section 5) to 664 protect the integrity of the telemetry information collected using 665 the HTS method. Privacy protection can be achieved by, for example, 666 sharing the IPsec tunnel with a data flow that generates information 667 that is collected using HTS. 669 While it is possible for a supposed compromised node to intercept and 670 modify the network state information in the follow-up packet; this is 671 an issue that exists for nodes in general - for all data that to be 672 carried over the particular networking technology - and is therefore 673 the basis for an additional presumed trust model associated with an 674 existing network. 676 8. Acknowledgments 678 Authors express their gratitude and appreciation to Joel Halpern for 679 the most helpful and insightful discussion on the applicability of 680 HTS in a Service Function Chaining domain. 682 9. References 684 9.1. Normative References 686 [RFC2104] Krawczyk, H., Bellare, M., and R. Canetti, "HMAC: Keyed- 687 Hashing for Message Authentication", RFC 2104, 688 DOI 10.17487/RFC2104, February 1997, 689 . 691 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 692 Requirement Levels", BCP 14, RFC 2119, 693 DOI 10.17487/RFC2119, March 1997, 694 . 696 [RFC8126] Cotton, M., Leiba, B., and T. Narten, "Guidelines for 697 Writing an IANA Considerations Section in RFCs", BCP 26, 698 RFC 8126, DOI 10.17487/RFC8126, June 2017, 699 . 701 [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 702 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, 703 May 2017, . 705 9.2. Informative References 707 [I-D.ietf-ippm-ioam-data] 708 Brockners, F., Bhandari, S., and T. Mizrahi, "Data Fields 709 for In-situ OAM", Work in Progress, Internet-Draft, draft- 710 ietf-ippm-ioam-data-12, 21 February 2021, 711 . 714 [I-D.ietf-ippm-ioam-direct-export] 715 Song, H., Gafni, B., Zhou, T., Li, Z., Brockners, F., 716 Bhandari, S., Sivakolundu, R., and T. Mizrahi, "In-situ 717 OAM Direct Exporting", Work in Progress, Internet-Draft, 718 draft-ietf-ippm-ioam-direct-export-03, 17 February 2021, 719 . 722 [I-D.song-ippm-postcard-based-telemetry] 723 Song, H., Mirsky, G., Filsfils, C., Abdelsalam, A., Zhou, 724 T., Li, Z., Shin, J., and K. Lee, "Postcard-based On-Path 725 Flow Data Telemetry using Packet Marking", Work in 726 Progress, Internet-Draft, draft-song-ippm-postcard-based- 727 telemetry-09, 19 February 2021, 728 . 731 [P4.INT] "In-band Network Telemetry (INT)", P4.org Specification, 732 October 2017. 734 [RFC4868] Kelly, S. and S. Frankel, "Using HMAC-SHA-256, HMAC-SHA- 735 384, and HMAC-SHA-512 with IPsec", RFC 4868, 736 DOI 10.17487/RFC4868, May 2007, 737 . 739 [RFC7799] Morton, A., "Active and Passive Metrics and Methods (with 740 Hybrid Types In-Between)", RFC 7799, DOI 10.17487/RFC7799, 741 May 2016, . 743 [RFC8169] Mirsky, G., Ruffini, S., Gray, E., Drake, J., Bryant, S., 744 and A. Vainshtein, "Residence Time Measurement in MPLS 745 Networks", RFC 8169, DOI 10.17487/RFC8169, May 2017, 746 . 748 [RFC8296] Wijnands, IJ., Ed., Rosen, E., Ed., Dolganow, A., 749 Tantsura, J., Aldrin, S., and I. Meilik, "Encapsulation 750 for Bit Index Explicit Replication (BIER) in MPLS and Non- 751 MPLS Networks", RFC 8296, DOI 10.17487/RFC8296, January 752 2018, . 754 [RFC8321] Fioccola, G., Ed., Capello, A., Cociglio, M., Castaldelli, 755 L., Chen, M., Zheng, L., Mirsky, G., and T. Mizrahi, 756 "Alternate-Marking Method for Passive and Hybrid 757 Performance Monitoring", RFC 8321, DOI 10.17487/RFC8321, 758 January 2018, . 760 Authors' Addresses 762 Greg Mirsky 763 ZTE Corp. 765 Email: gregimirsky@gmail.com, gregory.mirsky@ztetx.com 767 Wang Lingqiang 768 ZTE Corporation 769 No 19 ,East Huayuan Road 770 Beijing 772 Phone: +86 10 82963945 773 Email: wang.lingqiang@zte.com.cn 775 Guo Zhui 776 ZTE Corporation 777 No 19 ,East Huayuan Road 778 Beijing 780 Phone: +86 10 82963945 781 Email: guo.zhui@zte.com.cn 782 Haoyu Song 783 Futurewei Technologies 784 2330 Central Expressway 785 Santa Clara, 786 United States of America 788 Email: hsong@futurewei.com