idnits 2.17.1 draft-ietf-dime-capablities-update-05.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 (June 18, 2010) is 5062 days in the past. Is this intentional? -- Found something which looks like a code comment -- if you have code sections in the document, please surround them with '' and '' lines. Checking references for intended status: Proposed Standard ---------------------------------------------------------------------------- (See RFCs 3967 and 4897 for information about using normative references to lower-maturity documents in RFCs) == Outdated reference: A later version (-34) exists of draft-ietf-dime-rfc3588bis-21 -- Obsolete informational reference (is this intentional?): RFC 4960 (Obsoleted by RFC 9260) Summary: 0 errors (**), 0 flaws (~~), 2 warnings (==), 3 comments (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 Network Working Group K. Jiao 3 Internet-Draft Huawei 4 Intended status: Standards Track G. Zorn 5 Expires: December 20, 2010 Network Zen 6 June 18, 2010 8 The Diameter Capabilities Update Application 9 draft-ietf-dime-capablities-update-05 11 Abstract 13 This document defines a new Diameter application and associated 14 command codes. The Capabilities Update application is intended to 15 allow the dynamic update of certain Diameter peer capabilities while 16 the peer-to-peer connection is in the open state. 18 Status of this Memo 20 This Internet-Draft is submitted in full conformance with the 21 provisions of BCP 78 and BCP 79. 23 Internet-Drafts are working documents of the Internet Engineering 24 Task Force (IETF). Note that other groups may also distribute 25 working documents as Internet-Drafts. The list of current Internet- 26 Drafts is at http://datatracker.ietf.org/drafts/current/. 28 Internet-Drafts are draft documents valid for a maximum of six months 29 and may be updated, replaced, or obsoleted by other documents at any 30 time. It is inappropriate to use Internet-Drafts as reference 31 material or to cite them other than as "work in progress." 33 This Internet-Draft will expire on December 20, 2010. 35 Copyright Notice 37 Copyright (c) 2010 IETF Trust and the persons identified as the 38 document authors. All rights reserved. 40 This document is subject to BCP 78 and the IETF Trust's Legal 41 Provisions Relating to IETF Documents 42 (http://trustee.ietf.org/license-info) in effect on the date of 43 publication of this document. Please review these documents 44 carefully, as they describe your rights and restrictions with respect 45 to this document. Code Components extracted from this document must 46 include Simplified BSD License text as described in Section 4.e of 47 the Trust Legal Provisions and are provided without warranty as 48 described in the Simplified BSD License. 50 Table of Contents 52 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 53 2. Specification of Requirements . . . . . . . . . . . . . . . . . 3 54 3. Diameter Protocol Considerations . . . . . . . . . . . . . . . 3 55 4. Capabilities Update . . . . . . . . . . . . . . . . . . . . . . 3 56 4.1. Command-Code Values . . . . . . . . . . . . . . . . . . . . 4 57 4.1.1. Capabilities-Update-Request . . . . . . . . . . . . . . 5 58 4.1.2. Capabilities-Update-Answer . . . . . . . . . . . . . . 5 59 5. Security Considerations . . . . . . . . . . . . . . . . . . . . 6 60 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 6 61 6.1. Application Identifier . . . . . . . . . . . . . . . . . . 6 62 6.2. Command Codes . . . . . . . . . . . . . . . . . . . . . . . 6 63 7. Contributors . . . . . . . . . . . . . . . . . . . . . . . . . 6 64 8. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 6 65 9. References . . . . . . . . . . . . . . . . . . . . . . . . . . 6 66 9.1. Normative References . . . . . . . . . . . . . . . . . . . 6 67 9.2. Informative References . . . . . . . . . . . . . . . . . . 7 68 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 7 70 1. Introduction 72 Capabilities exchange is an important component of the Diameter Base 73 Protocol [I-D.ietf-dime-rfc3588bis], allowing peers to exchange 74 identities and Diameter capabilities (protocol version number, 75 supported Diameter applications, security mechanisms, etc.). As 76 defined in RFC 3588, however, the capabilities exchange process takes 77 place only once, at the inception of a transport connection between a 78 given pair of peers. Therefore, if a peer's capabilities change (due 79 to software update, for example), the existing connection(s) must be 80 torn down (along with all of the associated user sessions) and 81 restarted before the modified capabilities can be advertised. 83 This document defines a new Diameter application intended to allow 84 the dynamic update of a subset of Diameter peer capabilities over an 85 existing connection. Because the Capabilities Update application 86 specified herein operates over an existing transport connection, 87 modification of certain capabilities is prohibited. Specifically, 88 modifying the security mechanism in use is not allowed; if the 89 security method used between a pair of peers is changed the affected 90 connection MUST be restarted. 92 Discussion of this draft may be directed to the dime Working Group of 93 the IETF (dime@ietf.org). 95 2. Specification of Requirements 97 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 98 "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this 99 document are to be interpreted as described in RFC 2119 [RFC2119]. 101 3. Diameter Protocol Considerations 103 This section details the relationship of the Diameter Capabilities 104 Update application to the Diameter Base Protocol. 106 This document specifies Diameter Application-ID . Diameter 107 nodes conforming to this specification MUST advertise support by 108 including the value in the Auth-Application-Id of the 109 Capabilities-Exchange-Request and Capabilities-Exchange-Answer 110 commands [I-D.ietf-dime-rfc3588bis]. 112 4. Capabilities Update 114 When the capabilities of a Diameter node conforming to this 115 specification change, it MUST notify all of the nodes with which it 116 has an open transport connection and have also advertised support for 117 the Capabilities Update application using the Capabilities-Update- 118 Request (CUR) message (Section 4.1.1). This message allows the 119 update of a peer's capabilities (supported Diameter applications, 120 etc.). 122 A Diameter node only issues a given command to those peers that have 123 advertised support for the Diameter application that defines the 124 command. A Diameter node MUST cache the supported applications in 125 order to ensure that unrecognized commands and/or AVPs are not 126 unnecessarily sent to a peer. 128 The receiver of the CUR MUST determine common applications by 129 computing the intersection of its own set of supported Application Id 130 against all of the application identifier AVPs (Auth-Application-Id, 131 Acct-Application-Id and Vendor-Specific- Application-Id) present in 132 the CUR. The value of the Vendor-Id AVP in the Vendor-Specific- 133 Application-Id MUST NOT be used during computation. 135 If the receiver of a CUR does not have any applications in common 136 with the sender then it MUST return a Capabilities-Update-Answer 137 (CUA) (Section 4.1.2) with the Result-Code AVP set to 138 DIAMETER_NO_COMMON_APPLICATION, and SHOULD disconnect the transport 139 layer connection; however, if active sessions are using the 140 connection, peers MAY delay disconnection until the sessions can be 141 redirected or gracefully terminated. Note that receiving a CUA from 142 a peer advertising itself as a Relay (see [I-D.ietf-dime-rfc3588bis], 143 Section 2.4) MUST be interpreted as having common applications with 144 the peer. 146 The CUR and CUA messages MUST NOT be proxied, redirected or relayed. 148 Even though the CUR/CUA messages cannot be proxied, it is still 149 possible for an upstream agent to receive a message for which there 150 are no peers available to handle the application that corresponds to 151 the Command-Code. This could happen if, for example, the peers are 152 too busy or down. In such instances, the 'E' bit MUST be set in the 153 answer message with the Result-Code AVP set to 154 DIAMETER_UNABLE_TO_DELIVER to inform the downstream peer to take 155 action (e.g., re-routing requests to an alternate peer). 157 4.1. Command-Code Values 159 This section defines Command-Code [I-D.ietf-dime-rfc3588bis] values 160 that MUST be supported by all Diameter implementations conforming to 161 this specification. The following Command Codes are defined in this 162 document: Capabilities-Update-Request (CUR, Section 4.1.1) and 163 Capabilities-Update-Answer (CUA, Section 4.1.2). 165 4.1.1. Capabilities-Update-Request 167 The Capabilities-Update-Request (CUR), indicated by the Command-Code 168 set to and the Command Flags' 'R' bit set, is sent to update 169 local capabilities. Upon detection of a transport failure, this 170 message MUST NOT be sent to an alternate peer. 172 When Diameter is run over SCTP [RFC4960], which allows connections to 173 span multiple interfaces and multiple IP addresses, the Capabilities- 174 Update-Request message MUST contain one Host-IP-Address AVP for each 175 potential IP address that may be locally used when transmitting 176 Diameter messages. 178 Message Format 180 ::= < Diameter Header: TBD2, REQ > 181 { Origin-Host } 182 { Origin-Realm } 183 1* { Host-IP-Address } 184 { Vendor-Id } 185 { Product-Name } 186 [ Origin-State-Id ] 187 * [ Supported-Vendor-Id ] 188 * [ Auth-Application-Id ] 189 * [ Acct-Application-Id ] 190 * [ Vendor-Specific-Application-Id ] 191 [ Firmware-Revision ] 192 * [ AVP ] 194 4.1.2. Capabilities-Update-Answer 196 The Capabilities-Update-Answer, indicated by the Command-Code set to 197 and the Command Flags' 'R' bit cleared, is sent in response to 198 a CUR message. 200 Message Format 202 ::= < Diameter Header: TBD3 > 203 { Origin-Host } 204 { Origin-Realm } 205 { Result-Code } 206 [ Error-Message ] 207 * [ AVP ] 209 5. Security Considerations 211 The security considerations applicable to the Diameter Base Protocol 212 [I-D.ietf-dime-rfc3588bis] are also applicable to this document. 214 6. IANA Considerations 216 This section explains the criteria to be used by the IANA for 217 assignment of numbers within namespaces used within this document. 219 6.1. Application Identifier 221 This specification assigns the value from the Application 222 Identifiers namespace defined in RFC 3588. See Section 3 for the 223 assignment of the namespace in this specification. 225 6.2. Command Codes 227 This specification assigns the values and from the 228 Command Codes namespace defined in RFC 3588. See Section 4.1 for the 229 assignment of the namespace in this specification. 231 7. Contributors 233 This document is based upon work done by Tina Tsou. 235 8. Acknowledgements 237 Thanks to Sebastien Decugis, Niklas Neumann, Subash Comerica, Lionel 238 Morand and Ravi for helpful discussion. 240 9. References 242 9.1. Normative References 244 [I-D.ietf-dime-rfc3588bis] 245 Fajardo, V., Arkko, J., Loughney, J., and G. Zorn, 246 "Diameter Base Protocol", draft-ietf-dime-rfc3588bis-21 247 (work in progress), June 2010. 249 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 250 Requirement Levels", BCP 14, RFC 2119, March 1997. 252 9.2. Informative References 254 [RFC4960] Stewart, R., "Stream Control Transmission Protocol", 255 RFC 4960, September 2007. 257 Authors' Addresses 259 Jiao Kang 260 Huawei Technologies 261 Section B1, Huawei Industrial Base 262 Bantian, Longgang District 263 Shenzhen 518129 264 P.R. China 266 Phone: +86 755 2878-6690 267 Email: kangjiao@huawei.com 269 Glen Zorn 270 Network Zen 271 1463 East Republican Street 272 #358 273 Seattle, WA 98112 274 USA 276 Email: gwz@net-zen.net