draft-perkins-avt-srtp-vbr-audio-01.txt   draft-perkins-avt-srtp-vbr-audio-02.txt 
Network Working Group C. Perkins Network Working Group C. Perkins
Internet-Draft University of Glasgow Internet-Draft University of Glasgow
Intended status: BCP July 13, 2009 Intended status: BCP October 26, 2009
Expires: January 14, 2010 Expires: April 29, 2010
Guidelines for the use of Variable Bit Rate Audio with Secure RTP Guidelines for the use of Variable Bit Rate Audio with Secure RTP
draft-perkins-avt-srtp-vbr-audio-01.txt draft-perkins-avt-srtp-vbr-audio-02.txt
Status of this Memo Status of this Memo
This Internet-Draft is submitted to IETF in full conformance with the This Internet-Draft is submitted to IETF in full conformance with the
provisions of BCP 78 and BCP 79. provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that Task Force (IETF), its areas, and its working groups. Note that
other groups may also distribute working documents as Internet- other groups may also distribute working documents as Internet-
Drafts. Drafts.
skipping to change at page 1, line 32 skipping to change at page 1, line 32
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt. http://www.ietf.org/ietf/1id-abstracts.txt.
The list of Internet-Draft Shadow Directories can be accessed at The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html. http://www.ietf.org/shadow.html.
This Internet-Draft will expire on January 14, 2010. This Internet-Draft will expire on April 29, 2010.
Copyright Notice Copyright Notice
Copyright (c) 2009 IETF Trust and the persons identified as the Copyright (c) 2009 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents in effect on the date of Provisions Relating to IETF Documents in effect on the date of
publication of this document (http://trustee.ietf.org/license-info). publication of this document (http://trustee.ietf.org/license-info).
Please review these documents carefully, as they describe your rights Please review these documents carefully, as they describe your rights
skipping to change at page 3, line 24 skipping to change at page 3, line 24
When using SRTP with voice streams compressed using variable bit rate When using SRTP with voice streams compressed using variable bit rate
(VBR) codecs, the length of the compressed packets will therefore (VBR) codecs, the length of the compressed packets will therefore
depend on the characteristics of the speech signal. This variation depend on the characteristics of the speech signal. This variation
in packet size will leak significant amounts of information about the in packet size will leak significant amounts of information about the
contents of the speech signal. For example [spot-me] shows that contents of the speech signal. For example [spot-me] shows that
known phrases in an encrypted call can be recognised with high known phrases in an encrypted call can be recognised with high
accuracy in certain circumstances, without breaking the encryption. accuracy in certain circumstances, without breaking the encryption.
Other work, referenced from [spot-me], has shown that the language Other work, referenced from [spot-me], has shown that the language
spoken in encrypted conversations can also be recognised. This is spoken in encrypted conversations can also be recognised. This is
potentially a significant security risk for some applications. This potentially a security risk for some applications. This memo
memo discusses ways in which this traffic analysis risk may be discusses ways in which this traffic analysis risk may be mitigated.
mitigated.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in RFC 2119 [RFC2119]. document are to be interpreted as described in RFC 2119 [RFC2119].
2. Guidelines for use of VBR Audio with SRTP 2. Guidelines for use of VBR Audio with SRTP
To avoid the potential information leaks that might enable traffic To avoid the potential information leaks that might enable traffic
analysis, VBR audio codecs that alter the size or spacing of their analysis, VBR audio codecs that alter the size or spacing of their
output according to the characteristics of the input speech signal output according to the characteristics of the input speech signal
SHOULD NOT be used with encrypted SRTP sessions. SHOULD NOT be used with encrypted SRTP sessions. This avoidance
sometimes comes with a significant bandwidth cost, since VBR audio
codecs can be more efficient than constant bit rate alternatives, and
it is the responsibility of the application to designer to determine
the appropriate trade-off between security and bandwidth overhead.
It is safe to use variable rate coding to adapt the output of a voice It is safe to use variable rate coding to adapt the output of a voice
codec the match characteristics of a network channel, for example for codec the match characteristics of a network channel, for example for
congestion control purposes, provided this adaptation done in a way congestion control purposes, provided this adaptation done in a way
that does not expose any information on the speech signal. That is, that does not expose any information on the speech signal. That is,
if the variation is driven by the available network bandwidth, not by if the variation is driven by the available network bandwidth, not by
the input speech (i.e. if the packet sizes and spacing are constant the input speech (i.e. if the packet sizes and spacing are constant
unless the network conditions change). VBR speech codecs can safely unless the network conditions change). VBR speech codecs can safely
be used in this fashion with SRTP while avoiding leaking information be used in this fashion with SRTP while avoiding leaking information
on the contents of the speech signal that might be useful for traffic on the contents of the speech signal that might be useful for traffic
skipping to change at page 5, line 11 skipping to change at page 5, line 11
5. IANA Considerations 5. IANA Considerations
No IANA actions are required. No IANA actions are required.
6. Acknowledgements 6. Acknowledgements
This memo is based on the discussion in [spot-me]. Recent versions This memo is based on the discussion in [spot-me]. Recent versions
of ZRTP [I-D.zimmermann-avt-zrtp] contain a similar recommendation; of ZRTP [I-D.zimmermann-avt-zrtp] contain a similar recommendation;
the purpose of this memo is to highlight these issues to a wider the purpose of this memo is to highlight these issues to a wider
audience, since they are not specific to ZRTP. Thanks are due to audience, since they are not specific to ZRTP. Thanks are due to
Phil Zimmermann, Stefan Dohla, Mats Naslund, Jean-Marc Valin, Gregory Phil Zimmermann, Stefan Doehla, Mats Naslund, Jean-Marc Valin,
Maxwell, David McGrew, and Mark Baugher for their comments and Gregory Maxwell, David McGrew, Mark Baugher, and Koen Vos for their
feedback on this memo. comments and feedback on this memo.
7. References 7. References
7.1. Normative References 7.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997. Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC3711] Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K. [RFC3711] Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K.
Norrman, "The Secure Real-time Transport Protocol (SRTP)", Norrman, "The Secure Real-time Transport Protocol (SRTP)",
 End of changes. 6 change blocks. 
11 lines changed or deleted 14 lines changed or added

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