Internet Engineering Task Force                            Sean Olson
Internet draft                                      Gonzalo Camarillo
<draft-ietf-mmusic-sdp-ipv6-02.txt>                          Ericsson
February 2002
Expires: August 2002                                       Adam Roach
                                                          dynamicsoft


                        Support for IPv6 in SDP


Status of this Memo

   This document is an Internet-Draft and is in full conformance with
      all provisions of Section 10 of RFC2026.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF), its areas, and its working groups. Note that
   other groups may also distribute working documents as Internet-
   Drafts. Internet-Drafts are draft documents valid for a maximum of
   six months and may be updated, replaced, or obsoleted by other
   documents at any time. It is inappropriate to use Internet- Drafts
   as reference material or to cite them other than as "work in
   progress."

   The list of current Internet-Drafts can be accessed at
   http://www.ietf.org/ietf/1id-abstracts.txt
   The list of Internet-Draft Shadow Directories can be accessed at
   http://www.ietf.org/shadow.html.


Abstract

   This document describes the use of IPv6 addresses [1] in conjunction
   with the Session Description Protocol (SDP) [2]. Specifically, this
   document clarifies existing text in SDP with regards to the syntax
   of IPv6 addresses.


















Olson/Camarillo/Roach                                                1


                        Support for IPv6 in SDP


1. Introduction

   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
   Internet-Draft 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
   section 6 of RFC2328 currently only defines the "IP4" address type.

2. Terminology

   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 RFC 2119.

3. Syntax

   RFC2373 [1] gives an ABNF for the text representation of IPv6
   addresses in Appendix B. RFC2732 [3] 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 RFC1630 and RFC2732

      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 "/" ttl [ "/" integer ]
                            ; IPv6 address starting with FF

      addr =                FQDN | unicast-address

      FQDN =                4*(alpha-numeric|"-"|".")
                            ; fully qualified domain name as specified
                            ; in RFC1035
      unicast-address =     IP4-address | IP6-address

Olson/Camarillo/Roach                                                2


                        Support for IPv6 in SDP



      IP4-address =         b1 "." decimal-uchar "." decimal-uchar
                            "." b4 | "0.0.0.0"

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

      b4 =                  decimal-uchar
                            ; not "0"

      ; The following is from RFC2373 Appendix B. It is a direct copy.
      IP6-address =         hexpart [ ":" IP4-address ]

      hexpart =             hexseq | hexseq "::" [ hexseq ] |
                            "::" [ hexseq ]

      hexseq  =             hex4 *( ":" hex4)

      hex4    =             1*4HEXDIG


4. Example SDP description with IPv6 addresses

   The following is an example SDP description using the above ABNF for
   IPv6 addresses. In particular, the origin, URI, 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 sattelite
      u=http://[1080::8:800:200C:417A]/marsII
      p=+1 713 555 1234
      c=IN IP6 FF00:03AD::7F2E:172A:1E24/127
      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

5. Note for implementors

   An implementation might receive an SDP session description with an
   IPv6 address that contains an IPv4-mapped address. Such an address
   MUST be treated the same as an IPv4 address.

6. IANA Considerations

   This document updates the definition of the IP6 addrtype parameter
   found in RFC2327.

7. Security Considerations

   No additional considerations above what is stated in section 7 of

Olson/Camarillo/Roach                                                3


                        Support for IPv6 in SDP


   RFC2327.

8. References

   [1] R. Hinden and S. Deering, "IP Version 6 Addressing
   Architecture", RFC2373, IETF.

   [2] M. Handley and V. Jacobson, "Session Description Protocol",
   RFC2327, IETF.

   [3] R. Hinden, et. al., "Format for Literal IPv6 Addresses in
   URL's", RFC2732, IETF.

   [4] D. Crocker and P. Overell, "Augmented BNF for Syntax
   Specifications: ABNF", RFC2234, IETF.

   [5] S. Bradner, "Key words for use in RFCs to Indicate Requirement
   Levels", RFC2119, IETF.

9. Authors's Addresses

      Sean Olson
      Richardson, Texas
      USA

      Email: seancolson@yahoo.com

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

      Phone: +358 9 299 3371
      Fax: +358 9 299 3118
      Email: Gonzalo.Camarillo@ericsson.com

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

      E-Mail: <adam@dynamicsoft.com>
      Voice: <sip:adam@dynamicsoft.com>


   Full Copyright Statement

   Copyright (c) The Internet Society (2001). All Rights Reserved.



Olson/Camarillo/Roach                                                4


                        Support for IPv6 in SDP


   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.































Olson/Camarillo/Roach                                                5