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
|
<pre>Internet Engineering Task Force (IETF) J. Rosenberg
Request for Comments: 5768 jdrosen.net
Category: Standards Track April 2010
ISSN: 2070-1721
<span class="h1">Indicating Support for Interactive Connectivity Establishment (ICE)</span>
<span class="h1">in the Session Initiation Protocol (SIP)</span>
Abstract
This specification defines a media feature tag and an option tag for
use with the Session Initiation Protocol (SIP). The media feature
tag allows a User Agent (UA) to communicate to its registrar that it
supports ICE. The option tag allows a UA to require support for ICE
in order for a call to proceed.
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/rfc5768">http://www.rfc-editor.org/info/rfc5768</a>.
Copyright Notice
Copyright (c) 2010 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">Rosenberg Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc5768">RFC 5768</a> ICE Support April 2010</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
<a href="#section-2">2</a>. Terminology .....................................................<a href="#page-2">2</a>
<a href="#section-3">3</a>. Motivation ......................................................<a href="#page-3">3</a>
<a href="#section-3.1">3.1</a>. Gateways ...................................................<a href="#page-3">3</a>
<a href="#section-3.2">3.2</a>. Mandating Support for ICE ..................................<a href="#page-3">3</a>
<a href="#section-4">4</a>. Media Feature Tag Definition ....................................<a href="#page-3">3</a>
<a href="#section-5">5</a>. Option Tag Definition ...........................................<a href="#page-4">4</a>
<a href="#section-6">6</a>. Security Considerations .........................................<a href="#page-4">4</a>
<a href="#section-7">7</a>. IANA Considerations .............................................<a href="#page-4">4</a>
<a href="#section-7.1">7.1</a>. Option Tag .................................................<a href="#page-4">4</a>
<a href="#section-7.2">7.2</a>. Media Feature Tag ..........................................<a href="#page-5">5</a>
<a href="#section-8">8</a>. References ......................................................<a href="#page-5">5</a>
<a href="#section-8.1">8.1</a>. Normative References .......................................<a href="#page-5">5</a>
<a href="#section-8.2">8.2</a>. Informative References .....................................<a href="#page-6">6</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
<a href="./rfc3264">RFC 3264</a> [<a href="./rfc3264" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">RFC3264</a>] defines a two-phase exchange of Session
Description Protocol (SDP) [<a href="./rfc4566" title=""SDP: Session Description Protocol"">RFC4566</a>] messages for the purposes of
establishment of multimedia sessions. This offer/answer mechanism is
used by protocols such as the Session Initiation Protocol (SIP)
[<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>].
Protocols using offer/answer are difficult to operate through Network
Address Translators (NAT). Because their purpose is to establish a
flow of media packets, they tend to carry IP addresses within their
messages, which is known to be problematic through NAT [<a href="./rfc3235" title=""Network Address Translator (NAT)-Friendly Application Design Guidelines"">RFC3235</a>]. To
remedy this, an extension to SDP, called Interactive Connectivity
Establishment (ICE) has been defined [<a href="./rfc5245" title=""Interactive Connectivity Establishment (ICE): A Protocol for Network Address Translator (NAT) Traversal for Offer/Answer Protocols"">RFC5245</a>]. ICE defines
procedures by which agents gather a multiplicity of addresses,
include all of them in an SDP offer or answer, and then use peer-to-
peer Session Traversal Utilities for NAT (STUN) [<a href="./rfc5389" title=""Session Traversal Utilities for NAT (STUN)"">RFC5389</a>]
connectivity checks to determine a valid address.
This specification defines a media feature tag, "sip.ice", and a SIP
option tag, "ice", that can be used by SIP User Agents that make use
of ICE. <a href="#section-3">Section 3</a> motivates the need for the media feature tag and
option tag, and <a href="#section-4">Section 4</a> and <a href="#section-5">Section 5</a> formally define them.
<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">RFC 2119</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="grey">Rosenberg Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc5768">RFC 5768</a> ICE Support April 2010</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Motivation</span>
There are two primary motivations for defining an option tag and a
media feature tag. They are support for gateways, and requiring ICE
for a call.
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Gateways</span>
Unfortunately, ICE requires both endpoints to support it in order for
it to be used. Within a domain, there will typically be User Agents
that do and do not support ICE. In order to facilitate deployment of
ICE, it is anticipated that domains will make use of gateways that
act as ICE agents on one side, and non-ICE agents on the other side.
This would allow a call from domain A into domain B to make use of
ICE, even if the device in domain B does not itself yet support ICE.
However, when domain B receives a call, it will need to know whether
the call needs to pass through such a gateway, or whether it can go
to the terminating UA directly.
In order to make such a determination, this specification defines a
media feature tag, "sip.ice", which can be included in the Contact
header field of a REGISTER request [<a href="./rfc3840" title=""Indicating User Agent Capabilities in the Session Initiation Protocol (SIP)"">RFC3840</a>]. This allows the
registrar to track whether or not a UA supports ICE. This
information can be accessed by a proxy in order to determine whether
or not a call needs to route through a gateway.
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Mandating Support for ICE</span>
Although ICE provides a built in fall back to non-ICE operation when
the answerer doesn't support it, there are cases where the offerer
would rather abort the call rather than proceed without ICE.
Typically, this is because they would like to choose a different m/c-
line address for a non-ICE peer than they would for an ICE capable
peer.
To do this, the "ice" SIP option tag can be included in the Require
header field of an INVITE request.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Media Feature Tag Definition</span>
The "sip.ice" media feature tag indicates support for ICE. An agent
supports ICE if it is either a lite or full implementation, and
consequently, is capable of including candidate attributes in an SDP
offer or answer for at least one transport protocol. An agent that
supports ICE SHOULD include this media feature tag in the Contact
header field of its REGISTER requests and OPTION responses.
<span class="grey">Rosenberg Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc5768">RFC 5768</a> ICE Support April 2010</span>
An agent MAY include the media feature tag in the Contact header
field of an INVITE or INVITE response; however, doing so is redundant
with ICE attributes in the SDP that indicate the same thing. In
cases where an INVITE omits an offer, the lack or presence of the
media feature tag in the Contact header field cannot be used by the
callee (which will be the offerer) to determine whether the caller
supports ICE. In cases of third-party call control [<a href="./rfc3725" title=""Best Current Practices for Third Party Call Control (3pcc) in the Session Initiation Protocol (SIP)"">RFC3725</a>], the
caller may be a controller that does (or doesn't) support ICE, while
the answerer may be an agent that does (or doesn't) support ICE.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Option Tag Definition</span>
This "ice" OPTION tag SHOULD NOT be used in conjunction with the
Supported header field (this SHOULD NOT include responses to OPTION
requests). The media feature tag is used as the one and only
mechanism for indicating support for ICE. The option tag is meant to
be used only with the Require header field. When placed in the
Require header field of an INVITE request, it indicates that the User
Agent Server (UAS) must support ICE in order to process the call. An
agent supports ICE if it is either a full or lite implementation, and
consequently, is capable of including candidate attributes in an SDP
offer or answer for at least one transport protocol.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
A malicious intermediary might attempt to modify a SIP message by
inserting a Require header field containing the "ice" option tag. If
ICE were not supported on the UAS, this would cause the call to fail
when it would otherwise succeed. Of course, this attack is not
specific to ICE, and can be done using any option tag. This attack
is prevented by usage of the SIPS mechanism as defined in <a href="./rfc3261">RFC 3261</a>.
Similarly, an intermediary might attempt to remove the media feature
tag from a REGISTER request or OPTIONS request, which might cause a
call to skip ICE processing when it otherwise might make use of it.
This attack is also prevented using the SIPS mechanism.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. IANA Considerations</span>
This specification defines a new media feature tag and SIP option
tag.
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. Option Tag</span>
This section defines a new SIP option tag per the guidelines in
<a href="./rfc3261#section-27.1">Section 27.1 of RFC 3261</a>.
<span class="grey">Rosenberg Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc5768">RFC 5768</a> ICE Support April 2010</span>
Name: ice
Description: This option tag is used to identify the Interactive
Connectivity Establishment (ICE) extension. When present in a
Require header field, it indicates that ICE is required by an
agent.
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. Media Feature Tag</span>
This section registers a new media feature tag in the SIP tree,
defined in <a href="./rfc3840#section-12.1">Section 12.1 of RFC 3840</a> [<a href="./rfc3840" title=""Indicating User Agent Capabilities in the Session Initiation Protocol (SIP)"">RFC3840</a>].
Media feature tag name: sip.ice
ASN.1 Identifier: 1.3.6.1.8.4.22
Summary of the media feature indicated by this tag: This feature tag
indicates that the device supports Interactive Connectivity
Establishment (ICE).
Values appropriate for use with this feature tag: Boolean.
The feature tag is intended primarily for use in the following
applications, protocols, services, or negotiation mechanisms:
This feature tag is most useful in a communications application,
for describing the capabilities of a device, such as a phone or
PDA.
Examples of typical use: Routing a call to a phone that can support
ICE.
Related standards or documents: <a href="./rfc5768">RFC 5768</a>
Security Considerations: Security considerations for this media
feature tag are discussed in <a href="#section-6">Section 6</a> of this document.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. References</span>
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.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>, March 1997.
[<a id="ref-RFC3261">RFC3261</a>] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston,
A., Peterson, J., Sparks, R., Handley, M., and E.
Schooler, "SIP: Session Initiation Protocol", <a href="./rfc3261">RFC 3261</a>,
June 2002.
<span class="grey">Rosenberg Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc5768">RFC 5768</a> ICE Support April 2010</span>
[<a id="ref-RFC3264">RFC3264</a>] Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model
with Session Description Protocol (SDP)", <a href="./rfc3264">RFC 3264</a>,
June 2002.
[<a id="ref-RFC3840">RFC3840</a>] Rosenberg, J., Schulzrinne, H., and P. Kyzivat,
"Indicating User Agent Capabilities in the Session
Initiation Protocol (SIP)", <a href="./rfc3840">RFC 3840</a>, August 2004.
[<a id="ref-RFC4566">RFC4566</a>] Handley, M., Jacobson, V., and C. Perkins, "SDP: Session
Description Protocol", <a href="./rfc4566">RFC 4566</a>, July 2006.
[<a id="ref-RFC5245">RFC5245</a>] Rosenberg, J., "Interactive Connectivity Establishment
(ICE): A Protocol for Network Address Translator (NAT)
Traversal for Offer/Answer Protocols", <a href="./rfc5245">RFC 5245</a>, April
2010.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Informative References</span>
[<a id="ref-RFC3235">RFC3235</a>] Senie, D., "Network Address Translator (NAT)-Friendly
Application Design Guidelines", <a href="./rfc3235">RFC 3235</a>, January 2002.
[<a id="ref-RFC3725">RFC3725</a>] Rosenberg, J., Peterson, J., Schulzrinne, H., and G.
Camarillo, "Best Current Practices for Third Party Call
Control (3pcc) in the Session Initiation Protocol (SIP)",
<a href="https://www.rfc-editor.org/bcp/bcp85">BCP 85</a>, <a href="./rfc3725">RFC 3725</a>, April 2004.
[<a id="ref-RFC5389">RFC5389</a>] Rosenberg, J., Mahy, R., Matthews, P., and D. Wing,
"Session Traversal Utilities for NAT (STUN)", <a href="./rfc5389">RFC 5389</a>,
October 2008.
Author's Address
Jonathan Rosenberg
jdrosen.net
Monmouth, NJ
US
EMail: jdrosen@jdrosen.net
URI: <a href="http://www.jdrosen.net">http://www.jdrosen.net</a>
Rosenberg Standards Track [Page 6]
</pre>
|