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

Justin Uberti <juberti@google.com> Wed, 11 January 2012 19:52 UTC

Return-Path: <juberti@google.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 9BF6D21F8528 for <rtcweb@ietfa.amsl.com>; Wed, 11 Jan 2012 11:52:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.559
X-Spam-Level:
X-Spam-Status: No, score=-102.559 tagged_above=-999 required=5 tests=[AWL=0.417, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 ecUvp7KnIZ2G for <rtcweb@ietfa.amsl.com>; Wed, 11 Jan 2012 11:52:37 -0800 (PST)
Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by ietfa.amsl.com (Postfix) with ESMTP id 82CE821F8517 for <rtcweb@ietf.org>; Wed, 11 Jan 2012 11:52:37 -0800 (PST)
Received: by ggnr5 with SMTP id r5so662726ggn.31 for <rtcweb@ietf.org>; Wed, 11 Jan 2012 11:52:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:x-system-of-record:content-type; bh=rZwxSpC1Lo02Zezu3k0EXptyvyUKU0D//zWk96v/BRo=; b=oLekkxRmHbfqsvOugqOSqtJBp9tbIpYMbYbI5JQZH0Q5JRgIPhJfw1s8tAt4OVVoau wlavF5bjwdzsyRPBklwCtHIYCCWBhmEmlhx52PN4XLOwP7wWAzCx+mTvE0mS7qaKcTGM 2OejHUC080x3Dlzt4fTlejiL7NPDhXkgWcSWQ=
Received: by 10.50.189.199 with SMTP id gk7mr7971832igc.30.1326311556540; Wed, 11 Jan 2012 11:52:36 -0800 (PST)
Received: by 10.50.189.199 with SMTP id gk7mr7971818igc.30.1326311556426; Wed, 11 Jan 2012 11:52:36 -0800 (PST)
MIME-Version: 1.0
Received: by 10.231.196.93 with HTTP; Wed, 11 Jan 2012 11:52:15 -0800 (PST)
In-Reply-To: <387F9047F55E8C42850AD6B3A7A03C6C01DCFBC1@inba-mail02.sonusnet.com>
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> <CAD5OKxuE0VhSsjKggj1mLOseLeDXarujvAG44yHkuZttagJggw@mail.gmail.com> <CAKhHsXHnT2p7yncha5-BQ=-Lzk3-N+tuijM-UqwfP1mPUi173A@mail.gmail.com> <BLU152-W1140980759D89AC3C1D0CA93940@phx.gbl> <CA+9kkMBdX7YT1tPj5M3VrzAPKa6tXNGZVvvhjW9V4oOEC7g_kA@mail.gmail.com> <CAOJ7v-1_qMoHBb3K7rV=hG9EadqL=xn4KEdG0zdWnKZU9_TipQ@mail.gmail.com> <4AEFFC17-EF17-40F2-B83B-0B0CC44AD2C3@cisco.com> <CAKhHsXEes+Lf+uKdTrjXoy+3PMy2uNumNL-W-0s4_xRXW6FiZg@mail.gmail.com> <4F0CAC8C.8010203@wonderhamster.org> <1D062974A4845E4D8A343C6538049202074ABD3A@XMB-BGL-414.cisco.com> <387F9047F55E8C42850AD6B3A7A03C6C01DCF907@inba-mail02.sonusnet.com> <CALiegfkejnU2rTe-FibUVxTrRS9SivkhGXB5eK+FhD8Vu6iTMA@mail.gmail.com> <387F9047F55E8C42850AD6B3A7A03C6C01DCF9FC@inba-mail02.sonusnet.com> <CALiegfn07bS58B+4ZyzRTnO4LCpw1e96dnqpSM+TT1y3QG2Zwg@mail.gmail.com> <387F9047F55E8C42850AD6B3A7A03C6C01DCFBC1@inba-mail02.sonusnet.com>
From: Justin Uberti <juberti@google.com>
Date: Wed, 11 Jan 2012 14:52:15 -0500
Message-ID: <CAOJ7v-20+yL7r+_ODx_czHTiujXZZWESaZRB7MQjhvScg3RFtw@mail.gmail.com>
To: "Ravindran, Parthasarathi" <pravindran@sonusnet.com>
X-System-Of-Record: true
Content-Type: multipart/alternative; boundary="14dae9340b392ead6204b645f941"
Cc: "rtcweb@ietf.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, 11 Jan 2012 19:52:38 -0000

To reply to the OP: The consensus that I see having emerged from this
discussion is that SRTP should be mandatory to use, with a provision for
NULL ciphers for debugging. This provision is only exposed through
developer settings, and can never be invoked from the web app; for all
practical purposes, applications will have to use SRTP

As for the key management mechanism, SDES and DTLS will be supported; while
DTLS is preferred, there are few DTLS-SRTP implementations in existence at
this time.

As far as I know, this is what the major WebRTC implementations are
planning to do.

On Wed, Jan 11, 2012 at 8:40 AM, Ravindran, Parthasarathi <
pravindran@sonusnet.com> wrote:

> Hi Inaki,
>
> I think that we are in the same page of not using plain RTP in
> airport with WiFi. It is the main reason for asking SRTP as a
> default media protocol. Also, the public internet application like
> Google hangout should be based on SRTP. So, Most of the WebRTC
> application will based on SRTP but some of the WebRTC application
> prefers to RTP (intranet site) which MUST NOT be restricted by
> IETF standard.
>
> The double encryption avoidance is the matter of optimization in
> network design as double encryption in endpoint calls for double
> decryption in the network for some of the services. I agree that
> it may not be problem in some of the network because of
> the network resource availability or network entity is not involved
> (browser-browser scenario) but we can't generalize this. In case it is
> possible, Double encryption has to be avoided and IETF has to
> recommend accordingly.
>
> Please read inline for more comments.
>
> Thanks
> Partha
>
> >-----Original Message-----
> >From: Iñaki Baz Castillo [mailto:ibc@aliax.net]
> >Sent: Wednesday, January 11, 2012 4:38 PM
> >To: Ravindran, Parthasarathi
> >Cc: Muthu Arul Mozhi Perumal (mperumal); Spencer Dawkins; Alan Johnston;
> >Bernard Aboba; Cullen Jennings (fluffy); rtcweb@ietf.org
> >Subject: Re: [rtcweb] SRTP not mandatory-to-use
> >
> >2012/1/11 Ravindran, Parthasarathi <pravindran@sonusnet.com>:
> >> Human user who "Press the 'Accept unsecure communication' button and
> >> you will win a car !!!" will allow RTP plug-in to install or configure
> >> browser to win the car. It is as good as sending the air ticket money
> >> to unknown country king based on spam mail in secured (https) e-mail
> >> access user for getting lump sum money from King (spammer).
> >
> >Right. My question is: why to allow that? wasn't a primary aim of WebRTC
> >to avoid such a risk?
> >
> <partha> I guess that my point does not come out well. I'm saying that
> user who accept unsecure communication for a car will allow RTP plug-in
> to be added in the browser wherein security will be compromised anyway
> and not related to WebRTC. </partha>
>
> >
> >> Also, please note that SRTP-DTLS does not prevent WebRTC server from
> >> accessing the secured WebRTC media (data) but helps user to identify
> >> that the media is not end-to-end. My statement is based on my
> >> understanding of WebRTC security architecture
> >>
> >> Partha(Browser +  JS) ----------WebRTCserver-----Browser+ JS (Inaki)
> >>      |                                                          |
> >>       ----(SRTP+DTLS)-----WebRTC Media server---(SRTP+DTLS) -----
> >>
> >> In the above topology, webserver owns WebRTC media server as well.
> >> Web media server terminates & originates the media. The identity is
> >> the differentiating factor. For example, if I see the browser window
> >> with identity ibc@gmail.com instead of ibc@aliax.net, then I have to
> >> understand that browser is not end-to-end because of identity.
> >
> >Well, I expect that the typicall picture will not include the "WebRTC
> >Media Server" (it could however).
> >
> >
> >> My current argument has nothing to do with PSTN interop. AFAIK,
> >> SRTP-DTLS standardization in WebRTC is good for SBC :-).
> >
> >Ok, but I'm not talking about that. I'm just wondering why the human
> >user should be able to "trust" a website asking permission for
> >untrusted/insecure plain RTP. This is not about having a media server or
> >not.
> >
> >Example: I'm in an airport with open WiFi. If I establish a plain RTP
> >communication anyone in that network can inspect it. Why to allow that?
>
> <partha> Agreed. Public internet WebRTC application has to be based on
> SRTP </partha>
>
> >
> >I repeat my main argument against allowing plain RTP:
> >
> >The double encryption is not a problem at all. The application (the
> >browser) performs SRTP encryption (no problem here!) and the TCP/IP
> >stack in the computer or in the router performs network encryption.
> >Which is the problem??? There is no problem at all.
> >
> >--
> >Iñaki Baz Castillo
> ><ibc@aliax.net>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>