Re: [6tisch] SeqNum definition in RFC8480 (6P)

Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr> Wed, 24 April 2019 10:24 UTC

Return-Path: <yasuyuki.tanaka@inria.fr>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F00A7120227 for <6tisch@ietfa.amsl.com>; Wed, 24 Apr 2019 03:24:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 oa1dX0DkV4O8 for <6tisch@ietfa.amsl.com>; Wed, 24 Apr 2019 03:24:29 -0700 (PDT)
Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) (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 F00D7120223 for <6tisch@ietf.org>; Wed, 24 Apr 2019 03:24:28 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.60,389,1549926000"; d="scan'208";a="303823668"
Received: from wifi-pro-82-156.paris.inria.fr ([128.93.82.156]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Apr 2019 12:24:27 +0200
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\))
From: Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr>
In-Reply-To: <CAC9+vPhs6FpVNvGA9vNe00RzZ5YND5-LvV3TCg=6dSwDsixshg@mail.gmail.com>
Date: Wed, 24 Apr 2019 12:24:26 +0200
Cc: Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr>, 6tisch@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <817EBD8A-34E4-41D0-8127-939E61BC0732@inria.fr>
References: <03CD9F4A-D6CD-44D2-AFF4-9F005ED409E8@inria.fr> <CAC9+vPgBUVjOiECs5ZL6c6PNkZ12X81=YThCs872VCbtJVb=uQ@mail.gmail.com> <c1e115ed-24c7-ed16-c776-bc2501e8a3b2@inria.fr> <CAC9+vPhs6FpVNvGA9vNe00RzZ5YND5-LvV3TCg=6dSwDsixshg@mail.gmail.com>
To: Xavi Vilajosana Guillen <xvilajosana@uoc.edu>
X-Mailer: Apple Mail (2.3445.104.8)
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/OQHcqMPai8Ds4WpYWVF_jPvohUA>
Subject: Re: [6tisch] SeqNum definition in RFC8480 (6P)
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discuss link layer model for Deterministic IPv6 over the TSCH mode of IEEE 802.15.4e, and impacts on RPL and 6LoWPAN such as resource allocation" <6tisch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6tisch>, <mailto:6tisch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6tisch/>
List-Post: <mailto:6tisch@ietf.org>
List-Help: <mailto:6tisch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6tisch>, <mailto:6tisch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Apr 2019 10:24:32 -0000

Hi Xavi,

> What is the issue you see with this?

At least, there is an inconsistency in RFC8480. Here is another example:

https://tools.ietf.org/html/rfc8480#section-3.2.2

rfc8480>   6P Request, 6P Response, and 6P Confirmation messages for a given
rfc8480>   transaction MUST share the same Version, SFID, and SeqNum values.

Such an inconsistency could bring confusion and/or an interoperability issue.

According to you, a response having SeqNum=0 AND RC_ERR_SEQNUM has a special
meaning which is "I've lost all the states completely (due to power-cycle)",
although this is another case we will receive such a response as shown in
Figure 32... Honestly, I'm not sure how valuable it is to know the peer has
performed power-cycle, by the way.

So, if setting 0 to SeqNum of a response is a right thing, I would add some
text to the SeqNum definition in Section 3.2.2, to tell there is an exception. 

Best,
Yatch