Re: [rtcweb] Please require user consent for data channels

Iñaki Baz Castillo <ibc@aliax.net> Fri, 17 July 2015 23:48 UTC

Return-Path: <ibc@aliax.net>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 846951A92FD for <rtcweb@ietfa.amsl.com>; Fri, 17 Jul 2015 16:48:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.678
X-Spam-Level:
X-Spam-Status: No, score=-1.678 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7] autolearn=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 sy7bM11VYRpd for <rtcweb@ietfa.amsl.com>; Fri, 17 Jul 2015 16:48:07 -0700 (PDT)
Received: from mail-yk0-f178.google.com (mail-yk0-f178.google.com [209.85.160.178]) (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 AF8281A9054 for <rtcweb@ietf.org>; Fri, 17 Jul 2015 16:48:07 -0700 (PDT)
Received: by ykay190 with SMTP id y190so101708443yka.3 for <rtcweb@ietf.org>; Fri, 17 Jul 2015 16:48:07 -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:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=61TltcxzRdbxw67qYzd67hSImJIzP0KLAuzWdCeTwsM=; b=cojq+wjHW/S0wasu+FsIy9WY7su2jXGGNgDdOt+JwRzJfBMZgLhUXfTKlKu1sa9QAO T4txBOvcNpAHJxvPWsQb0BwJgkC2zU/60J3oqyAs07Zq2lSQBQ2d7CSrOTCMGWc3Q+kw PLIBm9BiXMa5mdCH++GMsdquuiyuqOUR0rjSL8YS+c6ibauINiCp4eQfL0AJGIS+DKmv gV8y2B9sXwn3/j/odg955GL9Wzi2eTKsl3YgQMmHYCpEOeyje3KWc/u9qFBFsoYJX7Or OER1VTj8Vom/JjbPXlwQZULMjYoXuZYlj8IUsetbqfaR9Np5SUeT6ULa8jZAi1Iw8JoK VOAQ==
X-Gm-Message-State: ALoCoQmDWIoZskfYPbFB6ByzgJpiO4HLW9RWOKYJSdw3Ngzcw6Dp3iGBB5rwvmzUpbr/zBKg3qIG
X-Received: by 10.13.255.2 with SMTP id p2mr876008ywf.149.1437176887118; Fri, 17 Jul 2015 16:48:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.37.215.206 with HTTP; Fri, 17 Jul 2015 16:47:47 -0700 (PDT)
In-Reply-To: <CABkgnnW0Tmjqz823vKiF84_u6HasBJC7ERMYCO2HL_NPj5saTA@mail.gmail.com>
References: <CA+65OspMD_PVjk0BXh7t4LtjmFDcDatoeNjFQOO_OVtC-Br+OA@mail.gmail.com> <CAOJ7v-0UBGtP0-atxP7X4OTj-H6Lost5o42aAS65mA6CEqcQsw@mail.gmail.com> <CA+65OsrhXHK+cRAFLCZFt+34vr8eRhj+CN3DgznUBfSwmWYggw@mail.gmail.com> <CAOJ7v-24VCW6kkn7LOLkqZzhYEU0r=nmd_F7Zns1rnyqKN6xAg@mail.gmail.com> <55A95364.2070806@gmail.com> <CAOJ7v-3t9BQabR2e4EHs4G0Sec4sU9DFC2aiSXXYrat+an+RYg@mail.gmail.com> <55A96DA3.1040907@gmail.com> <CAOJ7v-1ui7349NzK6NZNRHPbnHWZajctk4cDgMKqRZSv47EYdA@mail.gmail.com> <55A9860D.8030903@gmail.com> <CAOJ7v-3LGd32rnpFVW_U0s3+iVaJXsL4vt_YAo=cyp6YyOArdw@mail.gmail.com> <CALiegfmiS18Jux-kCgOhTKKiyGtMertj6xCegpFrox5NOf9EJg@mail.gmail.com> <CABkgnnW0Tmjqz823vKiF84_u6HasBJC7ERMYCO2HL_NPj5saTA@mail.gmail.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Sat, 18 Jul 2015 01:47:47 +0200
Message-ID: <CALiegfkpbLy1QXxr-RRF0oOpVv1sWsFeab=vvC4iT4DnPtjKQw@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/FAhxsjgEz5LczcK3hvHVjQtv8e0>
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Please require user consent for data channels
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
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, 17 Jul 2015 23:48:08 -0000

2015-07-18 1:41 GMT+02:00 Martin Thomson <martin.thomson@gmail.com>:
>
> On Jul 17, 2015 4:35 PM, "Iñaki Baz Castillo" <ibc@aliax.net> wrote:
>> What I understand is that the browser should bind on 0.0.0.0 (or ::0)
>> and send the STUN/TURN request,
>
> That works most of the time, but it is a cheat. What Chrome and Firefox do -
> bind to reach local interface separately - is the only reliable way to do
> this. If you bind to 0.0.0.0, you can't handle multiple interfaces
> correctly, and that reduces the odds of completing ICE with the best result.

If you bind to 0.0.0.0 the OS will find out the proper interface to
send the STUN/TURN request. The browser should then check the chosen
source IP to match the associated local candidate.

>  If you bind to 0.0.0.0, you can't handle multiple interfaces
> correctly, and that reduces the odds of completing ICE with the best result.

Any real usecase in which that could be true? Why should the app
override the OS routing table?

-- 
Iñaki Baz Castillo
<ibc@aliax.net>