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

Justin Uberti <juberti@google.com> Fri, 11 May 2018 17:08 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 8E534127775 for <rtcweb@ietfa.amsl.com>; Fri, 11 May 2018 10:08:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -18.21
X-Spam-Level:
X-Spam-Status: No, score=-18.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] 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 uY1Nt8KdQt4L for <rtcweb@ietfa.amsl.com>; Fri, 11 May 2018 10:08:16 -0700 (PDT)
Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (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 75005124319 for <rtcweb@ietf.org>; Fri, 11 May 2018 10:08:16 -0700 (PDT)
Received: by mail-io0-x22c.google.com with SMTP id c9-v6so7772789iob.12 for <rtcweb@ietf.org>; Fri, 11 May 2018 10:08:16 -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=OJpxWvSJPeRTqUnFPmoL56krS2S+R1SkJb/hVPICKLM=; b=Uf2vdGQNhPKf/E8dhFsv4h1s5JADy6EObzUBTROvwgUSTk0HWxpvZZ8bE5Or52P/LP Mz2xbEATzHu28erqzEyWKpCX4kb6UBkrCG7Jmdg7E2kMb3NF3nXHjfSN7f/LqS0Ba8TY udFbVwYEsgpx4alHdEVzjIQ6mHQwYUyOGqrhOCD1QD3h2MDLIaYBKTm5OKNhq+epBLXC T0wVTR/QJE+AMcj32fJFsjtQvW56/d4VsWmf68i+GCsIoFj5pTpNyLmDhpPUTaBHc+XS 2gbsKC3MD3nsiEEis4kid36+LBCj4Es4364oXlu33Z9F+R7wfGyuAh94jzI6w2q8DqJW P1jQ==
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=OJpxWvSJPeRTqUnFPmoL56krS2S+R1SkJb/hVPICKLM=; b=GKlBFWCSJPiFfbnBfWSibHQLjdTsMo63JhhVskw7Et00zl3VBFrUCEAik/HCtOfUSu ioNeHU+fqjjW1SEawV5ZXDvewSwXv74wa34HAqn+VH/NOKkjeFo1idX9Eg72A57xn2WQ oCOIaV6BNKn42KGhoRpnkXwgULZta9jztwid2yUU5gWaRH01u/UhOKKDdGtOAZbbdg44 tDVFGP5Yaj3hnbw52SxF6zhPfAjly8EKWb+9BgKcxOpYiOXeDQmplUDWwx3YmRQjLFLe uzzZXs40XqUsEcfxeUa1NRI+6mj7PuwWQ6SaeEPx16W0GgO3j3dOSm0TQAODUvv72yPL VwUg==
X-Gm-Message-State: ALKqPweqez3BtZTtmgda/paDkYKMjSNrrcTCogXOSBETdtFbqDTsmfNp aJCvxfcxG6+/JqnmriX648i4K7N2l66aXaQs+pNu8d5O3pI=
X-Google-Smtp-Source: AB8JxZoe93L3Pnbdfegx8UcOy2APhgCJTkGSxjx8P6dZVkWamM6Q5mSCMbeDxjrr8xJ3c+OuXaolYPzf+voM0tTsyQw=
X-Received: by 2002:a6b:8e8b:: with SMTP id q133-v6mr6681787iod.262.1526058495245; Fri, 11 May 2018 10:08:15 -0700 (PDT)
MIME-Version: 1.0
References: <1D5B431C-801E-4F8C-8026-6BCBB72FF478@sn3rd.com> <F9EB7388-9E76-43E0-8C9B-61D3E50357F7@mozilla.com> <CAOJ7v-38kH4peZVVJU8itve2P+93eGaVdJ60MVcaRo3Xu86uTQ@mail.gmail.com> <296F0D20-F716-4C6C-8ABB-9FC21FC8189D@mozilla.com> <CAOJ7v-3wBVdfacAvb=VOggMXWMD1-5Oq-GCb5cNSCy3_-ur3Gw@mail.gmail.com> <A58B5A3B-DF5E-484B-ADD5-EBA539D0F250@iii.ca> <CAOJ7v-3FbN7v00Lzc5kJV4Nsw5DD0c6zLDLY+x1AgSOEHSt_WA@mail.gmail.com> <D6DEE1F6-A105-4095-902D-CB6F5AA2D937@mozilla.com> <CAOJ7v-2aXsQrwJ77+MsZ0cw-cx=VJTccFJwc9rxSFjdd+bCs-g@mail.gmail.com> <0E876BDE-C438-43AD-B87A-95894ADCBF8F@sn3rd.com> <574256E1-7AF4-4E25-9462-04B4B599C801@mozilla.com>
In-Reply-To: <574256E1-7AF4-4E25-9462-04B4B599C801@mozilla.com>
From: Justin Uberti <juberti@google.com>
Date: Fri, 11 May 2018 10:08:03 -0700
Message-ID: <CAOJ7v-3uxT2fZdxxcz93TsSMFHaJCOURZnv=_aNiYo-enS3D9g@mail.gmail.com>
To: Nils Ohlmeier <nohlmeier@mozilla.com>
Cc: Sean Turner <sean@sn3rd.com>, RTCWeb IETF <rtcweb@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000084985d056bf12ec1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/5YE5VvwHJlR1QGCJiVYLRdKBIkw>
Subject: Re: [rtcweb] Nils comments [Was: 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: Fri, 11 May 2018 17:08:18 -0000

Thanks for the PR. I spent some time thinking about this and ultimately
concluded that more significant changes to the document will be necessary
if it is to prescribe how a browser-provided TURN server should be handled,
essentially incorporating much of the guidance from
https://tools.ietf.org/html/draft-ietf-rtcweb-return-02

For example, candidates produced from the TURN server should not have
raddr/rport set; interactions between the browser-provided and any
application-provided TURN server need to be described; the question of
whether local candidates should be provided needs to be considered.

As such, I see 3 paths forward here:
a) Leave the document as-is. While leaving some ambiguity on this topic,
the eventual (hopefully) publication of RETURN should clarify things, at
which point we can publish a -bis.
b) Discuss the general concept of browser-provided TURN servers, but
mention that this is an area of further study, and give some guidance based
on our current understanding. That is, explain how the existing modes would
work in the presence of a browser-provided TURN server.
c) Restore the reference to RETURN and progress the RETURN doc.

Overall, I don't expect the mode recommendations to change in the presence
of a browser- or network- provided TURN server, so I think any changes here
will be almost entirely additive.

Thoughts?

On Fri, May 4, 2018 at 9:50 AM Nils Ohlmeier <nohlmeier@mozilla.com> wrote:

> Created https://github.com/juberti/draughts/pull/101
>
>   Nils
>
> On May 4, 2018, at 08:26, Sean Turner <sean@sn3rd.com> wrote:
>
> Repo is here :)
>
> https://github.com/juberti/draughts
>
> spt
>
> On May 1, 2018, at 17:33, Justin Uberti <juberti=
> 40google.com@dmarc.ietf.org> wrote:
>
> Do you want to take a shot at the text? (either in email or as a PR)
>
> On Mon, Apr 30, 2018 at 3:21 PM Nils Ohlmeier <nohlmeier@mozilla.com>
> wrote:
>
> On Apr 30, 2018, at 15:03, Justin Uberti <juberti@google.com> wrote:
>
> Any TURN server provided by the browser is in effect a proxy, and forcing
> use of said proxy can be done either through firewall config or explicit
> selection of Mode 4. (IOW, no new mode is needed.)
>
>
> I do agree that these two configurations result in a similar behavior.
> But I doubt that these use the same code path in implementations.
> And (thus) I doubt readers of the draft/RFC will automatically come to the
> same conclusion.
>
> It think it might be helpful to add another sentence explaining this
> scenario.
>
> The document originally pointed at RETURN as an example of how such TURN
> proxying could work, but was removed in order to avoid a dependency.
>
>
> Fair enough.
>
>  Nils
>
> On Fri, Apr 27, 2018 at 11:22 AM Cullen Jennings <fluffy@iii.ca> wrote:
>
>
> On Apr 17, 2018, at 3:15 AM, Justin Uberti <juberti=
> 40google.com@dmarc.ietf.org> wrote:
>
> IMO "trusting the TURN relay but not the application" is not a significant
> enough benefit to merit adding specific functionality for.
>
>
> In the case were the TURN server is provided by the JS, I agree. But in
> the case where the configuration of the browser provided the TURN server,
> then I think it is as trusted as say a VPN server.
>
>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>
>
>
>