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

"Raghuram Sudhaakar (rsudhaak)" <rsudhaak@cisco.com> Wed, 09 July 2014 17:45 UTC

Return-Path: <rsudhaak@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 7A1721A0AE8 for <6tisch@ietfa.amsl.com>; Wed, 9 Jul 2014 10:45:19 -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 R7074X539qVs for <6tisch@ietfa.amsl.com>; Wed, 9 Jul 2014 10:45:17 -0700 (PDT)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E1071A0314 for <6tisch@ietf.org>; Wed, 9 Jul 2014 10:45:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=17153; q=dns/txt; s=iport; t=1404927926; x=1406137526; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=BcX51jncpeFtBfrUGZOBHaj3GZt5NvlqNBJ5IERPGt0=; b=NXJzj8gelabp98dAJu4HONWUTRjpZwemQoYOBjCJBwiOHhaVxEykOp2g 1Gty1X9Mg4j3ftxuI60wMv269aSBrTYQAnM5kceNX/BxZlWb07EAlJcLo NzAuvklMFAy3EA2FyDQf1CxGeei/+KFxHRTmIBkKFx8gZZn2RtO5Aowyz 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AicFAIJ+vVOtJV2P/2dsb2JhbABZDoI5R1JarmKQNQEHhm5TAYEQFnWEAwEBAQQBAQFrCxACAQgOAwMBAigHJwsTAQkIAgQBDQWILgMQAQ3IWBMEjRiCGQ0EB4RDBYRpBYNOkECBeo14hhSDAUKCMA
X-IronPort-AV: E=Sophos; i="5.01,632,1400025600"; d="scan'208,217"; a="59517362"
Received: from rcdn-core-7.cisco.com ([173.37.93.143]) by alln-iport-7.cisco.com with ESMTP; 09 Jul 2014 17:45:25 +0000
Received: from xhc-rcd-x01.cisco.com (xhc-rcd-x01.cisco.com [173.37.183.75]) by rcdn-core-7.cisco.com (8.14.5/8.14.5) with ESMTP id s69HjGOq014408 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 9 Jul 2014 17:45:16 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.176]) by xhc-rcd-x01.cisco.com ([173.37.183.75]) with mapi id 14.03.0123.003; Wed, 9 Jul 2014 12:45:16 -0500
From: "Raghuram Sudhaakar (rsudhaak)" <rsudhaak@cisco.com>
To: 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: AQHPmu22gdD6gPS1qk6Qzcl3ZLTw7w==
Date: Wed, 09 Jul 2014 17:45:15 +0000
Message-ID: <CFE2CD9A.8120%rsudhaak@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>
In-Reply-To: <CAMsDxWTABvHZYa5kR6MhVa+f6VjHEKKHyCaOn02TkttcBV8K4w@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.3.140616
x-originating-ip: [171.70.241.25]
Content-Type: multipart/alternative; boundary="_000_CFE2CD9A8120rsudhaakciscocom_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/6tisch/ZKHxuJyyYOzl075mO09eOYO8sFc
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: Wed, 09 Jul 2014 17:45:19 -0000

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