Re: [6tisch] Fw: Is CoAP IE a MAC header IE or MAC payload IE

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Thu, 10 July 2014 09:08 UTC

Return-Path: <pthubert@cisco.com>
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 C9F5F1B27C0 for <6tisch@ietfa.amsl.com>; Thu, 10 Jul 2014 02:08:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.151
X-Spam-Level:
X-Spam-Status: No, score=-15.151 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 MstPJQJwtbBY for <6tisch@ietfa.amsl.com>; Thu, 10 Jul 2014 02:08:53 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B92CB1B27BB for <6tisch@ietf.org>; Thu, 10 Jul 2014 02:08:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=24816; q=dns/txt; s=iport; t=1404983339; x=1406192939; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=0xw0Oro7xe3OetUJJ/xRJezikRSRuJylR+3MrXUt2gg=; b=X8kBn8YfhbLxYeOFcP8W7bCwxC2xVf0dpqRmpiEiEIcAGRo0Sm11a9my xFphnCAjtotwm4aYIx/XER24YTNlEbu/OESWI2K3ggNB91CpzC8QKFXcq PxM4a3AicaGJjW9cp8gLbmvBzPf9MEQghnCyts7fJ/4ZvOE9or1Bbc7lD o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ah4FAJNXvlOtJV2S/2dsb2JhbABZDoI5R1JarmqQNQEHhm5TAYEIFnWEAwEBAQQBAQEqQQsQAgEIEQMBAQELFgcHJwsTAQkIAgQBDQUIiCYDEQ3HZRMEjRiBeSANBAYBgy2BFgWEaQWUEI90hhSDAUKCMA
X-IronPort-AV: E=Sophos;i="5.01,636,1400025600"; d="scan'208,217";a="338963773"
Received: from rcdn-core-10.cisco.com ([173.37.93.146]) by rcdn-iport-7.cisco.com with ESMTP; 10 Jul 2014 09:08:58 +0000
Received: from xhc-rcd-x07.cisco.com (xhc-rcd-x07.cisco.com [173.37.183.81]) by rcdn-core-10.cisco.com (8.14.5/8.14.5) with ESMTP id s6A98p9C026382 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 10 Jul 2014 09:08:51 GMT
Received: from xmb-rcd-x01.cisco.com ([169.254.1.24]) by xhc-rcd-x07.cisco.com ([173.37.183.81]) with mapi id 14.03.0123.003; Thu, 10 Jul 2014 04:08:51 -0500
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: "Raghuram Sudhaakar (rsudhaak)" <rsudhaak@cisco.com>, Xavier Vilajosana <xvilajosana@eecs.berkeley.edu>, Thomas Watteyne <watteyne@eecs.berkeley.edu>
Thread-Topic: [6tisch] Fw: Is CoAP IE a MAC header IE or MAC payload IE
Thread-Index: AQHPmu22gdD6gPS1qk6Qzcl3ZLTw75uZBu9w
Date: Thu, 10 Jul 2014 09:08:50 +0000
Deferred-Delivery: Thu, 10 Jul 2014 09:08:00 +0000
Message-ID: <E045AECD98228444A58C61C200AE1BD842C9FCC7@xmb-rcd-x01.cisco.com>
References: <1404852397.69045.YahooMailNeo@web140203.mail.bf1.yahoo.com> <CADJ9OA87GvebgbZfYe5ajRPhD4qZ5s0ab5JcQhw0xVVy06bKqg@mail.gmail.com> <1404855639.7065.YahooMailNeo@web140203.mail.bf1.yahoo.com> <1404855860.76546.YahooMailNeo@web140203.mail.bf1.yahoo.com> <CADJ9OA-+dc0Q2W64RmAQh0JgRq-Bh0zzwk4ZPgnPXwgS=U=TtQ@mail.gmail.com> <CAMsDxWTABvHZYa5kR6MhVa+f6VjHEKKHyCaOn02TkttcBV8K4w@mail.gmail.com> <CFE2CD9A.8120%rsudhaak@cisco.com>
In-Reply-To: <CFE2CD9A.8120%rsudhaak@cisco.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.49.80.52]
Content-Type: multipart/alternative; boundary="_000_E045AECD98228444A58C61C200AE1BD842C9FCC7xmbrcdx01ciscoc_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/6tisch/bLQD0kgUxECE_oT6Z-CMmegFUCU
Cc: "6tisch@ietf.org" <6tisch@ietf.org>
Subject: Re: [6tisch] Fw: Is CoAP IE a MAC header IE or MAC payload IE
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: <http://www.ietf.org/mail-archive/web/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: Thu, 10 Jul 2014 09:08:54 -0000

+1

Cheers,

Pascal

From: 6tisch [mailto:6tisch-bounces@ietf.org] On Behalf Of Raghuram Sudhaakar (rsudhaak)
Sent: mercredi 9 juillet 2014 19:45
To: Xavier Vilajosana; Thomas Watteyne
Cc: 6tisch@ietf.org
Subject: Re: [6tisch] Fw: Is CoAP IE a MAC header IE or MAC payload IE

Based on sec 5.2.4.1 and the table 53 cited below, I agree with the assessment that the CoAP IE must be a payload IE.

I also suggest that we address  (for clarity) the encryption methodology of the CoAP IE in the draft.

-raghuram

From: Xavier Vilajosana <xvilajosana@eecs.berkeley.edu<mailto:xvilajosana@eecs.berkeley.edu>>
Date: Wednesday, July 9, 2014 at 12:29 AM
To: Thomas Watteyne <watteyne@eecs.berkeley.edu<mailto:watteyne@eecs.berkeley.edu>>
Cc: "6tisch@ietf.org<mailto:6tisch@ietf.org>" <6tisch@ietf.org<mailto:6tisch@ietf.org>>
Subject: Re: [6tisch] Fw: Is CoAP IE a MAC header IE or MAC payload IE

+1 for Payload IE as it has to be processed by 6top layer and not 15.4e. Besides we want to be able to support encrypted information as this is critical for the network operation.

2014-07-09 1:24 GMT+02:00 Thomas Watteyne <watteyne@eecs.berkeley.edu<mailto:watteyne@eecs.berkeley.edu>>:
I see 2 differences between header and payload IEs:
- header IEs are meant to be consumed by the MAC layer, payload IE by the upper layer (e.g. 6top)
- header IEs are in the MAC header, payload IE are part of the MAC payload; they hence be authenticated/encrypted differently (see Table 53 in IEEE802.15.4-2011).:

I believe it's a good idea to have the CoAP IE be a payload IE.

On Tue, Jul 8, 2014 at 2:44 PM, Qin Wang <qinwang6top@yahoo.com<mailto:qinwang6top@yahoo.com>> wrote:

On Wednesday, July 9, 2014 5:40 AM, Qin Wang <qinwang6top@yahoo.com<mailto:qinwang6top@yahoo.com>> wrote:

Hi Thomas,

In the section 5.2.4.1 of IEEE802154e, the difference between MAC header IE and payload IE is described as follows.

"IEs may be either part of the MAC Header or MAC payload. Header IEs are used by the MAC to process the
frame immediately, i.e., they cover security, addressing, etc., and are part of the MAC Header. Payload IEs
are destined for another layer or SAP and are part of the MAC payload (but like command IDs they may not
be encrypted). If IEs are contained in a frame, they always occur before other unstructured MAC payload
elements."

I think CoAP IE, and also other 6top IEs if defined, should be payload IE because they are in 6top, the upper layer of MAC. Actually, even TSCH, all of its IEs are payload IE. I guess one reason is that they are not used to process the MAC header; and another reason is that they want to be protected by encryption and MIC. CoAP IE is similar.

What do you think?

Thanks
Qin


On Wednesday, July 9, 2014 5:04 AM, Thomas Watteyne <watteyne@eecs.berkeley.edu<mailto:watteyne@eecs.berkeley.edu>> wrote:

Qin,
This is a very important question, and the answer isn't obvious at all, so I believe this is a good discussion to have on the ML. What do you think? Of course, I can contribute with a lengthy argumentation once we decide where to put this thread.
Thomas

On Tue, Jul 8, 2014 at 1:46 PM, Qin Wang <qinwang6top@yahoo.com<mailto:qinwang6top@yahoo.com>> wrote:
Hi all,

In the coapie draft, CoAP IE is expected as part of MAC header, which implies that CoAP  IE will be a MAC header IE. It is different from TSCH IEs and the 6top IEs defined before, all of them are MAC payload IE. Is there any special reason for it? If not, I would suggest to use payload IE for CoAP IE also, because it may make the interface with IEEE802.15.4 group simple, i.e. one IE code.

What do you think?

Thanks
Qin





_______________________________________________
6tisch mailing list
6tisch@ietf.org<mailto:6tisch@ietf.org>
https://www.ietf.org/mailman/listinfo/6tisch


_______________________________________________
6tisch mailing list
6tisch@ietf.org<mailto:6tisch@ietf.org>
https://www.ietf.org/mailman/listinfo/6tisch