draft-ietf-dccp-udpencap-08.txt   draft-ietf-dccp-udpencap-09.txt 
DCCP Working Group T. Phelan DCCP Working Group T. Phelan
Internet-Draft Sonus Internet-Draft Sonus
Intended status: Standards Track G. Fairhurst Intended status: Standards Track G. Fairhurst
Expires: November 18, 2011 University of Aberdeen Expires: January 14, 2012 University of Aberdeen
C. Perkins C. Perkins
University of Glasgow University of Glasgow
May 17, 2011 July 13, 2011
Datagram Congestion Control Protocol (DCCP) Encapsulation for NAT Datagram Congestion Control Protocol (DCCP) Encapsulation for NAT
Traversal (DCCP-UDP) Traversal (DCCP-UDP)
draft-ietf-dccp-udpencap-08 draft-ietf-dccp-udpencap-09
Abstract Abstract
This document specifies an alternative encapsulation of the Datagram This document specifies an alternative encapsulation of the Datagram
Congestion Control Protocol (DCCP), referred to as DCCP-UDP. This Congestion Control Protocol (DCCP), referred to as DCCP-UDP. This
encapsulation allows DCCP to be carried through the current encapsulation allows DCCP to be carried through the current
generation of Network Address Translation (NAT) middleboxes without generation of Network Address Translation (NAT) middleboxes without
modification of those middleboxes. This document also updates the modification of those middleboxes. This document also updates the
SDP information for DCCP defined in RFC 5762. SDP information for DCCP defined in RFC 5762.
skipping to change at page 1, line 39 skipping to change at page 1, line 39
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/. 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."
This Internet-Draft will expire on November 18, 2011. This Internet-Draft will expire on January 14, 2012.
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
skipping to change at page 2, line 34 skipping to change at page 2, line 34
3.8. Usage of the UDP port by DCCP-UDP . . . . . . . . . . . . 8 3.8. Usage of the UDP port by DCCP-UDP . . . . . . . . . . . . 8
3.9. Service Codes and the DCCP Port Registry . . . . . . . . . 10 3.9. Service Codes and the DCCP Port Registry . . . . . . . . . 10
4. DCCP-UDP and Higher-Layer Protocols . . . . . . . . . . . . . 10 4. DCCP-UDP and Higher-Layer Protocols . . . . . . . . . . . . . 10
5.1. Protocol Identification . . . . . . . . . . . . . . . . . 11 5.1. Protocol Identification . . . . . . . . . . . . . . . . . 11
5.2. Signalling Encapsulated DCCP Ports . . . . . . . . . . . . 12 5.2. Signalling Encapsulated DCCP Ports . . . . . . . . . . . . 12
5.3. Connection Management . . . . . . . . . . . . . . . . . . 13 5.3. Connection Management . . . . . . . . . . . . . . . . . . 13
5.4. Negotiating the DCCP-UDP encapsulation versus native 5.4. Negotiating the DCCP-UDP encapsulation versus native
DCCP . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 DCCP . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.5. Example of SDP use . . . . . . . . . . . . . . . . . . . . 14 5.5. Example of SDP use . . . . . . . . . . . . . . . . . . . . 14
6. Security Considerations . . . . . . . . . . . . . . . . . . . 15 6. Security Considerations . . . . . . . . . . . . . . . . . . . 15
7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 15 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 16
7.1. UDP Port Allocation . . . . . . . . . . . . . . . . . . . 15 7.1. UDP Port Allocation . . . . . . . . . . . . . . . . . . . 16
7.2. DCCP Reset . . . . . . . . . . . . . . . . . . . . . . . . 15 7.2. DCCP Reset . . . . . . . . . . . . . . . . . . . . . . . . 16
7.3. SDP Attribute Allocation . . . . . . . . . . . . . . . . . 16 7.3. SDP Attribute Allocation . . . . . . . . . . . . . . . . . 17
8. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 16 8. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 17
9. References . . . . . . . . . . . . . . . . . . . . . . . . . . 16 9. References . . . . . . . . . . . . . . . . . . . . . . . . . . 17
9.1. Normative References . . . . . . . . . . . . . . . . . . . 16 9.1. Normative References . . . . . . . . . . . . . . . . . . . 17
9.2. Informative References . . . . . . . . . . . . . . . . . . 17 9.2. Informative References . . . . . . . . . . . . . . . . . . 18
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 18 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 19
1. Introduction 1. Introduction
The Datagram Congestion Control Protocol (DCCP), specified in The Datagram Congestion Control Protocol (DCCP), specified in
[RFC4340], is a transport-layer protocol that provides upper layers [RFC4340], is a transport-layer protocol that provides upper layers
with the ability to use non-reliable congestion-controlled flows. with the ability to use non-reliable congestion-controlled flows.
The current specification for DCCP [RFC4340] specifies a direct The current specification for DCCP [RFC4340] specifies a direct
encapsulation in IPv4 or IPv6 packets. encapsulation in IPv4 or IPv6 packets.
[RFC5597] specifies how DCCP should be handled by devices that use [RFC5597] specifies how DCCP should be handled by devices that use
skipping to change at page 13, line 49 skipping to change at page 13, line 49
DCCP candidates (native or encapsulated) are encoded into DCCP candidates (native or encapsulated) are encoded into
"a=candidate:" lines in a manner similar to TCP candidates [ICE-TCP]. "a=candidate:" lines in a manner similar to TCP candidates [ICE-TCP].
However, the transport protocol (i.e., the value of the transport- However, the transport protocol (i.e., the value of the transport-
extension token defined in [RFC5245] Section 15.1) is set to either extension token defined in [RFC5245] Section 15.1) is set to either
"DCCP" for native DCCP flows or "UDP/DCCP" for DCCP-UDP encapsulated "DCCP" for native DCCP flows or "UDP/DCCP" for DCCP-UDP encapsulated
flows. The connection type (active, passive, or simultaneous open) flows. The connection type (active, passive, or simultaneous open)
is encoded using extension attributes in the same way as is done for is encoded using extension attributes in the same way as is done for
TCP candidates. TCP candidates.
XXX Note: More detail will be needed once it's agreed that this The offer SHOULD contain active and passive candidates for both
approach is reasonable. XXX native DCCP and DCCP-UDP encapsulation. If [RFC5596] is supported,
then simultaneous open candidates SHOULD be obtained for native DCCP
and the DCCP-UDP encapsulation. Server reflexive and relayed
candidates MAY be obtained if mechanisms exist to establish these
candidates. The direction is encoded into SDP using a new dccptype
extension to the a=candidate attribute, analogous to the tcptype
extension defined in [ICE-TCP]. Native DCCP candidates are host
candidates, and SHOULD have preference value of 126, following
[RFC5245] section 4.1.2. DCCP-UDP candidates SHOULD have preference
set to 75, matching the UDP-tunneled candidate priority defined in
[ICE-TCP] Section 4.2. The direction-pref part of the local-
preference SHOULD be set following Section 4.2 of [ICE-TCP]. It
makes sense to choose local preference values to prefer DCCP-UDP over
native DCCP in cases where low connection setup time is important,
and to prioritise native DCCP in cases where low overhead is
preferred (on the assumption that DCCP-UDP is more likely to work
through legacy NAT, but has higher overhead).
5.5. Example of SDP use 5.5. Example of SDP use
The text below provides an example of SDP signalling, where an The example below shows an SDP offer, where an application signals
application signals support for both native DCCP and for DCCP-UDP: support for both native DCCP and for DCCP-UDP:
v=0 v=0
o=alice 1129377363 1 IN IP4 192.0.2.47 o=alice 1129377363 1 IN IP4 192.0.2.47
s=- s=-
c=IN IP4 192.0.2.47 c=IN IP4 192.0.2.47
t=0 0 t=0 0
m=video 50234 UDP/DCCP/RTP/AVP 99 m=video 50234 UDP/DCCP/RTP/AVP 99
a=rtpmap:99 h261/90000 a=rtpmap:99 h261/90000
a=dccp-service-code:SC=x52545056 a=dccp-service-code:SC=x52545056
a=dccp-port:5004 a=dccp-port:5004
a=rtcp:5005 a=rtcp:5005
skipping to change at page 14, line 37 skipping to change at page 15, line 6
c=IN IP4 192.0.2.128 c=IN IP4 192.0.2.128
t=0 0 t=0 0
m=video 40123 UDP/DCCP/RTP/AVP 99 m=video 40123 UDP/DCCP/RTP/AVP 99
a=rtpmap:99 h261/90000 a=rtpmap:99 h261/90000
a=dccp-service-code:SC:RTPV a=dccp-service-code:SC:RTPV
a=dccp-port:9 a=dccp-port:9
a=setup:active a=setup:active
a=connection:new a=connection:new
Note that the "m=" line in the answer includes the UDP port number of Note that the "m=" line in the answer includes the UDP port number of
the encapsulation service. The "a=dccp-port:" attribute in the the encapsulation service. The DCCP service code is set to "RTPV",
answer is set to 9 (the discard port) in the usual manner for an signalled using the "a=dccp-service-code" attribute [RFC5762]. The
active connection-oriented endpoint. "a=dccp-port:" attribute in the answer is set to 9 (the discard port)
in the usual manner for an active connection-oriented endpoint.
The answering party will then attempt to establish a DCCP-UDP The answering party will then attempt to establish a DCCP-UDP
connection to the offering party. The connection request will use an connection to the offering party. The connection request will use an
ephemeral DCCP source port and DCCP destination port 5004. The UDP ephemeral DCCP source port and DCCP destination port 5004. The UDP
packet encapsulating that request will have UDP source port 40123 and packet encapsulating that request will have UDP source port 40123 and
UDP destination port 50234. UDP destination port 50234.
XXX Note: an example using ICE would be beneficial. XXX The example below shows how ICE can be used in an SDP offer:
v=0
o=jdoe 2890844526 IN IP4 10.0.1.1
s=-
c=IN IP4 192.0.2.3
t=0 0
a=ice-pwd:asd88fgpdd777uzjYhagZg
a=ice-ufrag:8hhY
m=audio 45664 UDP/DCCP/RTP/AVP 0
a=dccp-service-code:SC:RTPA
a=dccp-port:5004
a=setup:active
a=connection:new
b=RS:0
b=RR:0
a=candidate:1 1 DCCP <pref> 10.0.1.1 9 typ host dccptype act
a=candidate:2 1 UDP/DCCP <pref> 10.0.1.1 9 typ host dccptype act
XXX NOTE: Reviewer needed to confirm preference encoding XXX
6. Security Considerations 6. Security Considerations
DCCP-UDP provides all of the security risk-mitigation measures DCCP-UDP provides all of the security risk-mitigation measures
present in DCCP-STD, and also all of the security risks. present in DCCP-STD, and also all of the security risks.
The purpose of DCCP-UDP is to allow DCCP to pass through NAT/NAPT The purpose of DCCP-UDP is to allow DCCP to pass through NAT/NAPT
devices, and therefore it exposes DCCP to the risks associated with devices, and therefore it exposes DCCP to the risks associated with
passing through NAT devices. It does not create any new risks with passing through NAT devices. It does not create any new risks with
regard to NAT/NAPT devices. regard to NAT/NAPT devices.
skipping to change at page 16, line 41 skipping to change at page 17, line 30
Purpose of the attribute: See this document, section Section 5.1 Purpose of the attribute: See this document, section Section 5.1
Allowed attribute values: See this document, section Section 5.1 Allowed attribute values: See this document, section Section 5.1
8. Acknowledgments 8. Acknowledgments
This document was produced by the DCCP WG. The following contributed This document was produced by the DCCP WG. The following contributed
during the working group last call: during the working group last call:
Andrew Lentvorski, Lloyd Wood, Pasi Sarolahti, Gerrit Renker, Eddie Andrew Lentvorski, Lloyd Wood, Pasi Sarolahti, Gerrit Renker, Eddie
Kohler, Colin Perkins, Dan Wing, Gorry Fairhurst and Tom Phelan. Kohler, and Dan Wing.
9. References 9. References
9.1. Normative References 9.1. Normative References
[RFC0768] Postel, J., "User Datagram Protocol", STD 6, RFC 768, [RFC0768] Postel, J., "User Datagram Protocol", STD 6, RFC 768,
August 1980. August 1980.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997. Requirement Levels", BCP 14, RFC 2119, March 1997.
skipping to change at page 19, line 16 skipping to change at page 20, line 6
School of Engineering School of Engineering
Fraser Noble Building Fraser Noble Building
Aberdeen, Scotland AB24 3UE Aberdeen, Scotland AB24 3UE
UK UK
Email: gorry@erg.abdn.ac.uk Email: gorry@erg.abdn.ac.uk
URI: http://www.erg.abdn.ac.uk URI: http://www.erg.abdn.ac.uk
Colin Perkins Colin Perkins
University of Glasgow University of Glasgow
Department of Computing Science School of Computing Science
17 Lilybank Gardens
Glasgow, Scotland G12 8QQ Glasgow, Scotland G12 8QQ
UK UK
Email: csp@csperkins.org Email: csp@csperkins.org
URI: http: URI: http:http://csperkins.org/
 End of changes. 13 change blocks. 
24 lines changed or deleted 58 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/