Support for IPv6 in Session Description Protocol (SDP)
obsoleted by
- rfc-4566 — SDP: Session Description Protocol
updates
- rfc-2327 — SDP: Session Description Protocol
Extracted elements (9)
This document updates RFC 2327 solely to complete the ABNF for IPv6 addresses, which was previously left undefined in SDP. No new protocol mechanisms are introduced; the IP6 addrtype was already present in the ABNF but lacked a corresponding syntax definition.
An implementation may receive an SDP session description with an IPv6 address that is internally an IPv4-mapped address. 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.
The address type 'IP6' indicating an IPv6 address should be allowed in the connection field 'c=' of SDP. The ABNF already reflects this, though RFC 2327 section 6 text only defined 'IP4'.
The SDP origin field ('o=') and connection field ('c=') may contain IPv6 addresses using the IN IP6 address type, as illustrated by the example with addresses such as '2201:056D::112E:144A:1E24' and 'FF1E:03AD::7F2E:172A:1E24'.
This document updates the definition of the IP6 addrtype parameter found in RFC 2327, formally adding IPv6 address syntax support to the SDP address type registry.
No additional security considerations beyond those stated in section 7 of RFC 2327 (the base SDP specification) are introduced by the addition of IPv6 address support.
IPv6 multicast addresses in SDP are represented as 'hexpart' (an IPv6 address starting with FF), expanding the multicast-address production to 'IP4-multicast / IP6-multicast'.
SDP IPv6 address ABNF: IP6-address is defined as 'hexpart [ ":" IP4-address ]', where hexpart is 'hexseq / hexseq "::" [ hexseq ] / "::" [ hexseq ]', hexseq is 'hex4 *( ":" hex4)', and hex4 is '1*4HEXDIG'. This completes the previously undefined IPv6 syntax in SDP.
The unicast-address production is updated to 'IP4-address / IP6-address', and addr is 'FQDN / unicast-address', enabling IPv6 addresses wherever addresses appear in SDP fields.