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

Ted Lemon <mellon@fugue.com> Mon, 25 March 2019 13:06 UTC

Return-Path: <mellon@fugue.com>
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 591E11203F0 for <core@ietfa.amsl.com>; Mon, 25 Mar 2019 06:06:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20150623.gappssmtp.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 jiYdxBB7uhLF for <core@ietfa.amsl.com>; Mon, 25 Mar 2019 06:06:09 -0700 (PDT)
Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (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 1E90C1203FD for <core@ietf.org>; Mon, 25 Mar 2019 06:06:09 -0700 (PDT)
Received: by mail-wr1-x432.google.com with SMTP id p10so10082884wrq.1 for <core@ietf.org>; Mon, 25 Mar 2019 06:06:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=Pz46HY8dNZcFjV7N9MfoUYcYenc6Nw6X8sXhu+gDtQI=; b=efI7PlCVx6Qqoe7wqLFK4I0swJvkrFIOm3wwfYl09plixbS04FA7SABSaIprS7v/z2 i7N1/oRIRHbV6tH0ZwpVe8Js7iIl6SGajY3Oitg+XbOChxsdBUk0Ze+hxxY86rqEJFdZ 85CRKbqsZPuYU7OYzoWntHV+QTHRtZTNtf2kZ59hLWa+v0UXrcYrNcYxXd7OmYNWCY9O mr/MwbCZ3lV6OsFCziPOo3MXxB5+cU6XNiUlNmiog2gsyLcUiJLYqeRK+6LUfslTT/6d N+peg5ecr/gIfd8LXerpqCu8hxiBy2xQZ7W5Ta6123CndKLpEFPlpeCfo7tesOvokJdy Sh5g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=Pz46HY8dNZcFjV7N9MfoUYcYenc6Nw6X8sXhu+gDtQI=; b=PYLZ7tKUkGSZjMirLq7Fya6ap/EuybT/udgh3psiumeAD0/jPuJ4YsZJmwpz1diQ0l 4hHs4B2KeYDaWBeBfB6GLC4ezQw3o6PaaBnWaGXePOhzU1iepwQc4iPsN7xYPfbu6e73 Dtv+ADx1gb0qVV0GZO5xETLmTyx0v32NxAkKIzZPdjrOdBt0+lI27FkE3YcH1h4XFXMz D62woNka6COgRt/t2fCaWGYrNC8dLIg77bpYkUgvmJJ/U8tUGsWDybCifr32T47vm6L5 tA5H13ErMX43ps9wZpsyw44/E5BZbohx+M4TKM9wUlekFSWJgnoQDgxqmmxCyAQNmafI JUJA==
X-Gm-Message-State: APjAAAXk4O7KEnljfwSVAw3YnFHOX3B3a6D5Ge7kDe3M2YHpG1kpUj9U CbXoQgjH9suUjyUF1agcmNeo4dgNBw/2xzLL
X-Google-Smtp-Source: APXvYqwGDFK6+8y2MqvHl7hIwumYLevedcMYBKERIfGoDwmxXfeXaeqXUrT9McHrHD6f59nhDwP1LQ==
X-Received: by 2002:a5d:6b4a:: with SMTP id x10mr15316420wrw.63.1553519167294; Mon, 25 Mar 2019 06:06:07 -0700 (PDT)
Received: from dhcp-889a.meeting.ietf.org (dhcp-889a.meeting.ietf.org. [31.133.136.154]) by smtp.gmail.com with ESMTPSA id s21sm14731013wmh.22.2019.03.25.06.06.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Mar 2019 06:06:06 -0700 (PDT)
From: Ted Lemon <mellon@fugue.com>
Message-Id: <EBFF17D7-86DF-4C3E-B69E-EF69206A6D17@fugue.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_7FEC9ADF-5FF7-479E-9249-231B31FD19D2"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.2\))
Date: Mon, 25 Mar 2019 14:06:04 +0100
In-Reply-To: <AM5PR0701MB230754CF5CD643B6B7DC1A7697420@AM5PR0701MB2307.eurprd07.prod.outlook.com>
Cc: Stuart Cheshire <cheshire@apple.com>
To: "core@ietf.org" <core@ietf.org>
References: <AM5PR0701MB230754CF5CD643B6B7DC1A7697420@AM5PR0701MB2307.eurprd07.prod.outlook.com>
X-Mailer: Apple Mail (2.3445.104.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/0RDeeVTomt-kn6iFuCvdZodOCL0>
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: Mon, 25 Mar 2019 13:06:13 -0000

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.

The text about DNSSD is somewhat problematic:

   3.  It may be configured to use a service discovery mechanism such as
       DNS-SD [RFC6763 <https://tools.ietf.org/html/rfc6763>].  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.

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!