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
|
<pre>Internet Engineering Task Force (IETF) L. Bertz
Request for Comments: 7660 S. Manning
Category: Standards Track Sprint
ISSN: 2070-1721 B. Hirschman
October 2015
<span class="h1">Diameter Congestion and Filter Attributes</span>
Abstract
This document defines optional Diameter attributes that can be used
to help manage networks that use Explicit Congestion Notification
(ECN) or Diameter traffic filters. These new attributes allow for
improved data traffic identification, support of ECN, and minimal
Diameter filter administration.
<a href="./rfc5777">RFC 5777</a> defines a Filter-Rule Attribute Value Pair (AVP) that
accommodates extensions for classification, conditions, and actions.
It, however, does not support traffic identification for packets
using Explicit Congestion Notification as defined in <a href="./rfc3168">RFC 3168</a> and
does not provide specific actions when the flow(s) described by the
Filter-Rule are congested.
Further, a Filter-Rule can describe multiple flows but not the exact
number of flows. Flow count and other associated data (e.g.,
packets) are not captured by accounting applications, leaving
administrators without useful information regarding the effectiveness
or appropriateness of the filter definition.
The optional attributes defined in this document are forward and
backwards compatible with <a href="./rfc5777">RFC 5777</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="./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/rfc7660">http://www.rfc-editor.org/info/rfc7660</a>.
<span class="grey">Bertz Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7660">RFC 7660</a> Congestion and Filter Attributes October 2015</span>
Copyright Notice
Copyright (c) 2015 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.
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-2">2</a>. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
3. ECN-IP-Codepoint, Congestion-Treatment and Filter Attributes . 4
<a href="#section-3.1">3.1</a>. ECN-IP-Codepoint AVP . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-3.2">3.2</a>. Congestion-Treatment AVP . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-3.3">3.3</a>. Flow-Count AVP . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-3.4">3.4</a>. Packet-Count AVP . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-4">4</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-4.1">4.1</a>. AVP Codes . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-5">5</a>. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-5.1">5.1</a>. Classifier Example . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
5.2. Diameter Credit Control (CC) with Congestion Information . 6
<a href="#section-6">6</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-7">7</a>. Normative References . . . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<span class="grey">Bertz Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7660">RFC 7660</a> Congestion and Filter Attributes October 2015</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Two optional AVPs related to Explicit Congestion Notification (ECN)
[<a href="./rfc3168" title=""The Addition of Explicit Congestion Notification (ECN) to IP"">RFC3168</a>] are specified in this document. The first AVP provides
direct support for filtering ECN-marked traffic [<a href="./rfc3168" title=""The Addition of Explicit Congestion Notification (ECN) to IP"">RFC3168</a>] and the
second AVP provides the ability to define alternate traffic treatment
when congestion is experienced.
This document also defines two optional AVPs, Flow-Count and Packet-
Count, used for conveying flow information within the Diameter
protocol [<a href="./rfc6733" title=""Diameter Base Protocol"">RFC6733</a>]. These AVPs were found to be useful for a wide
range of applications. The AVPs provide a way to convey information
of the group of flows described by the Filter-Rule, IPFilterRule, or
other Diameter traffic filters.
The semantics and encoding of all AVPs can be found in <a href="#section-3">Section 3</a>.
Such AVPs are, for example, needed by some congestion-management
functions to determine the number of flows congested or used by
administrators to determine the impact of filter definitions.
Additional parameters may be defined in future documents as the need
arises. All parameters are defined as Diameter-encoded Attribute
Value Pairs (AVPs), which are described using a modified version of
the Augmented Backus-Naur Form (ABNF), see [<a href="./rfc6733" title=""Diameter Base Protocol"">RFC6733</a>]. The data types
are also taken from [<a href="./rfc6733" title=""Diameter Base Protocol"">RFC6733</a>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Terminology</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in <a href="./rfc2119">RFC2119</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="grey">Bertz Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7660">RFC 7660</a> Congestion and Filter Attributes October 2015</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. ECN-IP-Codepoint, Congestion-Treatment, and Filter Attributes</span>
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. ECN-IP-Codepoint AVP</span>
The ECN-IP-Codepoint AVP (AVP Code 628) is of type Enumerated and
specifies the ECN codepoint values to match in the IP header.
Value | Binary | Keyword | References
-----------------------------------------------------------------
0 | 00 | Not-ECT (Not ECN-Capable Transport)| [<a href="./rfc3168" title=""The Addition of Explicit Congestion Notification (ECN) to IP"">RFC3168</a>]
1 | 01 | ECT(1) (ECN-Capable Transport) | [<a href="./rfc3168" title=""The Addition of Explicit Congestion Notification (ECN) to IP"">RFC3168</a>]
2 | 10 | ECT(0) (ECN-Capable Transport) | [<a href="./rfc3168" title=""The Addition of Explicit Congestion Notification (ECN) to IP"">RFC3168</a>]
3 | 11 | CE (Congestion Experienced) | [<a href="./rfc3168" title=""The Addition of Explicit Congestion Notification (ECN) to IP"">RFC3168</a>]
When this AVP is used for classification in the Filter-Rule, it MUST
be part of the Classifier Grouped AVP as defined in <a href="./rfc5777">RFC 5777</a>.
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Congestion-Treatment AVP</span>
The Congestion-Treatment AVP (AVP Code 629) is of type Grouped. It
indicates how to treat traffic IP (5-tuple) flow(s) when congestion
is detected. The detection of congestion can be based on the
reception of IP packets with the Congestion Experience (CE) codepoint
set (see [<a href="./rfc3168" title=""The Addition of Explicit Congestion Notification (ECN) to IP"">RFC3168</a>]) or by any other administratively defined
criteria.
A Filter-Rule may contain a Classifier that describes one or many
5-tuples per <a href="./rfc5777">RFC 5777</a>. This treatment applies to all packets
associated to all 5-tuples (flows) captured by the Filter-Rule.
If the Congestion-Treatment AVP is absent, the treatment of the
congested traffic is left to the discretion of the node performing
quality-of-service (QoS) treatment.
Congestion-Treatment ::= < AVP Header: 629 >
{ Treatment-Action }
[ QoS-Profile-Template ]
[ QoS-Parameters ]
* [ AVP ]
Treatment-Action, QoS-Profile-Template, and QoS-Parameters are
defined in <a href="./rfc5777">RFC 5777</a>. The Congestion-Treatment AVP is an action and
MUST be an attribute of the Filter-Rule Grouped AVP as defined in <a href="./rfc5777">RFC</a>
<a href="./rfc5777">5777</a>.
<span class="grey">Bertz Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7660">RFC 7660</a> Congestion and Filter Attributes October 2015</span>
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. Flow-Count AVP</span>
The Flow-Count AVP (AVP Code 630) is of type Unsigned64.
It indicates the number of protocol-specific flows. The protocol is
determined by the filter (e.g., IPFilterRule, Filter-Id, etc.).
<span class="h3"><a class="selflink" id="section-3.4" href="#section-3.4">3.4</a>. Packet-Count AVP</span>
The Packet-Count AVP (AVP Code 631) is of type Unsigned64.
It indicates the number of protocol-specific packets. The protocol
is determined by the filter (e.g., IPFilterRule, Filter-Id, etc.).
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. IANA Considerations</span>
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. AVP Codes</span>
IANA allocated AVP codes in the IANA-controlled namespace registry
specified in <a href="./rfc6733#section-11.1.1">Section 11.1.1 of [RFC6733]</a> for the following AVPs that
are defined in this document.
+------------------------------------------------------------------+
| AVP Section |
|AVP Code Defined Data Type |
+------------------------------------------------------------------+
|ECN-IP-Codepoint 628 3.1 Enumerated |
|Congestion-Treatment 629 3.2 Grouped |
|Flow-Count 630 3.3 Unsigned64 |
|Packet-Count 631 3.4 Unsigned64 |
+------------------------------------------------------------------+
<span class="grey">Bertz Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7660">RFC 7660</a> Congestion and Filter Attributes October 2015</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Examples</span>
The following examples illustrate the use of the AVPs defined in this
document.
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Classifier Example</span>
The Classifier AVP (AVP Code 511) specified in <a href="./rfc5777">RFC 5777</a> is a grouped
AVP that consists of a set of attributes that specify how to match a
packet. The addition of the ECN-IP-Codepoint is shown here.
Classifier ::= < AVP Header: 511 >
{ Classifier-ID }
[ Protocol ]
[ Direction ]
[ ECN-IP-Codepoint ]
* [ From-Spec ]
* [ To-Spec ]
* [ Diffserv-Code-Point ]
[ Fragmentation-Flag ]
* [ IP-Option ]
* [ TCP-Option ]
[ TCP-Flags ]
* [ ICMP-Type ]
* [ ETH-Option ]
* [ AVP ]
Setting the ECN-IP-Codepoint value to 'CE' would permit the capture
of CE flags in the Flow.
Another Classifier with the ECN-IP-Codepoint value of 'ECT' could be
specified and, when coupled with the Flow-Count AVP, reports the
number of ECT-capable flows.
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Diameter Credit Control (CC) with Congestion Information</span>
Diameter nodes using Credit Control can use the Congestion-Treatment
AVP to trigger specific actions when congestion occurs. This is
similar to the Excess-Treatment Action. The ability to detect when
congestion occurs is specific to the AVPs in the Filter-Rule and
Diameter Client and is no different than how 'Excess' can be
determined for Excess-Treatment. If conditions associated with
Excess-Treatment [<a href="./rfc5777" title=""Traffic Classification and Quality of Service (QoS) Attributes for Diameter"">RFC5777</a>] or Congestion-Treatment have occurred,
Diameter Clients may autonomously send Credit-Control Requests (CCRs)
during the Service Delivery session as interim events. This is shown
in Figure 1.
<span class="grey">Bertz Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7660">RFC 7660</a> Congestion and Filter Attributes October 2015</span>
Service Element
End User (CC Client) CC Server
| | |
|(1) Service Request | |
|-------------------->| |
| |(2) CCR (Initial, |
| | QoS-Resources(QoS-Desired)) |
| |--------------------------------->|
| |(3) CCA (Granted-Units, |
| | QoS-Resources(QoS-Authorized))|
| |<---------------------------------|
|(4) Service Delivery | |
|<------------------->| |
| (5) Congestion Detected |
| (6) Congestion Treatment Occurs |
| |(7) CCR (Termination, Used-Units, |
| | Flow-Count, Packet-Count, |
| | QoS-Resources(QoS-Delivered)) |
| |--------------------------------->|
| |(8) CCA |
| |<-------------------------------->|
| | |
| | |
|(9) End of Service | |
|-------------------->| |
| |(10)CCR (Termination, Used-Units, |
| | Flow-Count, Packet-Count, |
| | QoS-Resources(QoS-Delivered)) |
| |--------------------------------->|
| |(11) CCA |
| |<---------------------------------|
Figure 1: Example of a Diameter Credit Control with
Congestion Information
The 'Used-Service-Units' described in <a href="./rfc5777">RFC 5777</a> examples is
customarily a Service-Units, Time-Units, or Byte-Count AVP. This is
insufficient to represent network state and does not differentiate
between throughput and good-put (good or quality throughput) even
though the filters may imply good or poor throughput.
Flow-Count and Packet-Count AVPs defined in this document could be
sent with a CCR when the triggering event is related to Congestion-
Treatment. This provides the CC Server with a better view of the
type of congested traffic for improved decision making and charging.
Sending such AVPs under any condition permits rudimentary traffic
profiling regardless of network conditions. For instance, low byte
counts per packet is indicative of web traffic and high byte counts
<span class="grey">Bertz Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc7660">RFC 7660</a> Congestion and Filter Attributes October 2015</span>
per packet with a small number of flows may be indicative of video
traffic. Enriched reporting described here provides relief from Deep
Packet Inspection load and loss of information as traffic becomes
increasingly encrypted.
Some services, e.g., streaming services, limit the number of flows,
Flow-Count, as opposed to other units, i.e. Byte-Count. In such a
case, the Flow-Count AVP may be used in place of Service-Units.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
This document describes an extension of <a href="./rfc5777">RFC 5777</a> that introduces a
new filter parameter applied to ECN as defined by [<a href="./rfc3168" title=""The Addition of Explicit Congestion Notification (ECN) to IP"">RFC3168</a>]. It also
defines a new Grouped AVP that expresses what action to take should
congestion be detected. The Grouped AVP reuses attributes defined in
<a href="./rfc5777">RFC 5777</a>. As these are extensions to <a href="./rfc5777">RFC 5777</a>, they do not raise new
security concerns.
The Flow-Count and Packet-Count AVPs can be provided in conjunction
with customary AVPs, e.g., Bytes, Time, Service units, during
accounting activities as described in the base protocol [<a href="./rfc6733" title=""Diameter Base Protocol"">RFC6733</a>] or
other Diameter applications. These new AVPs provide more information
that can be privacy sensitive. The privacy sensitivity is directly
related to traffic captured by filters and associated reports.
Narrow filtering, which creates the highest level of privacy
sensitivity, is too resource intensive to be widely applied on large
networks. Paradoxically, improving reporting information lessens the
depth of inspection required to characterize traffic for many
congestion management activities as noted in <a href="#section-5.2">Section 5.2</a>.
If an administrator can provide congestion actions without the need
to report them to a Diameter application, they should use the
Congestion-Treatment AVP, which also reduces Diameter traffic during
congestion events.
The Security Considerations of the Diameter protocol itself have been
discussed in <a href="./rfc6733">RFC 6733</a> [<a href="./rfc6733" title=""Diameter Base Protocol"">RFC6733</a>]. Use of the AVPs defined in this
document MUST take into consideration the security issues and
requirements of the Diameter base protocol.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</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>>.
<span class="grey">Bertz Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc7660">RFC 7660</a> Congestion and Filter Attributes October 2015</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-RFC6733">RFC6733</a>] Fajardo, V., Ed., Arkko, J., Loughney, J., and G. Zorn,
Ed., "Diameter Base Protocol", <a href="./rfc6733">RFC 6733</a>,
DOI 10.17487/RFC6733, October 2012,
<<a href="http://www.rfc-editor.org/info/rfc6733">http://www.rfc-editor.org/info/rfc6733</a>>.
[<a id="ref-RFC5777">RFC5777</a>] Korhonen, J., Tschofenig, H., Arumaithurai, M., Jones, M.,
Ed., and A. Lior, "Traffic Classification and Quality of
Service (QoS) Attributes for Diameter", <a href="./rfc5777">RFC 5777</a>,
DOI 10.17487/RFC5777, February 2010,
<<a href="http://www.rfc-editor.org/info/rfc5777">http://www.rfc-editor.org/info/rfc5777</a>>.
Acknowledgements
We would like to thank Avi Lior for his guidance and feedback during
the development of this specification.
Authors' Addresses
Lyle Bertz
Sprint
6220 Sprint Parkway
Overland Park, KS 66251
United States
Email: lyleb551144@gmail.com
Serge Manning
Sprint
6220 Sprint Parkway
Overland Park, KS 66251
United States
Email: sergem913@gmail.com
Brent Hirschman
Email: Brent.Hirschman@gmail.com
Bertz Standards Track [Page 9]
</pre>
|