Re: [6tisch] Comment to draft-wang-6tisch-6top-coapie-01.txt

Tero Kivinen <kivinen@iki.fi> Mon, 28 September 2015 08:56 UTC

Return-Path: <kivinen@iki.fi>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A3541B3285 for <6tisch@ietfa.amsl.com>; Mon, 28 Sep 2015 01:56:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.579
X-Spam-Level: *
X-Spam-Status: No, score=1.579 tagged_above=-999 required=5 tests=[BAYES_50=0.8, SPF_NEUTRAL=0.779] autolearn=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 AWetLz-uRC63 for <6tisch@ietfa.amsl.com>; Mon, 28 Sep 2015 01:56:01 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) (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 C918D1B3283 for <6tisch@ietf.org>; Mon, 28 Sep 2015 01:56:00 -0700 (PDT)
Received: from fireball.acr.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.15.1/8.14.8) with ESMTPS id t8S8toVe004945 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 28 Sep 2015 11:55:50 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.acr.fi (8.15.1/8.14.8/Submit) id t8S8toGq019067; Mon, 28 Sep 2015 11:55:50 +0300 (EEST)
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-ID: <22025.150.2013.704102@fireball.acr.fi>
Date: Mon, 28 Sep 2015 11:55:50 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Thomas Watteyne <watteyne@eecs.berkeley.edu>
In-Reply-To: <CADJ9OA_1XbJLcNzAbsO7bH9GwT3zKSwhiEobqFo0wKt8K403NA@mail.gmail.com>
References: <21934.16929.897976.905775@fireball.acr.fi> <50838770.1280677.1437661723389.JavaMail.yahoo@mail.yahoo.com> <CADJ9OA-n9jtP1P75zhP0TyCPiHOoFb0z9EKbM0tHYaHKaAHjnA@mail.gmail.com> <22021.14192.385465.57972@fireball.acr.fi> <CADJ9OA_1XbJLcNzAbsO7bH9GwT3zKSwhiEobqFo0wKt8K403NA@mail.gmail.com>
X-Mailer: VM 8.2.0b under 24.5.1 (x86_64--netbsd)
X-Edit-Time: 20 min
X-Total-Time: 20 min
Archived-At: <http://mailarchive.ietf.org/arch/msg/6tisch/9u6T808Vl4WmpOG95dk3fgvtsSY>
Cc: "6tisch@ietf.org" <6tisch@ietf.org>
Subject: Re: [6tisch] Comment to draft-wang-6tisch-6top-coapie-01.txt
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.15
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: Mon, 28 Sep 2015 08:56:03 -0000

Thomas Watteyne writes:
> I'm cautious in embracing a standard without understanding benefits and
> overhead:
> 
> Where can I download the 802.15.9 spec? All I can find is 
> https://www.ietf.org/proceedings/84/slides/slides-84-roll-3.pdf

The 802.15.9 is now in the Sponsor Ballot, and we are not allowed to
distribute it to others now, but you can go and buy it from the IEEE
Standards Store:

http://www.techstreet.com/ieee/products/1902465

The price is $86, which is not that bad, compared that the
802.15.4-REVc draft is $433
(http://www.techstreet.com/ieee/products/1894072).

> What is the scope of 802.15.9?

The 802.15.9 related documents can be found from mentor:

https://mentor.ieee.org/802.15/documents?is_group=0009

and the scope of 802.15.9 can be found from the latest PAR change
document:

https://mentor.ieee.org/802.15/dcn/15/15-15-0464-00-0009-p802-15-9-par-detail-draft-change-2015-05.pdf

I.e the scope is:

	This Recommended Practice defines a message exchange framework
	based on Information Elements as a transport method for key
	management protocol (KMP) datagrams and guidelines for the use
	of some existing KMPs with the IEEE Std 802.15.4. This
	Recommended Practice does not create a new KMP.

> It is presented as a Key Management solution, yet you suggest to use
> 802.15.9's mechanisms for (i) IE space and (ii) fragmentation.

The 802.15.9 document is split in two pieces, the multiplexing and
fragmentation layer, and the key management layer. The key management
layer requires a method of transmitting messages which are larger than
802.15.4 phy frames, thus it needed layer to fragment KMP messages and
transmit them over 802.15.4 phy frames. While we created that, people
said that this mechanism would be useful also for others, so make sure
other protocols can also use this. Because of this we added simple
multiplexing method, which will allow others to use the fragmentation
and transport method too. 

> It looks to me like we would be exploiting a tiny fraction of a
> much more involved standard, but have to include the full memory footprint.

Actually most of the 802.15.9 implementation parts are in the
multiplexing and fragmentation layer. The KMP layer is very minimal,
only consisting of one byte identifying the KMP protocol to use. I.e.
MP IE Format description in the specification is 4 pages, and the KMP
service description is one page...

All the actual key management protocols are described in the appendix,
and none of those are mandatory to implement (i.e. all are informative
annexes). I.e. you can implement 802.15.9 without implementing any key
management protocols, and if you do not have any KMPs configured, then
all your MLME calls related to them are not really relevant. 

> How much flash/RAM memory is a 802.15.9 implementation?

As this is recommended practice that is still in the draft phase, I do
not think there is any implementations of it out there yet. There are
other groups interested in using it, so perhaps they will get some
numbers out after we get through sponsor ballot.
-- 
kivinen@iki.fi