[core] A couple of late comments on Hop-Limit

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 16 October 2019 10:13 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 8659D1208DE for <core@ietfa.amsl.com>; Wed, 16 Oct 2019 03:13:29 -0700 (PDT)
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, HTML_MESSAGE=0.001, 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 TLOGt_77RNvs for <core@ietfa.amsl.com>; Wed, 16 Oct 2019 03:13:27 -0700 (PDT)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40053.outbound.protection.outlook.com [40.107.4.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E7C981208D7 for <core@ietf.org>; Wed, 16 Oct 2019 03:13:26 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n7hGO7LanrBmFtJBTe7umCIKqrNWudxzJOW8UIrVrOJaWpqxOTmDQ8qLujKM/cjoo3OSUolkXCyUZ1vHpG00RtF4jnWSCECrRyijeDJvP3w3Q6ycp+nnBZgcp6h6FLKcQtAKbD5AWhLHs8lVHk/Ssh4dS5Bg7KWEj6BYsi8iJeAYk+AzHjAc9JF6vAtPpHZOr8R/RQm1nB5z3HjvAdVbYhciW5FNfn/thcLIbVQ3v0vM+wNiJ7hnxdwCm7BRN6wVwEgfNzOI9dygGQnEUR3LLMVmtmb3Zmz4VCiGjnos9F3Cyux8r2ftwKIj2dl1lPNoeT8B0qiwmvbpGHQMgtYxAw==
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=60VnLWg9ieV8ziE9p/hs8HzvPQyQ3RPaChLuxV3fz5s=; b=AfFLXzxUbS9dPZfW2JZ+CtR5OymVO6aTFxSQiv08U9lbQmZnXFHzBaU6ua24AXvkOZEBESGBHFeS14ELi4kH+1O7Op/HZ1BNhyXNZpPTIXha2NZFcap12RciIQu8jEJuCIX5sOmnNg9NdwpUaSJw2VvtEIzGcUhybb040+ykTKeasYUPzXfqSKYZUH9FRbaXa43sg7lGnillDKYIx3YYq9mwjPqQYrmn92SOgZY9LWogpbJT75rEUqDv4+i6nIVuknI9OaB0Mn80v7GMBj5yLOgWBdg7B83WjTyenpfmpUA28oXpyYWnv5D3VI3EyKmX6DiC9ox6fIL8XaXgeRkbbg==
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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=60VnLWg9ieV8ziE9p/hs8HzvPQyQ3RPaChLuxV3fz5s=; b=Xe0X2NkkqJWh2V9MyCuuVrBZs+B5giEM3IEgaHuL1VBq5x+Z3V1PbrK1Fae4yIykD5RHjrsuGbj236gDdCA/8HGkaSyLEKG7Vq3q5Ym8/qTiMADm9iYY8K/0c+xyZVXen+VE6clNUg6pmzeOcpg+ZTss4ltAS5+qg7Vq+H6VvLo=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB3066.eurprd07.prod.outlook.com (10.170.246.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2367.14; Wed, 16 Oct 2019 10:13:24 +0000
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::14d0:5c4f:26b7:b6e9]) by HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::14d0:5c4f:26b7:b6e9%3]) with mapi id 15.20.2347.023; Wed, 16 Oct 2019 10:13:24 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: "core@ietf.org" <core@ietf.org>
Thread-Topic: A couple of late comments on Hop-Limit
Thread-Index: AQHVhApYYBijvGsxFUafcFUkAAupTA==
Date: Wed, 16 Oct 2019 10:13:24 +0000
Message-ID: <9D131FD6-2CE8-4C23-8BF1-0641C3E65A46@ericsson.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1d.0.190908
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: c14a763c-fe8d-4645-97f7-08d752217b02
x-ms-traffictypediagnostic: HE1PR07MB3066:
x-microsoft-antispam-prvs: <HE1PR07MB306642714DBD1A26CBBA07E293920@HE1PR07MB3066.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0192E812EC
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(396003)(39860400002)(376002)(366004)(346002)(199004)(189003)(4326008)(486006)(66946007)(76116006)(99286004)(256004)(316002)(2351001)(2616005)(71190400001)(71200400001)(14454004)(8676002)(14444005)(33656002)(1730700003)(8936002)(476003)(7736002)(58126008)(54896002)(6116002)(6306002)(3846002)(102836004)(6512007)(5660300002)(186003)(6486002)(26005)(478600001)(25786009)(5640700003)(2906002)(66066001)(6506007)(6436002)(86362001)(66476007)(66556008)(64756008)(66446008)(81166006)(81156014)(44832011)(2501003)(36756003)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3066; 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: QUXRHIEIkTidi/C9qz1VQUH07ldJRV86Yuqj7FAod5cvG5akQipOtAS23CEofiDbekITwI/YnrdM2YZ10cHY2liNkKBmRbbRk2jlBTWVG2fg7jjz3YvIdsQILpTbazt0Ihhwg6uOz0hF8EJnA280lwJb1AlTtsAPfdAqjgZ+rsUNpQnWsOGd8TtjOZPSzQ7h+FYlXTaFu4j4rnSJ9ao7PfVPRBfSFpebh/MaK51kaMBpSlt1OR4Z8PoxG7fnO8QhXPVQi6kvlYMR6IjfBKYiQlzkySLjiChLtAkd0HXQxCLX3MAtF2N5Yp1kX1LYbh/pA3lUFMweYwkxUOiLLHuSxJkj0G4f7JrEj/8dxQ7c2ZugbqFC69ZgXIBmzvUkToIEpSLpETK/TNCu3mqZPhV+zjOFDeyYe465B+9r1wA+aP0=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_9D131FD62CE84C238BF10641C3E65A46ericssoncom_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: c14a763c-fe8d-4645-97f7-08d752217b02
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Oct 2019 10:13:24.4682 (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: X9LOk8K2DIl385mp+dRUkVVzy/5BENM4ehBlUeFSkfYCSR8ngDak9GOL2zvZfekqhoghEOvAChvOJT/MisftUAYsAcXWvY7NRCaasRYdVTY=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3066
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/HyqO6TxHicd-A1WrCwDuCssRDuI>
Subject: [core] A couple of late comments on Hop-Limit
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, 16 Oct 2019 10:13:30 -0000

Hi,

I haven’t followed the hop-limit discussions, so I apologize if the following has already been discussed. I also know that my comments come very late in the process, so sorry for that.

Adam may have an opinion regarding Q2.


Q1:

The draft talks about “CoAP messages”. But, if I understand correctly, it is only intended to be used for CoAP request messages, right?


  *   Since you use a CoAP option, the mechanism can’t be used in an empty message.
  *   I assume you don’t want to use the mechanism when sending a response, because then there is a risk that the client will not receive it.

Unless I’ve missed it, I think it should be more explicit what the applicability of the mechanism is.


Q2:

The draft says that a CoAP message with the Hop-Limit option value set to 0 bigger than 255 must be rejected with a 4.00 Bad Request response.


  *   Is 4.00 really an appropriate response code? When reading the HTTP definition for 400 Bad Request (CoAP inherits the semantics), it is about a client error (miss formed message, etc), which is not the case here.
  *   Based on my experience in SIP, it is VERY useful to have a dedicated response code for this (SIP defines ‘483 Too Many Hops’). Because, when this happens, it is often related to *network configuration and/or routing issues* – not to client implementation issues – so it is VERY useful information when trying to figure out why the message was rejected.

Regards,

Christer