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

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 20 November 2019 14:04 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 42774120902 for <core@ietfa.amsl.com>; Wed, 20 Nov 2019 06:04:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 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, URIBL_BLOCKED=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 G3Ap_btgWaDY for <core@ietfa.amsl.com>; Wed, 20 Nov 2019 06:04:03 -0800 (PST)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40072.outbound.protection.outlook.com [40.107.4.72]) (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 5798D1208F6 for <core@ietf.org>; Wed, 20 Nov 2019 06:04:03 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UxUlf8AUjDqfRKg5cGm2ccSL8S1lu3lMTT9QTd4c2DVeu/h3qNjlLAfZQ6UrKXLB81rz7SxamMu8vN/ejE0yG7vwmOKHKUHQx2bVZQpNInaJh7LLT377Ve99wBz7pvHcTdi9Zp4AKWZDmpy4LwgCaB5u5gVzC8YGC2ytUfxi47lIbgBQjVfZEpRXvSPsb+rp7M+wS6mQTcsL2byjyQHqYyWQhK0cQUCxfTO2edqemESB9PoLmrOWnrkt1YD7pU83zoPzrQ6Gs1OPUu91TIwrQ9v60QUdaC4aGYAAmS7XTBsq750ykLB6dB2mfjhfUlG5zSTg7NKpzrXJN9Jo+XniLg==
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=XXTtOdToFtAfkob5mj+8MvfopL2YIi2zpC8xgM1DGpU=; b=evY0WRh5Y3bs+r01Bq0j8tWPAsvNrw8tYDwYfgb1Pf6zHbGIIKkZkMSb95ifNdHBkKwjWyGH0NH2jaW1pPKvEc/x4CxZxKJuzfg1l26+wCKVDmRcp5eIB6GsLCT9dA7Nm7woJl5vsV9QChkcyufYBhxZgTvzfHRBYvcaehT7G17VnkJxfh2/W1DM7K3AKnZgQGkNXmhbqS0yCBVo3Jv/6sbjAJj3Zo7IddD+lGOkWf7Z7jlP4z3YGLDhHg95Y/Gr2WTC/kqhw68yS40ptP7G6J1thTRNrXblMu4jqIqMBS2BK/4emBk79ehXmeosEbV0k3J2TvUOX1LID9fydDXK6w==
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=XXTtOdToFtAfkob5mj+8MvfopL2YIi2zpC8xgM1DGpU=; b=ewg/oJaK1KuudrR+hIsNunTJO7cKuRh/nBlPokqWGvyPswL2/CnwkMFBWmzEC3EcFvtrgObxIcNwvmgmWJFKSFnwR7b0YVJEpSUrzJIRBJxSsGOPzC/yM5pi4Par28i9zJ1aFE2gu+5h6AQh+EYQ/16va2zFXD6h8hH3QQjYHUE=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB3193.eurprd07.prod.outlook.com (10.170.243.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.13; Wed, 20 Nov 2019 14:04:01 +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 14:04:01 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Carsten Bormann <cabo@tzi.org>
CC: "core@ietf.org" <core@ietf.org>
Thread-Topic: [core] Comments and questions on draft-jarvinen-core-fasor-02
Thread-Index: AQHVn2BECFPCnrAr20yH8up3HLf2tKeTiUWAgADA5AD//59pAIAA5sqA
Date: Wed, 20 Nov 2019 14:04:00 +0000
Message-ID: <4BB4A7FD-FD21-4A72-912B-F8766878B636@ericsson.com>
References: <9917155C-DBA2-43F7-B14C-3B778B27E96F@ericsson.com> <976DBC2F-20DE-4E4F-BB45-BB1C24027AE0@tzi.org> <18122668-6F48-4508-A53C-DC80723B8ED3@ericsson.com> <2CE089EB-D1C9-4692-BC72-309A37551685@tzi.org>
In-Reply-To: <2CE089EB-D1C9-4692-BC72-309A37551685@tzi.org>
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.4]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 2d10a845-62b4-404a-2b0b-08d76dc27e8b
x-ms-traffictypediagnostic: HE1PR07MB3193:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <HE1PR07MB319392985CB03F6C41576007934F0@HE1PR07MB3193.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 02272225C5
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(376002)(396003)(346002)(366004)(39860400002)(199004)(189003)(11346002)(446003)(486006)(2616005)(26005)(186003)(476003)(229853002)(44832011)(478600001)(76176011)(8936002)(102836004)(81166006)(81156014)(7736002)(36756003)(66556008)(66476007)(966005)(64756008)(66446008)(316002)(14444005)(256004)(71200400001)(91956017)(6436002)(33656002)(6916009)(71190400001)(6506007)(58126008)(8676002)(25786009)(6486002)(2906002)(6246003)(5660300002)(99286004)(6116002)(76116006)(4326008)(6306002)(305945005)(66946007)(66066001)(14454004)(6512007)(86362001)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3193; 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: D1atjcZCORuP56yNtB99nmnxA5I/BQK/QxIUdkm4QFSfMWeuJvlQMfwC5KAfb9LTiwoC11+os7kAnRRKD/XjEMOCjUztrf3wsj7tx3WnZLOLCNp2Tvg551Q3+tnU39nq4GcAiwG/zslWJtEHsR2/w81logp5/m3kDK1cYwHnFv+y6YMiZMIsmu1memfb3pAISHAtNF/UFjPLb9uuRJRfCS6KAN11+QCILOyUHLmFWGEasdPB+ERSzNtnXguvkWvQIfoTFVhaGHSqHjzqz885dKhLgiXxe7TvuZahU6Ki39T389XzcBsZ6Wxch+axIlGf4gBUgmggTX6FBlt+INw9SqgECH8CNYkrQtcgPbTgDThpbXgSHiEGzwcHt9sVAXj2lGpsxjMD5/ZC99VOzI4FukTSM+FOFd+wmY0GYqu8bXpkGkYpWu+rShlvkfeAbgacmnz50yp9jOzsRjKemagYoKEDO31LqqVr6c7CLsukEH4=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <87C97136419C9F42A2BCC3859F43B415@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2d10a845-62b4-404a-2b0b-08d76dc27e8b
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Nov 2019 14:04:00.9327 (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: vUGpRD8U+gSjtQYbulJKJRa5QpOQzgMumWDMtnNPAN5hP4zDG1UK4/iOEaBS45gGGYaqJZyFp4Q1AEH3X+Lyhfs3g83dJ7Brz4DybiqbCKA=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3193
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/5a-KKoN3u1etKKy_SwLyMOykyag>
Subject: Re: [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 14:04:06 -0000

Hi,

   >>>> - Does CoAP allow changing option values in retransmissions? 
   >>> 
   >>> Yes, it actually encourages that, e.g.:
   >>> 
   >>>   The value is intended to be current at the time of transmission.
   >>>   Servers that provide resources with strict tolerances on the value of
   >>>   Max-Age SHOULD update the value before each retransmission.[…]
   >>> 
   >>> https://tools.ietf.org/html/rfc7252#section-5.10.5
   >> 
   >>   So, that means that implementations will have to perform a full parse of received retransmissions, instead of only parsing enough in order to detect a retransmission?
   >
   > I don’t think that is the intention.
   > If the message-id of a received message is the same as the one the server just processed, just discard.

   Are you saying that retransmissions of the same message may have different message-id values??? 

If so, why do we need this new counter to begin with?  The sender could simply use different message-id values in each retransmission, and use that to associate an acknowledgement with a specific retransmission.
    
   >> In addition, if a retransmission contains updated information, retransmissions will have to be exposed to the application, rather than being handled by the protocol stack.
   >
   > Right.  That is not the intention.

Well, if one is allowed to update information in retransmissions, that would be the case...

    >>> (The interesting part here is eventual consistency — you can’t be sure that the acknowledgement you get is actually for the most recent retransmission.)
    >> 
    >>    Retransmissions can also be received out of order, and if they contain different information the receiver may not necessarily know which is the most recent.
    >
    > Indeed.  The problem with max-age is, of course, that the receiver (here: the client) does not know how long the packet needed to transit the network, 
    >so reordering does not really add to that ambiguity.

Retransmissions are typically handled by the protocol stack, so to me it sounds strange that they would update information in the message itself.

Regards,

Christer