Re: [rtcweb] WGLC for draft-ietf-rtcweb-ip-handling

westhawk <thp@westhawk.co.uk> Sun, 15 April 2018 14:40 UTC

Return-Path: <thp@westhawk.co.uk>
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 4FC311242F5 for <rtcweb@ietfa.amsl.com>; Sun, 15 Apr 2018 07:40:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N1BQ7avoAbEr for <rtcweb@ietfa.amsl.com>; Sun, 15 Apr 2018 07:40:09 -0700 (PDT)
Received: from smtp001.apm-internet.net (smtp001-out.apm-internet.net [85.119.248.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D268F1200F1 for <rtcweb@ietf.org>; Sun, 15 Apr 2018 07:40:08 -0700 (PDT)
Received: (qmail 85261 invoked from network); 15 Apr 2018 14:40:06 -0000
X-APM-Authkey: 255286/0(159927/0) 184
Received: from unknown (HELO zimbra003.verygoodemail.com) (85.119.248.218) by smtp001.apm-internet.net with SMTP; 15 Apr 2018 14:40:06 -0000
Received: from localhost (localhost [127.0.0.1]) by zimbra003.verygoodemail.com (Postfix) with ESMTP id 7592118A04B3; Sun, 15 Apr 2018 15:40:06 +0100 (BST)
Received: from zimbra003.verygoodemail.com ([127.0.0.1]) by localhost (zimbra003.verygoodemail.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id S2TmNqVYC7pY; Sun, 15 Apr 2018 15:40:06 +0100 (BST)
Received: from phage-rock.fritz.box (p5B28C899.dip0.t-ipconnect.de [91.40.200.153]) by zimbra003.verygoodemail.com (Postfix) with ESMTPSA id 1D0DD18A01CF; Sun, 15 Apr 2018 15:40:06 +0100 (BST)
From: westhawk <thp@westhawk.co.uk>
Message-Id: <A8B32C11-30BD-4DA8-9BAB-FA26747BFF66@westhawk.co.uk>
Content-Type: multipart/alternative; boundary="Apple-Mail=_D7D68522-2F83-4896-9F0C-4BBC07FF8396"
Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\))
Date: Sun, 15 Apr 2018 16:40:04 +0200
In-Reply-To: <CAOJ7v-2NJ1vhVUerZ1cn8MP9hD_vgAYBurjeQKMx76Aa_U=n=Q@mail.gmail.com>
Cc: RTCWeb IETF <rtcweb@ietf.org>
To: Justin Uberti <juberti@google.com>
References: <1D5B431C-801E-4F8C-8026-6BCBB72FF478@sn3rd.com> <63282b84-4493-3fcb-a95f-4afe17d96bb6@cs.tcd.ie> <CAOJ7v-1gTq+EEjb+-q-T-pABBW--rpNGegoj_d2_7f7AKGksCA@mail.gmail.com> <403713b4-31d4-9085-d639-d3f60935ed5a@cs.tcd.ie> <CAOJ7v-0ED-FK=JmSxBJYfM=PCdgY6kmbiq6aFLcP7OXugG07EA@mail.gmail.com> <e6938f7d-542d-736b-0a3d-9269d7dd06e5@cs.tcd.ie> <CAOW+2dv1ORz2tEkgDTvdM1DtgyOdgXqKU30T4QhLAp1NT+rirg@mail.gmail.com> <CAOJ7v-0tCcg3FdzyfSJ6Y3JaH-TivFf-Sey6+tD8BANJKsjqtQ@mail.gmail.com> <1fceb3c4-35f3-34f7-de1d-79d5805e6d22@gmail.com> <9517D601-D3E8-46E1-94E5-7EC29FD6319B@sn3rd.com> <b5d323ac-2205-2aee-05c9-f270e80215f5@gmail.com> <CAOJ7v-0+hr-NddbLCwgjkfyEFEzoLYW8BcE5OYZ+HUiqDRnarg@mail.gmail.com> <0dee004d-159a-a9be-a0b8-ecbfd4204d72@gmail.com> <06252a76-f12e-4d8d-4a07-5240a7605bce@gmail.com> <914e0220-e3cc-00d7-0925-e5deb8b07e75@nostrum.com> <AFDFD3F3-4798-4716-B26C-A67457BF2C65@sn3rd.com> <e5e2a517-d29a-117c-ab79-6f01fa62b843@gmail.com> <20180412144158.44733ac7@lminiero> <b767da79-7678-2a1c-ecb0-46a9a3bd9129@gmail.com> <CAOJ7v-2gmxpsGp=25pcJmnkYmipZdCFOqU4nLtAVSznLsZo9rQ@mail.gmail.com> <4902F7BF-0D20-4EA6-9E78-D22C90EFCE22@westhawk.co.uk> <CAOJ7v-3NsqD6pq-kkMw81+2n_D8qf558CKeCE76ZypyxwCgs9g@mail.gmail.com> <CAOJ7v-2NJ1vhVUerZ1cn8MP9hD_vgAYBurjeQKMx76Aa_U=n=Q@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.6.18)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/DGuxjWGe89vesePn56fByvPVIOE>
Subject: Re: [rtcweb] WGLC for draft-ietf-rtcweb-ip-handling
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 15 Apr 2018 14:40:12 -0000


> On 15 Apr 2018, at 15:09, Justin Uberti <juberti@google.com> wrote:
> 
> 
> 
> On Fri, Apr 13, 2018 at 8:36 AM Justin Uberti <juberti@google.com <mailto:juberti@google.com>> wrote:
> 
> 
> On Thu, Apr 12, 2018 at 11:59 PM westhawk <thp@westhawk.co.uk <mailto:thp@westhawk.co.uk>> wrote:
> 
> 
> > On 13 Apr 2018, at 02:22, Justin Uberti <juberti=40google.com@dmarc.ietf.org <mailto:40google.com@dmarc.ietf.org>> wrote:
> > 
> > Being non-interactive, it's not clear that those cases require Mode 1 though; they should work well even in Mode 2. I also don't think that suggesting "more appropriate means" is useful when we as a WG haven't been able to come up with any.
> 
> Whoa there! Non interactive, that’s a big step from non-conversational !
> So one current use-case is adjusting room lights over the data channel. You can literally see latency - an unnecessary cloud round-trip is entirely
> visible.
> 
> Another is driving a droid over the datachannel using it’s camera to feed live video to see where it is going 
> - again totally interactive, just not using local media at the user’s end (although we do use the 
> motion sensors to give a steering wheel feel) - latency here causes crashes!
> 
> A third one is baby cams, where again the video feed is one-way but you’d really like to keep the media on the home wifi
> if possible for cost (and privacy) reasons.
> 
> In all these I’ll have to introduce an otherwise needless GUM request to get the network behaviour I want. 
> 
> Perhaps I should present some of these non-call based usecases at a future F2F so that folks get a sense of the possibilities.
> 
> The original comment from Lorenzo that I was responding to specifically cited one-way media broadcasts. 
> 
> Regardless, I contend that those cases as well as your scenarios should all work as desired in Mode 2, which allows direct connections.
> 
> Now, one might reasonably ask: if this is the case, what's the benefit of Mode 1?
> 
> Simply stated, Mode 1 allows the client to pick whatever network interface works best, and this provides two key benefits:
> a) handoff or multipath between interfaces (e.g. wired/wifi or wifi/cell)
> b) use of non-VPN interfaces when a VPN exists
> 
> I imagine that a) is not unique to WebRTC, i.e., in-browser MPTCP or QUIC will already have to solve this, and it's also not clear that this situation actually presents an issue.

I’m not sure I agree - or disagree - yet.
Here are a couple of sources of my uncertainty:

SCTP has also has multipath/multihome capabilities which ICE is effectively obscuring in the current setup.
Given this is the 1.0 spec, we also have SRTP to worry about which isn’t capable of multipath (as far as I’m aware). 

An example of this may be an LTE phone that has a ‘data bearer channel’ and a ‘media bearer channel’ - the billing routability and QoS behaviour of these
two interfaces will be different. I could imagine that a carrier app might want to use the media bearer for a voice call. (Sorry for my 3GPP  semi-ignorance).

> 
> Therefore, the problem seems to reduce to b), and this may be a much more tractable situation. If a user is using a VPN to access a web application (i.e., the 'default' route that would be chosen by WebRTC is for a VPN adapter), one could imagine the browser asking permission to use non-VPN interfaces. 

Is it possible to tell if an interface is a VPN ? I’m not convinced I know how to reliably distinguish between a VPN and a multi-bearer LTE
config.

> 
> This could still be too complicated for typical users to understand (as I still don't know what the prompt text should say), but the key point here would be that only VPN users (who presumably are somewhat more savvy) would have to see this prompt.
> 
> Thoughts? If we like this formulation, we could redefine Mode 1 accordingly, and cite the mechanism above as a potential alternative to getUserMedia.
I like this in principle. But I also feel that the prompt would include the concept of revealing location/service provider.

Tim.