MMUSIC Working Group | C.H. Holmberg |
Internet-Draft | I.S. Sedlacek |
Intended status: Standards Track | Ericsson |
Expires: February 20, 2014 | August 19, 2013 |
UDP Transport Layer (UDPTL) over Datagram Transport Layer Security (DTLS)
draft-holmberg-mmusic-udptl-dtls-00
This document specifies how the UDP Transport Layer (UDPTL) protocol can be transported over the Datagram Transport Layer Security (DTLS) protocol, how the usage of UDPTL over DTLS is indicated in the Session Description Protocol (SDP), and how UDPTL over DTLS is negotiated in a session established using the Session Initiation Protocol (SIP).
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at http://datatracker.ietf.org/drafts/current/.
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."
This Internet-Draft will expire on February 20, 2014.
Copyright (c) 2013 IETF Trust and the persons identified as the document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
UDPTL [ITU.T38.1998] is the predominant protocol for fax transport in IP networks. The protocol stack for fax transport using UDPTL is shown in Table 1.
Protocol |
---|
Internet facsimile protocol |
UDPTL |
UDP |
IP |
UDPTL does not offer integrity and confidentiality protection. To enable integrity and confidentiality protection, [ITU.T38.2004] specifies fax transport over RTP/SAVP. However, fax transport over RTP/SAVP is not widely supported.
The 3rd Generation Partnership Project (3GPP) has performed a study on how to provide secure fax in the IP Multimedia Subsystem (IMS), which concluded that secure fax shall be transported using UDPTL over DTLS.
The mechanism in this document provides integrity and confidentiality protection for fax by specifying fax transport using UDPTL over DTLS [RFC6347]. The protocol stack for integrity and confidentiality protected fax transport using UDPTL over DTLS is shown in Table 2.
Protocol |
---|
Internet facsimile protocol |
UDPTL |
DTLS |
UDP |
IP |
The mechanism in this document is motivated as follows:
This document specifies the transport of UDPTL over DTLS using the DTLS record layer "application_data" packets [RFC6347].
Since the DTLS record layer "application_data" packet does not indicate whether it carries UDPTL, or some other protocol, the usage of a dedicated DTLS association for transport of UDPTL needs to be negotiated, e.g. using the Session Description Protocol (SDP) [RFC4566] and the SDP offer/answer mechanism [RFC3264].
Therefore, this document specifies a new <proto> value [RFC4566] for the SDP "m=" line [RFC3264], in order to indicate UDPTL over DTLS in SDP messages [RFC4566].
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 BCP 14, RFC 2119 [RFC2119].
The DTLS uses the term "session" to refer to a long-lived set of keying material that spans DTLS associations. In this document, in order to be consistent with SIP/SDP usage of "session" terminology, we use it to refer to a multimedia session and use the term "DTLS session" to refer to the DTLS construct. We use the term "DTLS association" to refer to a particular DTLS cipher suite and keying material set that is associated with a single host/port quartet. The same DTLS session can be used to establish the keying material for multiple DTLS associations. For consistency with other SIP/SDP usage, we use the term "connection" when what's being referred to is a multimedia stream that is not specifically DTLS.
The SDP offer/answer mechanism [RFC3264] is used by other protocols, e.g. the Session Initiation Protocol (SIP) [RFC3261] to negotiate and establish multimedia sessions.
In addition to the usual contents of an SDP media description ("m=" line) specified for UDPTL over the UDP, each SDP media description for UDPTL over DTLS over the UDP will also contain several SDP attributes, as specified in [RFC4145] and [RFC4572].
The SDP offer and SDP answer MUST conform to the following requirements:
Editor's note: FFS if connection attribute defined in RFC4145 is needed.
DTLS is used as specified in [RFC6347]. Once the DTLS handshake is completed, the UDPTL packets SHALL be transported in DTLS record layer "application_data" packets.
When making anonymous calls, a new self-signed certificate SHOULD be used for each call and the content of the subjectAltName attribute inside the certificate MUST NOT contain information that either allows correlation or identification of the user making anonymous calls.
The procedures defined for SRTP-DTLS in [RFC5763] section 6.7 for interaction with middleboxes also apply to UPPTL over DTLS.
The procedures defined for SRTP-DTLS in [RFC5764] section 5.1.2 for distinguishing DTLS and STUN packets also apply to UDPTL over DTLS.
Editor's note: The complete SRTP-DTLS implementation is not needed. Only the parts for interaction with middleboxes in RFC5763 and for distinguishing DTLS and STUN packets in RFC5764 are needed. Should those be copied into this document?
After the DTLS handshake caused by rekeying has completed, because of possible packet reordering on the wire, packets protected by the previous set of keys can arrive. To compensate for this fact, receivers SHOULD maintain both sets of keys for some time in order to be able to decrypt and verify older packets. The duration of maintaining the previous set of keys after the finish of the DTLS handshake is out of scope of this document.
DTLS media signaled with SIP requires a way to ensure that the communicating peers' certificates are correct.
The standard DTLS strategy for authenticating the communicating parties is to give the server (and optionally the client) a PKIX [RFC5280] certificate. The client then verifies the certificate and checks that the name in the certificate matches the server's domain name. This works because there are a relatively small number of servers with well-defined names; a situation that does not usually occur in the VoIP context.
The design described in this document is intended to leverage the authenticity of the signaling channel (while not requiring confidentiality). As long as each side of the connection can verify the integrity of the SDP received from the other side, then the DTLS handshake cannot be hijacked via a man-in-the-middle attack. This integrity protection is easily provided by the caller to the callee (see Alice to Bob in Section 7) via the SIP Identity [RFC4474] mechanism. Other mechanisms, such as the S/MIME mechanism [RFC3261], or perhaps future mechanisms yet to be specified could also serve this purpose.
While this mechanism can still be used without such integrity mechanisms, the security provided is limited to defense against passive attack by intermediaries. An active attack on the signaling plus an active attack on the media plane can allow an attacker to attack the connection (R-SIG-MEDIA in the notation of [RFC5479]).
This document updates the "Session Description Protocol (SDP) Parameters" registry as specified in Section 8.2.2 of [RFC4566]. Specifically, it adds the values in the Table 3 to the table for the "proto" field.
Type | SDP Name | Reference |
---|---|---|
proto | UDP/TLS/UDPTL | [RFC-XXXX] |
[RFC EDITOR NOTE: Please replace RFC-XXXX with the RFC number of this document.]
Special thanks to Peter Dawes who provided comments to this draft.
[RFC EDITOR NOTE: Please remove this section when publishing]
Changes from draft-holmberg-dispatch-udptl-dtls-00
[RFC5479] | Wing, D., Fries, S., Tschofenig, H. and F. Audet, "Requirements and Analysis of Media Security Management Protocols", RFC 5479, April 2009. |
Prior to establishing the session, both Alice and Bob generate self-signed certificates which are used for a single session or, more likely, reused for multiple sessions.
The SIP signaling from Alice to her proxy is transported over TLS to ensure an integrity protected channel between Alice and her identity service. Transport between proxies should also be protected somehow.
Only one element is shown for Alice's and Bob's proxies for the purposes of simplification.
Only the mandatory SDP T.38 attributes are shown for simplification.
Figure 1 shows an example message flow of session establishment for T.38 fax securely transported using UDPTL over DTLS.
In this example flow, Alice acts as the passive endpoint of DTLS association and Bob acts as the active endpoint of DTLS association.
Alice Proxies Bob | (1) SIP INVITE | | |----------------------->| | | | (2) SIP INVITE | | |----------------------->| | | (3) DTLS ClientHello | |<------------------------------------------------| | (4) remaining messages of DTLS handshake | |<----------------------------------------------->| | | | | | | | | (5) SIP 200 OK | | |<-----------------------| | (6) SIP 200 OK | | |<-----------------------| | | (7) SIP ACK | | |------------------------------------------------>| | (8) T.38 message using UDPTL over DTLS | |<----------------------------------------------->| | | |
Figure 1: Basic message flow with Identity
INVITE sip:bob@example.com SIP/2.0 To: <sip:bob@example.com> From: "Alice"<sip:alice@example.com>;tag=843c7b0b Via: SIP/2.0/TLS ua1.example.com;branch=z9hG4bK-0e53sadfkasldkfj Contact: <sip:alice@ua1.example.com> Call-ID: 6076913b1c39c212@REVMTEpG CSeq: 1 INVITE Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE Max-Forwards: 70 Content-Type: application/sdp Content-Length: xxxx Supported: from-change v=0 o=- 1181923068 1181923196 IN IP4 ua1.example.com s=example1 c=IN IP4 ua1.example.com t=0 0 m=image 6056 UDP/TLS/UDPTL t38 a=setup:actpass a=fingerprint: SHA-1 \ 4A:AD:B9:B1:3F:82:18:3B:54:02:12:DF:3E:5D:49:6B:19:E5:7C:AB a=T38FaxRateManagement:transferredTCF
Figure 2: Message (1)
INVITE sip:bob@ua2.example.com SIP/2.0 To: <sip:bob@example.com> From: "Alice"<sip:alice@example.com>;tag=843c7b0b Via: SIP/2.0/TLS proxy.example.com;branch=z9hG4bK-0e53sadfkasldk Via: SIP/2.0/TLS ua1.example.com;branch=z9hG4bK-0e53sadfkasldkfj Record-Route: <sip:proxy.example.com;lr> Contact: <sip:alice@ua1.example.com> Call-ID: 6076913b1c39c212@REVMTEpG CSeq: 1 INVITE Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE Max-Forwards: 69 Identity: CyI4+nAkHrH3ntmaxgr01TMxTmtjP7MASwliNRdupRI1vpkXRvZXx1ja9k 3W+v1PDsy32MaqZi0M5WfEkXxbgTnPYW0jIoK8HMyY1VT7egt0kk4XrKFC HYWGCl0nB2sNsM9CG4hq+YJZTMaSROoMUBhikVIjnQ8ykeD6UXNOyfI= Identity-Info: https://example.com/cert Content-Type: application/sdp Content-Length: xxxx Supported: from-change v=0 o=- 1181923068 1181923196 IN IP4 ua1.example.com s=example1 c=IN IP4 ua1.example.com t=0 0 m=image 6056 UDP/TLS/UDPTL t38 a=setup:actpass a=fingerprint: SHA-1 \ 4A:AD:B9:B1:3F:82:18:3B:54:02:12:DF:3E:5D:49:6B:19:E5:7C:AB a=T38FaxRateManagement:transferredTCF
Figure 3: Message (2)
SIP/2.0 200 OK To: <sip:bob@example.com>;tag=6418913922105372816 From: "Alice" <sip:alice@example.com>;tag=843c7b0b Via: SIP/2.0/TLS proxy.example.com:5061;branch=z9hG4bK-0e53sadfkasldk Via: SIP/2.0/TLS ua1.example.com;branch=z9hG4bK-0e53sadfkasldkfj Record-Route: <sip:proxy.example.com;lr> Call-ID: 6076913b1c39c212@REVMTEpG CSeq: 1 INVITE Contact: <sip:bob@ua2.example.com> Content-Type: application/sdp Content-Length: xxxx Supported: from-change v=0 o=- 6418913922105372816 2105372818 IN IP4 ua2.example.com s=example2 c=IN IP4 ua2.example.com t=0 0 m=image 12000 UDP/TLS/UDPTL t38 a=setup:active a=fingerprint: SHA-1 \ FF:FF:FF:B1:3F:82:18:3B:54:02:12:DF:3E:5D:49:6B:19:E5:7C:AB a=T38FaxRateManagement:transferredTCF
Figure 4: Message (6)
SIP/2.0 200 OK To: <sip:bob@example.com>;tag=6418913922105372816 From: "Alice" <sip:alice@example.com>;tag=843c7b0b Via: SIP/2.0/TLS ua1.example.com;branch=z9hG4bK-0e53sadfkasldkfj Record-Route: <sip:proxy.example.com;lr> Call-ID: 6076913b1c39c212@REVMTEpG CSeq: 1 INVITE Contact: <sip:bob@ua2.example.com> Content-Type: application/sdp Content-Length: xxxx Supported: from-change v=0 o=- 6418913922105372816 2105372818 IN IP4 ua2.example.com s=example2 c=IN IP4 ua2.example.com t=0 0 m=image 12000 UDP/TLS/UDPTL t38 a=setup:active a=fingerprint: SHA-1 \ FF:FF:FF:B1:3F:82:18:3B:54:02:12:DF:3E:5D:49:6B:19:E5:7C:AB a=T38FaxRateManagement:transferredTCF
Figure 5: Message (7)