Re: [rtcweb] Let's define the purpose of WebRTC

Ravindran Parthasarathi <pravindran@sonusnet.com> Tue, 08 November 2011 14:30 UTC

Return-Path: <pravindran@sonusnet.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 8684A21F8CC5 for <rtcweb@ietfa.amsl.com>; Tue, 8 Nov 2011 06:30:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.639
X-Spam-Level:
X-Spam-Status: No, score=-2.639 tagged_above=-999 required=5 tests=[AWL=-0.040, BAYES_00=-2.599]
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 3A-1yn1+06LX for <rtcweb@ietfa.amsl.com>; Tue, 8 Nov 2011 06:30:03 -0800 (PST)
Received: from mail-ma01.sonusnet.com (sonussf2.sonusnet.com [208.45.178.27]) by ietfa.amsl.com (Postfix) with ESMTP id B3DB221F8CC2 for <rtcweb@ietf.org>; Tue, 8 Nov 2011 06:30:02 -0800 (PST)
Received: from sonusmail06.sonusnet.com (sonusmail06.sonusnet.com [10.128.32.156]) by sonuspps2.sonusnet.com (8.14.3/8.14.3) with ESMTP id pA8EUZFX017777; Tue, 8 Nov 2011 09:30:35 -0500
Received: from sonusinmail02.sonusnet.com ([10.70.51.30]) by sonusmail06.sonusnet.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 8 Nov 2011 09:29:58 -0500
Received: from INBA-HUB01.sonusnet.com ([10.70.51.86]) by sonusinmail02.sonusnet.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 8 Nov 2011 20:00:06 +0530
Received: from INBA-MAIL01.sonusnet.com ([fe80::8d0f:e4f9:a74f:3daf]) by inba-hub01.sonusnet.com ([fe80::5cbc:2823:f6cc:9ce7%11]) with mapi id 14.01.0339.001; Tue, 8 Nov 2011 20:00:06 +0530
From: Ravindran Parthasarathi <pravindran@sonusnet.com>
To: Hadriel Kaplan <HKaplan@acmepacket.com>, Eric Rescorla <ekr@rtfm.com>
Thread-Topic: [rtcweb] Let's define the purpose of WebRTC
Thread-Index: AQHMm7/XxS9yQix74UmCewMPtvNQWZWe2WiAgABcZwCAAFnsgIAA1PQAgACv/gCAAAVogIAAGdwAgAHTzNA=
Date: Tue, 08 Nov 2011 14:30:06 +0000
Message-ID: <387F9047F55E8C42850AD6B3A7A03C6C01349D81@inba-mail01.sonusnet.com>
References: <CALiegfkVNVAs_MyU_-4koA4zRwSn1-FwLjY9g_oZVkhi9rSK5Q@mail.gmail.com> <8A61D801-D14D-408B-9875-63C37D0CC166@acmepacket.com> <CABw3bnPE=OY_h5bM7GA6wgrXiOBL8P4J0kw1jLv-GSpHAbg=Cg@mail.gmail.com> <CABcZeBNqdkh8u=gwOvKfDCQA7rXdAyQkfaM1r2Sx10787btP6A@mail.gmail.com> <B10FEFF6-0ADC-4DB1-83BB-50A11C65EC35@acmepacket.com> <CABcZeBNSXtim_VqzqAd8Z-u4zWSjaYmsVZPN=7sDYkJsgtRAHA@mail.gmail.com> <4EB7E6A5.70209@alvestrand.no> <F8003BA9-BCD8-4F02-B514-8B883FF90F91@acmepacket.com>
In-Reply-To: <F8003BA9-BCD8-4F02-B514-8B883FF90F91@acmepacket.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.70.54.164]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 08 Nov 2011 14:30:06.0667 (UTC) FILETIME=[E94631B0:01CC9E22]
Cc: "<rtcweb@ietf.org>" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Let's define the purpose of WebRTC
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: Tue, 08 Nov 2011 14:30:04 -0000

I agree with Hadriel that it is not required to mandate SRTP for WebRTC. My reasoning are as follows:

1) Security could be in the lower layer itself (IPsec, VPN, private MPLS cloud). For Enterprise-only-WebRTC application (no federation & no interop), there is no need of security by specific application like WebRTC as it is ensured in the infrastructure. WebRTC security will be duplicated for these infrastructure and may leads double encryption unnecessarily.

2) Being in India, I'm interested in avoiding Government restriction on WebRTC proposal (Thanks to Tim for pointing this). I may not surprise to see that WebRTC mechanism is banned in India because intelligent agency struggles to break the key in each terrorist WebRTC site. (http://www.pcworld.com/businesscenter/article/235639/india_wants_to_intercept_skype_google_communications.html)

In case there is no use case to illustrate in RTCWeb draft, let us discuss in detail.

>-----Original Message-----
>From: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] On Behalf
>Of Hadriel Kaplan
>Sent: Monday, November 07, 2011 9:12 PM
>To: Eric Rescorla
>Cc: <rtcweb@ietf.org>
>Subject: Re: [rtcweb] Let's define the purpose of WebRTC
>
>
>On 11/07/2011 02:50 PM, Eric Rescorla wrote:
>> On Sun, Nov 6, 2011 at 7:20 PM, Hadriel Kaplan<HKaplan@acmepacket.com>
>wrote:
>>> Who said "too slow"?  There *is* an extra round-trip or two involved
>I presume, if we're talking DTLS-SRTP, but no I didn't mean that as a
>"hit".  I just meant the extra computing cycles for SRTP being a "hit".
>For WebRTC-to-WebRTC I don't think that matters at all.  For WebRTC-to-
>media-server it might, for a free game app or greeting card app that
>don't care about it to begin with, and which use plaintext HTTP to begin
>with.
>> Sorry, I didn't mean to put words in your mouth. Performance
>measurements
>> of HTTP versus HTTPS in modern Web environments suggest that the
>additional
>> load for HTTPS is not significant. Do you have evidence that the
>situation is
>> different for SRTP versus RTP?
>
>Only from the DSP guys, and those would be hardware DSPs not softDSPs.
>It runs them anywhere from 10-25% overhead, they say, depending on the
>vendor and what else their DSPs are doing at the time.
>
>But ultimately even in software I assume it's all relative to what other
>work you're doing.  If you have to render a video stream on a screen and
>encode camera input into a codec being sent out, then my guess is SRTP
>overhead is a tiny factor not worth talking about.  If you're mixing
>multiple RTP streams as a conference server, then I assume doing SRTP
>for thousands of simultaneous audio RTP streams for multiple
>simultaneous conferences becomes noticeable.  Or at least so they seem
>to claim - I don't know since I don't build a media server (hardware
>SBCs often offload SRTP onto dedicated hardware).  One large software
>company even created their own proprietary packet format for SRTP that
>they claimed was done for improving performance/scalability, so I assume
>it has some impact they don't want their customers to incur.
>
>-hadriel
>
>_______________________________________________
>rtcweb mailing list
>rtcweb@ietf.org
>https://www.ietf.org/mailman/listinfo/rtcweb