Network Working GroupInternet Engineering Task Force (IETF) M. WesterlundInternet-DraftRequest for Comments: 7201 EricssonIntended status:Category: Informational C. PerkinsExpires: July 19, 2014ISSN: 2070-1721 University of GlasgowJanuary 15,April 2014 Options for Securing RTP Sessionsdraft-ietf-avtcore-rtp-security-options-10Abstract The Real-time Transport Protocol (RTP) is used in a large number of different application domains and environments. This heterogeneity implies that different security mechanisms are needed to provide services such as confidentiality,integrityintegrity, and source authentication ofRTP/RTCPRTP and RTP Control Protocol (RTCP) packets suitable for the various environments. The range of solutions makes it difficult for RTP-based application developers to pick the most suitable mechanism. This document provides an overview of a number of security solutions forRTP,RTP and gives guidance for developers on how to choose the appropriate security mechanism. Status of This Memo ThisInternet-Draftdocument issubmitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documentsnot an Internet Standards Track specification; it is published for informational purposes. This document is a product of the Internet Engineering Task Force (IETF).Note that other groups may also distribute working documents as Internet-Drafts. The listIt represents the consensus ofcurrent Internet- Drafts is at http://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents validthe IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Not all documents approved by the IESG are amaximumcandidate for any level of Internet Standard; see Section 2 of RFC 5741. Information about the current status ofsix monthsthis document, any errata, and how to provide feedback on it may beupdated, replaced, or obsoleted by other documentsobtained atany 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 July 19, 2014.http://www.rfc-editor.org/info/rfc7201. Copyright Notice Copyright (c) 2014 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. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 2. Background . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.1. Point-to-Point Sessions . . . . . . . . . . . . . . . . . 4 2.2. Sessions Using an RTP Mixer . . . . . . . . . . . . . . . 4 2.3. Sessions Using an RTP Translator . . . . . . . . . . . . 5 2.3.1. Transport Translator (Relay) . . . . . . . . . . . . 5 2.3.2. Gateway . . . . . . . . . . . . . . . . . . . . . . . 6 2.3.3. Media Transcoder . . . . . . . . . . . . . . . . . . 7 2.4. Any Source Multicast . . . . . . . . . . . . . . . . . . 7 2.5. Source-Specific Multicast . . . . . . . . . . . . . . . . 7 3. Security Options . . . . . . . . . . . . . . . . . . . . . . 9 3.1. Secure RTP . . . . . . . . . . . . . . . . . . . . . . . 9 3.1.1. Key Management for SRTP: DTLS-SRTP . . . . . . . . . 11 3.1.2. Key Management for SRTP: MIKEY . . . . . . . . . . . 13 3.1.3. Key Management for SRTP: Security Descriptions . . . 14 3.1.4. Key Management for SRTP: Encrypted Key Transport . . 15 3.1.5. Key Management for SRTP: ZRTP and Other Solutions . .1516 3.2. RTP Legacy Confidentiality . . . . . . . . . . . . . . . 16 3.3. IPsec . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.4. RTP over TLS over TCP . . . . . . . . . . . . . . . . . .1617 3.5. RTP over Datagram TLS (DTLS) . . . . . . . . . . . . . . 17 3.6. Media Content Security/Digital Rights Management . . . .1718 3.6.1. ISMA Encryption and Authentication . . . . . . . . . 18 4. Securing RTP Applications . . . . . . . . . . . . . . . . . .1819 4.1. Application Requirements . . . . . . . . . . . . . . . . 19 4.1.1. Confidentiality . . . . . . . . . . . . . . . . . . . 19 4.1.2. Integrity . . . . . . . . . . . . . . . . . . . . . . 20 4.1.3. Source Authentication . . . . . . . . . . . . . . . .2021 4.1.4. Identifiers and Identity . . . . . . . . . . . . . . 22 4.1.5. Privacy . . . . . . . . . . . . . . . . . . . . . . . 23 4.2. Application Structure . . . . . . . . . . . . . . . . . .2324 4.3. Automatic Key Management . . . . . . . . . . . . . . . . 24 4.4. End-to-End Securityvsvs. Tunnels . . . . . . . . . . . . . 24 4.5.Plain TextPlaintext Keys . . . . . . . . . . . . . . . . . . . . .2425 4.6. Interoperability . . . . . . . . . . . . . . . . . . . . 25 5. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.1. Media Security forSIP-establishedSIP-Established SessionsusingUsing DTLS- SRTP . . . . . . . . . . . . . . . . . . . . . . . . . .2526 5.2. Media Security for WebRTC Sessions . . . . . . . . . . . 26 5.3. IP Multimedia Subsystem (IMS) Media Security . . . . . . 27 5.4. 3GPPPacket BasedPacket-Switched Streaming Service (PSS) . . . . . .. .28 5.5. RTSP 2.0 . . . . . . . . . . . . . . . . . . . . . . . . 29 6.IANA Considerations . . . . . . . . . . . . . . . . . . . . . 29 7.Security Considerations . . . . . . . . . . . . . . . . . . . 308.7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 309.8. Informative References . . . . . . . . . . . . . . . . . . . 30Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 351. Introduction The Real-time Transport Protocol (RTP) [RFC3550] is widely used in a large variety of multimedia applications, including Voice over IP (VoIP), centralized multimedia conferencing, sensor data transport, and Internet television (IPTV) services. These applications can range from point-to-point phone calls, throughcentralisedcentralized group teleconferences, to large-scale television distribution services. The types of media can vary significantly, as can thesignallingsignaling methods used to establish the RTP sessions.This multi-dimensionalSo far, this multidimensional heterogeneity hasso farprevented development of a single security solution that meets the needs of the different applications.InsteadInstead, a significant number of different solutions have been developed to meet different sets of security goals. This makes it difficult for application developers to know what solutionsexist,exist and whether their properties are appropriate. This memo gives an overview of the available RTPsolutions,solutions and provides guidance on their applicability for different application domains. It also attempts to provide an indication of actual and intended usage at the time of writing as additional input to help with considerations such as interoperability, availability ofimplementationsimplementations, etc. The guidance provided is not exhaustive, and this memo does not provide normative recommendations. It is important that application developers consider the security goals and requirements for their application. The IETF considers it important that protocols implement secure modes of operation and makes them available to users [RFC3365]. Because of the heterogeneity of RTP applications and use cases, however, a single security solution cannot be mandated[I-D.ietf-avt-srtp-not-mandatory].[RFC7202]. Instead, application developers need to select mechanisms that provide appropriate security for their environment. It is strongly encouraged that common mechanismsarebe used by related applications in common environments. The IETF publishes guidelines for specific classes of applications, so it is worth searching for such guidelines. The remainder of this document is structured as follows. Section 2 provides additional background. Section 3 outlines the available security mechanisms at the time of thiswriting,writing and lists their key security properties and constraints.That is followed bySection 4 provides guidelines and important aspects to consider when securing an RTPapplicationapplication. Finally, in Section4. Finally,5, we give some examples of application domains where guidelines for securityexist in Section 5.exist. 2. Background RTP can be used in a wide variety of topologies due to its support for point-to-point sessions, multicast groups, and other topologies built around different types of RTP middleboxes. In thefollowingfollowing, we review the different topologies supported by RTP to understand their implications for the security properties and trust relations that can exist in RTP sessions. 2.1. Point-to-Point Sessions The most basic use case is two directly connectedend-points,endpoints, shown in Figure 1, where A has established an RTP session with B. In thiscasecase, the RTP security is primarily about ensuring that any third partycan'tbe unable to compromise the confidentiality and integrity of the media communication. This requires confidentiality protection of the RTP session, integrity protection of the RTP/RTCP packets, and source authentication of all the packets to ensure noman-in-the-middleman-in-the- middle (MITM) attack is taking place. The source authentication can also be tied to a user or anend- point'sendpoint's verifiable identity to ensure that the peer knowswhowith whom they arecommunicating with. Herecommunicating. Here, the combination of the security protocol protecting the RTP session(and hence(and, hence, the RTP and RTCP traffic) and thekey-management protocolkey management protocol becomes important to determine what security claims can be made. +---+ +---+ | A |<------->| B | +---+ +---+ Figure 1:Point-to-point topologyPoint-to-Point Topology 2.2. Sessions Using an RTP Mixer An RTP mixer is an RTP session-level middleboxthataround which one can build amulti-party RTP based conference around.multiparty RTP-based conference. The RTP mixer might actually perform media mixing, like mixing audio or compositing video images into a new media stream being sent from the mixer to a givenparticipant;participant, or it might provide a conceptualstream,stream; forexampleexample, the video of the current active speaker. From a security point of view, the important features of an RTP mixerisare that it generates a new media stream,andhas its own source identifier, and does not simply forward the original media. An RTP session using a mixer might have a topology like that in Figure 2. In this example, participants A through D each send unicast RTP traffic to the RTP mixer, and receive an RTP stream from the mixer, comprising a mixture of the streams from the other participants. +---+ +------------+ +---+ | A |<---->| |<---->| B | +---+ | | +---+ | Mixer | +---+ | | +---+ | C |<---->| |<---->| D | +---+ +------------+ +---+ Figure 2: Example RTPmixerMixer Topology A consequence of an RTP mixer having its own sourceidentifier,identifier and acting as an active participant towards the otherend-pointsendpoints is that the RTP mixer needs to be a trusted device that has access to the security context(s) established. The RTP mixer can also become asecurity enforcingsecurity-enforcing entity. For example, a common approach to secure the topology in Figure 2 is to establish a security context between the mixer and each participantindependently,independently and have the mixer source authenticate each peer. The mixer then ensures that one participant cannot impersonate another. 2.3. Sessions Using an RTP Translator RTP translators are middleboxes that provide various levels ofin- networkin-network media translation and transcoding. Their security properties vary widely, depending on which type of operations they attempt to perform. We identify and discuss three different categories of RTPtranslator:translators: transport translators, gateways, and media transcoders.We discuss each in turn.2.3.1. Transport Translator (Relay) A transport translator [RFC5117] operates on a level below RTP and RTCP. It relays the RTP/RTCP traffic from oneend-pointendpoint to one or more other addresses. This can be done based only on IP addresses and transport protocol ports,withand each receive port on the translator can have a very basic list of where to forward traffic. Transport translators also need to implement ingress filtering to prevent random traffic from being forwarded that isn't coming from a participant in the conference. Figure 3 shows an example transport translator, where traffic from any one of the four participants will be forwarded to the other three participants unchanged. The resulting topology is very similar to an Any Source Multicast (ASM) session (as discussed in Section2.4),2.4) but is implemented at the application layer. +---+ +------------+ +---+ | A |<---->| |<---->| B | +---+ | Relay | +---+ | Translator | +---+ | | +---+ | C |<---->| |<---->| D | +---+ +------------+ +---+ Figure 3: RTPrelay translator topologyRelay Translator Topology A transport translator can often operate without needing access to the security context, as long as the security mechanism does not provide protection over the transport-layer information. A transport translator does, however, make the group communicationvisible, and sovisible and, thus, can complicate keying and source authentication mechanisms. This is further discussed in Section 2.4. 2.3.2. Gateway Gateways are deployed when the endpoints are not fully compatible. Figure 4 shows an example topology. The functions a gateway provides can bediverse,diverse and range fromtransport layertransport-layer relaying between two domains not allowing direct communication, via transport or media protocol function initiation or termination, toprotocolprotocol- ormediamedia- encoding translation. The supported security protocol might even be one of the reasons a gateway is needed. +---+ +-----------+ +---+ | A |<---->| Gateway |<---->| B | +---+ +-----------+ +---+ Figure 4: RTPgateway topologyGateway Topology The choice of security protocol, and the details of the gateway function, will determine if the gateway needs to be trusted with access to the application security context. Many gateways need to be trusted by all peers to perform the translation; in othercasescases, some or all peers might not be aware of the presence of the gateway. The security protocols have different properties depending on the degree of trust and visibility needed. Ensuring communication is possible without trusting the gateway can be a strong incentive for accepting different security properties. Some security solutions will be able to detect the gateways as manipulating the media stream, unless the gateway is a trusted device. 2.3.3. Media Transcoder AMediamedia transcoder is a special type of gateway device that changes the encoding of the media being transported by RTP. The discussion in Section 2.3.2 applies. A media transcoder alters the mediadata, and thusdata and, thus, needs to be trusted with access to the security context. 2.4. Any Source Multicast Any Source Multicast [RFC1112] is the original multicast model where any multicast group participant can send to the multicastgroup,group and get their packets delivered to all group members (see Figure 5). This form of communication has interesting securityproperties,properties due to the many-to-many nature of the group. Source authentication is important, but all participants with access to the group security context will have the necessary secrets to decrypt and verify the integrity of the traffic.ThusThus, use of any group security context fails if the goal is to separate individual sources; alternate solutions are needed. +-----+ +---+ / \ +---+ | A |----/ \---| B | +---+ /Multi-\ +---+ +CastMulticast + +---+ \ Network / +---+ | C |----\ /---| D | +---+ \ / +---+ +-----+ Figure 5: Anysource multicastSource Multicast (ASM)groupGroup Inadditionaddition, the potential large size of multicast groups creates some considerations for the scalability of the solution and how thekey-key management is handled. 2.5. Source-Specific Multicast Source-Specific Multicast (SSM) [RFC4607] allows only a specificend-pointendpoint to send traffic to the multicast group, irrespective of the number of RTP media sources. Theend-pointendpoint is known as the mediaDistribution Source.distribution source. For the RTP session to function correctly with RTCP over an SSMsessionsession, extensions have been defined in [RFC5760]. Figure 6 shows a sample SSM-based RTP session where several media sources, MS1...MSm, all send media to aDistribution Source,distribution source, which then forwards the media data to the SSM group for delivery to the receivers, R1...Rn, and theFeedback Targets,feedback targets, FT1...FTn. RTCP reception quality feedback is sent unicast from each receiver to one of theFeedback Targets.feedback targets. The feedback targets aggregate reception quality feedback and forward it upstream towards the distribution source. The distribution source forwards (possibly aggregated andsummarised)summarized) reception feedback to the SSMgroup,group and back to the original media sources. The feedback targets are also members of the SSM group and receive the media data, so they can send unicast repair data to the receivers in response to feedback if appropriate. +-----+ +-----+ +-----+ | MS1 | | MS2 | .... | MSm | +-----+ +-----+ +-----+ ^ ^ ^ | | | V V V +---------------------------------+ | Distribution Source | +--------+ | | FT Agg | | +--------+------------------------+ ^ ^ | : . | : +...................+ : | . : / \ . +------+ / \ +-----+ | FT1 |<----+ +----->| FT2 | +------+ / \ +-----+ ^ ^ / \ ^ ^ : : / \ : : : : / \ : : : : / \ : : : ./\ /\. : : /. \ / .\ : : V . V V . V : +----+ +----+ +----+ +----+ | R1 | | R2 | ... |Rn-1| | Rn | +----+ +----+ +----+ +----+ Figure 6: ExampleSSM-basedSSM-Based RTPsessionSession withtwo feedback targetsTwo Feedback Targets The use of SSM makes it more difficult to inject traffic into the multicast group, but not impossible. Source authentication requirements apply for SSMsessions too, andsessions, too; an individual verification of who sent the RTP and RTCP packets is needed. An RTP session using SSM will have a group security context that includes the media sources, distribution source, feedback targets, and the receivers. Each has a different role and will be trusted to perform different actions. For example, the distribution source will need to authenticate the media sources to prevent unwanted traffic from being distributed via the SSM group. Similarly, the receivers need to authenticate both the distribution source and their feedbacktarget,target to prevent injection attacks from malicious devices claiming to be feedback targets. An understanding of the trust relationships and group security context is needed between all components of the system. 3. Security Options This section provides an overview of securityrequirements,requirements and the current RTP security mechanisms that implement those requirements. This cannot be a complete survey, since new security mechanisms are defined regularly. The goal is to help applicationsdesignerdesigners by reviewing the types ofsolutionsolutions that are available. This section will use a number of differentsecurity relatedsecurity-related terms, as described in the Internet Security Glossary, Version 2 [RFC4949]. 3.1. Secure RTP The SecureRTPReal-time Transport Protocol (SRTP)protocol[RFC3711] is one of the most commonly used mechanisms to provide confidentiality, integrity protection, sourceauthenticationauthentication, and replay protection for RTP. SRTP was developed with RTP header compression andthirdthird- party monitors in mind.ThusThus, the RTP header is not encrypted in RTP data packets, and the first 8 bytes of the first RTCP packet header in each compound RTCP packet are not encrypted. The entirety of RTP packets and compound RTCP packets are integrity protected. This allows RTP header compression towork,work and letsthird partythird-party monitors determine what RTP traffic flows exist based on theSSRCsynchronization source (SSRC) fields, but it protects the sensitive content. SRTP works with transforms where different combinations of encryption algorithm, authentication algorithm, andpseudo-randompseudorandom function can be used, and the authentication tag length can be set to any value. SRTP can also be easily extended with additional cryptographic transforms. This givesflexibility,flexibility but requires more security knowledge by the application developer. To simplify things,SDP Security DescriptionsSession Description Protocol (SDP) security descriptions (see Section 3.1.3) andDTLS-SRTPDatagram Transport Layer Security Extension for SRTP (DTLS-SRTP) (see Section 3.1.1) usepre-definedpredefined combinations of transforms, known as SRTP crypto suites and SRTP protection profiles, that bundle together transforms and other parameters, making them easier to use but reducing flexibility. TheMIKEYMultimedia Internet Keying (MIKEY) protocol (see Section 3.1.2) provides flexibility to negotiate the full selection of transforms. At the time of this writing, the following transforms, SRTP crypto suites, and SRTP protection profiles are defined or under definition: AES-CM and HMAC-SHA-1: AES Counter Mode encryption with 128-bit keys combined with 160-bit keyed HMAC-SHA-1 with an 80-bit authentication tag. This is the default cryptographic transform that needs to be supported. The transforms are defined in SRTP [RFC3711], with the corresponding SRTP crypto suite defined in [RFC4568] and SRTP protection profile defined in [RFC5764]. AES-f8 and HMAC-SHA-1: AESf8 modef8-mode encryption using 128-bit keys combined with keyed HMAC-SHA-1 using 80-bit authentication. The transforms are defined in [RFC3711], with the corresponding SRTP crypto suite defined in [RFC4568]. The corresponding SRTP protection profile is not defined. SEED: A Korean national standard cryptographic transform that is defined to be used with SRTP in [RFC5669]. Three options aredefined,defined: one using SHA-1 authentication, one using CountermodeMode withCBC-MAC,Cipher Block Chaining Message Authentication Code (CBC-MAC), andfinallyone using Galois Countermode.Mode. ARIA: A Korean block cipher[I-D.ietf-avtcore-aria-srtp],[ARIA-SRTP] that supports 128-,192-192-, and256- bit256-bit keys. It also defines threeoptions,options: CountermodeMode where combined with HMAC-SHA-1 with8080- or32 bits32-bit authentication tags, CountermodeMode withCBC-MACCBC-MAC, and Galois Countermode.Mode. It also defines a different key derivation function than theAES basedAES-based systems. AES-192-CM and AES-256-CM: Cryptographic transforms for SRTP based on AES-192 and AES-256counter modeCounter Mode encryption and 160-bit keyed HMAC-SHA-1 with 80- and 32-bit authentication tags. These provide 192- and 256-bit encryption keys, but otherwise match the default 128-bit AES-CM transform. The transforms are defined in [RFC3711] and [RFC6188],withand the SRTP crypto suites are defined in [RFC6188]. AES-GCM and AES-CCM: AES Galois Counter Mode and AES Counter Mode withCBC MACCBC-MAC for AES-128 and AES-256. This authentication is included in the ciphertexttext, which becomes expanded with the length of the authentication tag instead of using the SRTP authentication tag. This is defined in[I-D.ietf-avtcore-srtp-aes-gcm].[AES-GCM]. NULL: SRTP [RFC3711] also provides a NULL cipher that can be used when no confidentiality for RTP/RTCP is requested. The corresponding SRTP protection profile is defined in [RFC5764]. The source authentication guarantees provided by SRTP depend on the cryptographic transform andkey-managementkey management used. Some transforms give strong source authentication even in multiparty sessions; others give weaker guarantees and can authenticate group membership but not sources.TESLATimed Efficient Stream Loss-Tolerant Authentication (TESLA) [RFC4383] offers a complement to the regular symmetric keyed authentication transforms, like HMAC-SHA-1, and can provide per-source authentication in some group communication scenarios. The downside is the need for buffering the packets for a while before authenticity can be verified. [RFC4771] defines a variant of the authentication tag that enables a receiver to obtain the Roll over Counter for the RTP sequence number that is part of the InitializationvectorVector (IV) for many cryptographic transforms. This enables quicker and easier options for joining along lived securelong-lived RTPgroup,group; forexampleexample, a broadcast session. RTP header extensions are normally carried in the clear and are only integrity protected in SRTP. This can be problematic in some cases, so [RFC6904] defines an extension to also encrypt selected header extensions. SRTP is specified and deployed in a number of RTP usage contexts;Significantsignificant support is provided in SIP-established VoIPclientsclients, includingIMS; RTSP [I-D.ietf-mmusic-rfc2326bis]IP Multimedia Subsystems (IMS), andRTP basedin the Real Time Streaming Protocol (RTSP) [RTSP] and RTP-based media streaming.ThusThus, SRTP in general is widely deployed. When it comes to cryptographictransformstransforms, the default (AES-CM and HMAC-SHA-1) is the most commonly used, but it might be expected that AES-GCM, AES-192-CM, and AES-256-CM will gain usage in future, especially due to the AES- and GCM-specific instructions in new CPUs. SRTP does not contain an integratedkey-management solution, and insteadkey management solution; instead, it relies on an external key management protocol. There are several protocols that can be used. The following sections outline some popular schemes. 3.1.1. Key Management for SRTP: DTLS-SRTP A Datagram Transport Layer Security (DTLS) extension exists for establishing SRTP keys [RFC5763][RFC5764]. This extension provides securekey-key exchange between two peers, enabling Perfect Forward Secrecy (PFS) and binding strong identity verification to anend-point. Perfect Forward Secrecyendpoint. PFS is a property of thekey-agreementkey agreement protocol that ensures that a session key derived from a set of long-term keys will not be compromised if one of the long-term keys is compromised in the future. The default key generation will generate a key that contains material contributed by both peers. Thekey-exchangekey exchange happens in the media plane directly between the peers. The commonkey-exchangekey exchange procedures will take two round trips assuming no losses.TLSTransport Layer Security (TLS) resumption can be used when establishing additional media streams with the same peer, and it reduces theset-upsetup time to one RTT for these streams (see [RFC5764] for a discussion of TLS resumption in this context). The actual security properties of an established SRTP session using DTLS will depend on the cipher suites offered and used, as well as the mechanism for identifying theend-pointsendpoints of thehand-shake.handshake. Forexampleexample, some ciphersuitssuites providePFS ,PFS, whileotherothers do not. When using DTLS, the application designer needs to select which cipher suites DTLS-SRTP can offer and accept so that the desired security properties are achieved. The next choice is how to verify the identity of the peerend-point.endpoint. One choice can be to rely on the certificates and use a PKI to verify them to make an identity assertion. However, this is not the most commonway, insteadway; instead, self- signedcertificatecertificates are common touse, and insteaduse to establish trust throughsignallingsignaling or otherthird partythird-party solutions. DTLS-SRTP key management can use thesignallingsignaling protocol in fourways.ways: First, to agree on using DTLS-SRTP for media security.Secondly,Second, to determine the network location (address and port) where each side is running a DTLS listener to let the parts perform thekey-managementkey management handshakes that generate the keys used by SRTP.Thirdly,Third, to exchange hashes of each side's certificates to bind these to thesignalling,signaling and ensure there is noman-in-the-middleMITM attack. This assumes that one can trust thesignallingsignaling solution to be resistant tomodification,modification and not be in collaboration with an attacker.FinallyFinally, to provide anassertableasserted identity,e.g. [RFC4474]e.g., [RFC4474], that can be used to prevent modification of thesignallingsignaling and the exchange of certificate hashes. Thatway enablingway, it enables binding between thekey-exchangekey exchange and thesignalling.signaling. This usage is well defined for SIP/SDP in[RFC5763], and[RFC5763] and, in mostcasescases, can be adopted for use with otherbi-directional signallingbidirectional signaling solutions. It is to be noted that there is work underway to revisit the SIP Identity mechanism [RFC4474] in the IETF STIR working group. The main question regarding DTLS-SRTP's security properties is how one verifies any peer identity or at least preventsman-in-the-middleMITM attacks. Thisdo requiresdoes require trust in some DTLS-SRTP externalparty,parties: either a PKI, asignalling systemsignaling system, or some identity provider. DTLS-SRTP usage is clearly on the rise. It is mandatory to support inWebRTC.Web Real-Time Communication (WebRTC). It has growing support among SIPend-points.endpoints. DTLS-SRTP was developed in IETF primarily to meet security requirements forRTP basedRTP-based media established using SIP. The requirements considered can be reviewed in "Requirements and Analysis of Media Security ManagementProtocols."Protocols" [RFC5479]. 3.1.2. Key Management for SRTP: MIKEY Multimedia Internet Keying (MIKEY) [RFC3830] is a keying protocol that has several modes with different properties. MIKEY can be used in point-to-point applications using SIP and RTSP (e.g., VoIPcalls),calls) but is also suitable for use in broadcast and multicastapplications,applications and centralized group communications. MIKEY can establish multiple security contexts or cryptographic sessions with a single message. It isuseableusable in scenarios where one entity generates the key and needs to distribute the key to a number of participants. The different modes and the resulting properties are highly dependent on the cryptographic method used to establish the session keys actually used by the security protocol, like SRTP. MIKEY has the following modes of operation: Pre-Shared Key: Uses a pre-shared secret for symmetric key crypto used to secure a keying message carrying thealready generatedalready-generated session key. This system is the most efficient from the perspective of having small messages and processing demands. The downside is scalability, where usually the effort for the provisioning of pre-shared keys is only manageable if the number of endpoints is small. Public Keyencryption:Encryption: Uses a public key crypto to secure a keying message carrying the already-generated session key. This is more resource intensive but enables scalable systems. It does require a public key infrastructure to enable verification. Diffie-Hellman: Uses Diffie-Hellmankey-agreementkey agreement to generate the session key, thus providing perfect forward secrecy. The downside is high resource consumption in bandwidth and processing during the MIKEY exchange. This method can't be used to establish group keys as each pair of peers performing the MIKEY exchange will establish different keys. HMAC-Authenticated Diffie-Hellman: [RFC4650] defines a variant of the Diffie-Hellman exchange that uses a pre-shared key in a keyedHMACHashed Message Authentication Code (HMAC) to verify authenticity of the keying material instead of a digital signature as in the previous method. This method is still restricted to point-to-point usage. RSA-R: MIKEY-RSA in Reverse mode [RFC4738] is a variant of the public keymethodmethod, which doesn't rely on the initiator of thekey-key exchange knowing the responder's certificate. This method lets both the initiator and the respondertospecify the session keying material depending on the use case. Usage of this mode requires one round-trip time. TICKET: Ticket Payload (TICKET) [RFC6043] is a MIKEY extension using a trusted centralized key management service (KMS). TheInitiatorinitiator andResponderresponder do not share any credentials; instead, they trust a third party, the KMS, with which they both have or can establish shared credentials. IBAKE: Identity-Based Authenticated Key Exchange (IBAKE) [RFC6267] uses akey management services (KMS)KMS infrastructure but with lower demand on the KMS.ClaimsIt claims toprovidesprovide both perfect forward and backwards secrecy. SAKKE: [RFC6509] provides Sakai-Kasahara Key Encryption (SAKKE) in MIKEY.Based on IdentityIt is based on Identity-based Public Key Cryptography and a KMS infrastructure to establish a shared secret value andcertificate lesscertificateless signatures to provide source authentication. Its features include simplex transmission, scalability, low-latency callset- up,setup, and support for secure deferred delivery. MIKEY messages have several different transports. [RFC4567] defines how MIKEY messages can be embedded in general SDP for usage with thesignallingsignaling protocols SIP,SAPSession Announcement Protocol (SAP), and RTSP. There alsoexistexists a3GPP definedusage of MIKEY defined by the Third Generation Partnership Project (3GPP) that sends MIKEY messages directly over UDP [T3GPP.33.246] to key the receivers of Multimedia Broadcast and Multicast Service (MBMS) [T3GPP.26.346]. [RFC3830] defines the application/mikey mediatypetype, allowing MIKEY to be used in, e.g., email and HTTP. Based on the manychoiceschoices, it is important to consider the properties needed inonesone's solution and based on that evaluate which modesthatare candidates forones usage.use. More information on the applicability of the different MIKEY modes can be found in [RFC5197]. MIKEY with pre-shared keysareis used by 3GPP MBMS[T3GPP.33.246][T3GPP.33.246], and IMS media security [T3GPP.33.328] specifies the use of the TICKET mode transported over SIP and HTTP. RTSP 2.0[I-D.ietf-mmusic-rfc2326bis][RTSP] specifies use of the RSA-R mode. There are some SIPend-pointsendpoints that support MIKEY. The modes they use are unknown to the authors. 3.1.3. Key Management for SRTP: Security Descriptions [RFC4568] provides a keying solution based on sendingplain textplaintext keys in SDP [RFC4566]. It is primarily used with SIP and the SDP Offer/ Answermodel,model and iswell-definedwell defined in point-to-point sessions where each side declares its own unique key. UsingSecurity Descriptionssecurity descriptions to establish group keys is less welldefined,defined and can have security issues since it's difficult to guarantee unique SSRCs (as needed to avoid a "two-time pad" attack--- see Section 9 of [RFC3711]). Since keys are transported inplain textplaintext in SDP, they can easily be intercepted unless the SDP carrying protocol provides strongend-to- endend-to-end confidentiality and authentication guarantees. This is not normally thecase, where insteadcase; instead, hop-by-hop security is provided betweensignallingsignaling nodes using TLS. This leaves the keying material sensitive to capture by the traversedsignallingsignaling nodes. Thus, in most cases, the security properties of security descriptions are weak. The usage of security descriptions usually requires additional securitymeasures, e.g.measures; for example, thesignallingsignaling nodesbeare trusted and protected by strict access control. Usage of security descriptions requires careful design in order to ensure that the security goals can be met. SecurityDescriptions isdescriptions are the most commonly deployed keying solution for SIP-basedend-points,endpoints, where almost allend-pointsendpoints that support SRTP also supportSecurity Descriptions.security descriptions. It is also used for access protection in IMS Media Security [T3GPP.33.328]. 3.1.4. Key Management for SRTP: Encrypted Key Transport Encrypted Key Transport (EKT)[I-D.ietf-avtcore-srtp-ekt][EKT] is an SRTP extension that enables group keying despite using a keying mechanism like DTLS-SRTP that doesn't support group keys. It is designed for centralized conferencing, but it can also be used in sessions whereend- pointsendpoints connect to a conference bridge or agateway,gateway and need to be provisioned with the keys each participant on the bridge or gateway uses to avoid decryption and encryptioncycles on the bridge or gateway.cycles. This can enable interworking between DTLS-SRTP and other keying systems where either party can set the key (e.g., interworking with security descriptions). The mechanism is based on establishing an additional EKTkeykey, which everyone uses to protect their actual session key. The actual session key is sent inaan expanded authentication tag to the other session participants. This key is only sent occasionally or periodically depending on use cases and depending on what requirements exist for timely delivery or notification. The only known deployment of EKT so farareis in some Cisco video conferencing products. 3.1.5. Key Management for SRTP: ZRTP and Other Solutions The ZRTP [RFC6189]key-managementkey management system for SRTP was proposed as an alternative to DTLS-SRTP. ZRTP provides best effort encryption independent of thesignallingsignaling protocol and utilizes key continuity, Short Authentication Strings, or a PKI for authentication. ZRTP wasn't adopted as an IETFstandards trackStandards Track protocol, but was instead published as aninformational RFC.Informational RFC in the IETF stream. Commercial implementations exist. Additional proprietary solutions are also known to exist. 3.2. RTP Legacy Confidentiality Section 9 of the RTP standard [RFC3550] defines aDESData Encryption Standard (DES) or3DES based3DES-based encryption of RTP and RTCP packets. This mechanism is keyed usingplain textplaintext keys in SDP [RFC4566] using the "k=" SDP field. This method can provide confidentiality but, as discussed in Section 9 of [RFC3550], it has extremely weak security properties and is not to be used. 3.3. IPsec IPsec [RFC4301] can be used in either tunnel or transport mode to protect RTP and RTCP packets in transit from one network interface to another. This can be sufficient when the network interfaces have a directrelation,relation or in a secured environment where it can be controlled who can read the packets from those interfaces. The main concern with using IPsec to protect RTP traffic is that in mostcasescases, using a VPN approach that terminates the security association at some node prior to the RTPend-pointendpoint leaves the traffic vulnerable to attack between the VPN termination node and theend-point. Thusendpoint. Thus, usage of IPsec requires careful thought and design of its usage so that it meets the security goals.AAn important question is how one ensures the IPsec terminating peer and the ultimate destination are the same. Applications can have issues using existing APIswithwhen determining if IPsec is being used ornot,not and whenuseddetermining who the authenticated peer entityis.is when IPsec is used. IPsec with RTP is more commonly used as a security solution between infrastructure nodes that exchange many RTP sessions and media streams. The establishment of a secure tunnel between such nodes minimizes thekey-managementkey management overhead. 3.4. RTP over TLS over TCP Just as RTP can be sent over TCP [RFC4571], it can also be sent over TLS over TCP [RFC4572], using TLS to provide point-to-point security services. The security properties TLS provides are confidentiality, integrityprotectionprotection, and possible source authentication if the client or server certificates are verified and provide a usable identity. When used inmulti-partymultiparty scenarios using a central node for media distribution, the securityprovideprovided is only between the central node and the peers, so the security properties for the whole session are dependent on what trust one can place in the central node. RTSP 1.0 [RFC2326] and 2.0[I-D.ietf-mmusic-rfc2326bis] specifies[RTSP] specify the usage of RTP over the same TLS/TCP connection that the RTSP messages are sent over. It appears that RTP over TLS/TCP is also used in some proprietary solutions thatusesuse TLS to bypass firewalls. 3.5. RTP over Datagram TLS (DTLS)Datagram Transport Layer Security (DTLS)DTLS [RFC6347] isabased on TLS[RFC5246],[RFC5246] but designed to work overaan unreliabledatagram orienteddatagram-oriented transport rather than requiring reliable byte stream semantics from the transport protocol. Accordingly, DTLS can provide point-to-point security for RTP flows analogous to that provided byTLS,TLS but overana datagram transport such as UDP. The two peers establishana DTLS association between each other, including the possibility to do certificate-based source authentication when establishing the association. All RTP and RTCP packets flowing will be protected by this DTLS association. Note that using DTLS for RTP flows is differenttofrom using DTLS-SRTP key management. DTLS-SRTP uses the samekey-managementkey management steps as DTLS, but uses SRTP for theper packetper-packet security operations. Using DTLS for RTP flows uses the normal datagram TLS data protection, wrapping complete RTP packets. When using DTLS for RTP flows, the RTP and RTCP packets are completely encrypted with no headers in the clear; when using DTLS-SRTP, the RTP headers are in the clear and only the payload data is encrypted. DTLS can use similar techniques to those available for DTLS-SRTP to bind asignalling-sidesignaling-side agreement to communicate to the certificates used by theend-pointendpoint when doing the DTLS handshake. This enables use without having a certificate-based trust chain to a trusted certificate root. There does not appear to be significant usage of DTLS for RTP. 3.6. Media Content Security/Digital Rights Management Mechanisms have been defined that encrypt only the mediacontent,content operating within the RTP payload data and leaving the RTP headers and RTCP unaffected. There are several reasons why this might be appropriate, but a common rationale is to ensure that the content stored by RTSP streaming servers has the media content in a protected format that cannot be read by the streaming server (this is mostly done in the context of Digital Rights Management). These approaches then use akey-managementkey management solution between the rights provider and the consuming client to deliver the key used to protect the content and do not give the media server access to the security context. Such methods have several security weaknesses such as the fact that the same key is handed out to a potentially large group of receiving clients, increasing the risk of a leak. Use of this type of solution can be of interest in environments that allow middleboxes to rewrite the RTP headers and select which streams are delivered to anend-pointendpoint (e.g., some types ofcentralisedcentralized video conference systems). The advantage of encrypting and possibly integrity protecting the payload but not the headers is that the middlebox can't eavesdrop on the media content, but it can still provide stream switching functionality. The downside of such a system is that it likely needs two levels of security: thepayloadpayload- levelsolutionsolution, to provide confidentiality and source authentication, and a second layer with additional transport security ensuring source authentication and integrity of the RTP headers associated with the encrypted payloads. This can alsoresultsresult in the need to have two differentkey-managementkey management systems as the entity protecting the packets and payloads are different with a different set of keys. The aspect of two tiers of security are present in ISMACryp (see Section 3.6.1) and the deprecated 3GPPPacket BasedPacket-switched Streaming ServiceAnnex.K [T3GPP.26.234R8] solution.solution; see Annex K of [T3GPP.26.234R8]. 3.6.1. ISMA Encryption and Authentication The Internet Streaming Media Alliance (ISMA) has defined ISMA Encryption and Authentication 2.0 [ISMACryp2]. This specification defines how one encrypts and packetizes the encrypted application data units (ADUs) in an RTP payload using the MPEG-4Genericgeneric payload format [RFC3640]. The ADU types that are allowed are those that can be stored as elementary streams in an ISO Media Fileformat basedformat-based file. ISMACryp uses SRTP forpacket levelpacket-level integrity and source authentication from a streaming server to the receiver.Key-managementKey management fora ISMACryp basedan ISMACryp-based system can be achieved through Open Mobile Alliance (OMA) Digital Rights Management 2.0 [OMADRMv2], for example. 4. Securing RTP Applications In thefollowingfollowing, we provide guidelines for how to choose appropriate security mechanisms for RTP applications. 4.1. Application Requirements This section discusses a number of application requirements that need to be considered. An application designer choosing security solutions requires a good understanding of what level of security is needed and whatbehaviourbehavior they strive to achieve. 4.1.1. Confidentiality When it comes to confidentiality of an RTPsessionsession, there are several aspects to consider: Probability of compromise: When using encryption to provide media confidentiality, it is necessary to have some rough understanding of the security goal and how long one can expect the protected content to remain confidential. National or other regulations might provide additional requirements on a particular usage of an RTP. From that, one can determine which encryption algorithms are to be used from the set of available transforms. Potential for other leakage:RTP basedRTP-based security in most of its forms simply wraps RTP and RTCP packets into cryptographic containers. This commonly means that the size of the original RTP payload is visible to observers of the protected packet flow. This can provide information to those observers. A well-documented case is the risk with variablebit-ratebitrate speech codecs that produce different sized packets based on the speech input [RFC6562]. Potential threats such as these need to be considered and, if they are significant, then restrictions will be needed on mode choices in the codec, or additional padding will need to be added to make all packets equal size and remove the informational leakage. Another case is RTP header extensions. If SRTP is used, header extensions are normally not protected by the security mechanism protecting the RTP payload. If the header extension carries information that is considered sensitive, then the application needs to be modified to ensure that mechanisms used to protect against such information leakage are employed. Who has access: When considering the confidentiality properties of a system, it is important to consider where the media handled in the clear. For example, if the system is based on an RTP mixer that needs the keys to decrypt the media,process,process it, and repacketize it, then is the mixer providing the security guarantees expected by the other parts of the system? Furthermore, it is important to consider who has access to the keys. The policies for the handling of the keys, and who can access the keys, need to be considered along with the confidentiality goals. As can beseenseen, the actual confidentiality level has likely more to do with the application's usage of centralized nodes, and the details of thekey-managementkey management solution chosen, than with the actual choice of encryption algorithm (although, of course, the encryption algorithm needs to be chosen appropriately for the desired security level). 4.1.2. Integrity Protection against modification of content by a third party, or due to errors in the network, is another factor to consider. The first aspect that oneconsidersassesses is what resilience one has against modifications to the content. Some media types are extremely sensitive to network bit errors, whereas others might be able to tolerate some degree of data corruption. Equally important is to consider the sensitivity of the content, who is providing the integrity assertion, what is the source of the integrity tag, and what are the risks of modifications happening prior to that point where protection isapplied?applied. These issues affect what cryptographic algorithm is used,andthe length of the integrity tags, and whether the entire payload is protected. RTP applications that rely on central nodes need to consider ifhop- by-hophop-by-hop integrity isacceptable,acceptable or if true end-to-end integrity protection isneeded?needed. Is it important to be able to tell if a middlebox has modified the data? There are some uses of RTP that require trusted middleboxes that can modify the data in a way that doesn't break integrity protection as seen by the receiver, forexampleexample, local advertisement insertion in IPTVsystems; theresystems. There are also uses where it is essential that such in-network modification be detectable. RTP can supportboth,both with appropriate choices of security mechanisms. Integrity of the data is commonly closely tied to the question of source authentication. That is, it becomes important to know who makes an integrity assertion for the data. 4.1.3. Source Authentication Source authentication is about determining who sent a particular RTP or RTCP packet. It is normally closely tied with integrity, since a receiver generally also wants to ensure that the data received is what the source really sent, so source authentication without integrity is not particularly useful. Similarly, integrity protection without source authentication is also not particularly useful; a claim that a packet is unchanged that cannot itself be validated as from the source (or some from other known and trusted party) is meaningless. Source authentication can be asserted in several different ways: Base level: Using cryptographic mechanisms that give authentication with some type ofkey-managementkey management provide an implicit method for source authentication. Assuming that the mechanism has sufficient strengthtonot to be circumvented in the time frame when you would accept the packet as valid, it is possible to assert a source- authenticated statement; this message is likely from a source that has the cryptographic key(s) to this communication. What that assertion actually means is highly dependent on the application and how it handles the keys. If only the two peers have access to the keys, this can form a basis for a strong trust relationship that traffic is authenticated coming from one of the peers. However, in amulti-partymultiparty scenario where security contexts are shared among participants, most base-level authentication solutions can't even assert that this packet is from the same source as the previous packet. Binding the source and thesignalling:signaling: A step up in the assertion that can be done in base-level systems is to tie thesignallingsignaling to thekey-exchange.key exchange. Here, the goal is to at least be able to assert that the source of the packets is the same entitythatwith which the receiver established thesession with.session. How feasible this is depends on the properties of thekey-managementkey management system, the ability to tie thesignallingsignaling to a particular source, and the degree of trust the receiver places on the different nodes involved. For example, systems where thekey-exchangekey exchange is done using thesignallingsignaling systems, such asSecurity Descriptions [RFC4568],security descriptions [RFC4568] enable a direct binding betweensignallingsignaling andkey-exchange.key exchange. In such systems, the actual security depends on the trust one can place in thesignallingsignaling system to correctly associate the peer's identifier with thekey-exchange.key exchange. UsingIdentifiers:identifiers: If the applications have access to a system that can provide verifiable identifiers, then the source authentication can be bound to that identifier. For example, in a point-to-pointcommunicationcommunication, even symmetric key crypto, where thekey-managementkey management can assert that the key has only been exchanged with a particular identifier, can provide a strong assertion about the source of the traffic. SIPidentityIdentity [RFC4474] provides one example of how this can bedone,done and could be used to bind DTLS-SRTP certificates used by anend-pointendpoint to the identity provider's public key to authenticate the source of a DTLS-SRTP flow. Note that all levels of the system need to have matching capability to assert identifiers. If thesignallingsignaling can assert that only a given entity in a multiparty session has a key, then the media layer might be able to provide guarantees about the identifier used by the media sender. However, usingan signallinga signaling authentication mechanism built on a group key can limit the media layer to asserting only group membership. 4.1.4. Identifiers and Identity There exist many different types of systems providing identifiers with different properties (e.g., SIPidentityIdentity [RFC4474]). In the context of RTP applications, the most important property is the possibility to perform source authentication and verify such assertions in relation to any claimed identifiers. What an identifier reallyrepresentrepresents can also vary but, in the context of communication, one of the most obvious is the identifiers representing the identity of the human user with which onecommunicates with.communicates. However, the human user can also have additional identifiers in a particular role. For example, the humanAlice,(Alice) can also be a policeofficerofficer, and in somecases acases, an identifier for her role as police officer will be more relevant than one thatassertasserts that she is Alice. This is common in contact with organizations, where it is important to prove thepersonsperson's right to represent the organization. Some examples ofidentifier/Identityidentifier/identity mechanisms that can be used: Certificate based: A certificate is used to assert the identifiers used to claim anidentity,identity; by having access to the private part of thecertificatecertificate, one can perform signing to assertonesone's identity. Any entity interested in verifying the assertion then needs the public part of the certificate. By having the certificate, one can verify the signature against the certificate. The next step is to determine if one trusts the certificate's trust chain.CommonlyCommonly, by provisioning the verifier with the public part of a root certificate, this enables the verifier to verify a trust chain from the root certificate down to the identifier in the certificate. However, the trust is based on all steps in the certificate chain being verifiable and trusted.ThusThus, the provisioning of root certificates and the ability to revoke compromised certificates are aspects that will require infrastructure. OnlineIdentity Providers:identity providers: An online identity provider (IdP) can authenticate a user's right to use anidentifier,identifier and then perform assertions on their behalf or provision the requester with short- term credentials to assert the identifiers. The verifier can then contact the IdP to request verification of a particular identifier.HereHere, the trust is highly dependent on how much one trusts the IdP. The system also becomes dependent on having access to the relevant IdP. In all of the above examples, an important part of the security propertiesareis related to the method for authenticating the access to the identity. 4.1.5. Privacy RTP applications need to consider what privacy goals they have. As RTP applications communicate directly between peers in many cases, the IP addresses of any communication peer will be available. The main privacy concern with IP addresses is related to geographical location and the possibility to track a user of anend-point.endpoint. The main wayofto avoid such concerns is the introduction of relay (e.g., aTURNTraversal Using Relay NAT (TURN) server [RFC5766]) or centralized media mixers or forwarders thathideshide the address of a peer from any other peer. The security and trust placed in these relays obviously needs to be carefully considered. RTP itself can contribute to enabling a particular user to be tracked between communication sessions if theCNAMECanonical Name (CNAME) is generated according to the RTP specification in the form of user@host. Such RTCP CNAMEs are likelylong termlong-term stable over multiple sessions, allowing tracking of users. This can be desirable for long-term fault tracking and diagnosis, but it clearly has privacy implications.InsteadInstead, cryptographically random ones could be used as defined byGuidelines"Guidelines for Choosing RTP Control Protocol (RTCP)Canonical Names (CNAMEs)CNAMEs" [RFC7022]. Ifthere existprivacygoals, thesegoals exist, they need to beconsidered,considered and the system designed with them in mind. Inadditionaddition, certain RTP features might have to be configured to safeguardprivacy,privacy or have requirements on how the implementation is done. 4.2. Application Structure When it comes to RTP security, the most appropriate solution is often highly dependent on the topology of the communication session. Thesignallingsignaling also impacts what information can beprovided,provided and if this can be instancespecific,specific or common for a group. In theendend, thekey-key management system will highly affect the security properties achieved by the application. At the same time, the communication structure of the application limits what key management methods are applicable. As differentkey-managementkey management methods have different requirements on underlyinginfrastructureinfrastructure, it is important to take that aspect into consideration early in the design. 4.3. Automatic Key Management TheGuidelinesguidelines for Cryptographic Key Management [RFC4107] provide an overview of why automatic key management is important. They also provide a strong recommendation on using automatic key management. Most of the security solutions reviewed in this document provide or support automatic key management, at least to establish session keys. In some morelong termlong-term use cases, credentials mightin certain casesneed to bebemanuallydeployed.deployed in certain cases. ForSRTPSRTP, an important aspect of automatic key management is to ensure thattwo timetwo-time pads do not occur, in particular by preventing multipleend pointsendpoints using the same session key and SSRC. In thesecasescases, automatic key management methods can have strong dependencies onsignallingsignaling features to function correctly. If those dependencies can't be fulfilled, additional constrains on usage, e.g.,per-end pointper- endpoint session keys, might be needed to avoid the issue. When selecting security mechanisms for an RTPapplicationapplication, it is important to consider the properties of the key management. Using key management that is both automatic and integrated will provide minimal interruption for theuser,user and is important to ensure that security can, and will remain, to be on by default. 4.4. End-to-End Securityvsvs. Tunnels If the security mechanism only provides a secured tunnel, forexampleexample, like some common uses of IPsec (Section 3.3), it is important to consider the full end-to-end properties of the system. How does one ensure that the path from the endpoint to the local tunnelingress/ egressingress/egress is secure and can be trusted (and similarly for the other end of the tunnel)? How does one handle the source authentication of the peer, as the security protocol identifies the other end of thetunnel.tunnel? These are some of the issues that arise when one considers atunnel basedtunnel-based security protocol rather than anend-to-end.end-to-end one. Even with clear requirements and knowledge that one still can achieve the security properties using atunnel basedtunnel-based solution, one ought to prefer to use end-to-end mechanisms, as they are much less likely to violate any assumptions made about deployment. These assumptions can also be difficult to automatically verify. 4.5.Plain TextPlaintext Keys Key management solutions that useplain textplaintext keys, like SDPSecurity Descriptionssecurity descriptions (Section 3.1.3), require care to ensure a secure transport of thesignallingsignaling messages that contain theplain textplaintext keys. Forplain text keysplaintext keys, the security properties of the system depend on how securely theplain textplaintext keys are protected end-to-end between the sender and receiver(s). Not only does one need to consider what transport protection is provided for thesignalling messagesignaling message, including the keys, but also the degree to which any intermediaries in thesignallingsignaling are trusted. Untrusted intermediaries can performman in the middleMITM attacks on thecommunication,communication or can log thekeys with the resultkeys, resulting in the encryption being compromised significantly after the actual communication occurred. 4.6. Interoperability Few RTP applications exist as independent applications that never interoperate with anything else. Rather, they enable communication with a potentially large number of other systems. To minimize the number of security mechanisms that need to be implemented, it is important to consider if one can use the same security mechanisms as other applications. This can also reduce problemsofwith determining what security level is actually negotiated in a particular session. The desire to be interoperable can, in some cases, be in conflict with the security requirements of an application. To meet the security goals, it might be necessary to sacrifice interoperability. Alternatively, one can implement multiple securitymechanisms, this howevermechanisms; this, however, introduces the complication of ensuring that the user understands what it means to use a particular security system. In addition, the application can then become vulnerable to bid-downattack.attacks. 5. Examples In thefollowingfollowing, we describe a number of example security solutions for applications using RTP services or frameworks. These examples are provided to illustrate the choices available. They are not normative recommendations for security. 5.1. Media Security forSIP-establishedSIP-Established SessionsusingUsing DTLS-SRTPTheIn 2009, the IETF evaluated media security for RTP sessions established using point-to-point SIPsessions in 2009.sessions. A number of requirements were determined, and based on those, the existing solutions for media security and especially the keying methods wereanalysed.analyzed. The resulting requirements and analysis were published in [RFC5479]. Based on this analysis and working group discussion, DTLS-SRTP was determined to be the best solution. The security solution for SIP using DTLS-SRTP is defined inthe Framework"Framework for Establishing a Secure Real-time Transport Protocol (SRTP) Security Context Using Datagram Transport Layer Security(DTLS)(DTLS)" [RFC5763]. On a highlevellevel, the framework uses SIP with SDP offer/answer procedures to exchange the network addresses where the serverend-pointendpoint will have aDTLS-SRTP enableDTLS-SRTP-enabled server running. The SIPsignallingsignaling is also used to exchange the fingerprints of the certificate eachend-pointendpoint will use in the DTLS establishment process. When thesignallingsignaling is sufficiently completed, theDTLS- SRTPDTLS-SRTP client performs DTLS handshakes and establishes SRTP session keys. The clients also verify the fingerprints of the certificates to verify that no man in the middle has inserted themselves into the exchange. DTLS has a number of good security properties. For example, to enable aman in the middleMITM, someone in thesignallingsignaling path needs to perform an active action and modify both thesignallingsignaling message and the DTLS handshake.ThereSolutions alsoexists solutionsexist thatenablesenable the fingerprints to be bound to identities. SIP Identity provides an identity established by the first proxy for each user [RFC4474]. This reduces the number of nodes the connectinguserUser Agent has to trust to include just thefirst hop proxy,first-hop proxy rather than the fullsignallingsignaling path. The biggest security weakness of this system is its dependency on thesignalling.signaling. SIPsignallingsignaling passes multiple nodes and there is usually no message security deployed, only hop-by-hop transport security, if any, between the nodes. 5.2. Media Security for WebRTC Sessions Web Real-Time Communication (WebRTC)[I-D.ietf-rtcweb-overview][WebRTC] is a solution providing JavaScript web applications with real-time media directly between browsers. Media is transported using RTP and protected using a mandatory application of SRTP [RFC3711], with keying done usingDTLS-SRTPDTLS- SRTP [RFC5764]. The security configuration is further defined inthe WebRTC"WebRTC SecurityArchitecture [I-D.ietf-rtcweb-security-arch].Architecture" [WebRTC-SEC]. A hash of the peer's certificate is provided to the JavaScript web application, allowing that web application to verify identity of the peer. There are several ways in which the certificate hashes can be verified. An approach identified in the WebRTC security architecture[I-D.ietf-rtcweb-security-arch][WebRTC-SEC] is to use an identity provider. In thissolutionsolution, theIdentity Provider,identity provider, which is a third party to the web application, signs the DTLS-SRTP hash combined with a statement on the validity of the user identity that has been used to sign the hash. The receiver of such an identity assertion can then independently verify the user identity to ensure that it is the identity that the receiver intended to communicate with, and that the cryptographic assertion holds; thiswayway, a user can be certain that the application also can't perform a MITM and acquire the keys to the media communication. Other ways of verifying the certificate hashesexist,exist; forexampleexample, they could be verified against a hash carried in someout of bandout-of-band channel (e.g., compare with a hash printed on a businesscard),card) or using a verbal short authentication string (e.g., as in ZRTP[RFC6189]),[RFC6189]) or using hash continuity. In the development ofWebRTCWebRTC, there has also been attention given to privacy considerations. The main RTP-related concerns that have been raised are: LocationDisclosure:disclosure: AsICEInteractive Connectivity Establishment (ICE) negotiation [RFC5245] provides IP addresses and ports for the browser, this leaks location information in thesignallingsignaling to the peer. To preventthisthis, one can block the usage of any ICE candidate that isn't a relay candidate,i.e.i.e., where the IP and port provided belong to the service providers media traffic relay. Prevent tracking between sessions:staticStatic RTP CNAMEs and DTLS-SRTP certificates provide information that isre-usedreused between session instances.ThusThus, to prevent tracking, such informationisought not bere-usedreused between sessions, or the information ought not be sent in the clear.Note,Note that generating new certificates each time prevents continuity in authentication, however, as WebRTC users are expected to use multiple devices to access the same communication service, such continuity can't be expectedanyway, insteadanyway; instead, theabove describedabove-described identity mechanism has to be relied on. Note: The above cases are focused on providing privacy from other parties, not on providing privacy from the web server that provides the WebRTCJavascriptJavaScript application. 5.3. IP Multimedia Subsystem (IMS) Media Security In IMS, the core network is controlled by a singleoperator,operator or by several operators with high trust in each other. Except for some types of accesses, the operator is in full control, and no packages are routed over the Internet. Nodes in the core network offer services such as voice mail, interworking with legacy systems(PSTN, GSM,(Public Switched Telephone Network (PSTN), Global System for Mobile Communications (GSM), and 3G), and transcoding.End-pointsEndpoints are authenticated during the SIP registration using eitherIMS-AKAIMS and Authentication and Key Agreement (AKA) (usingSIMSubscriber Identity Module (SIM) credentials) or SIP Digest (using a password). In IMS media security [T3GPP.33.328], end-to-end encryptionis thereforeis, therefore, not seen as needed or desired as it wouldhinderhinder, forexampleexample, interworking and transcoding, making calls between incompatible terminals impossible. Because ofthisthis, IMS media security mostly uses end-to-access-edge security where SRTP is terminated in the first node in the core network. As the SIP signaling is trusted and encrypted (with TLS or IPsec), security descriptions [RFC4568] is considered to give good protection against eavesdropping over the accesses that are not already encrypted (GSM, 3G,LTE).and Long Term Evolution (LTE)). Media source authentication is based on knowledge of the SRTP session key and trust in that the IMS network will only forward media from the correctend-point.endpoint. For enterprises and government agencies, which might have weaker trust in the IMS core network and can be assumed to have compatible terminals, end-to-end security can be achieved by deploying their own key management server. Work onInterworkinginterworking with WebRTC is currently ongoing; the security will still beend-to-access-edge,end-to-access-edge but using DTLS-SRTP [RFC5763] instead of security descriptions. 5.4. 3GPPPacket BasedPacket-Switched Streaming Service (PSS) The 3GPP Release 11 PSS specification of thePacket BasedPacket-switched Streaming Service (PSS) [T3GPP.26.234R11] defines, in Annex R, a set of security mechanisms. These security mechanisms are concerned with protecting the content from being copied,i.e.i.e., Digital RightsManagement.Management (DRM). To meet these goals with the specified solution, the client implementation and the application platform are trusted to protect against access and modification by an attacker. PSS is media controlled by RTSP 1.0 [RFC2326]controlled mediastreaming over RTP.ThusThus, an RTSP client whose user wants to access a protected content will request a session description (SDP [RFC4566]) for the protected content. This SDP will indicate that the media is protected by ISMACryp 2.0 [ISMACryp2]protected mediaencoding application units (AUs). The key(s) used to protect the mediaareis provided ineitherone of two ways. If a single key isusedused, then the client uses some DRM system to retrieve the key as indicated in the SDP.CommonlyCommonly, OMA DRM v2 [OMADRMv2] will be used to retrieve the key. If multiple keys are to be used, then an additional RTSP stream forkey-updateskey updates in parallel with the media streams is established, where key updates are sent to the client using Short Term Key Messages defined in the "Service and Content Protection for Mobile Broadcast Services"sectionpart [OMASCP] of the OMA Mobile Broadcast Services [OMABCAST]. Worth noting is that this solution doesn't provide any integrity verification method for the RTP header and payload headerinformation,information; only the encoded media AU is protected. 3GPP has not defined any requirement for supporting any solution that could provide that service. Thus, replay or insertion attacks are possible. Another property is that the media content can be protected by the ones providing the media, so that the operators of the RTSP serverhashave no access to unprotected content.InsteadInstead, all that want to access the mediaisare supposed to contact the DRM keyingserverserver, and if the device isacceptableacceptable, they will be given the key to decrypt the media. To protect thesignalling,signaling, RTSP 1.0 supports the usage of TLS. This is, however, not explicitly discussed in the PSS specification. Usage of TLS can prevent both modification of the session description information and help maintain some privacy of what content the user is watching as all URLs would then be confidentiality protected. 5.5. RTSP 2.0 The Real-time Streaming Protocol 2.0[I-D.ietf-mmusic-rfc2326bis][RTSP] offers an interesting comparison to the PSS service (Section 5.4) that is based on RTSP 1.0 and service requirements perceived by mobile operators. A major difference between RTSP 1.0 and RTSP 2.0 is that 2.0 is fully defined under the requirement to havemandatory to implementa mandatory-to-implement security mechanism. As it specifieshowone transport media overRTPRTP, it is also defining security mechanisms for theRTP transportedRTP-transported media streams. The securitygoalsgoal for RTP in RTSP 2.0 is to ensure that there is confidentiality,integrityintegrity, and source authentication between the RTSP server and the client. This to prevent eavesdropping on what the user is watching for privacy reasons and to prevent replay or injection attacks on the media stream. To reach these goals, thesignallingsignaling also has to be protected, requiring the use of TLS between the client and server. Using TLS-protectedsignallingsignaling, the client and server agree on the media transport method when doing the SETUP request and response. The secured media transport is SRTP (SAVP/RTP) normally over UDP. The key management for SRTP is MIKEY using RSA-R mode. The RSA-R mode is selected as it allows the RTSPServerserver to select the key despite having the RTSPClientclient initiate the MIKEY exchange. It also enables the reuse of the RTSPserversserver's TLS certificate when creating the MIKEYmessagesmessages, thus ensuring a binding between the RTSP server and the key exchange. Assuming the SETUP process works, this will establish a SRTP crypto context to be used between the RTSPServerserver and theClientclient for theRTP transportedRTP-transported media streams. 6.IANA Considerations This document makes no request of IANA. Note to RFC Editor: this section can be removed on publication as an RFC. 7.Security Considerations This entire document is about security. Please read it.8.7. Acknowledgements We thank the IESG for their careful review of[I-D.ietf-avt-srtp-not-mandatory][RFC7202], which led to the writing of this memo. John Mattsson has contributed the IMS Media Security example (Section 5.3). The authorswishedwish to thank Christian Correll, Dan Wing, Kevin Gross, Alan Johnston, Michael Peck, Ole Jacobsen, Spencer Dawkins, Stephen Farrell, John Mattsson, and Suresh Krishnan forreviewtheir reviews and proposals for improvementsofto the text.9.8. Informative References[I-D.ietf-avt-srtp-not-mandatory] Perkins, C.[AES-GCM] McGrew, D. andM. Westerlund, "Securing the RTP Protocol Framework: WhyK. Igoe, "AES-GCM and AES-CCM Authenticated Encryption in Secure RTPDoes Not Mandate a Single Media Security Solution", draft-ietf-avt-srtp-not-mandatory-14 (work(SRTP)", Work inprogress), OctoberProgress, September 2013.[I-D.ietf-avtcore-aria-srtp][ARIA-SRTP] Kim, W., Lee, J., Kim, D., Park, J., and D. Kwon, "The ARIA Algorithm and Its Use with the Secure Real-time Transport Protocol(SRTP)",draft-ietf-avtcore-aria-srtp-06 (workWork inprogress),Progress, November 2013.[I-D.ietf-avtcore-srtp-aes-gcm] McGrew, D. and K. Igoe, "AES-GCM and AES-CCM Authenticated Encryption in Secure RTP (SRTP)", draft-ietf-avtcore-srtp- aes-gcm-10 (work in progress), September 2013. [I-D.ietf-avtcore-srtp-ekt][EKT] McGrew, D. and D. Wing, "Encrypted Key Transport for Secure RTP",draft-ietf-avtcore-srtp-ekt-01 (work in progress), October 2013. [I-D.ietf-mmusic-rfc2326bis] Schulzrinne, H., Rao, A., Lanphier, R., Westerlund, M., and M. Stiemerling, "Real Time Streaming Protocol 2.0 (RTSP)", draft-ietf-mmusic-rfc2326bis-38 (work in progress), October 2013. [I-D.ietf-rtcweb-overview] Alvestrand, H., "Overview: Real Time Protocols for Brower- based Applications", draft-ietf-rtcweb-overview-08 (work in progress), September 2013. [I-D.ietf-rtcweb-security-arch] Rescorla, E., "WebRTC Security Architecture", draft-ietf- rtcweb-security-arch-07 (workWork inprogress), July 2013.Progress, February 2014. [ISMACryp2] Internet Streaming Media Alliance (ISMA), "ISMA Encryption andAuthentication,Authentication Version2.0 release version",2.0", November2007.2007, <http://www.oipf.tv/images/site/DOCS/mpegif/ISMA/ isma_easpec2.0.pdf>. [OMABCAST] Open Mobile Alliance,"OMA Mobile"Mobile Broadcast ServicesV1.0",Version 1.0", February2009.2009, <http://technical.openmobilealliance.org/Technical/ release_program/bcast_v1_0.aspx>. [OMADRMv2] Open Mobile Alliance, "OMA Digital Rights Management V2.0", July2008.2008, <http://technical.openmobilealliance.org /Technical/release_program/drm_v2_0.aspx>. [OMASCP] Open Mobile Alliance, "Service and Content Protection for Mobile Broadcast Services", January 2013, <http://technical.openmobilealliance.org/Technical/ release_program/docs/BCAST/V1_0_1-20130109-A/ OMA-TS-BCAST_SvcCntProtection-V1_0_1-20130109-A.pdf>. [RFC1112] Deering, S., "Host extensions for IP multicasting", STD 5, RFC 1112, August 1989. [RFC2326] Schulzrinne, H., Rao, A., and R. Lanphier, "Real Time Streaming Protocol (RTSP)", RFC 2326, April 1998. [RFC3365] Schiller, J., "Strong Security Requirements for Internet Engineering Task Force Standard Protocols", BCP 61, RFC 3365, August 2002. [RFC3550] Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, "RTP: A Transport Protocol for Real-Time Applications", STD 64, RFC 3550, July 2003. [RFC3640] van der Meer, J., Mackie, D., Swaminathan, V., Singer, D., and P. Gentric, "RTP Payload Format for Transport of MPEG-4 Elementary Streams", RFC 3640, November 2003. [RFC3711] Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K. Norrman, "The Secure Real-time Transport Protocol (SRTP)", RFC 3711, March 2004. [RFC3830] Arkko, J., Carrara, E., Lindholm, F., Naslund, M., and K. Norrman, "MIKEY: Multimedia Internet KEYing", RFC 3830, August 2004. [RFC4107] Bellovin, S. and R. Housley, "Guidelines for Cryptographic Key Management", BCP 107, RFC 4107, June 2005. [RFC4301] Kent, S. and K. Seo, "Security Architecture for the Internet Protocol", RFC 4301, December 2005. [RFC4383] Baugher, M. and E. Carrara, "The Use of Timed Efficient Stream Loss-Tolerant Authentication (TESLA) in the Secure Real-time Transport Protocol (SRTP)", RFC 4383, February 2006. [RFC4474] Peterson, J. and C. Jennings, "Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)", RFC 4474, August 2006. [RFC4566] Handley, M., Jacobson, V., and C. Perkins, "SDP: Session Description Protocol", RFC 4566, July 2006. [RFC4567] Arkko, J., Lindholm, F., Naslund, M., Norrman, K., and E. Carrara, "Key Management Extensions for Session Description Protocol (SDP) and Real Time Streaming Protocol (RTSP)", RFC 4567, July 2006. [RFC4568] Andreasen, F., Baugher, M., and D. Wing, "Session Description Protocol (SDP) Security Descriptions for Media Streams", RFC 4568, July 2006. [RFC4571] Lazzaro, J., "Framing Real-time Transport Protocol (RTP) and RTP Control Protocol (RTCP) Packets over Connection- Oriented Transport", RFC 4571, July 2006. [RFC4572] Lennox, J., "Connection-Oriented Media Transport over the Transport Layer Security (TLS) Protocol in the Session Description Protocol (SDP)", RFC 4572, July 2006. [RFC4607] Holbrook, H. and B. Cain, "Source-Specific Multicast for IP", RFC 4607, August 2006. [RFC4650] Euchner, M., "HMAC-Authenticated Diffie-Hellman for Multimedia Internet KEYing (MIKEY)", RFC 4650, September 2006. [RFC4738] Ignjatic, D., Dondeti, L., Audet, F., and P. Lin, "MIKEY- RSA-R: An Additional Mode of Key Distribution in Multimedia Internet KEYing (MIKEY)", RFC 4738, November 2006. [RFC4771] Lehtovirta, V., Naslund, M., and K. Norrman, "Integrity Transform Carrying Roll-Over Counter for the Secure Real- time Transport Protocol (SRTP)", RFC 4771, January 2007. [RFC4949] Shirey, R., "Internet Security Glossary, Version 2", RFC 4949, August 2007. [RFC5117] Westerlund, M. and S. Wenger, "RTP Topologies", RFC 5117, January 2008. [RFC5197] Fries, S. and D. Ignjatic, "On the Applicability of Various Multimedia Internet KEYing (MIKEY) Modes and Extensions", RFC 5197, June 2008. [RFC5245] Rosenberg, J., "Interactive Connectivity Establishment (ICE): A Protocol for Network Address Translator (NAT) Traversal for Offer/Answer Protocols", RFC 5245, April 2010. [RFC5246] Dierks, T. and E. Rescorla, "The Transport Layer Security (TLS) Protocol Version 1.2", RFC 5246, August 2008. [RFC5479] Wing, D., Fries, S., Tschofenig, H., and F. Audet, "Requirements and Analysis of Media Security Management Protocols", RFC 5479, April 2009. [RFC5669] Yoon, S., Kim, J., Park, H., Jeong, H., and Y. Won, "The SEED Cipher Algorithm and Its Use with the Secure Real- Time Transport Protocol (SRTP)", RFC 5669, August 2010. [RFC5760] Ott, J., Chesterfield, J., and E. Schooler, "RTP Control Protocol (RTCP) Extensions for Single-Source Multicast Sessions with Unicast Feedback", RFC 5760, February 2010. [RFC5763] Fischl, J., Tschofenig, H., and E. Rescorla, "Framework for Establishing a Secure Real-time Transport Protocol (SRTP) Security Context Using Datagram Transport Layer Security (DTLS)", RFC 5763, May 2010. [RFC5764] McGrew, D. and E. Rescorla, "Datagram Transport Layer Security (DTLS) Extension to Establish Keys for the Secure Real-time Transport Protocol (SRTP)", RFC 5764, May 2010. [RFC5766] Mahy, R., Matthews, P., and J. Rosenberg, "Traversal Using Relays around NAT (TURN): Relay Extensions to Session Traversal Utilities for NAT (STUN)", RFC 5766, April 2010. [RFC6043] Mattsson, J. and T. Tian, "MIKEY-TICKET: Ticket-Based Modes of Key Distribution in Multimedia Internet KEYing (MIKEY)", RFC 6043, March 2011. [RFC6188] McGrew, D., "The Use of AES-192 and AES-256 in Secure RTP", RFC 6188, March 2011. [RFC6189] Zimmermann, P., Johnston, A., and J. Callas, "ZRTP: Media Path Key Agreement for Unicast Secure RTP", RFC 6189, April 2011. [RFC6267] Cakulev, V. and G. Sundaram, "MIKEY-IBAKE: Identity-Based Authenticated Key Exchange (IBAKE) Mode of Key Distribution in Multimedia Internet KEYing (MIKEY)", RFC 6267, June 2011. [RFC6347] Rescorla, E. and N. Modadugu, "Datagram Transport Layer Security Version 1.2", RFC 6347, January 2012. [RFC6509] Groves, M., "MIKEY-SAKKE: Sakai-Kasahara Key Encryption in Multimedia Internet KEYing (MIKEY)", RFC 6509, February 2012. [RFC6562] Perkins, C. and JM. Valin, "Guidelines for the Use of Variable Bit Rate Audio with Secure RTP", RFC 6562, March 2012. [RFC6904] Lennox, J., "Encryption of Header Extensions in the Secure Real-time Transport Protocol (SRTP)", RFC 6904, April 2013. [RFC7022] Begen, A., Perkins, C., Wing, D., and E. Rescorla, "Guidelines for Choosing RTP Control Protocol (RTCP) Canonical Names (CNAMEs)", RFC 7022, September 2013. [RFC7202] Perkins, C. and M. Westerlund, "Securing the RTP Protocol Framework: Why RTP Does Not Mandate a Single Media Security Solution", RFC 7202, April 2014. [RTSP] Schulzrinne, H., Rao, A., Lanphier, R., Westerlund, M., and M. Stiemerling, "Real Time Streaming Protocol 2.0 (RTSP)", Work in Progress, February 2014. [T3GPP.26.234R11] 3GPP, "Technical Specification Group Services and System Aspects; Transparent end-to-end Packet-switched Streaming Service (PSS); Protocols and codecs", 3GPP TS 26.234 11.1.0, September2012.2012, <http://www.3gpp.org/DynaReport/26234.htm>. [T3GPP.26.234R8] 3GPP, "Technical Specification Group Services and System Aspects; Transparent end-to-end Packet-switched Streaming Service (PSS); Protocols and codecs", 3GPP TS 26.234 8.4.0, September2009.2009, <http://www.3gpp.org/DynaReport/26234.htm>. [T3GPP.26.346] 3GPP, "Multimedia Broadcast/Multicast Service (MBMS); Protocols and codecs", 3GPP TS 26.346 10.7.0, March2013.2013, <http://www.3gpp.org/DynaReport/26346.htm>. [T3GPP.33.246] 3GPP, "3G Security; Security of Multimedia Broadcast/ Multicast Service (MBMS)", 3GPP TS 33.24612.1.0,11.1.0, December2012.2012, <http://www.3gpp.org/DynaReport/33246.htm>. [T3GPP.33.328] 3GPP, "IP Multimedia Subsystem (IMS) media plane security", 3GPP TS 33.328 12.1.0, December2012.2012, <http://www.3gpp.org/DynaReport/33328.htm>. [WebRTC-SEC] Rescorla, E., "WebRTC Security Architecture", Work in Progress, February 2014. [WebRTC] Alvestrand, H., "Overview: Real Time Protocols for Browser-based Applications", Work in Progress, February 2014. Authors' Addresses Magnus Westerlund Ericsson Farogatan 6 SE-164 80 Kista Sweden Phone: +46 10 714 82 87Email:EMail: magnus.westerlund@ericsson.com Colin Perkins University of Glasgow School of Computing Science Glasgow G12 8QQ United KingdomEmail:EMail: csp@csperkins.org URI: http://csperkins.org/