Re: [rtcweb] Traffic should be encrypted. (Re: Let's define the purpose of WebRTC)

Harald Alvestrand <harald@alvestrand.no> Thu, 10 November 2011 21:37 UTC

Return-Path: <harald@alvestrand.no>
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 6B8081F0C3E for <rtcweb@ietfa.amsl.com>; Thu, 10 Nov 2011 13:37:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.598
X-Spam-Level:
X-Spam-Status: No, score=-110.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, 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 qypXY3npNztP for <rtcweb@ietfa.amsl.com>; Thu, 10 Nov 2011 13:37:07 -0800 (PST)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id 3E09A1F0C38 for <rtcweb@ietf.org>; Thu, 10 Nov 2011 13:37:07 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id 84D2539E148; Thu, 10 Nov 2011 22:37:06 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c31scDj5NldO; Thu, 10 Nov 2011 22:37:05 +0100 (CET)
Received: from [192.168.0.14] (c213-89-141-213.bredband.comhem.se [213.89.141.213]) by eikenes.alvestrand.no (Postfix) with ESMTPS id ACEF539E089; Thu, 10 Nov 2011 22:37:05 +0100 (CET)
Message-ID: <4EBC4401.2090703@alvestrand.no>
Date: Thu, 10 Nov 2011 22:37:05 +0100
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: Roman Shpount <roman@telurix.com>
References: <CALiegfkVNVAs_MyU_-4koA4zRwSn1-FwLjY9g_oZVkhi9rSK5Q@mail.gmail.com> <5454E693-5C34-4C77-BA07-2A9EE9EE4AFD@cisco.com> <387F9047F55E8C42850AD6B3A7A03C6C01349FFE@inba-mail01.sonusnet.com> <1D062974A4845E4D8A343C653804920206D3B7FD@XMB-BGL-414.cisco.com> <387F9047F55E8C42850AD6B3A7A03C6C0134A105@inba-mail01.sonusnet.com> <1F2A2C70609D9E41844A2126145FC09804691DA2@HKGMBOXPRD22.polycom.com> <CALiegfmf59jb4asUu9LA6YY_aMtKEnM1Wy34KbuLEn3_h1xBXA@mail.gmail.com> <CALiegfmM1PB=VAQjfh4rW3-3C8aumHdWy9nZxD0-BWBq9Kq_tg@mail.gmail.com> <1D062974A4845E4D8A343C653804920206D3BA57@XMB-BGL-414.cisco.com> <CALiegfkWnRT8m4S9pXTxuLsc-p_bhkG3d=PX3qgiFFt5gW5yfw@mail.gmail.com> <CAD5OKxvQYVKOZF88WLCiRseg-qXQdOpKeDU_t9b-yA2GcDBT-w@mail.gmail.com> <CABcZeBOiPxz_swdaG6Aqoch1WAUtjNh4eOQy1QObCDXT_B8azg@mail.gmail.com> <CAD5OKxtp+LQBRCHgbWdJyrSRcpNQ82i64TJgGtGPrE7+GKcEog@mail.gmail.com> <4EBC3475.90706@alvestrand.no> <CAD5OKxu_-+ZRsqpUBkFSj=tYtOKG0pK3JoQTZHwQGMuBCnp0Gw@mail.gmail.com>
In-Reply-To: <CAD5OKxu_-+ZRsqpUBkFSj=tYtOKG0pK3JoQTZHwQGMuBCnp0Gw@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------030108050907080104020901"
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Traffic should be encrypted. (Re: 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: Thu, 10 Nov 2011 21:37:08 -0000

On 11/10/2011 09:51 PM, Roman Shpount wrote:
>
> On Thu, Nov 10, 2011 at 3:30 PM, Harald Alvestrand 
> <harald@alvestrand.no <mailto:harald@alvestrand.no>> wrote:
>
>     (BTW, Google searches did not immediately bring up verification
>     for that claim of 99% of Web traffic being HTTP.... do you have a
>     citation for that?)
>
>
> Not really, this is just an estimate. Some fact point for you -- 
> facebook is HTTP and that is about 25% of web page visits.
Facts are slippery things. Facebook offers an option to have HTTPS 
always, so every hit from my account on Facebook is HTTPS, not HTTP.
> Youtube is HTTP also and that's about 7%. 
> (http://weblogs.hitwise.com/heather-dougherty/2010/11/facebookcom_generates_nearly_1_1.html)
> I think the whole discussion degraded to the point of being pointless. 
> You say that you need mandatory encryption regardless of what I am saying.
Not really what I was saying.

Since you dragged in the division of traffic between HTTP and HTTPS as 
an argument, I thought I'd state an absolutist position too. That's 
different from what I am looking for when seeking consensus. For some 
reasons why I hold that position, I recommend "Little Brother" by Cory 
Doctorow. It's a fun read.
> I would not agree to mandatory encryption unless you explain to me why 
> this is not something that WebRTC application developer should not 
> control.
I am still waiting for a compelling argument for why the application 
developer *needs* to be able to run without encryption.
So far, we've heard arguments that:

- encryption uses more CPU (true, but arguably not significant compared 
to media processing)
- It is needed for legacy interoperability (may be true for some, but 
not necessarily compelling)
- It helps debugging (which has been disputed by people who debug systems)

Did I miss some?

The ability to turn off encryption increases the opportunity for attacks 
on services that *want* to be secure (bid-down attacks); I think that's 
uncontroversial.

> Application developer can circumvent media security in any way he 
> wants (by sending it to a middle box and recording for example), so I 
> really do not understand why he cannot just turn the encryption off. 
> On the web, where origin of applications can be unknown, their 
> integrity uncertain, delivery un-secure, and purpose unpredictable, I 
> do not understand why you insist on mandatory encryption. It will not 
> provide more security, will just restrict things for no real gain.
And I pursue the argument from the other end: Given that encryption is 
available, and the cost mostly negligible, what is the value of turning 
it *off*?

All that said .... I'm able to live with having the RTCWEB standard 
suite say "mandatory to implement, not mandatory to use". I just think 
the arguments for doing so are weak.