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

Eric Rescorla <ekr@rtfm.com> Fri, 11 November 2011 01:30 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 281361F0C5E for <rtcweb@ietfa.amsl.com>; Thu, 10 Nov 2011 17:30:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.938
X-Spam-Level:
X-Spam-Status: No, score=-102.938 tagged_above=-999 required=5 tests=[AWL=0.039, 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 9HPl-f2NJNBo for <rtcweb@ietfa.amsl.com>; Thu, 10 Nov 2011 17:30:49 -0800 (PST)
Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by ietfa.amsl.com (Postfix) with ESMTP id 925A31F0C3C for <rtcweb@ietf.org>; Thu, 10 Nov 2011 17:30:49 -0800 (PST)
Received: by yenq4 with SMTP id q4so295157yen.31 for <rtcweb@ietf.org>; Thu, 10 Nov 2011 17:30:49 -0800 (PST)
Received: by 10.146.25.2 with SMTP id 2mr1204485yay.20.1320975049084; Thu, 10 Nov 2011 17:30:49 -0800 (PST)
MIME-Version: 1.0
Received: by 10.146.151.3 with HTTP; Thu, 10 Nov 2011 17:30:08 -0800 (PST)
X-Originating-IP: [74.95.2.173]
In-Reply-To: <B6DC56EE-588F-477D-A3C2-F6D9B66FADE7@acmepacket.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> <387F9047F55E8C42850AD6B3A7A03C6C01349D81@inba-mail01.sonusnet.com> <845C03B2-1975-4145-8F52-8CEC9E360AF3@edvina.net> <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> <228696DD-CAF5-4D50-AA5A-11F62DFD01EE@acmepacket.com> <CABcZeBM3bY041sMiaDmxuk=BvuZvoEGquV7jyG1OEQ9mGCnBWA@mail.gmail.com> <B6DC56EE-588F-477D-A3C2-F6D9B66FADE7@acmepacket.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 10 Nov 2011 17:30:08 -0800
Message-ID: <CABcZeBOS4-jPVvV2VK1ZB=B=ec+yat+BjQi9fPM-ZkCtbQ5HLw@mail.gmail.com>
To: Hadriel Kaplan <HKaplan@acmepacket.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
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: Fri, 11 Nov 2011 01:30:50 -0000

On Thu, Nov 10, 2011 at 5:15 PM, Hadriel Kaplan <HKaplan@acmepacket.com> wrote:
>
> On Nov 10, 2011, at 4:34 PM, Eric Rescorla wrote:
>
>> This isn't my point: Roman offered a set of use cases he claimed didn't
>> require confidentiality. But in fact, many such cases do. The fact that
>> there are also overlapping cases which do not is an argument for erring
>> on the side of confidentiality, not the other way around.
>
> But the argument isn't about a generic "game-app" or generic "greeting card" WebRTC use-case - it's about a specific "game-app" or "greeting card" application instance.  In other words, of course for a "game-app" use-case we can imagine games which involve money that need media security; but there are "Farmville" and Scrabble and so on games as well, and those are the specific applications that're being proposed don't need it and may not want it.

I get that that's the argument you're offering, but my point is that people's
intuitions about what's needed are generally wrong. To take the specific
examples you've chosen, why do you think Scrabble doesn't require
security? If people are playing a scrabble tournament, then certainly
there is something riding on the outcome and so security is appropriate.
(This is, for instance, an issue for first person shooters, where tournaments
can have high stakes).


> The subtle difference, I think, is that you're viewing it like WebRTC is a generic application that can be used by different hosting sites for different purposes, whereas I view WebRTC as a toolkit to build different applications - like a library included with my OS or compiler.  So saying "well since someone could use WebRTC for something sensitive we have to assume the worst case" sounds rather odd to me - it's like a compiler removing a library because some programs made for sensitive data could be accidentally using it. No?

I would say a better analogy is a system declining to offer APIS which are known
to be extremely dangerous (since we are building a new system it's not really
a question of removing.) And indeed this is good practice. Imagine all the
security vulnerabilities which could have been avoided if the C standard library
had not included strcpy().

-Ekr