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

Lennart Grahl <lennart.grahl@gmail.com> Sun, 15 April 2018 15:15 UTC

Return-Path: <lennart.grahl@gmail.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 CB8D91270B4 for <rtcweb@ietfa.amsl.com>; Sun, 15 Apr 2018 08:15:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 BecPWy1Culhz for <rtcweb@ietfa.amsl.com>; Sun, 15 Apr 2018 08:15:01 -0700 (PDT)
Received: from mail-wr0-x22a.google.com (mail-wr0-x22a.google.com [IPv6:2a00:1450:400c:c0c::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 39A98120454 for <rtcweb@ietf.org>; Sun, 15 Apr 2018 08:15:01 -0700 (PDT)
Received: by mail-wr0-x22a.google.com with SMTP id w3so2693861wrg.2 for <rtcweb@ietf.org>; Sun, 15 Apr 2018 08:15:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:references:openpgp:cc:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1+aV2RYPIisdXujPVGhodLkRdxixhdegCNAbGGPWnH8=; b=fON28ylcfeu72iUpfrtA3+Un2pG3mbwEbr7RcvudGsbn0454gBCnO6AxIhfiKZWwDx G8iIBgWWOG4xBj31OmkwTnR6QN6Py/TiQ3FaktLHwusNhXxYp5J6bkLlPWvsKoyDLTbD KebLc9qIWJylfgbbS1CzGiFpegOhQiacFo/KpKWcPp92XVUnXuWDUttLKwAl9e6Ltd4m eMF4sY++dPoaqPvts/wnyePzMkqMF/IBnZLUo0Caq1T5ICTiK6jQVxa0j1wa3ZqkAdqG GKRmIuVqHY0k1WppLXEPQ49+LxpFujtQTjVgO5ub5ZzuEQY9Tf/9bHYu6FeKvbtagan3 YUtw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:openpgp:cc:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1+aV2RYPIisdXujPVGhodLkRdxixhdegCNAbGGPWnH8=; b=Q3XsQkUApL1nUOrZ2/OZvlqpqrMJY/kImidyQIZFAoMjo/KRgvIR13r6oibjNmR+rN t52p92eYKm404iScVVVsod0EViMVWruMqkFsB6HxYphfarhxpkDU5FJSYGiAr0SIiceG IAS2Fxi1kdWSZ+wXkh2058pfY9kw0pcXt4d+PxdAPUhKiMmOhtJNOq+UUNW3wQV+IA64 7+UBx/vJQcVSTHO5EzQhl/Sp+hI4bYpQwvngpwd4gZHgPgz3yipaz094CuNvmrAZgsLL SdA97LosNdjItB3t/c9F/AMK2ZkcU1+q/i7s+fynWO4rKLm5cyg8m+hAbis8DNH7lzmh VNQQ==
X-Gm-Message-State: ALQs6tBFrtYgkKK+H7N2bBkJ+lJG6euxhEg9LSwayXOAFnVMF2bDdgX0 YjHO+ewZO5Hc5d1BG8dDKQ8=
X-Google-Smtp-Source: AIpwx49aHMiuSju7G2Cuk+2J7l44HcoE96ExkjoBJ/3JIFZnaGdKtLG5J7ydZi2/pUGOILdhE4IEVw==
X-Received: by 10.223.134.103 with SMTP id 36mr8522314wrw.23.1523805299633; Sun, 15 Apr 2018 08:14:59 -0700 (PDT)
Received: from ?IPv6:2003:cd:6f24:eb00:554d:d828:76bf:3581? (p200300CD6F24EB00554DD82876BF3581.dip0.t-ipconnect.de. [2003:cd:6f24:eb00:554d:d828:76bf:3581]) by smtp.gmail.com with ESMTPSA id q138sm6376823wmd.1.2018.04.15.08.14.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Apr 2018 08:14:59 -0700 (PDT)
From: Lennart Grahl <lennart.grahl@gmail.com>
To: rtcweb@ietf.org
References: <1D5B431C-801E-4F8C-8026-6BCBB72FF478@sn3rd.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>
Openpgp: preference=signencrypt
Message-ID: <f7daed34-e8af-7414-83f4-03828252ca12@gmail.com>
Date: Sun, 15 Apr 2018 17:14:58 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <CAOJ7v-2NJ1vhVUerZ1cn8MP9hD_vgAYBurjeQKMx76Aa_U=n=Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-GB
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/EBNNSQlB2awpCIm58KdHApgzfZE>
Subject: [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 15:15:04 -0000

On 15.04.2018 15:09, Justin Uberti wrote:
> On Fri, Apr 13, 2018 at 8:36 AM Justin Uberti <juberti@google.com> wrote:
> 
>>
>>
>> On Thu, Apr 12, 2018 at 11:59 PM westhawk <thp@westhawk.co.uk> wrote:
>>
>>>
>>>
>>>> On 13 Apr 2018, at 02:22, Justin Uberti <juberti=
>>> 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 have run into some edge cases where not having a) is an issue:

1. Testing data channel implementations over a separate network where
delay, packet loss, etc. can be applied without affecting the signalling
network or access to the internet. The only solution I was able to come
up with was temporarily changing the default route until the peer
connection is set up (and I can't use getUserMedia because I don't
always control the test scripts).

2. Sitting in the German high speed train (called "ICE" btw. ;)) and
using the hotspot (default route) as well as being connected to the
smartphone via another interface and using Threema Web to connect to the
smartphone app. This is exactly where WebRTC should shine but it doesn't
because the default route lead to both devices talking via TURN since
network policies in the train prevent the devices from talking to each
other directly. And you can imagine how well TURN works in a high speed
train, especially with the horrible network coverage in Germany...

3. Tim brought up another example: "So if my phone is acting as a
hotspot for my drone, and connecting to 4g. The phone's 4g is the
default route for the browser - but I actually want the traffic to go
over the wifi interface."

I realise these examples are very specific but I would not be surprised
if this is something that happens in large corporate networks as well
(peers technically being able to talk to each other via a different
network but not via the one with the default route).

Cheers
Lennart

> 
> 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.
> 
> 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.
> 
> 
> 
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>