Re: [rtcweb] IP handling: Using mDNS names for host candidates

Cullen Jennings <fluffy@iii.ca> Thu, 14 June 2018 18:14 UTC

Return-Path: <fluffy@iii.ca>
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 93FE4130E6B for <rtcweb@ietfa.amsl.com>; Thu, 14 Jun 2018 11:14:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 jZoXaFIR3PBb for <rtcweb@ietfa.amsl.com>; Thu, 14 Jun 2018 11:14:01 -0700 (PDT)
Received: from smtp89.ord1d.emailsrvr.com (smtp89.ord1d.emailsrvr.com [184.106.54.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 28E09130E61 for <rtcweb@ietf.org>; Thu, 14 Jun 2018 11:14:01 -0700 (PDT)
Received: from smtp20.relay.ord1d.emailsrvr.com (localhost [127.0.0.1]) by smtp20.relay.ord1d.emailsrvr.com (SMTP Server) with ESMTP id 6BA48C0320; Thu, 14 Jun 2018 14:14:00 -0400 (EDT)
X-Auth-ID: fluffy@iii.ca
Received: by smtp20.relay.ord1d.emailsrvr.com (Authenticated sender: fluffy-AT-iii.ca) with ESMTPSA id F3658C01DB; Thu, 14 Jun 2018 14:13:59 -0400 (EDT)
X-Sender-Id: fluffy@iii.ca
Received: from [10.1.3.91] (S0106004268479ae3.cg.shawcable.net [70.77.44.153]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:25 (trex/5.7.12); Thu, 14 Jun 2018 14:14:00 -0400
Content-Type: multipart/alternative; boundary="Apple-Mail=_B6B4CECF-8B3C-4E71-8723-EAF3BE8F5FA9"
Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\))
From: Cullen Jennings <fluffy@iii.ca>
In-Reply-To: <CAOJ7v-0vbsVxEK07B1DXnv3Zzc_YtFAjoGG9wAPzrukMgxxHLw@mail.gmail.com>
Date: Thu, 14 Jun 2018 12:13:58 -0600
Cc: RTCWeb IETF <rtcweb@ietf.org>, youenn fablet <yfablet@apple.com>, Sean Turner <sean@sn3rd.com>
Message-Id: <B3A3E9C3-0C0E-4C2C-BE4E-F88531C3676A@iii.ca>
References: <CAOJ7v-2FQ3yfyfmFY8MT17nTFUvsNyixKuXXeT-Rq7zVQKBMnA@mail.gmail.com> <BC4154C2-DB59-4298-9F8D-86495C153D37@iii.ca> <CAOJ7v-0vbsVxEK07B1DXnv3Zzc_YtFAjoGG9wAPzrukMgxxHLw@mail.gmail.com>
To: Justin Uberti <juberti@google.com>
X-Mailer: Apple Mail (2.3445.8.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/A05xqz9AsbU8KOlLTE-b7kJTBNI>
Subject: Re: [rtcweb] IP handling: Using mDNS names for host candidates
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.26
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: Thu, 14 Jun 2018 18:14:04 -0000

Fair points - I still lean to  “add this later” but I could live with it either way. 


> On Jun 14, 2018, at 11:14 AM, Justin Uberti <juberti@google.com> wrote:
> 
> This is a valid concern, but keep in mind that this only applies to:
> - apps without gUM permission (or else they can use Mode 1)
> - on networks that don't support IPv6 (or else they can use the RFC 4941 v6 address)
> - on networks where mDNS is turned off or constrained
> 
> I tend to think this is still a pretty good tradeoff. 
> 
> One other option could be to add a new Mode 1.5 that did hand out the private IP which could be selected by domain admins, but given how subtle this area is, I tend to think that it would rarely, if ever, be enabled.
> 
> On Wed, Jun 13, 2018 at 1:28 PM Cullen Jennings <fluffy@iii.ca <mailto:fluffy@iii.ca>> wrote:
> 
> 
> With my individual hat on …
> 
> I have a bunch of concerns about this but the biggest is that mDNS does not work on a large percentage of medium and large corporate WiFI Networks. The problem is the large multicast domains trash the WiFi performance so many APs turn off mDNS or limit it’s range to much less than the scope of where just testing the address with ICE would be routable. It’s exactly theses environment where using the local IP vs a TURN IP provides lots of benefit.  I like the idea of trying to use mDNS but I’d want tot see strong evidence it worked in theses environments before putting it in at the last minute. 
> 
> 
> 
>> On Jun 11, 2018, at 6:40 PM, Justin Uberti <juberti=40google.com@dmarc.ietf.org <mailto:juberti=40google.com@dmarc.ietf.org>> wrote:
>> 
>> The Safari team has come up with a clever approach to avoid disclosing private IP addresses for host candidates. As discussed in this WebKit bug <https://bugs.webkit.org/show_bug.cgi?id=174500>, the technique works as follows:
>> Register a random UUID-based mDNS name when ICE gathering starts
>> Replace the private IP address by a "{UUID}.local" string in each host candidate (and set raddr to 0.0.0.0 for other candidates)
>> The other party will do mDNS resolution on any candidate having a .local suffix, similar to how hostnames in candidates are handled in RFC 5245, Section 15.1.
>> This technique is relevant to the IP handling document, as it addresses one of the lesser problems (private IP disclosure) from the overall problem statement. While I don't think this will have a large impact on the document, including the default mode selection, incorporating this technique would result in some moderate changes:
>> Section 5.1 would mention concealing private IPs in the default case as an explicit goal.
>> In Section 6, Mode 2 would change from handling out private IPs to handing out mDNS names.
>> This document would have to describe the technique or point to another document that describes the technique. mmusic-ice-sip-sdp, Section 4.1 <https://tools.ietf.org/html/draft-ietf-mmusic-ice-sip-sdp-20#section-4.1> seems like a good option, as it already covers how to handle DNS names in ICE candidates.
>> This is a significant improvement and I think we will want to incorporate this suggestion. Is this something we could do as part of this WGLC, or should we look for another option?
>> _______________________________________________
>> rtcweb mailing list
>> rtcweb@ietf.org <mailto:rtcweb@ietf.org>
>> https://www.ietf.org/mailman/listinfo/rtcweb <https://www.ietf.org/mailman/listinfo/rtcweb>
>