Re: [rtcweb] IP handling: Using mDNS names for host candidates
Justin Uberti <juberti@google.com> Thu, 14 June 2018 21:32 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 B456D130E5A for <rtcweb@ietfa.amsl.com>; Thu, 14 Jun 2018 14:32:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.509
X-Spam-Level:
X-Spam-Status: No, score=-17.509 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_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001, 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 6QAAbcMm1RaS for <rtcweb@ietfa.amsl.com>; Thu, 14 Jun 2018 14:32:41 -0700 (PDT)
Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (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 8575812D949 for <rtcweb@ietf.org>; Thu, 14 Jun 2018 14:32:41 -0700 (PDT)
Received: by mail-it0-x22b.google.com with SMTP id k17-v6so3498561ita.0 for <rtcweb@ietf.org>; Thu, 14 Jun 2018 14:32:41 -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=PNfzC77MKPo0tZl7+u8H6vN8g7IoaGrut5BIgJM44+c=; b=C+9LZL2rg2MN0tUoH9wutXRfYCJuuR4Y0j8+bpVb54H5JUPUXZae8MMK7kaJZRdIWo V+slDyogUBu8yYGPZ2pKTcFpdnYp1h+3qOoY9MnW3gqrMYbn0ufmAsKlmNVH/RKNfK3f bVioYQe9J5E+xzOqZxR3kvMsuIknZE3MMJ9Pisz0LSvTYoTTotT4Mv+JfJjWGH786U01 nMdToSLbXPU2Y9YZW0z1RAJ6jgdwe+GV7msLQbZ1RlZvl6POLt2y9rsmN8rlTdonKIRf BK4OFyh0wfM2qQQKC6Lt0C0k8L2albxC85+jlmyrMUxBIARAP1gYS8EWGJH973C6+I3j aazQ==
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=PNfzC77MKPo0tZl7+u8H6vN8g7IoaGrut5BIgJM44+c=; b=aN70Osp/N+tw3N7UxC7aIGAZ1UvB7P+D/6w0x2XNZYUtJEfG90MFtQ21KH0W9AD2R2 U3NuFTHIJDZDEWDPK9tCltzktnzxIllmLMJMvuraD0ySGHfRvNWm/yizxE3YMTT+TVjO hR+sw1PTaoPy/XZmM83mMyAF6/Q3MXPuvsYTCv/q1X8rsyPHNBkXVAYvSwGvNUY1ujE/ CG3s2D+x0mzAHZ/YfXfDzMzYOvXuOUuGXJXwW9gIJ5tM4Gwq7RGuJdjN07TONsHhZYfn AxH7lht24iPJWSnlAhSOWL5PkKMWg9GI1FaUnEBAgyrKWBKNSdTb/aOeDz0lrmTCI53O WCUg==
X-Gm-Message-State: APt69E0ccgxcXeQGkxxMpkbTOvVAhtcFMLS3msYH1XcQ0+gisA56aCRx s70rZPjE89NKmuII0jEphz7IaRd+2Ma3FyPdV1nNR1JigYo=
X-Google-Smtp-Source: ADUXVKJ7m9gXR4ifOtVJAGOkrsT/aKMitmu+Fx1SIVKKrnRvRYqveNfW6ptTqKSLPqR9rG4+7MYsdAsPhX1zCvw77Os=
X-Received: by 2002:a24:5901:: with SMTP id p1-v6mr3759218itb.119.1529011960496; Thu, 14 Jun 2018 14:32:40 -0700 (PDT)
MIME-Version: 1.0
References: <CAOJ7v-2FQ3yfyfmFY8MT17nTFUvsNyixKuXXeT-Rq7zVQKBMnA@mail.gmail.com> <092e15c3-3ae8-5b18-1195-498f9cef1488@alvestrand.no>
In-Reply-To: <092e15c3-3ae8-5b18-1195-498f9cef1488@alvestrand.no>
From: Justin Uberti <juberti@google.com>
Date: Thu, 14 Jun 2018 14:32:28 -0700
Message-ID: <CAOJ7v-3e8ytXd5NQLYdPyVdiSYDy4kGxQvbEh=_D9Mm0eSLmVg@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: RTCWeb IETF <rtcweb@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c3fb2f056ea0d6cb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/ljpspMTS5zQeTTdWRNZFwg9H5GI>
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 21:32:44 -0000
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 >
- 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