Re: [core] Fwd: New Version Notification for draft-silverajan-core-coap-protocol-negotiation-04.txt

Christian Amsüss <c.amsuess@energyharvesting.at> Wed, 16 November 2016 07:34 UTC

Return-Path: <c.amsuess@energyharvesting.at>
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 DFE9D1294D4 for <core@ietfa.amsl.com>; Tue, 15 Nov 2016 23:34:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
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 rz3kmGOJzwj4 for <core@ietfa.amsl.com>; Tue, 15 Nov 2016 23:34:05 -0800 (PST)
Received: from prometheus.amsuess.com (prometheus.amsuess.com [5.9.147.112]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D11941294C6 for <core@ietf.org>; Tue, 15 Nov 2016 23:34:04 -0800 (PST)
Received: from poseidon-mailhub.amsuess.com (095129206250.cust.akis.net [95.129.206.250]) by prometheus.amsuess.com (Postfix) with ESMTPS id 1B5464004B; Wed, 16 Nov 2016 08:34:02 +0100 (CET)
Received: from poseidon-mailbox.amsuess.com (poseidon-mailbox.amsuess.com [10.13.13.231]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 4E43859; Wed, 16 Nov 2016 08:34:01 +0100 (CET)
Received: from hephaistos.amsuess.com (hermes.amsuess.com [10.13.13.254]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id E22163D6; Wed, 16 Nov 2016 08:34:00 +0100 (CET)
Received: (nullmailer pid 14984 invoked by uid 1000); Wed, 16 Nov 2016 07:33:56 -0000
Date: Wed, 16 Nov 2016 08:33:56 +0100
From: Christian Amsüss <c.amsuess@energyharvesting.at>
To: Bill Silverajan <bilhanan.silverajan@tut.fi>
Message-ID: <20161116073355.o5xfjljktofcjhe4@hephaistos.amsuess.com>
References: <147794779162.23193.6769793631552741634.idtracker@ietfa.amsl.com> <7c2d4c7c-526a-7fd3-b1c4-c58f141a5720@tut.fi> <20161114155034.stnigqulniww7nji@hephaistos.amsuess.com> <d6d672aa-a972-9a8c-6f0e-dcd4ca24b758@tut.fi>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="adtdpo7cyc3dpolx"
Content-Disposition: inline
In-Reply-To: <d6d672aa-a972-9a8c-6f0e-dcd4ca24b758@tut.fi>
User-Agent: NeoMutt/20161104 (1.7.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/xJ8jPWo3_HGdlduysTuN9GUQxQI>
Cc: core@ietf.org
Subject: Re: [core] Fwd: New Version Notification for draft-silverajan-core-coap-protocol-negotiation-04.txt
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.17
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, 16 Nov 2016 07:34:07 -0000

Hi Bill,

thanks for your response.

On Tue, Nov 15, 2016 at 06:26:54PM +0200, Bill Silverajan wrote:
> I think this is a very interesting point when it comes to using CoAP over
> reliable transports such as TCP and WebSockets with the RD. While UDP
> sockets allow reuse and peer-to-peer communication, the same cannot be said
> for the others. i.e. if you're registering with a reliable transport
> protocol, I assume you must use "con", since the endpoint would use a
> different location (or a system generated client random port number in
> userspace) than the CoAP server endpoint.

You are right about the port number, I didn't think of that. I'll go
through the RD and TCP drafts again to check whether this needs further
notes.

> One thing: The CoAP URI for (secure) WebSockets as defined in core-tcp-tls
> does not specify a path component for the Websocket endpoint. It was too
> tricky to do location/identification by separating the path components for
> the websoocket endpoint away from the CoAP resource. However, this problem
> is addressed in this draft.

Indeed; then the example in 4.2 needs updating to drop the /ws/, doesn't
it? (I suppose that it is neither to mean that clients should connect
their web-sockets to ws://.../ws/ instead of .well-known/core, nor that
they should prefix /sensors/temp into /ws/sensors/temp when sending a
request to the WS).

> So technically all four lookup types (including d and gp)

I'm looking forward to seeing the gp applications you mentioned in the
presentations.

> "tt" can be used to look up a specific transport type (or * for all). I'm
> not sure if it needs a default value?

The default value would describe what protocol-negotiation-unaware
clients would receive, I think this does deserve mention.

Best regards
Christian

-- 
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom