[core] Review of draft-silverajan-core-coap-protocol-negotiation

Jaime Jiménez <jaime.jimenez@ericsson.com> Fri, 02 March 2018 09:42 UTC

Return-Path: <jaime.jimenez@ericsson.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 83392127201 for <core@ietfa.amsl.com>; Fri, 2 Mar 2018 01:42:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.32
X-Spam-Level:
X-Spam-Status: No, score=-4.32 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-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 IY27naYl5sp4 for <core@ietfa.amsl.com>; Fri, 2 Mar 2018 01:42:26 -0800 (PST)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (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 7C2E21270AE for <core@ietf.org>; Fri, 2 Mar 2018 01:42:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1519983744; 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=exyMyDPQCOJiAxZRf+6pKseW/UA9iZl5cmACRNJ2PFo=; b=bbJ+4fTLyPRQQneJyDagpu/KRniJPLNOmqk+q9/ugC00oa4uTcrgVxMsTXnEAb/i oDe2hSW6wYkCWiDTnIYaClLwd43j3FsJPxAGTaNaXMXD2xuoYCSaYqdfPDymz3Am Lrof8VA9cH/IJKBkCwzl4qoLpo/zBxADEHBDV93z2+s=;
X-AuditID: c1b4fb30-3b1ff70000004778-c9-5a991c806f1f
Received: from ESESSHC010.ericsson.se (Unknown_Domain [153.88.183.48]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id 4A.89.18296.08C199A5; Fri, 2 Mar 2018 10:42:24 +0100 (CET)
Received: from ESESSMB107.ericsson.se ([169.254.7.88]) by ESESSHC010.ericsson.se ([153.88.183.48]) with mapi id 14.03.0352.000; Fri, 2 Mar 2018 10:42:24 +0100
From: Jaime Jiménez <jaime.jimenez@ericsson.com>
To: "core@ietf.org WG (core@ietf.org)" <core@ietf.org>
Thread-Topic: [core] Review of draft-silverajan-core-coap-protocol-negotiation
Thread-Index: AQHTsgrDKsZ251wL3Em/Q+oEjvu8LQ==
Date: Fri, 02 Mar 2018 09:42:23 +0000
Message-ID: <F2BF81BD-C09E-4738-BE90-9B3C92065899@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [194.157.54.14]
Content-Type: multipart/signed; boundary="Apple-Mail=_D339DD3E-8F9B-4E57-95CA-5E9F69153D36"; protocol="application/pkcs7-signature"; micalg="sha1"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFIsWRmVeSWpSXmKPExsUyM2K7gW6DzMwog+4p6hYXT8la7Hu7ntmB yWPJkp9MHvOnr2AMYIrisklJzcksSy3St0vgyrj3eA9TweeQilfzdzI2MDb5dTFyckgImEic XbKcsYuRi0NI4DCjxPcji6CcRYwS76ftZQapYhNwlvj0rJEdxBYRMJPYsusrK4jNLBAm8XX2 WrC4sICnxOen3SwQNQESM2/1MkLYehJvF/wFm8MioCIxY9NkMJtXwF5i9eaJTCA2o4CYxPdT a5ggZopL3HoynwniOhGJhxdPs0HYohIvH/9jhbAVJabMWskGciizwBRGifYlC5kghgpKnJz5 hGUCo9AsJLNmIaubhaQOoihJYs6ZH8wQtrbEsoWvoWxNif3dy1kwxTUkOr9NZIWwTSVeH/3I CGFbS8z4dZANwgY6sPsh+wJG7lWMosWpxUm56UZGeqlFmcnFxfl5enmpJZsYgbF4cMtvgx2M L587HmIU4GBU4uGdzDUzSog1say4MvcQowrQnEcbVl9glGLJy89LVRLhbfkwI0qINyWxsiq1 KD++qDQntfgQozQHi5I470lP3ighgfTEktTs1NSC1CKYLBMHp1QDY4jdVcsbJ0+8+NTv+t5n 75+Ls1VmCgpt0ZybNN/aOGJ9jd+56tKrJ38IJf5ROHORIXrJ0/xqB5OzpXsPTVU3clyw/fCP WuXKdfNVH/Jbzje2/xX96dHKNk9by61G5gzlb1j63X7E8ExZ8CjP4Pwh7b3T+4uyTv5sV9jk pVn1QKf3GEvw+7x9e5RYijMSDbWYi4oTAT5KRubNAgAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/-ixqb1VgQnhX7PRk4d9IxAxJjV0>
Subject: [core] Review of draft-silverajan-core-coap-protocol-negotiation
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 02 Mar 2018 09:42:28 -0000

Dear authors,

I had some time to review draft-silverajan-core-coap-protocol-negotiation-07, below is the feedback.

* The RD option: 
- have you thought about using this mechanism as a NAT traversal tool?
- what happens if any of the context on “at” is different than the one used to register the endpoint.
- is the lifetime of the registration also carried to the other transport (is the ep being registered on both transports)?
- are security associations between client and server reset when switching transport?
- I think the lookup example could benefit from a more complex lookup, for instance using “rt” or “et” with “tt”.

* Alternative transports option:
- I’m not sure about this but wouldn’t this force to mandate specific CoAP ports per transport?
- How large can the payload get? How many alternative transports are there? Can’t we assume that we keep the scheme and simply answer with the transport supported?

* “ol” attribute:
- typo: availabilty 
- this option, with no comment to how the context should be the same can redirect a client to another server, right? Is that what we want?
- OCF uses a similar link attribute called “eps”.
- there should at least exist an informative ref to core-link format.

The security considerations part will require quite a bit of work.
Implications on ETCH?
This draft is intended as informational, however at some point we should have some normative text too for implementors, right?

Ciao!
- - Jaime Jiménez