Re: [dnssd] draft-ietf-rtcweb-mdns-ice-candidates-02 feedback

youenn fablet <yfablet@apple.com> Thu, 07 March 2019 22:45 UTC

Return-Path: <yfablet@apple.com>
X-Original-To: dnssd@ietfa.amsl.com
Delivered-To: dnssd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 94F1013120F; Thu, 7 Mar 2019 14:45:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7
X-Spam-Level:
X-Spam-Status: No, score=-7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, 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=apple.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 OeCwpX7McLUm; Thu, 7 Mar 2019 14:45:30 -0800 (PST)
Received: from ma1-aaemail-dr-lapp02.apple.com (ma1-aaemail-dr-lapp02.apple.com [17.171.2.68]) (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 060A51311C4; Thu, 7 Mar 2019 14:45:29 -0800 (PST)
Received: from pps.filterd (ma1-aaemail-dr-lapp02.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp02.apple.com (8.16.0.27/8.16.0.27) with SMTP id x27MfpqG050650; Thu, 7 Mar 2019 14:45:28 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=mime-version : content-type : sender : from : message-id : subject : date : in-reply-to : cc : to : references; s=20180706; bh=0fclr87PGexqcaRVanmgXaJDa5ikxTMtBAkWvGJ4E6c=; b=CSaqc7RvV18X6d7N42SK5Et84PXP2ap1GC3TlYHo7BifS5o9iXFzi4yxFSwWGDUj+8K9 sAAO+FvzdzvE9M+SsppVIwXwg+5YyzZphG7sV0qLoy4q8aFQgbAEc1EnQg1tK64GfJ// d6Z788VeIbWF1jI0SJjGwbZmlLlvlbFjUD1HVPrEKfSFqokQZDlmR4qDVkgOHscOjD5r N0lJ+NjPFMWuLlHzxajTWCZhEJ/T0KUOnHuAWQwjRU27qw3HC1for15prbAr4qOwYK6+ 46v/MRnSNWxd2bXCs1Ehav3bL32fj8kKCNfqPLa/isi7IMF3x0Xzlh5/cozf2LPgZlOA uw==
Received: from ma1-mtap-s02.corp.apple.com (ma1-mtap-s02.corp.apple.com [17.40.76.6]) by ma1-aaemail-dr-lapp02.apple.com with ESMTP id 2qyqd46egv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 07 Mar 2019 14:45:28 -0800
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_1BgXPFzxl0lZrxmPhPdJuQ)"
Received: from nwk-mmpp-sz12.apple.com (nwk-mmpp-sz12.apple.com [17.128.115.204]) by ma1-mtap-s02.corp.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) with ESMTPS id <0PO000HVJPVKAFB0@ma1-mtap-s02.corp.apple.com>; Thu, 07 Mar 2019 14:45:28 -0800 (PST)
Received: from process_milters-daemon.nwk-mmpp-sz12.apple.com by nwk-mmpp-sz12.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) id <0PO000G00O8ZD900@nwk-mmpp-sz12.apple.com>; Thu, 07 Mar 2019 14:45:27 -0800 (PST)
X-Va-A:
X-Va-T-CD: 46089963636650ba3f6b170c8994862d
X-Va-E-CD: 171740ecac2ad434e37d98dc99469f23
X-Va-R-CD: c86a0762f803f6ca7b13bd98680e1e43
X-Va-CD: 0
X-Va-ID: a15d0df0-33ad-4ff7-bf34-99bc54fe0a79
X-V-A:
X-V-T-CD: 46089963636650ba3f6b170c8994862d
X-V-E-CD: 171740ecac2ad434e37d98dc99469f23
X-V-R-CD: c86a0762f803f6ca7b13bd98680e1e43
X-V-CD: 0
X-V-ID: 9e1d72a6-f920-4003-8b69-0b0fc356fcd8
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-07_14:,, signatures=0
Received: from [17.230.129.183] (unknown [17.230.129.183]) by nwk-mmpp-sz12.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) with ESMTPSA id <0PO000J6BPVOXBE0@nwk-mmpp-sz12.apple.com>; Thu, 07 Mar 2019 14:45:25 -0800 (PST)
Sender: youenn@apple.com
From: youenn fablet <yfablet@apple.com>
Message-id: <A84C3110-38E4-4E03-9626-495B2C84F2F4@apple.com>
Date: Thu, 07 Mar 2019 14:45:24 -0800
In-reply-to: <0F7AE115-8EFA-416E-9FEE-C3FEC29A698C@bangj.com>
Cc: draft-ietf-rtcweb-mdns-ice-candidates.authors@ietf.org, dnssd <dnssd@ietf.org>
To: Tom Pusateri <pusateri@bangj.com>
References: <C069934A-C5ED-48CA-A857-AE457A3566D3@bangj.com> <BB5F54A4-FEC9-4985-B5F3-7660AC312D2E@apple.com> <761DD42B-5C35-480C-9C7C-860A3002BB65@bangj.com> <0F7AE115-8EFA-416E-9FEE-C3FEC29A698C@bangj.com>
X-Mailer: Apple Mail (2.3445.104.2)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-03-07_14:, , signatures=0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/IOOJTBqPzvXnfLsIuzHg_ghw8BY>
Subject: Re: [dnssd] draft-ietf-rtcweb-mdns-ice-candidates-02 feedback
X-BeenThere: dnssd@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion of extensions to DNS-based service discovery for routed networks." <dnssd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnssd>, <mailto:dnssd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnssd/>
List-Post: <mailto:dnssd@ietf.org>
List-Help: <mailto:dnssd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnssd>, <mailto:dnssd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Mar 2019 22:45:33 -0000


> On Mar 7, 2019, at 2:35 PM, Tom Pusateri <pusateri@bangj.com> wrote:
> 
> To be more clear, by “why use mDNS?” if the announcing host and the resolving host are the same, I really mean it would be wasteful to use mDNS for inter process communication and wake up every mobile device radio on the same link, but if you think this is still your best option, you should spell it out.

The common case is for the two to be different.
Nothing prevents the two to be the same though and it should equally work.

> 
> Thanks,
> Tom
> 
>> On Mar 7, 2019, at 5:04 PM, Tom Pusateri <pusateri@bangj.com <mailto:pusateri@bangj.com>> wrote:
>> 
>> Ok, it was not obvious from all the components that the IP addresses were owned. In that case, I agree that normal mDNS applies and no extension to RFC 6762 is required.
>> 
>> Maybe a better description of which host is announcing the name and which host is resolving the name would help? Unless it’s all on the same host and then, why use mDNS?
>> 
>> Thanks,
>> Tom
>> 
>>> On Mar 7, 2019, at 4:51 PM, youenn fablet <yfablet=40apple.com@dmarc.ietf.org <mailto:yfablet=40apple.com@dmarc.ietf.org>> wrote:
>>> 
>>> Hi Tom,
>>> 
>>> 
>>> Thanks for the feedback.
>>> Please find some comments inline,
>>> 	Y
>>> 
>>>> On Feb 17, 2019, at 12:13 PM, Tom Pusateri <pusateri@bangj.com <mailto:pusateri@bangj.com>> wrote:
>>>> 
>>>> While this document is an RTCWEB document, it’s more about mDNS and so I’m going to give feedback directly to the authors and the DNS-SD group instead of the RTCWEB group (which I’m not a member). If the authors want to replicate this discussion on RTCWEB, please do so.
>>> 
>>> It is at a RTCWeb/ICE/DNS-SD crossing point.
>>> Wherever that document goes, I think it is good to get feedback from all groups.
>>> 
>>>> 
>>>> Overall, it’s an interesting idea and I think it could work ok. However, I think presentation around ICE, while motivating the idea, is not necessary for a general purpose third party mDNS name aliasing mechanism. I would remove all references to ICE, WebRTC, TURN, etc. and just make a simple mDNS third party name alias registration document.
>>> 
>>> I think the scope of this proposal is narrower than your interpretation.
>>> A device may want to not expose its own private IP address to a web page.
>>> In that case, it will register a MDNS name for its own private IP address and disclose the MDNS name to the web page instead of its IP address.
>>> While the idea is interesting and potentially useful, I think the ability of a device to register names for other device IP addresses is out of scope of this particular document.
>>> 
>>>> 
>>>> As part of that, you need to discuss defending the name and responding to queries for the name since the owner of the IP address will not do this.
>>>> 
>>>> Section 3.1
>>>> ===========
>>>> 
>>>> List Item 1:
>>>> 
>>>> Someone familiar with mDNS would interpret this as an existing registered mDNS host name. I don’t think that’s what this means. I think this means an existing RFC 4122 unique name as described further down in the document.
>>>> 
>>>> List Item 3:
>>>> 
>>>> This makes it seem like normal mDNS is occurring here when it’s really a 3rd party form of mDNS. So you’re not really following RFC 6762. I don’t think there’s necessarily a problem with 3rd party registrations but don’t point people to RFC 6762 for that. In fact, you’re extending RFC 6762 and you need to describe in more detail how you’re extending it.
>>> 
>>> This document might need clarification on that point: the IP address that is registered is always from the device doing the MDNS registration.
>>> Discussion is ongoing at https://github.com/rtcweb-wg/mdns-ice-candidates/issues/94 <https://github.com/rtcweb-wg/mdns-ice-candidates/issues/94> on how to best clarify this.
>>> 
>>>> 3rd last paragraph:
>>>> 
>>>> "with both IPv4 and IPv6 addresses MUST expose a different mDNS name for each address."
>>>> 
>>>> Again, you’re talking about RFC 4122 unique names, not regular mDNS names as provided by a host. This should be made more clear since it would be common for an mDNS host to use the same name for IPv4 and IPv6.
>>>> 
>>>> 
>>>> Section 4
>>>> =========
>>>> 
>>>> 2nd paragraph:
>>>> 
>>>> When more than one IPv4 or more than one IPv6 address is present, it seems like it would be better to first prefer an address that is on a shared network instead of always taking the first one (which doesn’t mean anything in DNS). If you want others to use the same address you should prefer the lowest one or the highest one or something sortable instead of the first one which could be different depending on hashing in a cache.
>>> 
>>> Right, we could try to make a better suggestion here, as long as it remains simple.
>>> Discussion is ongoing at https://github.com/rtcweb-wg/mdns-ice-candidates/issues/93 <https://github.com/rtcweb-wg/mdns-ice-candidates/issues/93>.
>>> 
>>>> 
>>>> Thanks,
>>>> Tom
>>>> 
>>>> 
>>> 
>>> _______________________________________________
>>> dnssd mailing list
>>> dnssd@ietf.org <mailto:dnssd@ietf.org>
>>> https://www.ietf.org/mailman/listinfo/dnssd <https://www.ietf.org/mailman/listinfo/dnssd>
>> _______________________________________________
>> dnssd mailing list
>> dnssd@ietf.org <mailto:dnssd@ietf.org>
>> https://www.ietf.org/mailman/listinfo/dnssd
>