Re: [rtcweb] No a=ice-lite in JSEP-04
Justin Uberti <juberti@google.com> Thu, 03 October 2013 18:59 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 2946C21F898A for <rtcweb@ietfa.amsl.com>; Thu, 3 Oct 2013 11:59:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
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 7cM-ITiIznaa for <rtcweb@ietfa.amsl.com>; Thu, 3 Oct 2013 11:59:48 -0700 (PDT)
Received: from mail-vc0-x22a.google.com (mail-vc0-x22a.google.com [IPv6:2607:f8b0:400c:c03::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 4BFAA21F9228 for <rtcweb@ietf.org>; Thu, 3 Oct 2013 11:49:38 -0700 (PDT)
Received: by mail-vc0-f170.google.com with SMTP id lc6so1298622vcb.1 for <rtcweb@ietf.org>; Thu, 03 Oct 2013 11:49:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=FXPGpnXR1qR3btzpEEmv9NW+IgxtiuwKrOHhodEHQEI=; b=HeuNKG5HSZ65buRajb9QHUh2/XlYc9IVtiw8RHY6Ae/9qakXLcCIbn71HUT8dE491o 7ici7BzyVPH4elTzBFIqqIKsDWPMRVYwvgB+zBWoAwWHVn87PyOCTCPZOUyX7KahFASk AO2qD4XAeFEqt9hI3553JVW64VOrg4wo1ybxiF5+dDZM/MFzrbd/oa6errRg2dnrooHZ bokQLptFtF1iemCHkGIobDbsM0y1ORVJuA4SSv+eapiXqyf9qtBtQGNCMs+pQiawDQJf QrI6R4fWjbcZrQu8aRzVITdHTKJ1itInCyXYyCJC8AAtz8XBs+YESUZs4dgq/iP0lxJ6 Jc7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=FXPGpnXR1qR3btzpEEmv9NW+IgxtiuwKrOHhodEHQEI=; b=hX6iTQg+yuIRj8nOIjqq8mbEJyw4XiFcvM1J0jztayXQFnHgQGV3YswfYZGNOCPBEy or6JGRX7LMQiYg6+LxTOeS2BtbpPQpkSDtzaERhlXxmwheEOvrvNtx5BPqQtbMGdC/Gr DBxOGm6WyCW2Erh5kEBr0UCosCrkOBZA3zQzV7g7bLxsgkGkYI2fuWIE6AELKvCkslE6 tOcrD8qSk0pkyZ8JTFFkzxYttmZw+EmC11Y2gVRfUmFsfl0caeUDZJg3/G/phV+CFjdt +dvUKtHgLc7aG/H7B46tpuXresYS6GK02RpSsyTgnKbLqpe3UfTaYzBnyRFkKYYpTeMF i+gg==
X-Gm-Message-State: ALoCoQnS8FSWRGQknLmF0A43GYP6n9VU053aG1+dh1+CWTAV7uFaewNTjW2QEoDUHubJbRPi4gtpRByaAg2O4SoyAxLIyflwHWbYiYhAvj+1uUe0nekTlWcZ1AKp2sYGL4kPkN9g4JHHw2L6cxqWeZYQWFW0tt54tA3zpf93yOToRzkoWgzhvtUiYHjJBrkbTTNCqTE/+Py8
X-Received: by 10.59.11.69 with SMTP id eg5mr8649177ved.17.1380826177421; Thu, 03 Oct 2013 11:49:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.110.101 with HTTP; Thu, 3 Oct 2013 11:49:16 -0700 (PDT)
In-Reply-To: <524DACC4.8060901@alvestrand.no>
References: <56C2F665D49E0341B9DF5938005ACDF811144C@DEMUMBX005.nsn-intra.net> <CALiegfn+u-LD=W1S2te6UB1+u6yd7xAbpKO_U=qUEsD-aWv6cw@mail.gmail.com> <CAOJ7v-2UHjitspwzJ_nzdDXwN_ZoVAk=86O98khhhoOdAtVhiA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1C4B37B8@ESESSMB209.ericsson.se> <2F515906-BEC6-4ACA-BF2B-172E6ADBDAF1@phonefromhere.com> <CALiegf=EmbKX7KPffa79eDn4zFxuZBkNFNsh-aX-iTecob7v6Q@mail.gmail.com> <54B5DF36-6BEE-4FA4-ACA1-D4912F9A49AB@nostrum.com> <524D94E0.7020801@matthew.at> <7594FB04B1934943A5C02806D1A2204B1C4B3AEC@ESESSMB209.ericsson.se> <7594FB04B1934943A5C02806D1A2204B1C4B3C06@ESESSMB209.ericsson.se> <524DACC4.8060901@alvestrand.no>
From: Justin Uberti <juberti@google.com>
Date: Thu, 03 Oct 2013 11:49:16 -0700
Message-ID: <CAOJ7v-1_HH3UScKoApow9xd8XBzckpDnCNBV1y=-CE6k+Qv1kA@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Content-Type: multipart/alternative; boundary="047d7bf0dc6ccd61da04e7daa5db"
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] No a=ice-lite in JSEP-04
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, 03 Oct 2013 18:59:55 -0000
Agree with Harald, although I don't like the terms "browser"/"non-browser", since many folks (us included) are making native versions of the WebRTC APIs available, which should conform to the same rules as their web brethren. WebRTC implementations (basically, anything exposing a WebRTC API) MUST support full ICE, and MUST not support ICE Lite. WebRTC-compatible endpoints (e.g. gateways) MAY support ICE Lite. On Thu, Oct 3, 2013 at 10:43 AM, Harald Alvestrand <harald@alvestrand.no>wrote: > On 10/03/2013 06:48 PM, Christer Holmberg wrote: > > What I think we DO need to say (eventhough someone may think it's > obvious) , in the continous consent spec, is that ICE-lite entities do not > send cc STUN requests. > > > Hm. If correct: What are the consequences of that? > > It seems to me that the entity sending cc STUN requests is the one asking > for permission (although I may have misremembered something). So this means > that if there are no cc STUN requests coming from the ice-lite end, the > ice-lite end is neither requesting permission to contine to send, nor is it > going to stop sending when the WebRTC end tries to revoke permission. > > With the security guarantees we've been trying to work in here, where it's > safe to execute Javascript because there's a limit to how much damage you > can do with it.... I reach this conclusion: > > Entities that implement the WebRTC API, and allow others' Javascript to > access that API (for brevity's sake, let's call them "browsers", even > though W3C tends to call them "UAs") MUST NOT implement ice-lite. No matter > whether they have a public IP address or not; if they implement ice-lite, > they can't offer the security guarantees we want. > > Entities that don't offer an API that allows third parties to start > connections from it (for brevity, "non-browsers") have to be taken over in > other ways in order to perform an attack anyway, in which case all the > WebRTC guarantees are shot - so there's no harm in allowing them to > implement ice-lite. > > > > > > Regards, > > > > Christer > > > ------------------------------ > *From:* rtcweb-bounces@ietf.org [rtcweb-bounces@ietf.org] on behalf of > Christer Holmberg [christer.holmberg@ericsson.com] > *Sent:* Thursday, 03 October 2013 7:30 PM > *To:* Matthew Kaufman; rtcweb@ietf.org > *Subject:* Re: [rtcweb] No a=ice-lite in JSEP-04 > > Hi, > > > > Do we really need to say more than the ICE RFC already says? I think it > explains when ICE-lite is appropriate, and when it isn't. > > > > Regards, > > > > Christer > > > > > ------------------------------ > *From:* rtcweb-bounces@ietf.org [rtcweb-bounces@ietf.org] on behalf of > Matthew Kaufman [matthew@matthew.at] > *Sent:* Thursday, 03 October 2013 7:01 PM > *To:* rtcweb@ietf.org > *Subject:* Re: [rtcweb] No a=ice-lite in JSEP-04 > > On 10/3/2013 7:53 AM, Adam Roach wrote: > > On Oct 3, 2013, at 9:31, Iñaki Baz Castillo <ibc@aliax.net><ibc@aliax.net>wrote: > > > >> If I implement my own WebRTC stack in a smartphone app, am I disallowed > to do ICE-lite in my side?? > > I would hope so, yes. The chance that your smartphone app would have any > hope if working if it did ice lite are as close to zero as to make no > difference. > > > > The fact that implementors apparently don't see this as an obvious fact > tells me that we need pretty strong language around this prohibition, and > "browser" is clearly too narrow a scope. > > > > > > The spec should say that: > 1. The prohibition on sending media prior to completing a STUN > connectivity test is a MUST > 2. A full ICE implementation is a SHOULD > > If I'm building a system with clients at one end and gateways with > public addresses at the other, a full ICE implementation isn't required > anywhere in order to make calls through those gateways. But keeping the > browser from being able to spew media at something that hasn't consented > *is* required. > > Matthew Kaufman > _______________________________________________ > rtcweb mailing list > rtcweb@ietf.org > https://www.ietf.org/mailman/listinfo/rtcweb > > > _______________________________________________ > rtcweb mailing listrtcweb@ietf.orghttps://www.ietf.org/mailman/listinfo/rtcweb > > > > -- > Surveillance is pervasive. Go Dark. > > > _______________________________________________ > rtcweb mailing list > rtcweb@ietf.org > https://www.ietf.org/mailman/listinfo/rtcweb > >
- [rtcweb] No a=ice-lite in JSEP-04 Rauschenbach, Uwe (NSN - DE/Munich)
- Re: [rtcweb] No a=ice-lite in JSEP-04 Iñaki Baz Castillo
- Re: [rtcweb] No a=ice-lite in JSEP-04 Justin Uberti
- Re: [rtcweb] No a=ice-lite in JSEP-04 Christer Holmberg
- Re: [rtcweb] No a=ice-lite in JSEP-04 Eric Rescorla
- Re: [rtcweb] No a=ice-lite in JSEP-04 Tim Panton
- Re: [rtcweb] No a=ice-lite in JSEP-04 Iñaki Baz Castillo
- Re: [rtcweb] No a=ice-lite in JSEP-04 Cullen Jennings (fluffy)
- Re: [rtcweb] No a=ice-lite in JSEP-04 Adam Roach
- Re: [rtcweb] No a=ice-lite in JSEP-04 Iñaki Baz Castillo
- Re: [rtcweb] No a=ice-lite in JSEP-04 Matthew Kaufman
- Re: [rtcweb] No a=ice-lite in JSEP-04 Christer Holmberg
- Re: [rtcweb] No a=ice-lite in JSEP-04 Iñaki Baz Castillo
- Re: [rtcweb] No a=ice-lite in JSEP-04 Christer Holmberg
- Re: [rtcweb] No a=ice-lite in JSEP-04 Adam Roach
- Re: [rtcweb] No a=ice-lite in JSEP-04 Harald Alvestrand
- Re: [rtcweb] No a=ice-lite in JSEP-04 Justin Uberti
- Re: [rtcweb] No a=ice-lite in JSEP-04 Christer Holmberg
- Re: [rtcweb] No a=ice-lite in JSEP-04 Martin Thomson
- Re: [rtcweb] No a=ice-lite in JSEP-04 Justin Uberti
- Re: [rtcweb] No a=ice-lite in JSEP-04 Iñaki Baz Castillo