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

youenn fablet <youennf@gmail.com> Wed, 18 July 2018 14:49 UTC

Return-Path: <youennf@gmail.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 D9B79130F9F for <rtcweb@ietfa.amsl.com>; Wed, 18 Jul 2018 07:49:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 (2048-bit key) header.d=gmail.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 MoaCx0AL74nu for <rtcweb@ietfa.amsl.com>; Wed, 18 Jul 2018 07:49:07 -0700 (PDT)
Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (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 96587130DC7 for <rtcweb@ietf.org>; Wed, 18 Jul 2018 07:49:06 -0700 (PDT)
Received: by mail-lj1-x233.google.com with SMTP id 203-v6so4326472ljj.13 for <rtcweb@ietf.org>; Wed, 18 Jul 2018 07:49:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=m0VZ8klci0QA0MttYPtTQDW6mlz6WSrz35Gl7xGQ6Sw=; b=mS8XgqiCfBK+Z6ctm+NpK1fw6pJiyWxwYHXa6qqsYMhBLZLYDRD+DHZkwxurUr145A eTv5T14A5DPJP5+YieSy4frXmNzW7fJBOZE6vUUPj/OwiMx8Stw+nG+RKu9vwqqbWaVX CZd1nlM7LTioPETo/sfzJsQlrS7OT+GORTQS966/ZywKlKEe3ehFlCtnwgGJdCvD+gf6 aRDI82JZyTp5kt9RSYsAeARTvlka95RGFWSVOhxj81oGZt0CFvStXA7p5C0VP6HaoQNa 11POt7pTuoK8FFhf/I8upMQLGvz1XRMps8QuL9OQImBA2sXjQECa+ckIjnDHe7kden5/ QbnQ==
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=m0VZ8klci0QA0MttYPtTQDW6mlz6WSrz35Gl7xGQ6Sw=; b=hWxQbW9Bwlv3i4d1r9Z62rW2+oe0TmTnM8jYbq/36XH5bzKvGLNCm0Pso3qH12j3MT qilPkXwytywB6wFFux5DZ8uw2Kw2LvVd1Nh6pA7Rxx8EpRvUbh14JJxGhYL/MflrRJpf pFk+yTHEL5iYjQfYUrveaBdwfqqJ/JLgpSXVXw8CkDFuyj4YrH5h/Qbdt64YHqpik3mP 6fVDH3q5f9yBaOxCq+J+BtRFbKwDjAVG/NJvatzS6aUPW2+Da/OtXWSpGd5aWbGYxCSB yCxTLdPV8QHppaIqMH8CVmyEpK2jRAdDUHgnbrx1Y1OHhgPCLAIZFVGigTBsRyXXHJXz pqsA==
X-Gm-Message-State: AOUpUlFUc1z9RspCf+YXlc3ZM5YHtiug28B38DstvVnMlq3Zf9sUzh4U qCl0d3ZITibh+/V7FJwDUEt8qYDYBL/2Gkix0NU=
X-Google-Smtp-Source: AAOMgpeIaucjkGplUBGu7UPin7OouJixrXwLYlSEVxwWbtxK1rdgRd9w4iIGvVnc3+yh3lvxGAnZqzISiqtKcu7mOco=
X-Received: by 2002:a2e:5012:: with SMTP id e18-v6mr4756155ljb.22.1531925344816; Wed, 18 Jul 2018 07:49: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> <CAOJ7v-0A9twfPgfVOOLM-Wko3UYYky_EanM5GM1PGiXSyJex5A@mail.gmail.com> <CAOJ7v-3ptCuMXJQ=KTDTx3n-F+RDiod0KFP-W9Zq2Gz-4T7+Uw@mail.gmail.com>
In-Reply-To: <CAOJ7v-3ptCuMXJQ=KTDTx3n-F+RDiod0KFP-W9Zq2Gz-4T7+Uw@mail.gmail.com>
From: youenn fablet <youennf@gmail.com>
Date: Wed, 18 Jul 2018 10:48:53 -0400
Message-ID: <CANN+akZ7e0eiZp9AyTXBcCuUqVaczbs3c_3mhNp5UKg60s2+OQ@mail.gmail.com>
To: Peter Thatcher <pthatcher@google.com>
Cc: Ted Hardie <ted.ietf@gmail.com>, Justin Uberti <juberti@google.com>, RTCWeb IETF <rtcweb@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000000121a0571472a39"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/iBZVlxb9VLbXbtoxgw8WdvsY1O8>
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:49:11 -0000

Agreed that an explicit reference to MDNS would be good.
DNS resolution can be used for both candidates as well as STUN/TURN server
names.
The proposal so far is to ensure that MDNS be supported for candidates.

Le mer. 18 juil. 2018 à 10:20, Justin Uberti <juberti@google.com> a écrit :

> Note that we are going to discuss the particulars here in the mmusic WG
> meeting on Thursday.
>
> On Wed, Jul 18, 2018 at 7:17 AM Justin Uberti <juberti@google.com> wrote:
>
>> 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
>>>>
>>>>
>>>