Re: [rtcweb] SRTP not mandatory-to-use

Eric Rescorla <ekr@rtfm.com> Wed, 04 January 2012 00:42 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 86BA411E80AB for <rtcweb@ietfa.amsl.com>; Tue, 3 Jan 2012 16:42:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.077
X-Spam-Level:
X-Spam-Status: No, score=-102.077 tagged_above=-999 required=5 tests=[AWL=0.900, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VgU0Bd+yIjGB for <rtcweb@ietfa.amsl.com>; Tue, 3 Jan 2012 16:42:32 -0800 (PST)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by ietfa.amsl.com (Postfix) with ESMTP id C232011E8093 for <rtcweb@ietf.org>; Tue, 3 Jan 2012 16:42:31 -0800 (PST)
Received: by vbbfo1 with SMTP id fo1so13126318vbb.31 for <rtcweb@ietf.org>; Tue, 03 Jan 2012 16:42:31 -0800 (PST)
Received: by 10.52.67.229 with SMTP id q5mr25538642vdt.14.1325637751186; Tue, 03 Jan 2012 16:42:31 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.95.110 with HTTP; Tue, 3 Jan 2012 16:41:50 -0800 (PST)
X-Originating-IP: [74.95.2.173]
In-Reply-To: <BLU152-W533F1DA98B3F04C5EC142E93970@phx.gbl>
References: <CAErhfrwu322=HTS0JZhum9EGfb73KmYS6CU_KMESyzEWhtvg2w@mail.gmail.com> <CABcZeBOeg-O+6===5tk0haxC8nLxUQyEUFRES2FAoFEf00fKng@mail.gmail.com> <CAErhfrxTKdo7Z+61x5ZcDt5ZM7C7ob5LNxMzwng_kk3Uqrp2_Q@mail.gmail.com> <4F01A790.4060704@alvestrand.no> <4F02A061.60905@jesup.org> <E44893DD4E290745BB608EB23FDDB762141EF8@008-AM1MPN1-042.mgdnok.nokia.com> <4F035DD5.3050305@jesup.org> <CAOJ7v-1dziaA_ePCuMxjn6uhBgOH=ZVybUmLBwQi5qiuyOzDMA@mail.gmail.com> <BLU152-W469B2EB104C104547FC42393960@phx.gbl> <CA+9kkMBwyUMAdDyQaYZBx0NYvoe3RV+VVKxzqNCC5Ui6xNdsOA@mail.gmail.com> <BLU152-W533F1DA98B3F04C5EC142E93970@phx.gbl>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 03 Jan 2012 16:41:50 -0800
Message-ID: <CABcZeBP-oJ9oPJsPfDdiir2_tBM5a20pGS+8FyYzzWKJ-cHEbg@mail.gmail.com>
To: Bernard Aboba <bernard_aboba@hotmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: randell-ietf@jesup.org, rtcweb@ietf.org
Subject: Re: [rtcweb] SRTP not mandatory-to-use
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jan 2012 00:42:32 -0000

On Tue, Jan 3, 2012 at 4:28 PM, Bernard Aboba <bernard_aboba@hotmail.com> wrote:
>
> Ted Hardie said:
>
>> I'm a little lost. In a gateway implemented in a back-to-back user
>> agent, won't you end up with the same illusion?
>>
>> The case I think you're talking about is this:
>>
>> UA--1<-Connection1->B2BUA/Gateway<-Connection-2->UA-2
>>
>> Do you expect that the gateway would be refuse to use SRTP on one side
>> if it intended not to use it on the other?
>
>
> [BA] If the SBC needed to enable communication with a legacy endpoint, then
> it
> might want to negotiate security compatible with that endpoint.
>
> Today there are PSTN gateways that support SRTP with SDES, but interop is
> frequently an issue (I've had to debug interop issues countless times), so
> I've often had to advise customers to turn SRTP off until an issue was
> resolved.
>
> Few PSTN gateways support any flavor of end-to-end security today (e.g.
> ZRTP, DTLS/SRTP, etc.),
> so a failover option is even more likely in that case.
>
>> If the requirement is SRTP always for WEBRTC, then a b2bUA would have
>> to run SRTP on boths ides if both UA-1 and UA-2 were WEBRTC
>> applications, but that seems to be what we want.
>
> [BA] What you're missing is what legacy systems actually implement (see the
> SIPIt reports).

In the interest of clarity, when I say that I would require SRTP for WebRTC,
what I mean is that if you wish to have your WebRTC client talk to a PSTN
gateway that doesn't support SRTP, you would need to have a gateway
in between. E.g.,

UA-1 <--- SRTP ---> WebRTC GW <--- RTP --> PSTN GW <---- PSTN

I don't know what others have in their hands, but it's not my intent to levy
a requirement for crypto through the entire RTP pathway, let alone to
endpoints which don't even speak RTP. Of course, in the case above,
whatever your UA displayed about the identity of the target would be
somewhat disappointing.

-Ekr