Re: [rtcweb] IP handling: Using mDNS names for host candidates
Eric Rescorla <ekr@rtfm.com> Fri, 29 June 2018 14:03 UTC
Return-Path: <ekr@rtfm.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 3D354130E83 for <rtcweb@ietfa.amsl.com>; Fri, 29 Jun 2018 07:03:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=rtfm-com.20150623.gappssmtp.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 3LWgvxiXWeRJ for <rtcweb@ietfa.amsl.com>; Fri, 29 Jun 2018 07:03:27 -0700 (PDT)
Received: from mail-yw0-x233.google.com (mail-yw0-x233.google.com [IPv6:2607:f8b0:4002:c05::233]) (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 B3075130EF7 for <rtcweb@ietf.org>; Fri, 29 Jun 2018 07:03:26 -0700 (PDT)
Received: by mail-yw0-x233.google.com with SMTP id t198-v6so3437019ywc.3 for <rtcweb@ietf.org>; Fri, 29 Jun 2018 07:03:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6gjK3VkUKLBa0295hS1zIQp05H41d5J5TTIzSt/jSAI=; b=pWPoGIIMcHmcfmjj5Tn4zXloqvowCgyZGogjJ8KEjBm7CydWClt559uwC5ae8YmpAM oNX+geb8ej2I53S0mDUMTio8Fx+VW7tRDk5+dq1/whVzvHttgwVu7j5tx92yXGHaVbdd 6fBLD/I1VimO0Ffi0j0y4JLQ0F/711m8pJYfuiLbcRFsbdxbJ2XCGchdcrxxpR9LhaUH e9dol5jTtLrl1E7xy5wzW5UVPBjlbXOVVpXFpV98WnPj1LzksKmYYW1ZRGwz4qnL+29g Q9tHp82E7MkR4temvctrMf1BASzLuIJQgbDYkXYNGLvC0Io12DJn8DGJgDUVIbvYw2l6 dKvg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6gjK3VkUKLBa0295hS1zIQp05H41d5J5TTIzSt/jSAI=; b=O83vmvIONJyhJuA9/cdgJ71wYEEb1c/y+PhGQcLnSeC2ZT8sgACwRhraB3kmAuM3/x DNQVgRwqRMfU39+EdWrI9Ac1xgWh9cIHtHCIMeJH8Cz3zObl+D2Hs2Xdq+ldNkOAZm1x VWnJYMW2e2Yt8NtuOuAlbzXVw/b8TPzVmPaC3wm2Ot+Q+Xt8O1UcS5UiSG4K2/ND7eSd eh50H0Uz6inxkwJftb6oFlGcBCBBuOKEvlTC7m4CMBPiABDi2pYjruZtATomtV7ZoDGT JBDUh/7DRuVNf142sng3krsDtSzuWGpyvNQ+ZEgEblMYYunDDB/V8qEzULm9yEypG5Hc /kJw==
X-Gm-Message-State: APt69E2Y8p3O8B7BYVZGQ+BK6L5mD908dsNMHpL2TN+MzPU5pGEwzt0a hOfzWNuyF0QSMyuYoJGoRCKFtJJ1RxkSgg+rYCbx5KuQ
X-Google-Smtp-Source: AAOMgpe+DiBZrCVITMeDGu+VmvR8hx0viPzddRmnv1SuD/D/n4i3dlDafN/Lt8zKFGxw7fzLPSXBn+JAKe9LzRYExlc=
X-Received: by 2002:a81:2ec8:: with SMTP id u191-v6mr7162376ywu.430.1530281005944; Fri, 29 Jun 2018 07:03:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a81:6b83:0:0:0:0:0 with HTTP; Fri, 29 Jun 2018 07:02:45 -0700 (PDT)
In-Reply-To: <CAPcE_Lf5kVoMzid1+Vc=mhGuH9v7nqoSq=TYJE8W9FMfcggKJA@mail.gmail.com>
References: <CAOJ7v-2FQ3yfyfmFY8MT17nTFUvsNyixKuXXeT-Rq7zVQKBMnA@mail.gmail.com> <092e15c3-3ae8-5b18-1195-498f9cef1488@alvestrand.no> <CAOJ7v-3e8ytXd5NQLYdPyVdiSYDy4kGxQvbEh=_D9Mm0eSLmVg@mail.gmail.com> <CAPcE_Lf5kVoMzid1+Vc=mhGuH9v7nqoSq=TYJE8W9FMfcggKJA@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 29 Jun 2018 07:02:45 -0700
Message-ID: <CABcZeBOSyuOP6E4dreJc_OoxMTqZg-N5J9Gkbp7ygrXQbFd-XQ@mail.gmail.com>
To: Matthew Kaufman <matthew@matthew.at>
Cc: Justin Uberti <juberti=40google.com@dmarc.ietf.org>, RTCWeb IETF <rtcweb@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c4382c056fc84f80"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/ZNiqJE_bECsJpLLFP1s3zcPN0M8>
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: Fri, 29 Jun 2018 14:03:32 -0000
It seems like this is something one could A/B test and measure connection rates. Has someone done so? -Ekr On Fri, Jun 15, 2018 at 10:48 AM, Matthew Kaufman <matthew@matthew.at> wrote: > Opposed because we shouldn't waste any more time on IPv4, and IPv6 has no > analog that we can implement for IPv6 and then implement for IPv4 largely > for free. > > Matthew Kaufman > > > On Thu, Jun 14, 2018 at 2:32 PM Justin Uberti <juberti=40google.com@dmarc. > ietf.org> wrote: > >> On Thu, Jun 14, 2018 at 2:15 PM Harald Alvestrand <harald@alvestrand.no> >> wrote: >> >>> I have some worries about this proposal. It seems neat, and solves a >>> specific problem for a specific use case, but it's not a written-up >>> proposal, rather a sketch for one - and I'm afraid of devils in the >>> details. >>> >>> For instance: >>> >>> - If this technique is used for a computer directly connected to the >>> Internet, with a public IP address, it won't communicate - unless it is >>> only used on private addresses - because "uuid.local" doesn't resolve, >>> whereas a public IP address is globally reachable. >> >> >>> - The above means that the proposal needs a definition of "private >>> address". Do we mean "private" in the RFC 1918 sense? If so, which IPv6 >>> range is covered by the proposal? >>> >>> - It will only work if the private address usage is the same scope as >>> mDNS resolution. On an unmanaged LAN it works, and on a network with >>> explicit mDNS forwarding it works. But on any other deployment, it >>> forces traffic to go via public IP addresses learned by STUN. >>> >>> I think this is worth adding. Perhaps as a new "mode 2m"? >>> >>> But I'd like a commitment to not adding it until we have a full proposal. >>> >> >> I have sketched out the proposal in https://github.com/juberti/ >> draughts/pull/103, which while not complete, does address most of your >> questions. >> >>> >>> Den 12. juni 2018 02:40, skrev Justin Uberti: >>> > 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: >>> > >>> > 1. Register a random UUID-based mDNS name when ICE gathering starts >>> > 2. 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) >>> > 3. 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 >>> > https://www.ietf.org/mailman/listinfo/rtcweb >>> > >>> >>> _______________________________________________ >>> rtcweb mailing list >>> rtcweb@ietf.org >>> https://www.ietf.org/mailman/listinfo/rtcweb >>> >> _______________________________________________ >> rtcweb mailing list >> rtcweb@ietf.org >> https://www.ietf.org/mailman/listinfo/rtcweb >> > > _______________________________________________ > rtcweb mailing list > rtcweb@ietf.org > https://www.ietf.org/mailman/listinfo/rtcweb > >
- Re: [rtcweb] IP handling: Using mDNS names for ho… Matthew Kaufman
- Re: [rtcweb] IP handling: Using mDNS names for ho… youenn fablet
- Re: [rtcweb] IP handling: Using mDNS names for ho… Harald Alvestrand
- Re: [rtcweb] IP handling: Using mDNS names for ho… Justin Uberti
- Re: [rtcweb] IP handling: Using mDNS names for ho… Harald Alvestrand
- Re: [rtcweb] IP handling: Using mDNS names for ho… Cullen Jennings
- Re: [rtcweb] IP handling: Using mDNS names for ho… T H Panton
- Re: [rtcweb] IP handling: Using mDNS names for ho… Justin Uberti
- Re: [rtcweb] IP handling: Using mDNS names for ho… Cullen Jennings
- Re: [rtcweb] IP handling: Using mDNS names for ho… Joseph Lorenzo Hall
- Re: [rtcweb] IP handling: Using mDNS names for ho… Lennart Grahl
- Re: [rtcweb] IP handling: Using mDNS names for ho… Justin Uberti
- Re: [rtcweb] IP handling: Using mDNS names for ho… Lennart Grahl
- Re: [rtcweb] IP handling: Using mDNS names for ho… Justin Uberti
- Re: [rtcweb] IP handling: Using mDNS names for ho… Justin Uberti
- Re: [rtcweb] IP handling: Using mDNS names for ho… Adam Roach
- [rtcweb] IP handling: Using mDNS names for host c… Justin Uberti
- Re: [rtcweb] IP handling: Using mDNS names for ho… Justin Uberti
- Re: [rtcweb] IP handling: Using mDNS names for ho… Eric Rescorla
- Re: [rtcweb] IP handling: Using mDNS names for ho… Justin Uberti
- Re: [rtcweb] IP handling: Using mDNS names for ho… youenn fablet
- Re: [rtcweb] IP handling: Using mDNS names for ho… Eric Rescorla
- Re: [rtcweb] IP handling: Using mDNS names for ho… Justin Uberti
- Re: [rtcweb] IP handling: Using mDNS names for ho… youenn fablet
- Re: [rtcweb] IP handling: Using mDNS names for ho… westhawk
- Re: [rtcweb] IP handling: Using mDNS names for ho… westhawk
- Re: [rtcweb] IP handling: Using mDNS names for ho… youenn fablet
- Re: [rtcweb] IP handling: Using mDNS names for ho… Ted Hardie
- Re: [rtcweb] IP handling: Using mDNS names for ho… Peter Thatcher
- Re: [rtcweb] IP handling: Using mDNS names for ho… Bernard Aboba
- Re: [rtcweb] IP handling: Using mDNS names for ho… Ted Hardie
- Re: [rtcweb] IP handling: Using mDNS names for ho… Justin Uberti
- Re: [rtcweb] IP handling: Using mDNS names for ho… Justin Uberti
- Re: [rtcweb] IP handling: Using mDNS names for ho… youenn fablet
- Re: [rtcweb] IP handling: Using mDNS names for ho… Christer Holmberg
- Re: [rtcweb] IP handling: Using mDNS names for ho… Justin Uberti
- Re: [rtcweb] IP handling: Using mDNS names for ho… Christer Holmberg