Re: [core] Review of draft-silverajan-core-coap-protocol-negotiation
Bill Silverajan <bilhanan.silverajan@tut.fi> Wed, 07 March 2018 17:47 UTC
Return-Path: <bilhanan.silverajan@tut.fi>
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 C675D12E058 for <core@ietfa.amsl.com>; Wed, 7 Mar 2018 09:47:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.908
X-Spam-Level:
X-Spam-Status: No, score=-2.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=tutfi.onmicrosoft.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 Vx0g-SMRTlhJ for <core@ietfa.amsl.com>; Wed, 7 Mar 2018 09:47:24 -0800 (PST)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20095.outbound.protection.outlook.com [40.107.2.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1A1D712DA12 for <core@ietf.org>; Wed, 7 Mar 2018 09:47:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tutfi.onmicrosoft.com; s=selector1-tut-fi; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=xITf17mQEHBkj79Z1bJtMC6JQdMFgMeWrCtpkJVYqgM=; b=NUD6QHR39VVYJYkHAbDHhs+t4b3N1ojQwtIwj5ydiC+nXQKT3GH1n/+i4IyAjRQIM3lqimNfSNU00gWXn9XP2QdGmkUbAwvKN4lxZQy55MHNokBGCTlpCchJSqdMQdu/KZ5YroYylFHOUdTJVnnjocs4GHZksOLdEDbDiS0xOP8=
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=bilhanan.silverajan@tut.fi;
Received: from Bilhanans-MacBook-Pro.local (83.145.195.18) by VI1PR02MB1087.eurprd02.prod.outlook.com (2a01:111:e400:5343::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Wed, 7 Mar 2018 17:47:19 +0000
From: Bill Silverajan <bilhanan.silverajan@tut.fi>
To: Jaime Jiménez <jaime.jimenez@ericsson.com>, "core@ietf.org WG (core@ietf.org)" <core@ietf.org>
References: <F2BF81BD-C09E-4738-BE90-9B3C92065899@ericsson.com>
Message-ID: <8a6073c5-2d36-99e9-582f-5458fd2fd55f@tut.fi>
Date: Wed, 07 Mar 2018 19:47:08 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <F2BF81BD-C09E-4738-BE90-9B3C92065899@ericsson.com>
Content-Type: multipart/alternative; boundary="------------20F1774174ED13F1814F76F3"
Content-Language: en-US
X-Originating-IP: [83.145.195.18]
X-ClientProxiedBy: HE1PR0902CA0009.eurprd09.prod.outlook.com (2603:10a6:3:e5::19) To VI1PR02MB1087.eurprd02.prod.outlook.com (2a01:111:e400:5343::19)
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 3478f7e9-b6d0-46e2-06a8-08d5845379f2
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR02MB1087;
X-Microsoft-Exchange-Diagnostics: 1; VI1PR02MB1087; 3:37HcK3etGN1NBS5wtlF7jApsbFigBUAB6JK8W5NZ4fHx1W06oU1Z3AlAzA7R48sGrbRHrcxBzZPPjzE/FY818rb7J+/Xlw4Kv048C8Odu6MHdVnItF1Tp7SSpj8Fj8N82QNBRJQ1BOC/v5ohPGjMzTcg4KgXlfR1Bz+Gx9/zUQ6iMnW7YNlf679yf4wtXoHyN/NjGbk8oc60Xhwz+pYZ88WxzH9ETlUfn19gxIBjbYyIayoiivS9tqq7re8S32Bf; 25:vzLWykWOqsBEI3fwxzjl3vruy5khm4LZGKYBTR5F6QaEtlYVgyv59dpFu4AjzW4QuR/3D7yTiQQsyid7hzUFOKW0jYUzCnEnfDrVedhcQ2mJh0cW4rYd7O1VmDTHT3EkPjv32fIt4VvUm62TOhgaJKO7zPFYpq6evGo6j8MA6RkDpf8vaFLOidJN1H643qOdO3p7Od8RGiMz3jSz37K+x65yDFbuu4KeJ/5hsba/RPZHsgHZld9iF+d+hYegulGY4OGjO39T6oPpaJH8mlo9odGcxOKZLydMzjJDN5q7KiTxsCP+nPa07Gre/13FfXLXbb4m8OzCrwbwe7eL3WO4Bg==; 31:U7bS/JZg8LdJcVhpvRZmuAeWHioPl2P0dvDB2Vw+JMbrDkgHsoehnyJF84VogDO6VMLYsam90L2qBvJUqdGZT3JEBRGHBF0o/ujvO1+8P/C2SrGqocSSJngZVD74dHonDUNBmbZGD1xj+r7SaPpyjuva2V3SnOWLBPHXhKCyZ3NhF55HJR74+b5SFjKn3NAulucKAB8kFklHljBCOlMS2fAVkBS4F5s3usUWliUUNcg=
X-MS-TrafficTypeDiagnostic: VI1PR02MB1087:
X-Microsoft-Exchange-Diagnostics: 1; VI1PR02MB1087; 20:RK8+vNI46FwMChmXoK615A0iLMQ34inlm/JV5vF9cW36BzPd1PPN9QM1MGGX3z7Jxh4HE8jJvdc/iVCiTV8hDvZhMYGouygBXN/AfcU4qAKh0+INhO9QfqLOgnT98VFRornxMujgQVbXDc7Ukp62/SbyNvlo3cDLQL0M4LV4qJAyYkbaOuD29m2ClLVOTXAsx+bQeZb3Wtjw+BOonFUyN1vhs8x9MX/joQkhi4Aj+6qbEHmlNP1NMpXyf5bwegDECw6mn2wpZLIWv1NQC0A8Tf4VQiDGNtWl6VL6CW+iWfrMAgXzaDbMNJHxCCyP3jogpQVS7wNcZhKHWniwbIbLZA==; 4:Zf9mOSVoovmrXE1ZaSj8GpXLdaFdCLor3UY6eRaoLWoPAiCGE6/ii88ZGS7oNWMPQU5+PJONH97ZOcrL7QBxZXG45tYN+jHa09t1hXt/xXuOvmxdam4iGEesLm9nqppx4DXhHLmtM65Bp9gglMGwS8i/RBzUVpqdR+e5m+WEs2nIhbijlzCjYyNYtZmyS6f4k646LoFTQoKHovIt19yVlPojft+8xlfbAh0LImAbEWl6YLXSxE2MY98fhLMYRtpOpWvV7xHLyI1Qz5ofOjPZ+P1/vGhcQuklog9c3rAiPYXNrvkIsookaaRczfX/TXjESLDr4kImkL57ElhI6RpBg/twMx82CCyMvJ0IBSpqNB1UQIPxgvBR/NYFlyLmfUyzp+B8ywuXWfF/zC+q4k7Q7eljRVUKGTaeNA9yUe4F55Y=
X-Microsoft-Antispam-PRVS: <VI1PR02MB1087E4B51F50B29BB527A84F9CD80@VI1PR02MB1087.eurprd02.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(37575265505322)(158342451672863)(120809045254105)(192374486261705);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(3002001)(6041288)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011); SRVR:VI1PR02MB1087; BCL:0; PCL:0; RULEID:; SRVR:VI1PR02MB1087;
X-Forefront-PRVS: 0604AFA86B
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(396003)(39850400004)(39380400002)(376002)(346002)(366004)(189003)(199004)(59450400001)(5660300001)(64126003)(6506007)(31696002)(6666003)(65826007)(478600001)(606006)(6486002)(105586002)(386003)(786003)(316002)(2950100002)(236005)(106356001)(54896002)(6306002)(25786009)(6512007)(65806001)(66066001)(65956001)(53936002)(81156014)(81166006)(31686004)(8676002)(26005)(6246003)(186003)(97736004)(16526019)(8936002)(6116002)(68736007)(58126008)(3846002)(74482002)(86362001)(2906002)(229853002)(16586007)(33896004)(37036004)(966005)(52116002)(7736002)(110136005)(76176011)(84326002)(36756003)(33964004); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR02MB1087; H:Bilhanans-MacBook-Pro.local; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
Received-SPF: None (protection.outlook.com: tut.fi does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: 1; VI1PR02MB1087; 23:NJaD217Dy4td/5owUFt/qOZa7DaNrmpxF/PIZ6LP+BQ8/ztOIxvzLoPoBlkSK+zCM6t8K14VU/0SNCr0ymJ+dzmoGfEqiKrLu/yClypyNTn8zuYEpKtnl0mtqfXjyHSx1ic1xjkDW4zqUQhiiynM1VYZbpFzrGRvX2iwdWasFRxXOV+RcIwUb8vjUL70HwoeOOhZqdzs4c7Mfdog6GkknreqnFj0xTGCagPWeK9yU3WfW9wsfB2XG9CjmBOCUDmQ6+92HBssYsQcV/lkTVYq9bLIXjs/36P+thJLCe8wiaaLu4o1b7Ha6k03vxQDxd1pTJNT7pI3oWKRrDxna/lQW7BkmWfqHeihltKVoRd0qBM/iZJFENbgD61wDQkejKI8XZvRlM8l/8vwld5Dzc/B6QIYF9piM3OnUcHMrrWAtVz4Lbh5gXNuXXjEIXzE+BzVCyHaG4oKOxmWsN1pT7V+kJ/cxZnogyovg25BxjmyN48MCFdwhTq2C9YPkK4Yu/Kex7sZuZmR46Vptlw/yuVwkyJ82IagHECtRSkjsqrJ2jLF4BFi/eoopOvX5g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087; 6:HYXrU6hWLOyybnF727aXxxaxfps1E5qGbph+mnWatWyHPpYJAGOETsd2MiknQiSj+aHH4gwYlsPkzCb4nDPxSSXwY3D0jC+xspQeJFobQjy9RkTIDpsX4BbOwTAIOd7SL8AeaPLypROZbQUcMTYoNQiwL6WyBiRjrDD3BgJbxuA3ovn3tSij/AP3q0idGFPP/ROR7nBhtCU8cQnsWmk7hC6kW3gbPJFwSrJu1jEm1PR5nq/2zkhU9ibGA3X0P08tSQUrKIR9NmhgEdQig1GXkWhn2lHgb4GnwTN6bAjfVZmUtmdpxR8z4w3oy8hTMUqua1C2YEmi/YZuQ8sFBDowaDC8GDGE2NaGwaH2T6jRgtA=; 5:LPfutos8jzD3D+Akn0QUKsO51X2sMZ6SR4YaLadyO76zR/fVbs0L6Lp8SrgaSr43aNo/lcUh+k0R0jtjib1Y9hBRiTGT4Dr59e6qCK/Qiaz0D7ZBfNk9/3vR0lYfO9/VLbS2MBmcXLoavfPyHvTMydpuEaPVm/NJAJyWHGRlNuE=; 24:FTmHBw4sU/XoSvsaME8k1rj0+dXQvWBytCIFIienA7mMkV8qBuFCcNy/D7Fdw5Ec7cfsH4A7SiTeDMuF8OB7lXIZK5JRa/mR4z9+hdzMBAE=; 7:8RpfW7m68pHkUpKplSM3cWetCTg3HJn4Liwf1GMcZgGhONihgakK3wErDB/TJllRgU7aGINRL+o3q6ieb1t6UG28orA6UdyRDJ5rJgZMgd3vbF2NgQoDTOL9TKLwlylz8CyvMQfFl5BHr36zJZcKbdZKf+oxIkdUuMa297IBDZrXI1QlVTUfvnRHo7OhvoH4L+k+8x4TR0CtWkR5HugcfAbmVQcSbPVor3PtE5pO83PTOOahBWLuLXrnddm64IUL
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: tut.fi
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2018 17:47:19.7568 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 3478f7e9-b6d0-46e2-06a8-08d5845379f2
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 271a0e2b-2a07-4d45-840b-ca860972fd60
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR02MB1087
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/FnNSF2AzQAKAvr5ZYD4GZVdTGSE>
Subject: Re: [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: Wed, 07 Mar 2018 17:47:43 -0000
Hi Jaime, Thanks for reviewing the document! Below are responses to what you wrote: Jaime Jiménez wrote: > 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? It potentially can, if the RD is reachable by both client and server, and there is some sort of keep-alive mechanism at the NAT. There was also a discussion about a potential "coap+at", or an "all-transports" happy eyeballs approach based on Thin ICE which might also help. > - what happens if any of the context on “at” is different than the one > used to register the endpoint. If you're referring to the usage of "at" to the use of "con", it's specifically because we wanted to avoid overloading the semantics of "con", which can be used by commissioning tools. So, you can have both parameters present. > - is the lifetime of the registration also carried to the other > transport (is the ep being registered on both transports)? In short, yes. We thought of introducing lifetime per transport but it turned out to make it more complicated. The current approach allows the server to update the "at" list every time it sends a registration update on RD. This way, transports discovered from RD are always available. > - are security associations between client and server reset when > switching transport? Currently, yes. There are no session resumption/information exchanged between transports defined yet. > - I think the lookup example could benefit from a more complex lookup, > for instance using “rt” or “et” with “tt”. That's a good idea and we introduced that now in version -08 > > * Alternative transports option: > - I’m not sure about this but wouldn’t this force to mandate specific > CoAP ports per transport? Yes they should be standard, but the idea was also to show non-standard ports as there will always be endpoints exposing transports on different ports than the standard ones > - 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? > We can't do that all the time and elide the authority. For example supporting sms, you'd have a different authority. There could also be many alternative transports available, e.g. exposing on different ports. > * “ol” attribute: > - typo: availabilty Thanks, fixed. > - 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? Not necessarily to another server but to another location, could be hosted on the same server. Obviously, if the authority changes, the security considerations for these kinds of alternate endpoints (that OCF also proposed) should be looked at more carefully. > - OCF uses a similar link attribute called “eps”. The idea was to align "ol" with OCF's "eps" so that per-resource alternate locations can also be supported. This came from Dave's slides in IETF 99. See slide 19: https://datatracker.ietf.org/meeting/99/materials/slides-99-core-consolidated-slides/ > - there should at least exist an informative ref to core-link format. I missed this comment for -08, sorry. Will be added for -09. > > The security considerations part will require quite a bit of work. Particularly for alternate locations, agree on this. > Implications on ETCH? Did you mean using FETCH to request for alternate locations? That would work as a substitute for the Alternative-transports Option, if we can devise a CoRE link that can express alternate transport endpoints on a server. > This draft is intended as informational, however at some point we > should have some normative text too for implementors, right? > That would be great. Also for some feedback from implementers! Best regards, Bill
- [core] Review of draft-silverajan-core-coap-proto… Jaime Jiménez
- Re: [core] Review of draft-silverajan-core-coap-p… Bill Silverajan
- Re: [core] Review of draft-silverajan-core-coap-p… JinHyeock Choi
- Re: [core] Review of draft-silverajan-core-coap-p… Bill Silverajan
- Re: [core] Review of draft-silverajan-core-coap-p… JinHyeock Choi
- Re: [core] Review of draft-silverajan-core-coap-p… Jaime Jiménez
- Re: [core] Review of draft-silverajan-core-coap-p… Ari Keränen