draft-ietf-avt-rtp-cnames-04.txt   draft-ietf-avt-rtp-cnames-05.txt 
AVT A. Begen AVT A. Begen
Internet-Draft Cisco Internet-Draft Cisco
Updates: 3550 (if approved) C. Perkins Updates: 3550 (if approved) C. Perkins
Intended status: Standards Track University of Glasgow Intended status: Standards Track University of Glasgow
Expires: July 14, 2011 D. Wing Expires: July 30, 2011 D. Wing
Cisco Cisco
January 10, 2011 January 26, 2011
Guidelines for Choosing RTP Control Protocol (RTCP) Canonical Names Guidelines for Choosing RTP Control Protocol (RTCP) Canonical Names
(CNAMEs) (CNAMEs)
draft-ietf-avt-rtp-cnames-04 draft-ietf-avt-rtp-cnames-05
Abstract Abstract
The RTP Control Protocol (RTCP) Canonical Name (CNAME) is a The RTP Control Protocol (RTCP) Canonical Name (CNAME) is a
persistent transport-level identifier for an RTP endpoint. While the persistent transport-level identifier for an RTP endpoint. While the
Synchronization Source (SSRC) identifier of an RTP endpoint may Synchronization Source (SSRC) identifier of an RTP endpoint may
change if a collision is detected, or when the RTP application is change if a collision is detected, or when the RTP application is
restarted, its RTCP CNAME is meant to stay unchanged, so that RTP restarted, its RTCP CNAME is meant to stay unchanged, so that RTP
endpoints can be uniquely identified and associated with their RTP endpoints can be uniquely identified and associated with their RTP
media streams. For proper functionality, RTCP CNAMEs should be media streams. For proper functionality, RTCP CNAMEs should be
unique within the participants of an RTP session. However, the unique within the participants of an RTP session. However, the
existing guidelines for choosing the RTCP CNAME provided in the RTP existing guidelines for choosing the RTCP CNAME provided in the RTP
standard are insufficient to achieve this uniqueness. This memo standard are insufficient to achieve this uniqueness. This memo
updates those guidelines to allow endpoints to choose unique RTCP updates those guidelines to allow endpoints to choose unique RTCP
CNAMEs. CNAMEs.
Status of this Memo Status of this Memo
This Internet-Draft is submitted to IETF in full conformance with the This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79. provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that Task Force (IETF). Note that other groups may also distribute
other groups may also distribute working documents as Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts. Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at This Internet-Draft will expire on July 30, 2011.
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.
This Internet-Draft will expire on July 14, 2011.
Copyright Notice Copyright Notice
Copyright (c) 2011 IETF Trust and the persons identified as the Copyright (c) 2011 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of (http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License. described in the Simplified BSD License.
Table of Contents Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 4 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
2. Requirements Notation . . . . . . . . . . . . . . . . . . . . 4 2. Requirements Notation . . . . . . . . . . . . . . . . . . . . . 3
3. Deficiencies with Earlier Guidelines for Choosing an RTCP 3. Deficiencies with Earlier Guidelines for Choosing an RTCP
CNAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 CNAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
4. Choosing an RTCP CNAME . . . . . . . . . . . . . . . . . . . . 5 4. Choosing an RTCP CNAME . . . . . . . . . . . . . . . . . . . . 4
4.1. Persistent RTCP CNAMEs vs. Per-Session RTCP CNAMEs . . . . 5 4.1. Persistent RTCP CNAMEs vs. Per-Session RTCP CNAMEs . . . . 4
4.2. Requirements . . . . . . . . . . . . . . . . . . . . . . . 6 4.2. Requirements . . . . . . . . . . . . . . . . . . . . . . . 5
5. Procedure to Generate a Unique Identifier . . . . . . . . . . 7 5. Procedure to Generate a Unique Identifier . . . . . . . . . . . 6
6. Security Considerations . . . . . . . . . . . . . . . . . . . 8 6. Security Considerations . . . . . . . . . . . . . . . . . . . . 7
6.1. Considerations on Uniqueness of RTCP CNAMEs . . . . . . . 8 6.1. Considerations on Uniqueness of RTCP CNAMEs . . . . . . . . 7
6.2. Session Correlation Based on RTCP CNAMEs . . . . . . . . . 8 6.2. Session Correlation Based on RTCP CNAMEs . . . . . . . . . 7
7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 9 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 8
8. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 9 8. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . 8
9. References . . . . . . . . . . . . . . . . . . . . . . . . . . 9 9. References . . . . . . . . . . . . . . . . . . . . . . . . . . 8
9.1. Normative References . . . . . . . . . . . . . . . . . . . 9 9.1. Normative References . . . . . . . . . . . . . . . . . . . 8
9.2. Informative References . . . . . . . . . . . . . . . . . . 10 9.2. Informative References . . . . . . . . . . . . . . . . . . 9
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 10 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 9
1. Introduction 1. Introduction
In Section 6.5.1 of the RTP specification, [RFC3550], there are a In Section 6.5.1 of the RTP specification, [RFC3550], there are a
number of recommendations for choosing a unique RTCP CNAME for an RTP number of recommendations for choosing a unique RTCP CNAME for an RTP
endpoint. However, in practice, some of these methods are not endpoint. However, in practice, some of these methods are not
guaranteed to produce a unique RTCP CNAME. This memo updates guaranteed to produce a unique RTCP CNAME. This memo updates
guidelines for choosing RTCP CNAMEs, superceding those presented in guidelines for choosing RTCP CNAMEs, superceding those presented in
Section 6.5.1 of [RFC3550]. Section 6.5.1 of [RFC3550].
skipping to change at page 5, line 38 skipping to change at page 4, line 38
requires a short-term persistent RTCP CNAME that is common across requires a short-term persistent RTCP CNAME that is common across
several RTP flows, and potentially across several related RTP several RTP flows, and potentially across several related RTP
sessions. A common example of such use occurs when lip-syncing audio sessions. A common example of such use occurs when lip-syncing audio
and video streams in a multimedia session, where a single participant and video streams in a multimedia session, where a single participant
has to use the same RTCP CNAME for its audio RTP session and for its has to use the same RTCP CNAME for its audio RTP session and for its
video RTP session. Another example might be to synchronize the video RTP session. Another example might be to synchronize the
layers of a layered audio codec, where the same RTCP CNAME has to be layers of a layered audio codec, where the same RTCP CNAME has to be
used for each layer. used for each layer.
A longer-term persistent RTCP CNAME is sometimes useful to facilitate A longer-term persistent RTCP CNAME is sometimes useful to facilitate
third-party monitoring. One such use might be to allow network third-party monitoring, consistent with [RFC3550]. One such use
management tools to correlate the ongoing quality of service for a might be to allow network management tools to correlate the ongoing
participant across multiple RTP sessions for fault diagnosis, and to quality of service for a participant across multiple RTP sessions for
understand long-term network performance statistics. Other, less fault diagnosis, and to understand long-term network performance
benign, uses can also be envisaged. An implementation that wishes to statistics. An implementation that wishes to discourage this type of
discourage this type of third-party monitoring can generate a unique third-party monitoring can generate a unique RTCP CNAME for each RTP
RTCP CNAME for each RTP session, or group of related RTP sessions, session, or group of related RTP sessions, that it joins. Such a
that it joins. Such a per-session RTCP CNAME cannot be used for per-session RTCP CNAME cannot be used for traffic analysis, and so
traffic analysis, and so provides some limited form of privacy (note provides some limited form of privacy (note that there are non-RTP
that there are non-RTP means that can be used by a third-party to means that can be used by a third-party to correlate RTP sessions, so
correlate RTP sessions, so the use of per-session RTCP CNAMEs will the use of per-session RTCP CNAMEs will not prevent a determined
not prevent a determined traffic analyst). traffic analyst).
This memo defines several different ways by which an implementation This memo defines several different ways by which an implementation
can choose an RTCP CNAME. It is possible, and legitimate, for can choose an RTCP CNAME. It is possible, and legitimate, for
independent implementations to make different choices of RTCP CNAME independent implementations to make different choices of RTCP CNAME
when running on the same host. This can hinder third-party when running on the same host. This can hinder third-party
monitoring, unless some external means is provided to configure a monitoring, unless some external means is provided to configure a
persistent choice of RTCP CNAME for those implementations. persistent choice of RTCP CNAME for those implementations.
Note that there is no backwards compatibility issue (with [RFC3550]- Note that there is no backwards compatibility issue (with [RFC3550]-
compatible implementations) introduced in this memo, since the RTCP compatible implementations) introduced in this memo, since the RTCP
skipping to change at page 8, line 34 skipping to change at page 7, line 34
recommendation for generating RTCP CNAMEs can prevent this recommendation for generating RTCP CNAMEs can prevent this
impersonation, because an attacker can neglect the stipulation. impersonation, because an attacker can neglect the stipulation.
Secure RTP (SRTP) [RFC3711] keeps unauthorized entities out of an RTP Secure RTP (SRTP) [RFC3711] keeps unauthorized entities out of an RTP
session, but it does not not aim to prevent impersonation attacks session, but it does not not aim to prevent impersonation attacks
from unauthorized entities. from unauthorized entities.
This document uses a hash function to ensure the uniqueness of RTCP This document uses a hash function to ensure the uniqueness of RTCP
CNAMEs. A cryptographic hash function is used because such functions CNAMEs. A cryptographic hash function is used because such functions
provide the randomness properties that are needed. However, no provide the randomness properties that are needed. However, no
security assumptions are made on the hash function. The hash security assumptions are made on the hash function. The hash
function is not assumed to be collision-resistant or second-preimage function is not assumed to be collision-resistant, preimage-resistant
resistant in an adversarial setting; as described above, an attacker or second-preimage resistant in an adversarial setting; as described
attempting an impersonation attack could merely set the RTCP CNAME above, an attacker attempting an impersonation attack could merely
directly rather than attacking the hash function. Similarly, the set the RTCP CNAME directly rather than attacking the hash function.
hash function is not assumed to be a one-way function, or Similarly, the hash function is not assumed to be a one-way function,
pseudorandom in a cryptographic sense. or pseudorandom in a cryptographic sense.
No confidentiality is provided on the data used as input to the RTCP No confidentiality is provided on the data used as input to the RTCP
CNAME generation algorithm. It might be possible for an attacker who CNAME generation algorithm. It might be possible for an attacker who
observes an RTCP CNAME to determine the inputs that were used to observes an RTCP CNAME to determine the inputs that were used to
generate that value. generate that value.
6.2. Session Correlation Based on RTCP CNAMEs 6.2. Session Correlation Based on RTCP CNAMEs
In some environments, notably telephony, a fixed RTCP CNAME value In some environments, notably telephony, a fixed RTCP CNAME value
allows separate RTP sessions to be correlated and eliminates the allows separate RTP sessions to be correlated and eliminates the
 End of changes. 11 change blocks. 
48 lines changed or deleted 42 lines changed or added

This html diff was produced by rfcdiff 1.46. The latest version is available from http://tools.ietf.org/tools/rfcdiff/