Abstract
This document proposes a mechanism that allows the same SDP offer to carry multiple IP addresses of different address families (e.g., IPv4 and IPv6). The proposed attribute, the "altc" attribute, solves the backward-compatibility problem that plagued Alternative Network Address Types (ANAT) due to their syntax. The proposed solution is applicable to scenarios where connectivity checks are not required. If connectivity checks are required, Interactive Connectivity Establishment (ICE), as specified in RFC 5245, provides such a solution.
Introduction
As global networks migrate from IPv4 to IPv6, a "dual-stack" environment has become the norm. In this environment, devices must often support both protocols simultaneously. For real-time media services using the Session Initiation Protocol (SIP), the Session Description Protocol (SDP) is used to negotiate connection parameters.
The primary challenge in this transition is backward compatibility. A dual-stack device sending an offer with both IPv4 and IPv6 addresses may cause legacy IPv4-only devices to fail if the syntax is not handled correctly. Previous attempts, such as Alternative Network Address Types (ANAT), introduced syntax that broke older systems. While the Interactive Connectivity Establishment (ICE) framework offers a robust solution, its complexity and requirement for connectivity checks make it "heavy" for managed, stable networks where such checks are redundant. RFC 6947 introduces the altc (Alternate Connectivity) attribute as a lightweight alternative.
The ALTC Mechanism
The altc attribute allows an SDP offer to carry multiple IP addresses and port numbers in a way that is transparent to legacy systems. The mechanism relies on the standard SDP rule that unrecognized attributes must be ignored.
Technical Implementation
The offerer places the "default" or most compatible connection information in the standard c= (connection) and m= (media) lines. Additional options are then provided via a=altc lines.
Key features of the altc attribute include:
- Preference Ordering: Each
altcline includes a priority value, allowing the offerer to signal preferred address families. - Address and Port Bundling: Unlike standard SDP, which separates IP and port information,
altcbundles them. This is essential because different address families may require different ports on the same device. - Integrity Verification: To handle middleboxes (like NATs or SBCs) that might modify the standard
c=line without understandingaltc, the offer must include analtcline that matches the standardc=andm=information. If a mismatch is detected by the receiver, it knows the connection data has been tampered with and ignores thealtcoptions to prevent session failure.
Protocol Logic and Results
The altc protocol defines a clear negotiation flow for dual-stack User Agents:
- The Offer: The caller sends an SDP with a standard
c=line (typically IPv4 for maximum compatibility) and multiplealtclines (e.g., one for IPv4 and one for IPv6). - The Answer: The receiver evaluates the
altclines, selects the highest-priority supported address family, and responds with a standard SDP using that chosen address. - The Outcome: This allows immediate protocol selection without the "trial and error" or "connectivity check" delays associated with ICE.
While not an empirical study, the mechanism's efficacy was validated through implementations in NAT64 experimental environments.
Discussion and Limitations
The altc attribute serves as a "middle ground" between basic SDP and the full ICE framework. It is particularly suited for managed ISP networks where network paths are predictable.
However, several limitations exist:
- Lack of Connectivity Checks: Unlike ICE,
altcdoes not perform STUN/TURN-style checks. It assumes reachability if the address family is supported. - Scope: The attribute is limited to alternative IP addresses and ports; it cannot negotiate alternative codecs or transport protocols (e.g., UDP vs. TCP).
- Middlebox Dependency: While
altccan detect middlebox interference via its duplicate line check, it cannot bypass or fix such interference. In such cases, the session falls back to the (potentially modified) standardc=line address.
Conclusion
RFC 6947 provides a pragmatic solution for the IPv4-to-IPv6 transition in VoIP and media streaming. By leveraging existing SDP extensibility rules, the altc attribute enables dual-stack negotiation without sacrificing backward compatibility or introducing the overhead of complex connectivity frameworks.
Summary updated