Re: [6tisch] draft-tiloca-6tisch-robust-scheduling-01 --- rekeying permutation key

Michael Richardson <> Fri, 05 April 2019 18:15 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 633EE12047C; Fri, 5 Apr 2019 11:15:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id URWOu9SkwXuG; Fri, 5 Apr 2019 11:15:22 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 3CB481201CC; Fri, 5 Apr 2019 11:15:22 -0700 (PDT)
Received: from (unknown [IPv6:2607:f0b0:f:2:56b2:3ff:fe0b:d84]) by (Postfix) with ESMTP id AACC838277; Fri, 5 Apr 2019 14:14:28 -0400 (EDT)
Received: by (Postfix, from userid 179) id ED8F0FEC; Fri, 5 Apr 2019 14:15:19 -0400 (EDT)
Received: from (localhost []) by (Postfix) with ESMTP id EB225DC7; Fri, 5 Apr 2019 14:15:19 -0400 (EDT)
From: Michael Richardson <>
To: =?us-ascii?Q?=3D=3Futf-8=3FB=3FTWFsacWhYSBWdcSNaW5pxIc=3D=3F=3D?= <>
cc: Marco Tiloca <>, 6tisch <>,
In-Reply-To: <>
References: <5427.1554253601@localhost> <> <8081.1554386670@localhost> <> <10538.1554392453@localhost> <>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
Date: Fri, 05 Apr 2019 14:15:19 -0400
Message-ID: <31163.1554488119@localhost>
Archived-At: <>
Subject: Re: [6tisch] draft-tiloca-6tisch-robust-scheduling-01 --- rekeying permutation key
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" <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 05 Apr 2019 18:15:25 -0000

Mališa Vučinić <> wrote:
    > My understanding is that the problem in the permuted schedule arises
    > during COJP_REKEYING_GUARD_TIME after nodes in the network started
    > using the new keys, but have still kept the old key in case someone has

It's not just during that time, but from the time it receives the new keys
until it switches to the new key and permutation.  If it would listen on both
permutations, I guess it would work.

The problem is that the rekey for a node does not start until it receives
traffic with the new key.  If it's not listening at the right time (and right
channel), then it will never receive such a packet.

If we could delay the switch to the new schedule until *after*
COJP_REKEYING_GUARD_TIME has elapsed, then that might work.
Alternatively, if we could number the rekeys then a EB could signal the
switch to the new schedule some time after the keys are changed.

Michael Richardson <>ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-