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

Christer Holmberg <christer.holmberg@ericsson.com> Tue, 03 December 2019 13:12 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 509A812004F for <core@ietfa.amsl.com>; Tue, 3 Dec 2019 05:12:13 -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 RgUFxdw-sVHV for <core@ietfa.amsl.com>; Tue, 3 Dec 2019 05:12:11 -0800 (PST)
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-ve1eur03on0609.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe09::609]) (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 64B3212002E for <core@ietf.org>; Tue, 3 Dec 2019 05:12:09 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JiI8pcezn4ZKxnkvpbNIeKpifCFjJnhd+N8BTGDPZ7HhiWu/logypflxODRvda6pGsoQ8+r2f1JyVeIEb/69RLdEp9H+g6FyxuQgmylUQbUuJtJ82rhv2iyNMzygpzIY3SnruvHP22v8ZKLFwNhgTym5XMeoQ2VjOexKtFToHHWj+9NsXgUKu9A+7Ext2H3j5LGDbCC7yZ9GYfR6gO/N37rEnW9+IW6kQjfCK59Yv+ljiuqKTNppuJOUFER9lw4YMv1muK8o/5R0OJJykF+O6HBt9Ac0UUFKS/dRXCwsMO1WDEAdf4PnahHDTiuv5OH8RPaa1gaw8izLZ0f4ncPDFw==
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=o7gQoRt2wjikNM4kQmffyqMAkPixVCa7RjwG1ickcoQ=; b=NKCoyIGjOAjJu1hkRkJghQNv3K39gP0U76t7y78/F6suGjj0aUa0/kxGxXIEQawVUAVugMP9AKE+2Aoo/a2+sajglgdX5Uigdxbials31Nkzgo5sWr0FeP52+LKPQW3IYL6x7OOK8NP7nPLiW3G/B2eOoaN4lusj5Rw/5uMihONmqPuon2P/q65hK+r2O8KBOG8E5+gLLSI4I86N/pDdqfIA2ck3XatYzZT3A2ZCVAIypKaMW6AsTwWKBc0Qr+INUo3u1NGORfj7WtZ9fT9LkkccKNpAowpWfKkUGTtdTT1amEzMmu0yYg0pEvqWiCGnM0jRvcFi+v0hhRMYJ9Z7yQ==
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=o7gQoRt2wjikNM4kQmffyqMAkPixVCa7RjwG1ickcoQ=; b=YTSljJUzXxQlc+EB5toak4DSCENvswOwH5Cvc95Kzim4HU3XgmYwSgfGlLi4iTITzE2RwWtXKbFpFE8VyLk5OJPkEojCVNeTVSTUrSlA6EbrvUxM2wkmqeSM12R9Y6zN1p9VYSnD9Tp3vZqB64mI01ZyeJng5onZZetAiDKGcNs=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB3404.eurprd07.prod.outlook.com (10.170.242.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.4; Tue, 3 Dec 2019 13:12:06 +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.2516.003; Tue, 3 Dec 2019 13:12:06 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Markku Kojo <kojo=40cs.helsinki.fi@dmarc.ietf.org>
CC: Ilpo Järvinen <ilpo.jarvinen@cs.helsinki.fi>, "core@ietf.org" <core@ietf.org>
Thread-Topic: [core] Comments and questions on draft-jarvinen-core-fasor-02
Thread-Index: AQHVn2BECFPCnrAr20yH8up3HLf2tKeTp94AgAEryoCAEoHRAIABQ9GA
Date: Tue, 03 Dec 2019 13:12:06 +0000
Message-ID: <36EF701E-9688-4DC8-9686-6495F9AF4074@ericsson.com>
References: <9917155C-DBA2-43F7-B14C-3B778B27E96F@ericsson.com> <alpine.DEB.2.21.1911200744160.9015@hp8x-60.cs.helsinki.fi> <C9B9F457-7B43-45B6-A7B1-B0CBA8E4B46A@ericsson.com> <alpine.DEB.2.21.1911210806310.9015@hp8x-60.cs.helsinki.fi>
In-Reply-To: <alpine.DEB.2.21.1911210806310.9015@hp8x-60.cs.helsinki.fi>
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: [89.166.49.243]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: f938b7fb-6998-4e92-e210-08d777f265a3
x-ms-traffictypediagnostic: HE1PR07MB3404:
x-microsoft-antispam-prvs: <HE1PR07MB3404CD8E95DA39FC2E20E5E693420@HE1PR07MB3404.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 02408926C4
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(136003)(39860400002)(376002)(366004)(396003)(189003)(199004)(26005)(36756003)(33656002)(8676002)(6246003)(81166006)(81156014)(58126008)(25786009)(478600001)(316002)(256004)(14454004)(54906003)(14444005)(102836004)(71200400001)(6506007)(186003)(446003)(71190400001)(99286004)(4326008)(2616005)(8936002)(11346002)(6486002)(44832011)(76176011)(5660300002)(2906002)(6512007)(76116006)(6436002)(66476007)(66556008)(3846002)(6116002)(66946007)(66446008)(86362001)(229853002)(91956017)(64756008)(7736002)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3404; H:HE1PR07MB3161.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: 69d3FA3+JfODD+hzNckphH/8ZxwtRlO2+PmaH93afmhNohzLxudqNwA04RPzUYWng+7ZBU6TbKJOgCVsQJVkA8H1D+iIfSu4+lxNp9Tdicel4Qs1yEMvPVrhxoUbr2m3ntcXVextUeh/tlReUPlaHILs5rQCzMYAvEbtn3YZNGTrJX5NiYT6bT28gThEC8b/3ONFOn0fbLZymznOSzSs9huMtpXfvyrMyabjj8Qz5pZd8C1TDNTsyTHxTH/Kn1kn3o1bl7Leselh0hFgP9P0RjGI+IGZCA0XSGzkWDBxzOVl55ePPR4ekImwwUQYMolqENplWZ1y/8Iw4/xB7GEqRvh8R18sEHhoA/wzb2WEgZcel3Z1OfCPBlqCL2YReIolsEq6UPyFE4ko/fYM7dhQRH7tocYrEn3MmRleWfOVnBcJkGg2yocXHwEDaEDqC70H
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <0D13EB23197B0645828B6494ACAE0511@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: f938b7fb-6998-4e92-e210-08d777f265a3
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Dec 2019 13:12:06.5195 (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: ZnDN9wI4/JfJsqt4VJIwHpLw1nEBB6QhrnR9r4/BrRHClR9cAE8Lb9hKs8xBEK1iLBqkccbyyyjyQ/q7f+tRg5bZLPQNdHVwv/fjKQVgv3Y=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3404
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/BupLGaUiNEZeKErv1Tnbu6rzJgg>
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: Tue, 03 Dec 2019 13:12:13 -0000

Hi,

    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.
    >>>
    >>> Right, but the text says it just with a bit different phrasing. In the
    >>> second but last para of Sec 4.4:
    >>>
    >>>  "Retransmissions, if any, carry the ordinal number of the
    >>>   retransmission."
    >>
    >> I think you should be more specific, and say something like: "the
    >> client MUST increment the number by one in each retransmission",
    >> A or something like that...
    >
    >  Right. We would need to be more specific.
    >
    > What you suggest is possibly more accurate but I'd hesitate using MUST 
    > for increment by one because it's all up to the client to decide how to 
    > distinguish between the retransmissions. Only the first message to an 
    > endpoint is an interoparatibility issue on the wire, others after that 
    > are not.
    > I'm saying this even though we have orginally proposed using this quite 
    > obvious option of "increment by one" but with a second thought the client 
    > should be able to decide how to do it, I think. It might even be 
    > desireable in some cases not to expose to the network whether a reguest 
    > is retransmission or not? We'd be happy to hear opinions on this.
    >
    > On the other hand, if the wg thinks it would be useful for a receiver 
    > (server) to know whether a request is a retransmission or not that would 
    > make it different. We'd be happy to hear opinions on this as well.
    
Not sure I understand. The Message ID will expose that the message is a retransmission.

    > We'll try to find text that's more clear and possibly give the "increment 
    > by one" approach as one example of how to implement it.

The advantage of MUST-increment-by-one is that it also enables one to detect lost messages.

---

    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.
    >>>
    >>> Yes, that's what it means and that's why it's an optional enhancement.
    >>> Unfortunately, CoAP didn't include such a feature in its base spec.
    >>> And I believe the reason for this was that the base spec. didn't include
    >>> any kind of RTT measurements for the RTO timer, so it would have been
    >>> unnecessary. This could have been achieved by stealing 2-3 bits from the
    >>> Message ID, for example. Alternatively, it could still be possible to
    >>> introduce a new type of message, an Empty Message with options, I
    >>> believe. This would allow support for delivering options in an empty ack.
    >>> Such an empty ack message would be needed also for other purpuses, for
    >>> example, if at some point support for ECN is seen useful for CoAP (over
    >>> UDP). Otherwise, there seems not to be any other way to provide the
    >>> necessary feedback.
    >>
    >> I don't argue against the reasons you give, but I think it would be 
    >> good to explicitly point out the limitations when the receiver is a 
    >> proxy.
    >
    > Agreed. However, we'd like to postpone further discussion about 
    > limitations until we know what actually is possible. That is, if this 
    > gets adopted and the wg thinks it might be a good idea to have such a new 
    > type of message (Empty Message with options), then the draft does not 
    > need to discuss any limitations at all for this part. Otherwise, the 
    > draft probably should discuss, unless we find some other less restrictive 
    > way.

I think you should document the limitation, as it represents the current state.  Then, if we define a new message (e.g., Empty Message with options) we simply remove the limitation text.

   > After all, this is not yet even draft-ietf-core-...-00  ;)

Sure, but when proposing a new work I think it is good to document the issues and limitations that are known at that moment. The WG will then decide how/if to address them.

Regards,

Christer