Re: [core] πŸ”” WGLC for Resource Directory

Peter van der Stok <stokcons@bbhmail.nl> Wed, 22 May 2019 09:04 UTC

Return-Path: <stokcons@bbhmail.nl>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A147F1200FF for <core@ietfa.amsl.com>; Wed, 22 May 2019 02:04:01 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bbhmail.nl
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 v_0FYZKEoYtN for <core@ietfa.amsl.com>; Wed, 22 May 2019 02:03:59 -0700 (PDT)
Received: from smtprelay.hostedemail.com (smtprelay0220.hostedemail.com [216.40.44.220]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4A9AE1200B1 for <core@ietf.org>; Wed, 22 May 2019 02:03:59 -0700 (PDT)
Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id 8B8E1180A812C; Wed, 22 May 2019 09:03:57 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bbhmail.nl; h= mime-version:content-type:date:from:to:cc:subject:reply-to :in-reply-to:references:message-id; s=key; bh=iwNYye1+gILGTIjpZN 8pjozBb+V+zxjVYNoO7tJvI24=; b=ZazbUgJzrJQhdEEVbeP0sDZ/9W4ic/vadS wgN+FEI211318KOBHYtDjIwaPeyHxglqWTIh5SXIqYJuUV1kilJxDJm9pEBlUoWT hpy1gs76oA9UdcBNyAlM8/pQ5CUzEmyYlCR4m7KeD8tRj3eXS2jaxShQMCNTBk9f NM2fQXLkM=
X-Session-Marker: 73746F6B636F6E73406262686D61696C2E6E6C
X-Spam-Summary: 2, -9, 0, , d41d8cd98f00b204, stokcons@bbhmail.nl, :::::, RULES_HIT:1:2:41:46:72:150:152:273:355:379:582:800:960:962:967:973:983:988:989:1152:1189:1208:1212:1221:1260:1313:1314:1345:1359:1431:1436:1437:1516:1517:1518:1575:1588:1589:1592:1594:1605:1712:1730:1776:1792:2068:2069:2198:2199:2525:2527:2528:2553:2557:2559:2566:2682:2685:2692:2693:2859:2900:2911:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3148:3586:3622:3769:3865:3866:3867:3868:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4049:4250:4321:4362:4425:4605:4860:5007:6117:6119:6261:6657:6659:6678:6691:7464:7774:7875:7903:8583:8603:9010:9025:9036:9040:9177:10346:10848:11232:11658:11914:11984:12043:12114:12291:12295:12379:12438:12555:12663:12683:12740:12895:12986:13139:13237:13255:13846:14096:14149:21060:21063:21080:21324:21433:21451:21627:21740:30029:30054:30060:30062:30070:30090, 0, RBL:216.40.42.5:@bbhmail.nl:.lbl8.mailshell.net-62.8.55.100 66.201.201.201, CacheIP:none
X-HE-Tag: range77_79cfcd4dbae4b
X-Filterd-Recvd-Size: 12655
Received: from mail.bbhmail.nl (imap-ext [216.40.42.5]) (Authenticated sender: webmail@stokcons@bbhmail.nl) by omf16.hostedemail.com (Postfix) with ESMTPA; Wed, 22 May 2019 09:03:57 +0000 (UTC)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_d2ecb6a05a9aad50e7975456d00f515a"
Date: Wed, 22 May 2019 11:03:56 +0200
From: Peter van der Stok <stokcons@bbhmail.nl>
To: Ted Lemon <mellon@fugue.com>
Cc: core@ietf.org, Stuart Cheshire <cheshire@apple.com>
Organization: vanderstok consultancy
Reply-To: consultancy@vanderstok.org
Mail-Reply-To: consultancy@vanderstok.org
In-Reply-To: <EBFF17D7-86DF-4C3E-B69E-EF69206A6D17@fugue.com>
References: <AM5PR0701MB230754CF5CD643B6B7DC1A7697420@AM5PR0701MB2307.eurprd07.prod.outlook.com> <EBFF17D7-86DF-4C3E-B69E-EF69206A6D17@fugue.com>
Message-ID: <02585a832a91742de93f6d311259ae61@bbhmail.nl>
X-Sender: stokcons@bbhmail.nl
User-Agent: Roundcube Webmail/1.2.7
X-Originating-IP: [83.201.248.185]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/nDUdAwcqQQ92CBhVE974ZjqSevg>
Subject: Re: [core] πŸ”” WGLC for Resource Directory
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 May 2019 09:04:02 -0000

Hi Ted,

thanks for your comments, and apologies for the late reaction.
Some discussions were needed.

please see below;

Greetings, 

peter
Ted Lemon schreef op 2019-03-25 14:06:

> On Mar 21, 2019, at 5:32 PM, Jaime JimΓ©nez <jaime.jimenez@ericsson.com> wrote:
> 
>> Please take some time to carefully review the latest version and provide feedback by 2019-04-17 , specially those of you that contribute to other organisations that make use of some version of the document.
> 
> Carsten asked me to look at the CORE server discovery text.   It mostly looks good, although I don't understand why there are so many options.   If the intention is to have different profiles for different types of constrained networks, it would be good to say that explicitly.   It doesn't make much sense to pre-configure _devices_ to discover the resource directory using different mechanisms.   If that is really what is intended, then how this is going to be managed should be discussed.
> 
> <pvds>
> The intention is not to specify a set of normative profiles but to guide implementers and users of the resource directory, dependent on their installation. The text can be used to check the presence of at least one of the mentioned facilities before installing and using a resource directory in a given installation. We think this text is helpful because installations can be very different and many bundary conditions need to be satified in, for example, a building control installation.
> The text of section 4.1 is proposed to be:
> 
> A (re-)starting device may want to find one or more resource
> directories for discovery purposes.  Dependent on the operational
> conditions, one or more of the techniques below apply.  The use of
> DNS-SD [RFC6763] is described in [I-D.ietf-core-rd-dns-sd].
> 
> The device may be pre-configured to exercise specific mechanisms for
> finding the resource directory 
> </pvds>
> 
> The text about DNSSD is somewhat problematic: 
> 
> 3.  It may be configured to use a service discovery mechanism such as
> DNS-SD [RFC6763 [1]].  The present specification suggests configuring
> 
> the service with name rd._sub._coap._udp, preferably within the
> 
> domain of the querying nodes.
> 
> DNSSD works by first enumerating services, then choosing a service from among those services, then connecting to that service.  It looks like the idea here is that the default server name will be "rd", but that isn't stated explicitly.   Some discussion about how devices are suppose to choose between advertised RD servers is necessary here.   If the intention is that only one RD server ever be present or discoverable, then you could say that enumeration is not done at all, but then this isn't much different than just using DNS to resolve the hostname.
> 
> <pvds>
> We intend to broach this subject in the rd-dns-sd draft. Point 3 in section 4.1 of RD draft is therefore suppressed.
> Indeed the procedure for discovering a dns-sd service is the one you describe. 
> Extra text is needed in rd-dns-sd draft to cover the case that not only the services described in the RD are discoverable via DNS but also the RD itself.
> 
> Thanks for pointing this out
> </pvds> 
> 
> Based on the discussions that I've had in certain other standards bodies on how to use Core RD, I think that leaving this very loosely specified is probably not the right thing to do.   If in fact the intention is that other per-network-type specifications will decide how Core RD servers will be discovered on networks of the type discussed by those specifications, then this document should be written to explicitly support that use.   If this is the case, what is said here isn't general enough. 
> 
> I'm writing this with the goal of starting the discussion, rather than saying what needs to be said, because I haven't been privy to the discussion that led to the text as it is written in the current document.   It would help to understand what the authors/wg had in mind when this text was written. 
> 
> Thanks! 
> Thanks,
> 
> Peter
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core
 

Links:
------
[1] https://tools.ietf.org/html/rfc6763