Re: [rtcweb] mdns-ice-candidates: Single IP address:port

Adam Roach <adam@nostrum.com> Thu, 13 September 2018 19:35 UTC

Return-Path: <adam@nostrum.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 EEC30128CF3 for <rtcweb@ietfa.amsl.com>; Thu, 13 Sep 2018 12:35:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.879
X-Spam-Level:
X-Spam-Status: No, score=-1.879 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01] 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 WT-esmgoGMJQ for <rtcweb@ietfa.amsl.com>; Thu, 13 Sep 2018 12:35:39 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (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 1DC7F126CB6 for <rtcweb@ietf.org>; Thu, 13 Sep 2018 12:35:38 -0700 (PDT)
Received: from Svantevit.roach.at (99-152-146-228.lightspeed.dllstx.sbcglobal.net [99.152.146.228]) (authenticated bits=0) by nostrum.com (8.15.2/8.15.2) with ESMTPSA id w8DJZXAS044707 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 13 Sep 2018 14:35:34 -0500 (CDT) (envelope-from adam@nostrum.com)
X-Authentication-Warning: raven.nostrum.com: Host 99-152-146-228.lightspeed.dllstx.sbcglobal.net [99.152.146.228] claimed to be Svantevit.roach.at
To: Christer Holmberg <christer.holmberg@ericsson.com>, RTCWeb IETF <rtcweb@ietf.org>
References: <6370f43ad94440e4a2e5b7641dbe54ca@ericsson.com>
From: Adam Roach <adam@nostrum.com>
Message-ID: <05f502dd-4441-36ee-19c1-4e9f4b1eac80@nostrum.com>
Date: Thu, 13 Sep 2018 14:35:28 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.0
MIME-Version: 1.0
In-Reply-To: <6370f43ad94440e4a2e5b7641dbe54ca@ericsson.com>
Content-Type: multipart/alternative; boundary="------------DCBA7454265974C17DA24D0B"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/v60SJMfxSfZCXh1ZRomH4H2XP3g>
Subject: Re: [rtcweb] mdns-ice-candidates: Single IP address:port
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.29
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, 13 Sep 2018 19:35:41 -0000

[as an individual]

On 9/13/18 10:55 AM, Christer Holmberg wrote:
>
> Hi,
>
> A couple of comments:
>
> Q1: As discussed back in July, as an ICE candidate by definition is 
> associated with a single IP address:port, we should make it clear in 
> the draft that there can only be an 1:1 mapping between the “mdns 
> candidate” and an IP address:port.
>

Part of why this wasn't simple enough to slipstream into the existing 
documents is that we don't have well-defined handling in SDP for dealing 
with names in the <connection-address> field of "c=" lines. The extent 
of RFC 4566's text on the topic is:


    A session description can contain domain names in the "o=", "u=",
    "e=", "c=", and "a=" lines.  Any domain name used in SDP MUST comply
    with [1], [2].  Internationalised domain names (IDNs) MUST be
    represented using the ASCII Compatible Encoding (ACE) form defined in
    [11] and MUST NOT be directly represented in UTF-8 or any other
    encoding (this requirement is for compatibility with RFC 2327 and
    other SDP-related standards, which predate the development of
    internationalised domain names).


Unfortunately, this doesn't provide a lot of clarity about what happens 
if a DNS lookup of the corresponding domain name returns multiple A or 
AAAA records. (The fact that "c=" lines clearly indicate their address 
family saves us from having to worry about any happy-eyeballs-style 
address family fiddling, but the handling of name lookups is still 
somewhat ambiguous).

So I think we need to reach a common understanding about how to handle 
the normal name-to-address mapping case, and then apply the same 
principle to mDNS as we do to DNS.

/a