[core] Comments and questions on draft-jarvinen-core-fasor-02

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 20 November 2019 05:06 UTC

Return-Path: <christer.holmberg@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 2AEAB12011E for <core@ietfa.amsl.com>; Tue, 19 Nov 2019 21:06:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 e7Qs11ewBhsK for <core@ietfa.amsl.com>; Tue, 19 Nov 2019 21:06:32 -0800 (PST)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00081.outbound.protection.outlook.com [40.107.0.81]) (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 1FC8A120033 for <core@ietf.org>; Tue, 19 Nov 2019 21:06:31 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dVrZy/uepbYPsQwfEmYCP5CJUDTDAMLyx5fk3PW7NagFcttPPInsqBGdj2ColPfwfj+TszPNLxjen6le2t1zUkwg2SOLkp7kYrPXtfNJCTMN1f8Jqitj4k+nCCteOzW+ulW/0UpbtxBTq0fyF9BCYDFczBAqQj3llP8F/G1v9AKIQfzoydGnCr2fUtX9Mv7ET+hnZIr/q5Nqr+grEPkdD+DMKPay0htDIKioQ7mPD852DX2F7LgDoJtwv/UEM3FHn20lNKdhAC99lx+lLRJqz31EvqhlFR7k1tX24NaWO85d66imLgQr8yOcyYXn/ZqQ8nxIAydEy8zpSn1ztT8eOA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AvHTQ26n8Rmj7W0S7weLAXdF2y9ZRmbHTTm2N6rxBxM=; b=MYQn3uTAXWow3ddHsHVcQYLYMNOG6bMR/fUAsHIwmoKXCPsM3RLKHjYX3Nlc6BbJbjRqvAVh8Kx7xOeDaOhGeBSKCC3Q8BQ9c16eVXDVvmcsvXnvNu/SISgKeOAQFk70RPGcsE6dIJVywxO1KWERcV24NoPic3qkCzYtp556GmceFeS6h02kUdJ8VQTB2aRDDh1gnhBuY5O36jDRHKSjOmgxYg31C2hVJF+mf/+HNrKsVpiP/cVzWukPHABjNF87ZbVgFA6RHsEItaHD0esjD2fMLTfrJ7KzQv3FEXxPdHQEZQZ3fEEsSrkgUy/Suo1Cdu9YC9X0/ocNsi2BuEVT/g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AvHTQ26n8Rmj7W0S7weLAXdF2y9ZRmbHTTm2N6rxBxM=; b=O9mEBc8iRBlMaRNo/buRRopj/PIeWxhNay572Nrf9wjixnUlsobqZtG/JzJ3Axz0RChOsRUtSLlW222o8FctAdebcZTr6jo5DU5/ms1z/ScyACBRlZZ8hkxBtinGhPZyt43/EAvZ63avXDIHtyCW80R5krFeo/9Us/BcgJKIPzY=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB3516.eurprd07.prod.outlook.com (10.170.248.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.9; Wed, 20 Nov 2019 05:06:29 +0000
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::2ca9:414:cc01:9706]) by HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::2ca9:414:cc01:9706%4]) with mapi id 15.20.2474.015; Wed, 20 Nov 2019 05:06:29 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: "core@ietf.org" <core@ietf.org>
Thread-Topic: Comments and questions on draft-jarvinen-core-fasor-02
Thread-Index: AQHVn2BECFPCnrAr20yH8up3HLf2tA==
Date: Wed, 20 Nov 2019 05:06:28 +0000
Message-ID: <9917155C-DBA2-43F7-B14C-3B778B27E96F@ericsson.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1e.0.191013
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-originating-ip: [129.192.75.5]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 881090c6-16ee-4520-a0c0-08d76d7766ec
x-ms-traffictypediagnostic: HE1PR07MB3516:
x-microsoft-antispam-prvs: <HE1PR07MB3516E92576CADFB417C52BCD934F0@HE1PR07MB3516.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 02272225C5
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(366004)(346002)(396003)(39860400002)(376002)(199004)(189003)(71190400001)(71200400001)(5660300002)(2351001)(14444005)(256004)(486006)(6916009)(6512007)(86362001)(316002)(7736002)(305945005)(2906002)(99286004)(2501003)(36756003)(66446008)(64756008)(66556008)(66476007)(66946007)(58126008)(81166006)(81156014)(8676002)(1730700003)(8936002)(33656002)(476003)(91956017)(76116006)(6116002)(102836004)(6506007)(3846002)(25786009)(14454004)(186003)(6436002)(44832011)(26005)(478600001)(66066001)(6486002)(5640700003)(2616005); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3516; H:HE1PR07MB3161.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: d0zUU07Y7BGbp/elowFb7bIf71yOZjk3XHOStvEM7RbmjBz6VAOHvkLoyAwO53TF4e0yHAgubA4qthmTRPevbhQ7fm4LAGlW0Gppd+V4efLlefn1KHvWEVuM6B1vafqMmL7tSHQr+2a2UDZB0rbL3iovDVTpDSHTeD4IBBse8CphX+ITmiRTniyPBd0zKPjODqrj2igY9TkAUDPyusvJUyNN3CPQrQrvNPI5qgAqJzw92IOKB8upza3c/qb1mPNLudK7OQ63Xy8JuAhm/RoD71ubxrcOWzvqLbPPVKxuyKDm+u8dd2P+hulJkEZOquAEse58UCdtolrrHBy1bwEekQdEe5vI9A3GLguk9eAc+3d7MciAGD4fYdVPNEZbXJjM0OtpX34pMcH8XptqGAG0t5bVa3jvYRoUZny8MRFKLDPk/K3xAidwxzB6Baujinj3
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <96D6744DEBD4EF4B86DEA9F837A98CCF@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 881090c6-16ee-4520-a0c0-08d76d7766ec
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Nov 2019 05:06:28.9934 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: jCrj+akGeMZ3XVPtpf+jCodm+i7VCvSAqM8Cjc6wUED3IASo28G33JLnPlIQ3lHjnoGn5YrhkfJ6Zr5MUKpst62M6HkLCi+YaKARTL/kROU=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3516
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/j43YPpy-fo74pOAvWRkwvfOwMX0>
Subject: [core] Comments and questions on draft-jarvinen-core-fasor-02
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, 20 Nov 2019 05:06:34 -0000

Hi,

I took a look at the FASOR draft, and I have a few comments and questions.


Q1:

Section 4.4. says:

   "The Retransmission Count Option is used to distinguish whether an
   Acknowledgement message arrives for the original transmission or one
   of the retransmissions of a Confirmable message."

- I assume this is achieved by, once it has been confirmed that the receiver supports the option, incrementing the counter value in each retransmitted message. However, I cannot find that described anywhere. The text only says that the value of the original transmission is zero.

- Does CoAP allow changing option values in retransmissions? I cannot find any text about that in RFC 7252 that forbids it, but my general assumption is that retransmitted messages are identical.


Q2:

Section 4.4. says:

   "However, the Retransmission Count Option cannot be used with an Empty
   Acknowledgement (or Reset) message because the CoAP protocol
   specification [RFC7252] does not allow adding options to an Empty
   message.  Therefore, Retransmission Count Option is useful only for
   the common case of Piggybacked Response."

- This means that the count option cannot be used when the receiver is a proxy, since a proxy will typically send an empty acknowledgement when it receives a message.


Q3:

Section 4.4 says:

   "The original transmission of a request is indicated with the number
   0, except when sending the first request to a new destination
   endpoint.  The first original transmission of the request to a new
   endpoint carries the number 255 (0xFF) and is interpreted the same as
   an original transmission carrying the number 0."

- What is meant by "new" endpoint? Does the sender have to remember the endpoints it has previously communicated with? If so, for how long?


Q4:

Section 4.5 describes how, as an alternative solution, the Token can be used to exchange count information.

- How would that work? Would you use different Token values in each retransmission? Again, I am not sure whether CoAP explicitly forbids that, but I assume that is not the intention.


Regards,

Christer