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

Matthew Kaufman <matthew@matthew.at> Fri, 15 June 2018 17:49 UTC

Return-Path: <matthew@matthew.at>
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 2520A130E36 for <rtcweb@ietfa.amsl.com>; Fri, 15 Jun 2018 10:49:10 -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=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=matthew-at.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 zAJdVPnQ2gRZ for <rtcweb@ietfa.amsl.com>; Fri, 15 Jun 2018 10:49:06 -0700 (PDT)
Received: from mail-pl0-x22c.google.com (mail-pl0-x22c.google.com [IPv6:2607:f8b0:400e:c01::22c]) (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 66869124D68 for <rtcweb@ietf.org>; Fri, 15 Jun 2018 10:49:06 -0700 (PDT)
Received: by mail-pl0-x22c.google.com with SMTP id 31-v6so5718122plc.4 for <rtcweb@ietf.org>; Fri, 15 Jun 2018 10:49:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=matthew-at.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=V8X3mjpRL3xXf6iT6S1QxVB7c1BUGez+F1o2O79txOg=; b=WOxF82efLhygboK5MP38g7K5zz/CGEy3mj5PV5bUhuQWDXE1kWcu3llC5ty9lFsta4 Bdmjg9NZlHbW0rMRJJwZ3yigAnnlSwzVX+MHj/5BIDaaTG17EqIyqfg0/eRBJAFIEL03 1f+ri+FdJOgUqZBcgckhnv2L2LebAAEL59HIYoc0tJKkCrdWAOhBNZaXLp2QFW7W+9Dp bPz4jbAXZNWWUttNpkycWfgTzPmw9FKWFY1pMenDmV8SEktaha+xMALX6niXsNniTVNV DfiDPiTfyT/knDEhI5LtgycaxXvXA+Xg5q1KIRNQWaE8yfeg1JKGXtxKS2TwSQx5VtjN Zw7Q==
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=V8X3mjpRL3xXf6iT6S1QxVB7c1BUGez+F1o2O79txOg=; b=Biftk9nkaOXhmwYpxA+NEMSl97VzWlszKEeS8X3Fq2p4dUlFgugnlcaePaM4rS7Xzq FqvntgQUtEQdt+kSv1sQ8/cYLtv0mFX1j2z51EwvnGcma546an2bYIom2YMrfLui7P0e lbAeHg0zfQQGoI0Xo9N46HjqbmKF4iQtlwN+07GdNtI//pAcxwz2RXS+2Co09XJqL46s aIeT5dSlg2vCE7Jxz4uq4gUltetgsFKVjP/l9xehBrDcZ9mzEjORp9MGSSW2d9MFozJs x69JjF2tLiwRX+ocksgWDhkXlo4YnJuGh+hIYQP7QB5ekvNhcppMJgank863Ax20AETn J0ng==
X-Gm-Message-State: APt69E3mROjO+QNuan0DMi3o6OVOQdxmjzxH3SMw5PnXWyrr85FoOIaw pohAv4r6T8j7/A0hhvEOzbXalvrjRNaV3XEOuZ92wQ==
X-Google-Smtp-Source: ADUXVKL93hVB6kJVWrHCm1sPzRICsV7RfQntg18W6tlYxsv/D8TOw+COVVLd6crKog8m/jvGvicL/uqOlKDg88gewIM=
X-Received: by 2002:a17:902:ab8d:: with SMTP id f13-v6mr3142638plr.81.1529084945697; Fri, 15 Jun 2018 10:49:05 -0700 (PDT)
MIME-Version: 1.0
References: <CAOJ7v-2FQ3yfyfmFY8MT17nTFUvsNyixKuXXeT-Rq7zVQKBMnA@mail.gmail.com> <092e15c3-3ae8-5b18-1195-498f9cef1488@alvestrand.no> <CAOJ7v-3e8ytXd5NQLYdPyVdiSYDy4kGxQvbEh=_D9Mm0eSLmVg@mail.gmail.com>
In-Reply-To: <CAOJ7v-3e8ytXd5NQLYdPyVdiSYDy4kGxQvbEh=_D9Mm0eSLmVg@mail.gmail.com>
From: Matthew Kaufman <matthew@matthew.at>
Date: Fri, 15 Jun 2018 10:48:54 -0700
Message-ID: <CAPcE_Lf5kVoMzid1+Vc=mhGuH9v7nqoSq=TYJE8W9FMfcggKJA@mail.gmail.com>
To: Justin Uberti <juberti=40google.com@dmarc.ietf.org>
Cc: Harald Alvestrand <harald@alvestrand.no>, RTCWeb IETF <rtcweb@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000052462056eb1d5ca"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/8dofKbYIk3ApzZVlJKjqjIWEpWM>
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, 15 Jun 2018 17:49:11 -0000

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
>