| draft-perkins-avt-srtp-vbr-audio-03.txt | draft-perkins-avt-srtp-vbr-audio-04.txt | |||
|---|---|---|---|---|
| Network Working Group C. Perkins | Network Working Group C. Perkins | |||
| Internet-Draft University of Glasgow | Internet-Draft University of Glasgow | |||
| Intended status: BCP JM. Valin | Intended status: BCP JM. Valin | |||
| Expires: September 9, 2010 Octasic Inc. | Expires: January 10, 2011 Octasic Inc. | |||
| March 8, 2010 | July 9, 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-03.txt | draft-perkins-avt-srtp-vbr-audio-04.txt | |||
| Abstract | Abstract | |||
| This memo discusses potential security issues that arise when using | This memo discusses potential security issues that arise when using | |||
| variable bit rate audio with the secure RTP profile. Guidelines to | variable bit rate audio with the secure RTP profile. Guidelines to | |||
| mitigate these issues are suggested. | mitigate these issues are suggested. | |||
| Status of this Memo | Status of this Memo | |||
| This Internet-Draft is submitted to IETF in full conformance with the | This Internet-Draft is submitted in full conformance with the | |||
| provisions of BCP 78 and BCP 79. | provisions of BCP 78 and BCP 79. | |||
| Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
| Task Force (IETF), its areas, and its working groups. Note that | Task Force (IETF). Note that other groups may also distribute | |||
| other groups may also distribute working documents as Internet- | working documents as Internet-Drafts. The list of current Internet- | |||
| Drafts. | Drafts is at http://datatracker.ietf.org/drafts/current/. | |||
| Internet-Drafts are draft documents valid for a maximum of six months | Internet-Drafts are draft documents valid for a maximum of six months | |||
| and may be updated, replaced, or obsoleted by other documents at any | and may be updated, replaced, or obsoleted by other documents at any | |||
| time. It is inappropriate to use Internet-Drafts as reference | time. It is inappropriate to use Internet-Drafts as reference | |||
| material or to cite them other than as "work in progress." | material or to cite them other than as "work in progress." | |||
| The list of current Internet-Drafts can be accessed at | This Internet-Draft will expire on January 10, 2011. | |||
| http://www.ietf.org/ietf/1id-abstracts.txt. | ||||
| The list of Internet-Draft Shadow Directories can be accessed at | ||||
| http://www.ietf.org/shadow.html. | ||||
| This Internet-Draft will expire on September 9, 2010. | ||||
| Copyright Notice | Copyright Notice | |||
| Copyright (c) 2010 IETF Trust and the persons identified as the | Copyright (c) 2010 IETF Trust and the persons identified as the | |||
| document authors. All rights reserved. | document authors. All rights reserved. | |||
| This document is subject to BCP 78 and the IETF Trust's Legal | This document is subject to BCP 78 and the IETF Trust's Legal | |||
| Provisions Relating to IETF Documents | Provisions Relating to IETF Documents | |||
| (http://trustee.ietf.org/license-info) in effect on the date of | (http://trustee.ietf.org/license-info) in effect on the date of | |||
| publication of this document. Please review these documents | publication of this document. Please review these documents | |||
| carefully, as they describe your rights and restrictions with respect | carefully, as they describe your rights and restrictions with respect | |||
| to this document. Code Components extracted from this document must | to this document. Code Components extracted from this document must | |||
| include Simplified BSD License text as described in Section 4.e of | include Simplified BSD License text as described in Section 4.e of | |||
| the Trust Legal Provisions and are provided without warranty as | the Trust Legal Provisions and are provided without warranty as | |||
| described in the Simplified BSD License. | described in the Simplified BSD License. | |||
| This document may contain material from IETF Documents or IETF | ||||
| Contributions published or made publicly available before November | ||||
| 10, 2008. The person(s) controlling the copyright in some of this | ||||
| material may not have granted the IETF Trust the right to allow | ||||
| modifications of such material outside the IETF Standards Process. | ||||
| Without obtaining an adequate license from the person(s) controlling | ||||
| the copyright in such materials, this document may not be modified | ||||
| outside the IETF Standards Process, and derivative works of it may | ||||
| not be created outside the IETF Standards Process, except to format | ||||
| it for publication as an RFC or to translate it into languages other | ||||
| than English. | ||||
| Table of Contents | Table of Contents | |||
| 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 | 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 | |||
| 2. Scenario-Dependent Risk . . . . . . . . . . . . . . . . . . . . 3 | 2. Scenario-Dependent Risk . . . . . . . . . . . . . . . . . . . . 3 | |||
| 3. Guidelines for use of VBR Audio with SRTP . . . . . . . . . . . 4 | 3. Guidelines for use of VBR Audio with SRTP . . . . . . . . . . . 4 | |||
| 4. Guidelines for use of Voice Activity Detection with SRTP . . . 4 | 4. Guidelines for use of Voice Activity Detection with SRTP . . . 4 | |||
| 5. Padding the output of VBR codecs . . . . . . . . . . . . . . . 5 | 5. Padding the output of VBR codecs . . . . . . . . . . . . . . . 5 | |||
| 6. Security Considerations . . . . . . . . . . . . . . . . . . . . 5 | 6. Security Considerations . . . . . . . . . . . . . . . . . . . . 5 | |||
| 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 5 | 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 5 | |||
| 8. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 6 | 8. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 6 | |||
| skipping to change at page 4, line 14 ¶ | skipping to change at page 4, line 14 ¶ | |||
| IP addresses are available. | IP addresses are available. | |||
| 3. Guidelines for use of VBR Audio with SRTP | 3. Guidelines for use of VBR Audio with SRTP | |||
| It is the responsibility of the application designer to determine the | It is the responsibility of the application designer to determine the | |||
| appropriate trade-off between security and bandwidth overhead. As a | appropriate trade-off between security and bandwidth overhead. As a | |||
| general rule, VBR codecs should be considered safe in the context of | general rule, VBR codecs should be considered safe in the context of | |||
| encrypted one-to-one calls. However, applications that make use of | encrypted one-to-one calls. However, applications that make use of | |||
| pre-recorded messages where the contents of such pre-recorded | pre-recorded messages where the contents of such pre-recorded | |||
| messages may be of any value to an evesdropper (i.e. messages beyond | messages may be of any value to an evesdropper (i.e. messages beyond | |||
| standard greeting messages) SHOULD NOT use codecs in VBR mode. In | standard greeting messages) SHOULD NOT use codecs in VBR mode. IVR | |||
| particular, IVR applications would be particularly vulnerable since | applications would be particularly vulnerable since an evesdropper | |||
| an evesdropper could easily use the rate information to easily | could easily use the rate information to easily recognize the prompts | |||
| recognize the prompts being played out. | being played out. | |||
| 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 to match characteristics of a network channel, for example for | codec to 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 4, line 47 ¶ | skipping to change at page 4, line 47 ¶ | |||
| watching the patterns of voice activity. This information leakage is | watching the patterns of voice activity. This information leakage is | |||
| less than with VBR coding since there are only two rates possible. | less than with VBR coding since there are only two rates possible. | |||
| The information leakage due to VAD in SRTP audio sessions can be much | The information leakage due to VAD in SRTP audio sessions can be much | |||
| reduced if the sender adds an unpredictable "overhang" period to the | reduced if the sender adds an unpredictable "overhang" period to the | |||
| end of active speech intervals, so obscuring their actual length. an | end of active speech intervals, so obscuring their actual length. an | |||
| RTP sender using VAD with encrypted SRTP audio SHOULD insert such an | RTP sender using VAD with encrypted SRTP audio SHOULD insert such an | |||
| overhang period at the end of each talkspurt, delaying the start of | overhang period at the end of each talkspurt, delaying the start of | |||
| the silence/comfort noise by a random interval. The length of the | the silence/comfort noise by a random interval. The length of the | |||
| overhang applied to each talkspurt must be randomly chosen in such a | overhang applied to each talkspurt must be randomly chosen in such a | |||
| way that it is computationally infeasible for an attacker to predict | way that it is computationally infeasible for an attacker to reliably | |||
| the length of that talkspurt. The audio data comprising the overhang | estimate the length of that talkspurt. The audio data comprising the | |||
| period must be packetised and transmitted in RTP packets in a manner | overhang period must be packetised and transmitted in RTP packets in | |||
| that is indistinguishable from the other data in the talkspurt. | a manner that is indistinguishable from the other data in the | |||
| talkspurt. | ||||
| The overhang period SHOULD have an exponentially-decreasing | The overhang period SHOULD have an exponentially-decreasing | |||
| probability distribution function. This ensures a long tail, while | probability distribution function. This ensures a long tail, while | |||
| being easy to compute. It is RECOMMENDED to use an overhang with a | being easy to compute. It is RECOMMENDED to use an overhang with a | |||
| "half life" of at least 1 second. Despite the overhang (and no | "half life" of at least 1 second. Despite the overhang (and no | |||
| matter what the duration is), there is still a small amount of | matter what the duration is), there is still a small amount of | |||
| information leak due to the fact that we cannot apply an overhang to | information leaked about the start time of the talkspurt due to the | |||
| the start of a talkspurt without unacceptably affecting | fact that we cannot apply an overhang to the start of a talkspurt | |||
| intelligibility. For that reason, VAD SHOULD NOT be used in | without unacceptably affecting intelligibility. For that reason, VAD | |||
| encrypted IVR applications. | SHOULD NOT be used in encrypted IVR applications where the content of | |||
| pre-recorded messages may be of any value to an eavesdropper. | ||||
| The application of a random overhang period to each talkspurt will | The application of a random overhang period to each talkspurt will | |||
| reduce the effectiveness of VAD in SRTP sessions when compared to | reduce the effectiveness of VAD in SRTP sessions when compared to | |||
| non-SRTP sessions. It is, however, still expected that the use of | non-SRTP sessions. It is, however, still expected that the use of | |||
| VAD will provide a significant bandwidth saving for many encrypted | VAD will provide a significant bandwidth saving for many encrypted | |||
| sessions. | sessions. | |||
| 5. Padding the output of VBR codecs | 5. Padding the output of VBR codecs | |||
| For scenarios where VBR is considered unsafe, the codec SHOULD be | For scenarios where VBR is considered unsafe, the codec SHOULD be | |||
| End of changes. 10 change blocks. | ||||
| 38 lines changed or deleted | 22 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/ | ||||