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

Justin Uberti <juberti@google.com> Sun, 15 April 2018 15:26 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 7FC521270A3 for <rtcweb@ietfa.amsl.com>; Sun, 15 Apr 2018 08:26:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level:
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 ghszCubqdChr for <rtcweb@ietfa.amsl.com>; Sun, 15 Apr 2018 08:26:06 -0700 (PDT)
Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0:400c:c05::231]) (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 5AF40120454 for <rtcweb@ietf.org>; Sun, 15 Apr 2018 08:26:06 -0700 (PDT)
Received: by mail-vk0-x231.google.com with SMTP id d9so3131281vka.4 for <rtcweb@ietf.org>; Sun, 15 Apr 2018 08:26:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QnTEMdyaFiJ+fm63AnJ8yWmKK2q/QJwvgdxnPN0DhjM=; b=fwvm1cFWW3NFqO7VTvVSIJganBzmePDFvbjNMeRk12UQpvI9eNuwFU6qder2aX7GLf lP0YSmttV7rLUjEjfXwRCVApx5UWd/PFvPQwoEffWSJuduDaBm74p/NjGkm0x6oXqVrJ 3KHPLOUesL0Lk9y+l12yVXmrE5Cjv1gIHs0Lqnef5NX8PsydodXUQRuA8m/48upTNW2V y9oaLaqpPQcdYkRLiPSbTAANHaHtq67DUIcYkSRDba+QwZpx06A0Tm/QiPHaTjBkqL2u n+SoooPjTH6j32A9GklCB3UuuCILsR7xyyytqzH9PfZUknUafGp54pB53Xa8QEh5YdUa UnFw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QnTEMdyaFiJ+fm63AnJ8yWmKK2q/QJwvgdxnPN0DhjM=; b=Qql99NguP6Mq6sJY5JWSpy4MpV8tQU5trROC6sIg5sCr3Ap9LQYwpvKdB90eqPjEDx OzudOL0q6QgnlRdkRSW2ovbXYjiwAa6nEm86Qob3YvmvWjIr5v6ClfDBXZWc9tN1hq+e 1B2Xone06TFljtiqDf8PLVztFpoy6NautGIy29HWinogGFE73kBm1VKPYskwxQ9fqKAn zrz8RJeH2ttANA11QunYhBcq224kXLRN4a4KJFui1XEWmUVWrMg9jdd9BzHLyiYoU5u0 8tFaY2xeMtV9ftKw4CQVQSLdCB/L/PTlDol3+v4Ijhtwxz/K95sqve1S0zjD3SniHQse KvLw==
X-Gm-Message-State: ALQs6tCxAmdpZ5Ru6XJM6D75+j5qHhTnqDT5/mK4v4fk+zF70bDehbrk LEQizyEYGV22efvDDrR7/JuF9hZdG0deVzuRvZxb4Q==
X-Google-Smtp-Source: AIpwx49djFX1DNzA2U1Tl+pEE/iTlgmyigKuUZNXqSY5VqbEzRlvxUzXHUG4IHDB7t9ZPr+tornUx7Wny9Q15yVZT3M=
X-Received: by 10.31.53.8 with SMTP id c8mr8878041vka.71.1523805964768; Sun, 15 Apr 2018 08:26:04 -0700 (PDT)
MIME-Version: 1.0
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> <f7daed34-e8af-7414-83f4-03828252ca12@gmail.com>
In-Reply-To: <f7daed34-e8af-7414-83f4-03828252ca12@gmail.com>
From: Justin Uberti <juberti@google.com>
Date: Sun, 15 Apr 2018 15:25:54 +0000
Message-ID: <CAOJ7v-1Pxt-PH2Bp79kc-h-VS=9krNDY=x2a1rVsN=9+wqvfJw@mail.gmail.com>
To: Lennart Grahl <lennart.grahl@gmail.com>
Cc: RTCWeb IETF <rtcweb@ietf.org>
Content-Type: multipart/alternative; boundary="001a11447a143d9ead0569e4b94c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/ajDrZcCZjVjDyMlNVO6uAGUhF-Q>
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 15:26:09 -0000

On Sun, Apr 15, 2018 at 8:15 AM Lennart Grahl <lennart.grahl@gmail.com>
wrote:

> 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).
>
>
Right, I agree these edge cases are reasonable illustrations of the general
case - "use another interface if my primary interface is crap".

My overall point is that we might be able to consider using multiple
non-virtual interfaces as part of Mode 2, or perhaps an in-between "Mode
1.5", since HTTP traffic could conceivably do the same in the near future
(via MPTCP <https://support.apple.com/en-us/HT201373> or QUIC connection
migration
<https://datatracker.ietf.org/meeting/100/materials/slides-100-quic-sessb-connection-migration-01>).
IOW, a) could be handled separately from this complex "consent" discussion
(and the consent discussion would be focused on b)).