Re: [rtcweb] No a=ice-lite in JSEP-04

Iñaki Baz Castillo <ibc@aliax.net> Thu, 03 October 2013 21:13 UTC

Return-Path: <ibc@aliax.net>
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 D438521E80AD for <rtcweb@ietfa.amsl.com>; Thu, 3 Oct 2013 14:13:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.676
X-Spam-Level:
X-Spam-Status: No, score=-2.676 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
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 bbwfOgP8JEm4 for <rtcweb@ietfa.amsl.com>; Thu, 3 Oct 2013 14:12:53 -0700 (PDT)
Received: from mail-qe0-f45.google.com (mail-qe0-f45.google.com [209.85.128.45]) by ietfa.amsl.com (Postfix) with ESMTP id 3A85021E80E0 for <rtcweb@ietf.org>; Thu, 3 Oct 2013 14:01:30 -0700 (PDT)
Received: by mail-qe0-f45.google.com with SMTP id 6so2226315qea.4 for <rtcweb@ietf.org>; Thu, 03 Oct 2013 14:01:30 -0700 (PDT)
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:date :message-id:subject:from:to:cc:content-type; bh=+PyAUVDdWoBwN1NnW5qV21o+NUaY/jIHlEFFCfOlgkA=; b=kX3xOYpSgqDPGCWLFqkwpOw2xMYM0PdY0Ca/UAy5hfxXx+92T2Ny4O3mJIMx09UPB7 /pVD1XdrS6Dvs2Q/UBUJbE1EopJ6PrHWafe0rTYe9VPngZKdJ1byV4X4NTauEBm0E2ea LMAwfxbUnDtC24UumxSc6VZ8AIu8CWFKQi1bdSJlBG7PvpUlsHu/U+IWME9ry+xN9x8A le/T/KqE78WhwFOKNCpMYZZXmnlLX87E8HoKlt+ma6fh5ZHpakVAaQP0h9sFYhy1H9gb r05I7QNl3fzJCYgnpx3gq9z2ebWwljOnbG4lF8TCET6GLkU9OhucnOxZJfA3UgysfLGG hFmA==
X-Gm-Message-State: ALoCoQlCoNrkDBNzlBRTJ+5v+4G/D4Y6HaWfvJ+4oqr0AtLO9DJp7k85foosOsldaKK3c5S8v67o
MIME-Version: 1.0
X-Received: by 10.49.94.172 with SMTP id dd12mr12740516qeb.4.1380834089277; Thu, 03 Oct 2013 14:01:29 -0700 (PDT)
Received: by 10.49.16.71 with HTTP; Thu, 3 Oct 2013 14:01:29 -0700 (PDT)
Received: by 10.49.16.71 with HTTP; Thu, 3 Oct 2013 14:01:29 -0700 (PDT)
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B1C4B4051@ESESSMB209.ericsson.se>
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> <CAOJ7v-1_HH3UScKoApow9xd8XBzckpDnCNBV1y=-CE6k+Qv1kA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1C4B4051@ESESSMB209.ericsson.se>
Date: Thu, 03 Oct 2013 23:01:29 +0200
Message-ID: <CALiegfkQT_73w1GaQ99ebemtx=XMGWE33f6V5qkga3os7E-+dw@mail.gmail.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Content-Type: multipart/alternative; boundary="047d7b6d8b4c63235b04e7dc7dd1"
Cc: 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 21:13:04 -0000

AFAIR JSEP is not about WebRTC API and belongs to RTCWEB IETF WG.
Anyhow the only reason for disallowing ICE-lite in some endpoints is the
fact that it would fail in NAT cases. OK, mandate no ICE-lite for browsers
and let implementors of other WebRTC devices to decide whether they want to
implement it or not (IMHO).

--
Iñaki Baz Castillo
<ibc@aliax.net>
El 03/10/2013 21:22, "Christer Holmberg" <christer.holmberg@ericsson.com>
escribió:

>  Hi,
>
>
>
> Why does the exposure of a WebRTC API determine whether the application
> must support full ICE or not? Shouldn't it depend on whether the
> application code is considered "trusted" or not.
>
>
>
> For example, assume I would implement a gateway using node.js and WebRTP
> API. The gateway platform isn't downloading the JavaScript code from a
> webserver - it is "manually" installed, which means it can be reviewed
> before it is executed.
>
>
>
> Regards,
>
>
>
> Christer
>
>
>
>
> ------------------------------
> *From:* rtcweb-bounces@ietf.org [rtcweb-bounces@ietf.org] on behalf of
> Justin Uberti [juberti@google.com]
> *Sent:* Thursday, 03 October 2013 9:49 PM
> *To:* Harald Alvestrand
> *Cc:* rtcweb@ietf.org
> *Subject:* Re: [rtcweb] No a=ice-lite in JSEP-04
>
>   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 mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>
>