Re: [rtcweb] Stephen Farrell's Discuss on draft-ietf-rtcweb-transports-14: (with DISCUSS and COMMENT)

Harald Alvestrand <harald@alvestrand.no> Wed, 03 August 2016 15:41 UTC

Return-Path: <harald@alvestrand.no>
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 AE93D12B024; Wed, 3 Aug 2016 08:41:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.487
X-Spam-Level:
X-Spam-Status: No, score=-5.487 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.287] 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 y3zl5cVWDGXT; Wed, 3 Aug 2016 08:41:10 -0700 (PDT)
Received: from mork.alvestrand.no (mork.alvestrand.no [158.38.152.117]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EB84D12B078; Wed, 3 Aug 2016 08:40:03 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mork.alvestrand.no (Postfix) with ESMTP id E96607C8F40; Wed, 3 Aug 2016 17:40:01 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at alvestrand.no
Received: from mork.alvestrand.no ([127.0.0.1]) by localhost (mork.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J8VMEFtOEhzn; Wed, 3 Aug 2016 17:40:00 +0200 (CEST)
Received: from [IPv6:2001:470:de0a:1:5591:c0a8:94e7:f660] (unknown [IPv6:2001:470:de0a:1:5591:c0a8:94e7:f660]) by mork.alvestrand.no (Postfix) with ESMTPSA id F324D7C8F3E; Wed, 3 Aug 2016 17:39:59 +0200 (CEST)
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, The IESG <iesg@ietf.org>
References: <20160803145129.6144.18245.idtracker@ietfa.amsl.com>
From: Harald Alvestrand <harald@alvestrand.no>
X-Enigmail-Draft-Status: N1110
Message-ID: <57A2104F.1010504@alvestrand.no>
Date: Wed, 03 Aug 2016 17:39:59 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
MIME-Version: 1.0
In-Reply-To: <20160803145129.6144.18245.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/uGEYXA96ec6YUZy1jcWZf1BUicw>
Cc: rtcweb@ietf.org, rtcweb-chairs@ietf.org, draft-ietf-rtcweb-transports@ietf.org
Subject: Re: [rtcweb] Stephen Farrell's Discuss on draft-ietf-rtcweb-transports-14: (with DISCUSS and COMMENT)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 03 Aug 2016 15:41:15 -0000

Den 03. aug. 2016 16:51, skrev Stephen Farrell:
> Stephen Farrell has entered the following ballot position for
> draft-ietf-rtcweb-transports-14: Discuss
> 
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
> 
> 
> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about IESG DISCUSS and COMMENT positions.
> 
> 
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-rtcweb-transports/
> 
> 
> 
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
> 
> 
> I'd like to briefly chat about one aspect of this...
> 
> Section 3.4: Allowing configuration of STUN/TURN servers
> from JS makes it easier for a calling server to track a
> user's call meta-data, if the JS supplied configuration is
> e.g. always preferred.

I'm a bit confused by this remark.

Yes, doing "pc = new RTCPeerConnection({iceservers: {urls:
"turn:trackserver.net"}) will cause packets to be sent to
"trackserver.net" whenever the PC attempts to open a connection.

What is the tracking attack that is facilitated by this ability, which
isn't more simply facilitated by some variant of <img
src="http://trackserver.net"> or its Javascript equivalent?

>  Shouldn't a browser prefer locally
> configured servers if those exist and can be used?  Or are
> there other things to be said about which STUN/TURN
> servers to use when there are multiple choices? (Apologies
> if this is handled by ICE already, I forget;-)

I have understood the lists of servers to be additive: That the browser,
if provided with two lists, would attempt all of them. It would then be
up to corporate policy to block access to all but the corporate,
locally-configured server, if that's their desire.

> 
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> 
> - 3.1: Would "TURN/TLS" not be better than "TURN/SSL"?

Yes. I have changed this in
https://github.com/rtcweb-wg/rtcweb-transport/pull/35.

> 
> - 3.2: Would s/or its TURN server/or the peer's TURN
> server/ be better?

Yes, it would. I'll change this.

Added to https://github.com/rtcweb-wg/rtcweb-transport/pull/31/files
since that PR was changing the next line of the draft.