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

Justin Uberti <juberti@google.com> Wed, 18 July 2018 15:09 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 08CAB130EC0 for <rtcweb@ietfa.amsl.com>; Wed, 18 Jul 2018 08:09:36 -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 kE6IRJ46ZoYX for <rtcweb@ietfa.amsl.com>; Wed, 18 Jul 2018 08:09:32 -0700 (PDT)
Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::230]) (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 7DA72130E24 for <rtcweb@ietf.org>; Wed, 18 Jul 2018 08:09:32 -0700 (PDT)
Received: by mail-it0-x230.google.com with SMTP id q20-v6so4793725ith.0 for <rtcweb@ietf.org>; Wed, 18 Jul 2018 08:09:32 -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=IH0yw7W+Zm5sQmbNgOu2epXMj4aE+vasFXHt8tGjKJU=; b=ncy07DJnZthN+fjkkDbY0tqK29EqEOePAK/t5Oucv55gjRzWqAkr2Lv3Lz/zNuPuqX B4U8aCnhAeAQFigDgaPP6sjQfmPduXC93TrGrhQQjUZy7L1fTkHzB9+QBxyIgKnIRSBx 1+QjBw5o8QbszNtzLRvyR6hKgrT4+vm5Q+uAI+rON5PDON+ZDwa/a2XeiEEJjTiY4bhq Ky6bt1s8ylgXnKayIa+PnN7ziyxjU4bVYrLqs5RvSShmT0IAoS0/7re8GrlIvZb7N0fb Sd3/UTgDnQ6vDoj2FosD4QtnGXgkxhfZmlTtwlyrwW3I4kvnCmX85Stl3c9tpe6XVueF bR9w==
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=IH0yw7W+Zm5sQmbNgOu2epXMj4aE+vasFXHt8tGjKJU=; b=tNqWZjdwRFIbDRzL8UHDzhAT0YntQDIILeLAB/RHwvwJ7SDnZ+1GA9NbdlCYNryo7h lut+NQan+/xkMhk/aVYV3FA7AGclV5U8mY+Pxlnwpbvo0veiwSRIkJklq5JhMUe9ComT BhF+8r6OaYnWTxJfilzov0oDiuUH56+i4qwQSfPjNvWsFspx9/5wQIcYApfJqgO4UjuW U0Y/JONKIM0dncpa7P8u5H0UtSmAEQ6/HkxZrMsDCRf509b1NSXHzTfyRkRSu4gSMkom jyf7xfKY9ZYfUigr+o+tqwF37mftKyIhaCgirqZTWkj3OkI1nv2OCeeiK7fBGpUfaYmK h8lA==
X-Gm-Message-State: AOUpUlFjX04QipHjb+hT9Y4EteHW41qpgVXXCmkhqboP71MYHId8JOeN GDeXDkcwh5N1bz8BrJhxqzVvXJw2XmTi+f0kO6Qf/g==
X-Google-Smtp-Source: AAOMgpfUvE5PCzON6QDJDmZzfKh2t7lU5qZsqKHQQylF22kgEmZrYg06py7jDloIh+oiqvcu7ZKiF9oYHr3Gjaq59Rg=
X-Received: by 2002:a02:94af:: with SMTP id x44-v6mr5938144jah.121.1531926571343; Wed, 18 Jul 2018 08:09:31 -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> <ca8d7225c49f44d88dba899aeaed11b1@ericsson.com>
In-Reply-To: <ca8d7225c49f44d88dba899aeaed11b1@ericsson.com>
From: Justin Uberti <juberti@google.com>
Date: Wed, 18 Jul 2018 08:09:19 -0700
Message-ID: <CAOJ7v-3boweT5GVuzh8S5bLMjfitKcjdtfQe8mWtqf4uyirBVA@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: Ted Hardie <ted.ietf@gmail.com>, RTCWeb IETF <rtcweb@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000001c190805714773d4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/zxYI8g9qawJAAfQsYLJr7QgyOio>
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 15:09:36 -0000

As these changes are essentially clarifications of existing 5245 text, I
don't see a need for existing docs (e.g. JSEP) to be updated.

On Wed, Jul 18, 2018 at 7:49 AM Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

> Does that mean that RTCWEB is actually going to reference ice-sip-sdp and
> ICEbis (instead of RFC 5245)?
>
>
>
> Regards,
>
>
>
> Christer
>
>
>
> *From:* rtcweb [mailto:rtcweb-bounces@ietf.org] *On Behalf Of *Justin
> Uberti
> *Sent:* 18 July 2018 10:18
> *To:* Ted Hardie <ted.ietf@gmail.com>
> *Cc:* RTCWeb IETF <rtcweb@ietf.org>
> *Subject:* Re: [rtcweb] IP handling: Using mDNS names for host candidates
>
>
>
> 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 the
> IP address of the candidate.  When parsing this field, an agent
> can differentiate an IPv4 address and an IPv6 address by presence
> of a colon in its value -- the presence of a colon indicates IPv6.
> An agent MUST ignore candidate lines that include candidates with
> IP address versions that are not supported or recognized.  An IP
> address 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
>
>
>
>