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

Justin Uberti <juberti@google.com> Wed, 18 July 2018 14:18 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 94878130DFF for <rtcweb@ietfa.amsl.com>; Wed, 18 Jul 2018 07:18:08 -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 LnyQgjt0U5dY for <rtcweb@ietfa.amsl.com>; Wed, 18 Jul 2018 07:18:05 -0700 (PDT)
Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::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 92AA7130E14 for <rtcweb@ietf.org>; Wed, 18 Jul 2018 07:18:05 -0700 (PDT)
Received: by mail-io0-x234.google.com with SMTP id k4-v6so4224235iob.3 for <rtcweb@ietf.org>; Wed, 18 Jul 2018 07:18:05 -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=nz/BF5voIJzTNzNQAXyVbjWeTORjE3Xv35emHR3r0zU=; b=cpL0SJSmmdpaW3AruB6pNqEVpCTeisR7wVbhWLoh1e9pOHC52XR1CFK+nOeXvW7vNy aw9B55LzOL3R0rxHomhEsFOJcFt6DaIrD+QialWDQYr1pdL/qcLvTRlNl2U8isCzIFmv JX1Kf5fH3NF31ex3rpEeWkDdThaGaUK6u3YA6rnfPDoMZfLVKPgreASIx6GYtWtjI/W0 dwCjslzI9JiNOnR7MZ0DhsBxFdJyrTEg64ehD4eQeoZ17Mtv1J7ZtfZjRCk5co6Os+XE 3l04jHN4Fqs075LWo7nE5ba/XjE6GhpdwnLLECbcE3V0XJGXT8A6NHvzYwaargnxjyim lDyw==
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=nz/BF5voIJzTNzNQAXyVbjWeTORjE3Xv35emHR3r0zU=; b=ix6A6GY2uhEfC/dyWBX/TipMwce8qAbO2/TVZn6n7oT7Nixe9ivoAi06YFGMOadyrj A1rZQR/uuDS6HTTlKgMyZW85AukSg8oZkYXoGgdKXZ3Q2uuGYTzJSpXe/5DTg568WHic upJ9O6AcfkEsql7ooDOZPKUG7Uw1INfpQIi9NpXTLegr5aeLmscdXxtQhoC5nP3SFQjF 7i0hw/n0IcMinrcPK51VUdJkkQ1AyIo+LZqFr84u+6uv2GBjR/kO8Ml4In9Plj3LMt3t Z/3ToWYY+QErLdA4JjecwyER1PkftRzBa/TWoswqkdGTfwFCR7ZkvXGF/jVFIxPa7coC HfRw==
X-Gm-Message-State: AOUpUlHyL5vd/rsQ9C/VSf1mqsQPti1dBRpSSii2DHEt3409jO9dlY1/ FcjyzU3X+mjc3QOjOo3BfpN6hSd6Ob64I6JzE24ieA==
X-Google-Smtp-Source: AAOMgpe+SA13ap6/wIMX4ZwNeHdKM/vDqGDbbuQBf0n6wM8h9ufMLkVzqatszrJqdqMoLLdfRxCRiuelhGH3LD295lc=
X-Received: by 2002:a6b:4c5:: with SMTP id 188-v6mr5422824ioe.32.1531923484377; Wed, 18 Jul 2018 07:18:04 -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> <CAPcE_Lf5kVoMzid1+Vc=mhGuH9v7nqoSq=TYJE8W9FMfcggKJA@mail.gmail.com> <CABcZeBOSyuOP6E4dreJc_OoxMTqZg-N5J9Gkbp7ygrXQbFd-XQ@mail.gmail.com> <CAOJ7v-3vZH81m9DK9CNmEH3UKTBZT+0f1=uuQdz7ou2JXxeMsA@mail.gmail.com> <CANN+akbH54-05VceqL-rfq+ZURB85LxXFb4_B5KV_6KaLaC=+g@mail.gmail.com> <CAJrXDUFzOBL1+8M4JiSaDakJc5VU2SudSD1TbmYGDofysO_K4A@mail.gmail.com> <CA+9kkMA41=kWQJLj8x=3D8OpbouqfvMUkVgPb=+cboXco3Sxrg@mail.gmail.com>
In-Reply-To: <CA+9kkMA41=kWQJLj8x=3D8OpbouqfvMUkVgPb=+cboXco3Sxrg@mail.gmail.com>
From: Justin Uberti <juberti@google.com>
Date: Wed, 18 Jul 2018 07:17:54 -0700
Message-ID: <CAOJ7v-0A9twfPgfVOOLM-Wko3UYYky_EanM5GM1PGiXSyJex5A@mail.gmail.com>
To: Ted Hardie <ted.ietf@gmail.com>
Cc: Peter Thatcher <pthatcher@google.com>, youenn fablet <youennf@gmail.com>, RTCWeb IETF <rtcweb@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000001c95cc057146bb43"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/tecpqJaaIrSDXobXi3r03dgj1ZI>
Subject: Re: [rtcweb] IP handling: Using mDNS names for host candidates
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.27
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: Wed, 18 Jul 2018 14:18:09 -0000

Yeah, I think we just need to emphasize that the FQDN can be a mDNS name.
Here's my current suggestion for updates to S 4.1 in ice-sip-sdp
<https://tools.ietf.org/html/draft-ietf-mmusic-ice-sip-sdp-21#section-4.1>:


>
>
>
>
>
>
> *<connection-address>:  is taken from RFC 4566 [RFC4566].  It is theIP
address of the candidate.  When parsing this field, an agentcan
differentiate an IPv4 address and an IPv6 address by presenceof a colon in
its value -- the presence of a colon indicates IPv6.An agent MUST ignore
candidate lines that include candidates withIP address versions that are
not supported or recognized.  An IPaddress SHOULD be used, but an FQDN
(including a mDNS [RFC6762] name) MAY be used in place of an IP address. *

In the case of receiving an candidate containing a FQDN, the hostname is
> looked up via DNS or mDNS as appropriate, first using an AAAA record
> (assuming the agent
> supports IPv6), and if no result is found or the agent only
> *supports IPv4, using an A record.  *




On Tue, Jul 17, 2018 at 3:11 PM Ted Hardie <ted.ietf@gmail.com> wrote:

> On Tue, Jul 17, 2018 at 4:46 PM, Peter Thatcher <
> pthatcher=40google.com@dmarc.ietf.org> wrote:
>
>> Where is the right place to comment on draft-mdns-ice-candidates?
>>
>
>
>> I looked at it from an ICE WG perspective, and it seems to be that since
>> (in RFC 5245), the candidate address can be a FQDN (section 15.1) you don't
>> need the special steps you have in section 3.2, because a .local address is
>> a FQDN (isn't it?).
>>
>
> The use of a .local signals that this is a special use name within the
> context of multicast DNS (RFC 6762).  One key difference there is that the
> uniqueness of a standard DNS name is derived from the hierarchical
> delegation of the DNS.  Uniqueness in MDNS is achieved using a local probe
> and announce method.  As Harald pointed out in the room, there are some
> latency consequences to that; those might be avoided by generating probable
> uniqueness in names via the UUID mechanism, but that still need to be
> worked out.  That, I think means the work in 3.1 is definitely needed.
>
>
>> I think the only novel thing would be to perhaps make it clear that mDNS
>> should be used for the name resolution.
>>
>>
> You might treat the special steps as redundant (since .local should signal
> mDNS), but I personally think it is helpful, because it discourages
> coalescing with standard DNS responses (which is permitted by 6762).
>
> Just my personal opinion.
>
> Ted
>
>
>
>
>
>> On Fri, Jun 29, 2018 at 6:07 PM youenn fablet <youennf@gmail.com> wrote:
>>
>>> A draft describing the Safari/WebKit approach is available at
>>> https://www.ietf.org/id/draft-mdns-ice-candidates-00.txt
>>>
>>> Eric, can you precise the kind of information you would like to have?
>>> Some testing has been done to validate the approach but I do not think
>>> this is representative of the actual state of the affair. Safari/WebKit is
>>> not gathering any related statistic..
>>>
>>>    Y
>>>
>>> Le ven. 29 juin 2018 à 11:10, Justin Uberti <juberti=
>>> 40google.com@dmarc.ietf.org> a écrit :
>>>
>>>> I believe such data will be forthcoming from the Safari team. We are
>>>> also working on this.
>>>>
>>>> On Fri, Jun 29, 2018 at 7:03 AM Eric Rescorla <ekr@rtfm..com
>>>> <ekr@rtfm.com>> wrote:
>>>>
>>>>> It seems like this is something one could A/B test and measure
>>>>> connection rates. Has someone done so?
>>>>>
>>>>> -Ekr
>>>>>
>>>> _______________________________________________
>>> 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
>>
>>
>