Re: [core] Chair's review of draft-ietf-core-hop-limit-02.txt

<> Tue, 26 February 2019 13:28 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 85255130E5D; Tue, 26 Feb 2019 05:28:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id yaaZrcAQj1g4; Tue, 26 Feb 2019 05:28:21 -0800 (PST)
Received: from ( []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id C572E1200B3; Tue, 26 Feb 2019 05:28:20 -0800 (PST)
Received: from (unknown [xx.xx.xx.5]) by (ESMTP service) with ESMTP id 44804g0X6Fz8tXP; Tue, 26 Feb 2019 14:28:19 +0100 (CET)
Received: from Exchangemail-eme6.itn.ftgroup (unknown [xx.xx.13.79]) by (ESMTP service) with ESMTP id 44804f6b9fzCqkf; Tue, 26 Feb 2019 14:28:18 +0100 (CET)
Received: from OPEXCAUBMA2.corporate.adroot.infra.ftgroup ([fe80::e878:bd0:c89e:5b42]) by OPEXCAUBM6E.corporate.adroot.infra.ftgroup ([fe80::d89a:9017:59c2:9724%21]) with mapi id 14.03.0435.000; Tue, 26 Feb 2019 14:28:18 +0100
From: <>
To: Klaus Hartke <>
CC: Carsten Bormann <>, core <>, "" <>
Thread-Topic: [core] Chair's review of draft-ietf-core-hop-limit-02.txt
Thread-Index: AQHUzcUdePoYqh77aS9g7esO8Fa656XyDMng
Date: Tue, 26 Feb 2019 13:28:18 +0000
Message-ID: <787AE7BB302AE849A7480A190F8B93302EA25704@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
References: <> <787AE7BB302AE849A7480A190F8B93302EA23CEA@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <>
In-Reply-To: <>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
x-originating-ip: []
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <>
Subject: Re: [core] Chair's review of draft-ietf-core-hop-limit-02.txt
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Tue, 26 Feb 2019 13:28:24 -0000

Hi Klaus, 

Agree. The reasoning is straightforward for error codes. 

For the few cacheable success codes, we maintained the same wording because a change of the hop-limit is seen as a hint of a topology change and thus as a trigger to check the forwarding path. The conditions are as follows: 
* The forwarding path is changed between the proxy and the server (e.g., adding new proxies to the path). Such path may not be loop-free. 
* The client is informed out of band to increase the initial hop limit to accommodate the increase of hops.


> -----Message d'origine-----
> De : Klaus Hartke []
> Envoyé : mardi 26 février 2019 12:19
> Cc : Carsten Bormann; core;
> Objet : Re: [core] Chair's review of draft-ietf-core-hop-limit-02.txt
> Mohamed Boucadair wrote:
> > Carsten Bormann wrote:
> > > 2. I don't understand the rule about using cached copies.  As a
> > >    general observation, rules like this should not simply be stated
> > >    without a rationale why they are the way they are.
> I assume you're referring to this rule:
>    A CoAP proxy which understands the Hop-Limit option MUST NOT use a
>    stored response unless the value of the Hop-Limit option in the
>    presented request is less than or equal to the value of the Hop-Limit
>    option in the request used to obtain the stored response.
> (This matches the language in [1].)
> Let's say proxy receives a request and has a matching Hop Limit
> Reached error response in its cache. If the hop limit in the request
> is equal to the hop limit in the request for the stored response, then
> the stored error response can be returned. If the hop limit is less,
> then the stored error response can also be returned. (If 6 hops are
> not enough to reach the server, then 3 hops are also not enough.) If
> the hop limit is greater, then the stored error response cannot be
> returned. (The server might not be reachable in 6 hops, but it might
> be reachable in 7 hops.) (This assumes that the number of hops to
> reach a server doesn't change. If it changes, then a stored error
> response might be served incorrectly until its max-age expires.)
> I have to admit that I never checked if this also makes sense for
> stored responses that are not a Hop Limit Reached error response...
> Klaus
> [1]