3266
PROPOSED STANDARD

Support for IPv6 in Session Description Protocol (SDP) (Obsoleted)

Authors: S. Olson, G. Camarillo, A. B. Roach
Date: June 2002
Area: rai
Working Group: mmusic
Stream: IETF
Obsoleted by: RFC 4566
Updates: RFC 2327

Abstract

This document describes the use of Internet Protocol Version 6 (IPv6) addresses in conjunction with the Session Description Protocol (SDP). Specifically, this document clarifies existing text in SDP with regards to the syntax of IPv6 addresses. [STANDARDS-TRACK]

RFC 3266: Support for IPv6 in Session Description Protocol (SDP) [RFC Home] [TEXT|PDF|HTML] [Tracker] [IPR] [Errata] [Info page]

Obsoleted by: 4566 PROPOSED STANDARD
Errata Exist
Network Working Group                                           S. Olson
Request for Comments: 3266                                     Microsoft
Updates: <a href="./rfc2327">2327</a>                                               G. Camarillo
Category: Standards Track                                       Ericsson
                                                             A. B. Roach
                                                             dynamicsoft
                                                               June 2002


         <span class="h1">Support for IPv6 in Session Description Protocol (SDP)</span>

Status of this Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (2002).  All Rights Reserved.

Abstract

   This document describes the use of Internet Protocol Version 6 (IPv6)
   addresses in conjunction with the Session Description Protocol (SDP).
   Specifically, this document clarifies existing text in SDP with
   regards to the syntax of IPv6 addresses.

<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>

   SDP is intended for describing multimedia sessions for the purposes
   of session announcement, session invitation, and other forms of
   multimedia session initiation.  It is a text format description that
   provides many details of a multimedia session including: the
   originator of the session, a URL related to the session, the
   connection address for the session media(s), and optional attributes
   for the session media(s).  Each of these pieces of information may
   involve one or more IPv6 addresses.  The ABNF for IP addresses in SDP
   currently leaves the syntax for IPv6 addresses undefined.  This
   document attempts to complete the ABNF to include IPv6 addresses.

   Accordingly, the address type "IP6" indicating an IPv6 address,
   should be allowed in the connection field, "c=", of the SDP.  The
   ABNF already reflects this, though the "Connection Data" text under
   <a href="./rfc2328#section-6">section 6 of RFC 2328</a> currently only defines the "IP4" address type.




<span class="grey">Olson, et. al.              Standards Track                     [Page 1]</span>

<span id="page-2" ></span>
<span class="grey"><a href="./rfc3266">RFC 3266</a>    Support for IPv6 in Session Description Protocol   June 2002</span>


<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="#ref-5" title=""Key words for Use in RFCs to Indicate Requirement Levels"">5</a>].

<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Syntax</span>

   <a href="./rfc2373">RFC 2373</a> [<a href="#ref-1" title=""IP Version 6 Addressing Architecture"">1</a>] gives an ABNF for the text representation of IPv6
   addresses in <a href="#appendix-B">Appendix B</a>.  <a href="./rfc2732">RFC 2732</a> [<a href="#ref-3" title=""Format for Literal IPv6 Addresses in URL's"">3</a>] covers the text representation
   of IPv6 addresses when used within a URL.  Using the ABNF described
   in these documents, the following updated ABNF for SDP is proposed.

      uri =                 ; defined in <a href="./rfc1630">RFC1630</a> and <a href="./rfc2732">RFC2732</a>

      multicast-address =   IP4-multicast / IP6-multicast

      IP4-multicast =       m1 3*( "." decimal-uchar )
                            "/" ttl [ "/" integer ]
                            ; IPv4 multicast addresses may be in the
                            ; range 224.0.0.0 to 239.255.255.255

      m1 =                  ("22" ("4"/"5"/"6"/"7"/"8"/"9")) /
                            ("23" DIGIT ))

      IP6-multicast =       hexpart
                            ; IPv6 address starting with FF

      addr =                FQDN / unicast-address

      FQDN =                4*(alpha-numeric/"-"/".")
                            ; fully qualified domain name as specified
                            ; in <a href="./rfc1035">RFC1035</a>
      unicast-address =     IP4-address / IP6-address

      IP4-address =         b1 3*("." decimal-uchar) / "0.0.0.0"

      b1 =                  decimal-uchar
                            ; less than "224"; not "0" or "127"

      ; The following is from <a href="./rfc2373#appendix-B">RFC2373 Appendix B</a>. It is a direct copy.
      IP6-address =         hexpart [ ":" IP4-address ]

      hexpart =             hexseq / hexseq "::" [ hexseq ] /
                            "::" [ hexseq ]






<span class="grey">Olson, et. al.              Standards Track                     [Page 2]</span>

<span id="page-3" ></span>
<span class="grey"><a href="./rfc3266">RFC 3266</a>    Support for IPv6 in Session Description Protocol   June 2002</span>


      hexseq  =             hex4 *( ":" hex4)

      hex4    =             1*4HEXDIG

<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Example SDP description with IPv6 addresses</span>

   The following is an example SDP description using the above ABNF for
   IPv6 addresses.  In particular, the origin and connection fields
   contain IPv6 addresses.

      v=0
      o=nasa1 971731711378798081 0 IN IP6 2201:056D::112E:144A:1E24
      s=(Almost) live video feed from Mars-II satellite
      p=+1 713 555 1234
      c=IN IP6 FF1E:03AD::7F2E:172A:1E24
      t=3338481189 3370017201
      m=audio 6000 RTP/AVP 2
      a=rtpmap:2 G726-32/8000
      m=video 6024 RTP/AVP 107
      a=rtpmap:107 H263-1998/90000

<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Note for implementors</span>

   An implementation may receive an SDP session description with an IPv6
   address whose format [<a href="#ref-1" title=""IP Version 6 Addressing Architecture"">1</a>] is internally that of an IPv4 mapped
   address.  Note that such an address is actually the address of an
   IPv4-only node, and implementors are warned to interpret IPv4 mapped
   addresses as equivalent to IP4.

<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. IANA Considerations</span>

   This document updates the definition of the IP6 addrtype parameter
   found in <a href="./rfc2327">RFC 2327</a>.

<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>

   No additional considerations above what is stated in section 7 of <a href="./rfc2327">RFC</a>
   <a href="./rfc2327">2327</a>.

<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. References</span>

   [<a id="ref-1">1</a>]   Hinden, R. and S. Deering, "IP Version 6 Addressing
         Architecture", <a href="./rfc2373">RFC 2373</a>, July 1998.

   [<a id="ref-2">2</a>]   Handley, M. and V. Jacobson, "SDP: Session Description
         Protocol", <a href="./rfc2327">RFC 2327</a>, April 1998.





<span class="grey">Olson, et. al.              Standards Track                     [Page 3]</span>

<span id="page-4" ></span>
<span class="grey"><a href="./rfc3266">RFC 3266</a>    Support for IPv6 in Session Description Protocol   June 2002</span>


   [<a id="ref-3">3</a>]   Hinden, R., Carpenter, B. and L. Masinter, "Format for Literal
         IPv6 Addresses in URL's", <a href="./rfc2732">RFC 2732</a>, December 1999.

   [<a id="ref-4">4</a>]   Crocker, D. and P. Overell, "Augmented BNF for Syntax
         Specifications: ABNF", <a href="./rfc2234">RFC 2234</a>, November 1997.

   [<a id="ref-5">5</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.

<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Authors' Addresses</span>

   Sean Olson
   Microsoft
   One Microsoft Way
   Redmond, WA 98052
   USA

   EMail: [email protected]


   Gonzalo Camarillo
   Ericsson
   Advanced Signalling Research Lab.
   FIN-02420 Jorvas
   Finland

   Phone: +358 9 299 3371
   Fax: +358 9 299 3118
   EMail: [email protected]


   Adam Roach
   dynamicsoft
   5100 Tennyson Parkway
   Suite 1200
   Plano, TX 75024
   USA

   EMail: [email protected]
   Voice: <sip:adam@dynamicsoft.com>











<span class="grey">Olson, et. al.              Standards Track                     [Page 4]</span>

<span id="page-5" ></span>
<span class="grey"><a href="./rfc3266">RFC 3266</a>    Support for IPv6 in Session Description Protocol   June 2002</span>


<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>.  Full Copyright Statement</span>

   Copyright (C) The Internet Society (2002).  All Rights Reserved.

   This document and translations of it may be copied and furnished to
   others, and derivative works that comment on or otherwise explain it
   or assist in its implementation may be prepared, copied, published
   and distributed, in whole or in part, without restriction of any
   kind, provided that the above copyright notice and this paragraph are
   included on all such copies and derivative works.  However, this
   document itself may not be modified in any way, such as by removing
   the copyright notice or references to the Internet Society or other
   Internet organizations, except as needed for the purpose of
   developing Internet standards in which case the procedures for
   copyrights defined in the Internet Standards process must be
   followed, or as required to translate it into languages other than
   English.

   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.

   This document and the information contained herein is provided on an
   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Acknowledgement

   Funding for the RFC Editor function is currently provided by the
   Internet Society.



















Olson, et. al.              Standards Track                     [Page 5]

Additional Resources