1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613
|
<pre>Internet Engineering Task Force (IETF) J. Hedin
Request for Comments: 7750 G. Mirsky
Updates: <a href="./rfc5357">5357</a> S. Baillargeon
Category: Standards Track Ericsson
ISSN: 2070-1721 February 2016
<span class="h1">Differentiated Service Code Point and Explicit Congestion Notification</span>
<span class="h1">Monitoring in the Two-Way Active Measurement Protocol (TWAMP)</span>
Abstract
This document describes an optional extension for Two-Way Active
Measurement Protocol (TWAMP) allowing the monitoring of the
Differentiated Service Code Point and Explicit Congestion
Notification fields with the TWAMP-Test protocol.
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="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc7750">http://www.rfc-editor.org/info/rfc7750</a>.
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">Hedin, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7750">RFC 7750</a> DSCP and ECN Monitoring in TWAMP February 2016</span>
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-1.1">1.1</a>. Conventions Used in This Document . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-1.1.1">1.1.1</a>. Terminology . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-1.1.2">1.1.2</a>. Requirements Language . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-2">2</a>. TWAMP Extensions . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-2.1">2.1</a>. Setting Up Connection to Monitor DSCP and ECN . . . . . . <a href="#page-3">3</a>
<a href="#section-2.2">2.2</a>. TWAMP-Test Extension . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
2.2.1. Session-Reflector Packet Format for DSCP and ECN
Monitoring . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
2.2.2. DSCP and ECN Monitoring with Extensions from <a href="./rfc6038">RFC 6038</a> 8
<a href="#section-2.2.3">2.2.3</a>. Consideration for TWAMP Light Mode . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-3">3</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-4">4</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-5">5</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-5.1">5.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-5.2">5.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-11">11</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
The One-Way Active Measurement Protocol (OWAMP) [<a href="./rfc4656" title=""A One-way Active Measurement Protocol (OWAMP)"">RFC4656</a>] defines the
Type-P Descriptor field and negotiation of its value in the OWAMP-
Control protocol. The Two-Way Active Measurement Protocol (TWAMP)
[<a href="./rfc5357" title=""A Two-Way Active Measurement Protocol (TWAMP)"">RFC5357</a>] states that only a Differentiated Services Code Point
(DSCP) value (see [<a href="./rfc2474" title=""Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers"">RFC2474</a>], [<a href="./rfc3168" title=""The Addition of Explicit Congestion Notification (ECN) to IP"">RFC3168</a>], and [<a href="./rfc3260" title=""New Terminology and Clarifications for Diffserv"">RFC3260</a>]) can be defined
by Type-P Descriptor, and the negotiated value must be used by both
the Session-Sender and Session-Reflector. The TWAMP specification
also states that the same DSCP value (found in the Session-Sender
packet) MUST be used in the test packet reflected by the Session-
Reflector. However, the TWAMP-Test protocol does not specify any
methods to determine or report when the DSCP value has changed or is
different than expected in the forward or reverse direction. Re-
marking the DSCP (changing its original value) in IP networks is
possible and often accomplished by a Differentiated Services policy
configured on a single node along the IP path. In many cases, a
change of the DSCP value indicates an unintentional or erroneous
behavior. At best, the Session-Sender can detect a change of the
DSCP reverse direction, assuming such a change is actually
detectable.
This document describes an OPTIONAL feature for TWAMP. It is called
DSCP and ECN Monitoring. It allows the Session-Sender to know the
actual DSCP value received at the Session-Reflector. Furthermore,
this feature tracks the Explicit Congestion Notification (ECN) value
(see [<a href="./rfc2474" title=""Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers"">RFC2474</a>], [<a href="./rfc3168" title=""The Addition of Explicit Congestion Notification (ECN) to IP"">RFC3168</a>], and [<a href="./rfc3260" title=""New Terminology and Clarifications for Diffserv"">RFC3260</a>]) received at the Session-
<span class="grey">Hedin, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7750">RFC 7750</a> DSCP and ECN Monitoring in TWAMP February 2016</span>
Reflector. This is helpful to determine if the ECN is actually
operating or if an ECN-capable node has detected congestion in the
forward direction.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Conventions Used in This Document</span>
<span class="h4"><a class="selflink" id="section-1.1.1" href="#section-1.1.1">1.1.1</a>. Terminology</span>
DSCP: Differentiated Services Code Point
ECN: Explicit Congestion Notification
IPPM: IP Performance Metrics
TWAMP: Two-Way Active Measurement Protocol
OWAMP: One-Way Active Measurement Protocol
<span class="h4"><a class="selflink" id="section-1.1.2" href="#section-1.1.2">1.1.2</a>. Requirements Language</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>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. TWAMP Extensions</span>
TWAMP connection establishment follows the procedure defined in
<a href="./rfc4656#section-3.1">Section 3.1 of [RFC4656]</a> and <a href="./rfc5357#section-3.1">Section 3.1 of [RFC5357]</a> where the Modes
field is used to identify and select specific communication
capabilities. At the same time, the Modes field is recognized and
used as an extension mechanism [<a href="./rfc6038" title=""Two-Way Active Measurement Protocol (TWAMP) Reflect Octets and Symmetrical Size Features"">RFC6038</a>]. The new feature requires a
new flag to identify the ability of a Session-Reflector to return the
values of received DSCP and ECN values back to a Session-Sender, and
to support the new Session-Reflector packet format in the TWAMP-Test
protocol. See <a href="#section-3">Section 3</a> for details on the assigned bit position.
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. Setting Up Connection to Monitor DSCP and ECN</span>
The Server sets the DSCP and ECN Monitoring flag in the Modes field
of the Server Greeting message to indicate its capabilities and
willingness to monitor them. If the Control-Client agrees to monitor
DSCP and ECN on some or all test sessions invoked with this control
connection, it MUST set the DSCP and ECN Monitoring flag in the Modes
field in the Setup Response message.
<span class="grey">Hedin, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7750">RFC 7750</a> DSCP and ECN Monitoring in TWAMP February 2016</span>
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. TWAMP-Test Extension</span>
Monitoring of DSCP and ECN requires support by the Session-Reflector
and changes the test packet format in all the original modes
(unauthenticated, authenticated, and encrypted). Monitoring of DSCP
and ECN does not alter the Session-Sender test packet format, but
certain considerations must be taken when and if this mode is
accepted in combination with Symmetrical Size mode [<a href="./rfc6038" title=""Two-Way Active Measurement Protocol (TWAMP) Reflect Octets and Symmetrical Size Features"">RFC6038</a>].
<span class="h4"><a class="selflink" id="section-2.2.1" href="#section-2.2.1">2.2.1</a>. Session-Reflector Packet Format for DSCP and ECN Monitoring</span>
When the Session-Reflector supports DSCP and ECN Monitoring, it
constructs the Sender DSCP and ECN (S-DSCP-ECN) field, presented in
Figure 1, for each test packet it sends to the Session-Sender
according to the following procedure:
o the six (least-significant) bits of the Differentiated Service
field MUST be copied from the received Session-Sender test packet
into the Sender DSCP (S-DSCP) field;
o the two bits of the ECN field MUST be copied from the received
Session-Sender test packet into the Sender ECN (S-ECN) field.
0 1 2 3 4 5 6 7
+---+---+---+---+---+---+---+---+
| S-DSCP | S-ECN |
+---+---+---+---+---+---+---+---+
Figure 1: Sender DSCP and ECN Field Format
Formats of the test packet transmitted by the Session-Reflector in
unauthenticated, authenticated, and encrypted modes have been defined
in <a href="./rfc5357#section-4.2.1">Section 4.2.1 of [RFC5357]</a>. For the Session-Reflector that
supports DSCP and ECN Monitoring, these formats are displayed in
Figures 2 and 3.
<span class="grey">Hedin, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7750">RFC 7750</a> DSCP and ECN Monitoring in TWAMP February 2016</span>
For unauthenticated mode:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Timestamp |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Error Estimate | MBZ |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Receive Timestamp |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sender Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sender Timestamp |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sender Error Estimate | MBZ |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sender TTL | S-DSCP-ECN | MBZ |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
~ Packet Padding ~
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 2: Session-Reflector Test Packet Format with DSCP and ECN
Monitoring in Unauthenticated Mode
The DSCP and ECN values (part of the Type-P Descriptor [<a href="./rfc4656" title=""A One-way Active Measurement Protocol (OWAMP)"">RFC4656</a>]) can
be provisioned through TWAMP-Control or by other means (command-line
interface (CLI) or Central Controller). The DSCP and ECN values are
often copied into reflected test packets with current TWAMP
implementations without TWAMP-Control protocol. With the DSCP and
ECN Monitoring extension, the Session-Reflector handles the DSCP as
follows:
o the Session-Reflector MUST extract the DSCP and ECN values from
the received packet and MUST use them to populate the S-DSCP-ECN
field of the corresponding reflected packet;
o the Session-Reflector MUST transmit each reflected test packet
with the DSCP set to the provisioned value;
<span class="grey">Hedin, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7750">RFC 7750</a> DSCP and ECN Monitoring in TWAMP February 2016</span>
o if the provisioned DSCP value is not known (e.g., TWAMP Light),
the choice of the DSCP is implementation specific. For instance,
the Session-Reflector MAY copy the DSCP value from the received
test packet and set it as the DSCP in a reflected packet.
Alternatively, the Session-Reflector MAY set the DSCP value to CS0
(zero) [<a href="./rfc2474" title=""Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers"">RFC2474</a>];
o if the provisioned ECN value is not known, ECN SHOULD be set to
Not-ECT codepoint value [<a href="./rfc3168" title=""The Addition of Explicit Congestion Notification (ECN) to IP"">RFC3168</a>]. Otherwise, the provisioned ECN
value for the session SHALL be used.
A Session-Reflector in the DSCP and ECN Monitoring mode does not
analyze nor act on the ECN value of the received TWAMP test packet;
therefore, it ignores congestion indications from the network. It is
expected that sending rates are low enough, as TWAMP deployment
experience had demonstrated since TWAMP base (<a href="./rfc5357">RFC 5357</a>) was published
in 2008, that ignoring these congestion indications will not
significantly contribute to network congestion.
For authenticated and encrypted modes:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| MBZ (12 octets) |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Timestamp |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Error Estimate | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +
| MBZ (6 octets) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Receive Timestamp |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MBZ (8 octets) |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sender Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| MBZ (12 octets) |
| |
<span class="grey">Hedin, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7750">RFC 7750</a> DSCP and ECN Monitoring in TWAMP February 2016</span>
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sender Timestamp |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sender Error Estimate | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +
| MBZ (6 octets) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sender TTL | S-DSCP-ECN | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +
| |
| MBZ (14 octets) |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| HMAC (16 octets) |
| |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
~ Packet Padding ~
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 3: Session-Reflector Test Packet Format with DSCP and ECN
Monitoring in Authenticated or Encrypted Modes
<span class="grey">Hedin, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc7750">RFC 7750</a> DSCP and ECN Monitoring in TWAMP February 2016</span>
<span class="h4"><a class="selflink" id="section-2.2.2" href="#section-2.2.2">2.2.2</a>. DSCP and ECN Monitoring with Extensions from <a href="./rfc6038">RFC 6038</a></span>
[<a id="ref-RFC6038">RFC6038</a>] defined two extensions to TWAMP -- first, to ensure that
the Session-Sender and Session-Reflector exchange TWAMP-Test packets
of equal size; second, to specify the number of octets to be
reflected by Session-Reflector. If DSCP and ECN Monitoring and
Symmetrical Size and/or Reflects Octets modes are being negotiated
between Server and Control-Client in Unauthenticated mode, then,
because Sender DSCP and Sender ECN increase the size of the
unauthenticated Session-Reflector packet by 4 octets, the Padding
Length value SHOULD be greater than or equal to 28 octets to allow
for the truncation process that TWAMP recommends in <a href="./rfc5357#section-4.2.1">Section 4.2.1 of
[RFC5357]</a>.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Timestamp |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Error Estimate | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +
| |
| MBZ (28 octets) |
| |
+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +
| |
. .
. Packet Padding .
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 4: Session-Sender Test Packet Format with DSCP and ECN
Monitoring and Symmetrical Test Packet in Unauthenticated Mode
<span class="h4"><a class="selflink" id="section-2.2.3" href="#section-2.2.3">2.2.3</a>. Consideration for TWAMP Light Mode</span>
<a href="./rfc5357#appendix-I">Appendix I of [RFC5357]</a> does not explicitly state how the value of
the Type-P Descriptor is synchronized between the Session-Sender and
Session-Reflector and whether different values are considered as
error conditions and should be reported. We assume that by some
means the Session-Sender and the Session-Reflector of the given
TWAMP-Test session have been informed to use the same DSCP value.
The same means, i.e., configuration, could be used to inform the
<span class="grey">Hedin, et al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc7750">RFC 7750</a> DSCP and ECN Monitoring in TWAMP February 2016</span>
Session-Reflector to support DSCP and ECN Monitoring mode by copying
data from received TWAMP test packets. Then Session-Sender may be
informed to use the Sender DSCP and ECN field in the reflected TWAMP
test packet.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. IANA Considerations</span>
In the TWAMP-Modes registry defined in [<a href="./rfc5618" title=""Mixed Security Mode for the Two-Way Active Measurement Protocol (TWAMP)"">RFC5618</a>], IANA has reserved a
new DSCP and ECN Monitoring Capability as follows:
+-----+---------------------------+---------------------+-----------+
| Bit | Description | Semantics | Reference |
| Pos | | Definition | |
+-----+---------------------------+---------------------+-----------+
| 8 | DSCP and ECN Monitoring | <a href="#section-2">Section 2</a> | <a href="./rfc7750">RFC 7750</a> |
| | Capability | | |
+-----+---------------------------+---------------------+-----------+
Table 1: New Type-P Descriptor Monitoring Capability
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Security Considerations</span>
Monitoring of DSCP and ECN does not appear to introduce any
additional security threat to hosts that communicate with TWAMP as
defined in [<a href="./rfc5357" title=""A Two-Way Active Measurement Protocol (TWAMP)"">RFC5357</a>] and existing extensions [<a href="./rfc6038" title=""Two-Way Active Measurement Protocol (TWAMP) Reflect Octets and Symmetrical Size Features"">RFC6038</a>]. Sections
such as 3.2, 4, 4.1.2, 4.2, and 4.2.1 of [<a href="./rfc5357" title=""A Two-Way Active Measurement Protocol (TWAMP)"">RFC5357</a>] discuss
unauthenticated, authenticated, and encrypted modes in varying
degrees of detail. The security considerations that apply to any
active measurement of live networks are relevant here as well. See
the Security Considerations sections in [<a href="./rfc4656" title=""A One-way Active Measurement Protocol (OWAMP)"">RFC4656</a>] and [<a href="./rfc5357" title=""A Two-Way Active Measurement Protocol (TWAMP)"">RFC5357</a>].
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. References</span>
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Normative References</span>
[<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="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC2474">RFC2474</a>] Nichols, K., Blake, S., Baker, F., and D. Black,
"Definition of the Differentiated Services Field (DS
Field) in the IPv4 and IPv6 Headers", <a href="./rfc2474">RFC 2474</a>,
DOI 10.17487/RFC2474, December 1998,
<<a href="http://www.rfc-editor.org/info/rfc2474">http://www.rfc-editor.org/info/rfc2474</a>>.
<span class="grey">Hedin, et al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc7750">RFC 7750</a> DSCP and ECN Monitoring in TWAMP February 2016</span>
[<a id="ref-RFC3168">RFC3168</a>] Ramakrishnan, K., Floyd, S., and D. Black, "The Addition
of Explicit Congestion Notification (ECN) to IP",
<a href="./rfc3168">RFC 3168</a>, DOI 10.17487/RFC3168, September 2001,
<<a href="http://www.rfc-editor.org/info/rfc3168">http://www.rfc-editor.org/info/rfc3168</a>>.
[<a id="ref-RFC4656">RFC4656</a>] Shalunov, S., Teitelbaum, B., Karp, A., Boote, J., and M.
Zekauskas, "A One-way Active Measurement Protocol
(OWAMP)", <a href="./rfc4656">RFC 4656</a>, DOI 10.17487/RFC4656, September 2006,
<<a href="http://www.rfc-editor.org/info/rfc4656">http://www.rfc-editor.org/info/rfc4656</a>>.
[<a id="ref-RFC5357">RFC5357</a>] Hedayat, K., Krzanowski, R., Morton, A., Yum, K., and J.
Babiarz, "A Two-Way Active Measurement Protocol (TWAMP)",
<a href="./rfc5357">RFC 5357</a>, DOI 10.17487/RFC5357, October 2008,
<<a href="http://www.rfc-editor.org/info/rfc5357">http://www.rfc-editor.org/info/rfc5357</a>>.
[<a id="ref-RFC5618">RFC5618</a>] Morton, A. and K. Hedayat, "Mixed Security Mode for the
Two-Way Active Measurement Protocol (TWAMP)", <a href="./rfc5618">RFC 5618</a>,
DOI 10.17487/RFC5618, August 2009,
<<a href="http://www.rfc-editor.org/info/rfc5618">http://www.rfc-editor.org/info/rfc5618</a>>.
[<a id="ref-RFC6038">RFC6038</a>] Morton, A. and L. Ciavattone, "Two-Way Active Measurement
Protocol (TWAMP) Reflect Octets and Symmetrical Size
Features", <a href="./rfc6038">RFC 6038</a>, DOI 10.17487/RFC6038, October 2010,
<<a href="http://www.rfc-editor.org/info/rfc6038">http://www.rfc-editor.org/info/rfc6038</a>>.
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Informative References</span>
[<a id="ref-RFC3260">RFC3260</a>] Grossman, D., "New Terminology and Clarifications for
Diffserv", <a href="./rfc3260">RFC 3260</a>, DOI 10.17487/RFC3260, April 2002,
<<a href="http://www.rfc-editor.org/info/rfc3260">http://www.rfc-editor.org/info/rfc3260</a>>.
Acknowledgements
The authors greatly appreciate thorough review and thoughtful
comments by Bill Cerveny, Christofer Flinta, and Samita Chakrabarti.
<span class="grey">Hedin, et al. Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc7750">RFC 7750</a> DSCP and ECN Monitoring in TWAMP February 2016</span>
Authors' Addresses
Jonas Hedin
Ericsson
Email: jonas.hedin@ericsson.com
Greg Mirsky
Ericsson
Email: gregory.mirsky@ericsson.com
Steve Baillargeon
Ericsson
Email: steve.baillargeon@ericsson.com
Hedin, et al. Standards Track [Page 11]
</pre>
|