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

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 18 July 2018 14:49 UTC

Return-Path: <christer.holmberg@ericsson.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 88991130F34 for <rtcweb@ietfa.amsl.com>; Wed, 18 Jul 2018 07:49:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.309
X-Spam-Level:
X-Spam-Status: No, score=-4.309 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_MED=-2.3, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 oyBiipGkDy_9 for <rtcweb@ietfa.amsl.com>; Wed, 18 Jul 2018 07:49:09 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8378F130EC0 for <rtcweb@ietf.org>; Wed, 18 Jul 2018 07:49:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1531925346; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=EfGqnCwtOf9Jo8+SCG4H4FJOIOJPtw1UTRwS5BGX34k=; b=fOj6bd94KI392W0K8p6KsIGFyZ/Qva/ivhEFa3yIAXS3rgsGsok22T1ub0gKmsWz tvPm/nME17NghxBRgwAIXl3jW/CKeuUqdqRJayjuUIgf+FqU/QTmu32JVBTq1FLP ig7SBcjHyea50XsjmyXFSxk4v2hinbTm2WXQU9F2JHA=;
X-AuditID: c1b4fb2d-223ff700000055ff-3f-5b4f536231db
Received: from ESESBMB502.ericsson.se (Unknown_Domain [153.88.183.115]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 1B.34.22015.2635F4B5; Wed, 18 Jul 2018 16:49:06 +0200 (CEST)
Received: from ESESBMB503.ericsson.se (153.88.183.170) by ESESBMB502.ericsson.se (153.88.183.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 18 Jul 2018 16:49:06 +0200
Received: from ESESBMB503.ericsson.se ([153.88.183.186]) by ESESBMB503.ericsson.se ([153.88.183.186]) with mapi id 15.01.1466.003; Wed, 18 Jul 2018 16:49:06 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Justin Uberti <juberti=40google.com@dmarc.ietf.org>, Ted Hardie <ted.ietf@gmail.com>
CC: RTCWeb IETF <rtcweb@ietf.org>
Thread-Topic: [rtcweb] IP handling: Using mDNS names for host candidates
Thread-Index: AQHUHg9Kl/rXQyx1OEGJeugnKutyHKST2E8AgAEORwCAACllYA==
Date: Wed, 18 Jul 2018 14:49:06 +0000
Message-ID: <ca8d7225c49f44d88dba899aeaed11b1@ericsson.com>
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>
In-Reply-To: <CAOJ7v-0A9twfPgfVOOLM-Wko3UYYky_EanM5GM1PGiXSyJex5A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.153]
Content-Type: multipart/alternative; boundary="_000_ca8d7225c49f44d88dba899aeaed11b1ericssoncom_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFIsWRmVeSWpSXmKPExsUyM2J7sW5SsH+0wfy1BhYt3UdZLdb+a2e3 aJxr58DscWLZFVaPnbPusnssWfKTKYA5issmJTUnsyy1SN8ugSvjwrMWxoKmzYwV7V1trA2M C9YxdjFyckgImEhMmHCIvYuRi0NI4CijxKTeBjYI5xujRNPSS6wQzjJGiaOr+5m7GDk42AQs JLr/aYN0iwhESSxffp4ZxGYWUJT4snw+G4gtLOAuse9aGxNEjYfEvvmtbBC2k0Tvo11sIGNY BFQlFl61BgnzClhLLJr/FWrVflaJqZtbGEFqOAUCJY58BxvPKCAm8f3UGiaIVeISt57MZ4J4 QEBiyR6IEyQERCVePv7HCmErSew9dp0Foj5Z4uurRSwQuwQlTs58wjKBUXQWklGzkJTNQlI2 C+gKZgFNifW79GdBPTml+yE7hK0h0TpnLjuy+AJG9lWMosWpxcW56UbGeqlFmcnFxfl5enmp JZsYgTF4cMtv3R2Mq187HmIU4GBU4uH18vOPFmJNLCuuzD3EKMHBrCTCe/C9X7QQb0piZVVq UX58UWlOavEhRmkOFiVxXr1Ve6KEBNITS1KzU1MLUotgskwcnFINjGrb6llN5b8p3vBW+pnx 3tDx+jwp9y9neBYryTEIdVZerGLLzuU1SM66VT9xtrjNoXvP+X8zuf7d5VZZvoMv7sE8j/Me afITa0tirOZ5c4h1p8/KUg9Jvb9No7CtvDa3/nPN1Tk7jp5n7b8cXnRqp/bLtRNDs6OMflRO FX1eInhyenpLsfkHJZbijERDLeai4kQAFzwnfr0CAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/iWONNtxWhevthiSJCfzW0RVxyys>
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:13 -0000

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<mailto:ted.ietf@gmail.com>> wrote:
On Tue, Jul 17, 2018 at 4:46 PM, Peter Thatcher <pthatcher=40google.com@dmarc.ietf.org<mailto: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<mailto: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<mailto: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<mailto: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<mailto:rtcweb@ietf.org>
https://www.ietf.org/mailman/listinfo/rtcweb

_______________________________________________
rtcweb mailing list
rtcweb@ietf.org<mailto:rtcweb@ietf.org>
https://www.ietf.org/mailman/listinfo/rtcweb