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

Joseph Lorenzo Hall <joe@cdt.org> Tue, 12 June 2018 18:38 UTC

Return-Path: <jhall@cdt.org>
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 C3F98130E93 for <rtcweb@ietfa.amsl.com>; Tue, 12 Jun 2018 11:38:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cdt.org
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 nRjeFAHZCdH1 for <rtcweb@ietfa.amsl.com>; Tue, 12 Jun 2018 11:38:20 -0700 (PDT)
Received: from mail-vk0-x234.google.com (mail-vk0-x234.google.com [IPv6:2607:f8b0:400c:c05::234]) (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 DEB3C130E7F for <rtcweb@ietf.org>; Tue, 12 Jun 2018 11:38:19 -0700 (PDT)
Received: by mail-vk0-x234.google.com with SMTP id r83-v6so9717859vkf.6 for <rtcweb@ietf.org>; Tue, 12 Jun 2018 11:38:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdt.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=X/Ntq+kCdTJ7LmHdKLtrBFzjP8bPHrPTgOvwYwjLeNA=; b=ZPKL8pe7jpu4DLgr0v2M1uk/1VX7QbNCEFeSFGIheHma0glQcQykgO5Zz9K8nNzAwV Z+OzYxrO6atGvHyXQOSZZk/Kn+x2rWIwBC9AwxANRyLQfBE2Vq//27lZHj5C0GRbAm3S 8+9Yzs+svW4vN09I1RWMpPUtOa/Z/NsUO5HeY=
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=X/Ntq+kCdTJ7LmHdKLtrBFzjP8bPHrPTgOvwYwjLeNA=; b=NxGNFKp0qsHpPQm0nAVBV/eDVemCH3V9YtuxQZ4xXtWLx/Y1M1UUe8Bo1iYPWJjvEN nIZ0BGFvqjL3OP7WeNCIvTVC9j9GCIUhJeACzUKbaaLvdVHWzK3O6s28f0nGvKDgmCWJ ydu26g9kYHZpHqQRX5ToRS6HmE3MmTcfj7cqA78Dsaltawn9Xl08UhZhKaP8f5bZnxtq j8VsXVfaKkiJxRQyPQ8XMZmmLKkTxUnXry6kDWNsKN/UwUBr7pm3sfblg9eGkjNtuzeO IagLbYPEMzFMIAYGndaeGyiZDJBk124x3QKYMRNBuScOZAA0b3pshGUdDzQjZeTJPCjz /9ZA==
X-Gm-Message-State: APt69E2duYZP1fu8pedgLF+iGpqM+wa0wyhWF/TvPcpcpoeHQcsalg3f 1xclSJWcWBZ7YZV3f2RKWMnDJN2+Iz1uA6qW6VKULQ==
X-Google-Smtp-Source: ADUXVKKKRW1ivykV0uJbs8mVrG93gL/z8gYt/j+OFafOP9B1bMhEpTShQSZ3U7JWZzl7wPga/m8Eam3Dbn7wdhmBPPw=
X-Received: by 2002:a1f:8c96:: with SMTP id o144-v6mr1050649vkd.94.1528828698641; Tue, 12 Jun 2018 11:38:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a67:1981:0:0:0:0:0 with HTTP; Tue, 12 Jun 2018 11:37:57 -0700 (PDT)
In-Reply-To: <CAOJ7v-2FQ3yfyfmFY8MT17nTFUvsNyixKuXXeT-Rq7zVQKBMnA@mail.gmail.com>
References: <CAOJ7v-2FQ3yfyfmFY8MT17nTFUvsNyixKuXXeT-Rq7zVQKBMnA@mail.gmail.com>
From: Joseph Lorenzo Hall <joe@cdt.org>
Date: Tue, 12 Jun 2018 14:37:57 -0400
Message-ID: <CABtrr-WCiG8TAgaEAKrPrsHbrJ+035A1f+y8w=mNMGd+jouykg@mail.gmail.com>
To: Justin Uberti <juberti=40google.com@dmarc.ietf.org>
Cc: RTCWeb IETF <rtcweb@ietf.org>, yfablet@apple.com, Sean Turner <sean@sn3rd.com>
Content-Type: multipart/alternative; boundary="000000000000815f66056e762b9e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/Ou9Gn0fU3iHmvSvAnpiwZOSvsmQ>
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: Tue, 12 Jun 2018 18:38:24 -0000

inveterate lurker here; I'd definitely +1 getting this in during the WGLC
for this document if there are no strong objections.

On Mon, Jun 11, 2018 at 8:40 PM, Justin Uberti <
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:
>
>    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
>
>


-- 
Joseph Lorenzo Hall
Chief Technologist, Center for Democracy & Technology [https://www.cdt.org]
1401 K ST NW STE 200, Washington DC 20005-3497
e: joe@cdt.org, p: 202.407.8825, pgp: https://josephhall.org/gpg-key
Fingerprint: 3CA2 8D7B 9F6D DBD3 4B10  1607 5F86 6987 40A9 A871