Re: [lp-wan] Fw: re-order header field request

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Tue, 04 July 2017 11:39 UTC

Return-Path: <pthubert@cisco.com>
X-Original-To: lp-wan@ietfa.amsl.com
Delivered-To: lp-wan@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8D68F131F78 for <lp-wan@ietfa.amsl.com>; Tue, 4 Jul 2017 04:39:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.523
X-Spam-Level:
X-Spam-Status: No, score=-14.523 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 EcM0FiTa4vin for <lp-wan@ietfa.amsl.com>; Tue, 4 Jul 2017 04:39:30 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 80CD7131F73 for <lp-wan@ietf.org>; Tue, 4 Jul 2017 04:39:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7546; q=dns/txt; s=iport; t=1499168370; x=1500377970; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=RAftU+5jTif/mCEjwG6KLeV51MIcXRJmjuw4rEJvByk=; b=RKC07sMNIRj+tY7Nzgvye869OcHRZXNt1IucEvMlq+0wodxVEIflqOqD LBqle6Vc4g3hQr2b2HILMqjOf9ANQcWS+mF7FnBph70dsVtbDaL6A9Lzh hMHIjAvAoGJmkSWBpXMphnfxwRYpdF4B4fW9OOW2kZ1TCr3oeBu4JN7R/ s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AvAQCNfVtZ/4YNJK1cDgwBAQEBAgEBAQEIAQEBAYNZY4EQB4NmihmRdZYAghEhC4VwAhqCbj8YAQIBAQEBAQEBayiFGAEBAQECAQEBIREzBwsFBwQCAQYCEQQBAQMCIwMCAgIlCxQBCAgCBAENBQgTiXwDDQgQkj6dY4ImhzUcg3YBAQEBAQEBAQEBAQEBAQEBAQEBAQEYBYELghyDTIFhgjFzgSSGWYJhBZ8GAosKiHCSJ4QXkRsBHzg/S3UVSYZWP3aIHYENAQEB
X-IronPort-AV: E=Sophos;i="5.40,307,1496102400"; d="scan'208";a="263882883"
Received: from alln-core-12.cisco.com ([173.36.13.134]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 04 Jul 2017 11:39:29 +0000
Received: from XCH-RCD-005.cisco.com (xch-rcd-005.cisco.com [173.37.102.15]) by alln-core-12.cisco.com (8.14.5/8.14.5) with ESMTP id v64BdT6C013731 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 4 Jul 2017 11:39:29 GMT
Received: from xch-rcd-001.cisco.com (173.37.102.11) by XCH-RCD-005.cisco.com (173.37.102.15) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 4 Jul 2017 06:39:28 -0500
Received: from xch-rcd-001.cisco.com ([173.37.102.11]) by XCH-RCD-001.cisco.com ([173.37.102.11]) with mapi id 15.00.1210.000; Tue, 4 Jul 2017 06:39:28 -0500
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: weigengyu <weigengyu@vip.sina.com>, Carles Gomez Montenegro <carlesgo@entel.upc.edu>
CC: "lp-wan@ietf.org" <lp-wan@ietf.org>, "arun@ackl.io" <arun@ackl.io>
Thread-Topic: [lp-wan] Fw: re-order header field request
Thread-Index: AQHS7CyqlbElmQ4/nkW0bbsfmP5W8qI21N+wgAGM1QCACzlGoA==
Date: Tue, 04 Jul 2017 11:39:12 +0000
Deferred-Delivery: Tue, 4 Jul 2017 11:39:10 +0000
Message-ID: <b4cd398f8322423fb79c770f5cf22188@XCH-RCD-001.cisco.com>
References: <59F856E1230C43D5A7CE1018F7C2DCA8@WeiGengyuPC> <912c2aab-a69f-355a-f7c5-730bac5eaafa@ackl.io> <F5C7D3EBA1DD42858C339E13F435F7AC@WeiGengyuPC> <CAEW-XCC6WWU5Y0cG22c7OQriF3_2i2+MZe2j6xgpP4Rs5mnupw@mail.gmail.com> <341C683FEB8548B4924400501958BEAF@WeiGengyuPC> <42e03b91c6a5e748a0c9d7d81966eef0.squirrel@webmail.entel.upc.edu> <3EE9A684758B44CE9FF891EFDBBF45BA@WeiGengyuPC> <0b52c5cefcbf45b9b3de78d35ae516ad@XCH-RCD-001.cisco.com> <EE6304FA8F854718909CE5544B3F4D50@WeiGengyuPC>
In-Reply-To: <EE6304FA8F854718909CE5544B3F4D50@WeiGengyuPC>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.228.216.20]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/2zhnOZ8fHEnmqP4yC65h1oeDCco>
Subject: Re: [lp-wan] Fw: re-order header field request
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Low-Power Wide Area Networking \(LP-WAN\), also known as LPWA or Low-Rate WAN \(LR-WAN\)" <lp-wan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lp-wan/>
List-Post: <mailto:lp-wan@ietf.org>
List-Help: <mailto:lp-wan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Jul 2017 11:39:32 -0000

We are definitely not communicating, Gengyu.

If you elide the ruleID at the beginning of a fragment and start with the dtag, then the parser will interpret the dtag as a ruleID.

Maybe you are not considering that a non-fragmented packet maybe interleaved between fragments? 

Pascal

-----Original Message-----
From: weigengyu [mailto:weigengyu@vip.sina.com] 
Sent: mardi 27 juin 2017 05:12
To: Pascal Thubert (pthubert) <pthubert@cisco.com>; Carles Gomez Montenegro <carlesgo@entel.upc.edu>
Cc: lp-wan@ietf.org; arun@ackl.io
Subject: Re: [lp-wan] Fw: re-order header field request


Hi Pascal,

> We need the Rule to say fragment on each fragment,
All framents of a IPv6 packet obey one rule, the Rule ID is included in the first fragment is enough for conveying this information.

> and then the dtag.
All framents of the packet contain the same Dtag as defined.

> Starting the next fragment with the dtag would confuse the parser 
> which would interpret the dtag as another rule.
Put the Dtag at the front.
Defining the first two bits of Dtag as an indication of the first fragment, fragments of the minddle and  the last fragment.

00 the first fragment
10 fragments of the minddle
11 the last fragment

If the first two bits are '00', the Rule ID is followed.
If the first two bits are not '00', the fragment does not contain the Rule ID.
If the first two bits are 11, it is the last fragment.

I believe that it is worth to have this two bit to suppress the space of Rule ID in the successive fragments.

Regards,

Gengyu WEI
Network Technology Center
School of Computer
Beijing University of Posts and Telecommunications
-----原始邮件-----
From: Pascal Thubert (pthubert)
Sent: Monday, June 26, 2017 4:33 PM
To: weigengyu ; Carles Gomez Montenegro
Cc: lp-wan@ietf.org ; arun@ackl.io
Subject: Re: [lp-wan] Fw: re-order header field request

Hello Gengyu

We need the Rule to say fragment on each fragment, and then the dtag. 
Starting the next fragment with the dtag would confuse the parser which would interpret the dtag as another rule.

Cheers,

Pascal
-----Original Message-----
From: lp-wan [mailto:lp-wan-bounces@ietf.org] On Behalf Of weigengyu
Sent: vendredi 23 juin 2017 16:26
To: Carles Gomez Montenegro <carlesgo@entel.upc.edu>
Cc: lp-wan@ietf.org; arun@ackl.io
Subject: Re: [lp-wan] Fw: re-order header field request


Hi,

> I think there are problems with this proposal. If the Rule ID of 
> successive fragments is suppressed, how does a receiver know whether 
> those successive data units are actual fragments or not, or how the 
> data unit has to be processed?

The Dtag can be used for knowing "whether those successive data units are actual fragments or not, or how the data unit has to be processed. "

For example, if an IPv6 packet is partitioned into two fragments, the first fragment inclues a Rule ID and a Dtag, the second fragment includes the Dtag without the Rule ID.

After the first fragment is sent, the Rule ID is binded with a Dtag for this packet.
The receiver can know which the Rule ID is used by the Dtag.


Regards,

Gengyu WEI
Network Technology Center
School of Computer
Beijing University of Posts and Telecommunications
-----原始邮件----- 
From: Carles Gomez Montenegro
Sent: Friday, June 23, 2017 6:47 PM
To: weigengyu
Cc: arun@ackl.io ; lp-wan@ietf.org
Subject: Re: [lp-wan] Fw: re-order header field request


Hi,

> Hi Arun and all,
>
> After reading through the draft-ietf-lpwan-ipv6-static-context-hc-04,
> one point needs to be exiplicit described: how many Rule IDs are used to
> fragment one large IPv6 packet?

What we currently have in the document is:

   "The Rule ID in a fragment is set to a value that indicates that the data
   unit being carried is a fragment."

So currently we do not explicitly indicate how many Rule IDs are needed
for fragments of a large IPv6 packet. The most efficient solution is to
just use one Rule ID to signal "this is a fragment". However, it is
probably safe to keep this open in the SCHC document, so that future
technology-specific SCHC over foo documents have freedom to specify
whatever better suits their needs.

> By my understanding, whne one IPv6 packet is fragmented, it adopts only
> one Rule ID.
> Each fragment contains the same rule ID and Dtag.
> Anything wrong?

DTag (if present) has to be the same in all fragments carrying the same
IPv6 packet.

One Rule ID to signal 'this is a fragment' is fine.

> Such a way to deliver the repeated Rule ID can be suppressed.
> It may be available to have the first fragement only include the Rule ID
> while containing the Dtag.
> And the following successive fragments have the Dtage without the Rule ID.
> The receiver can get the correct Rule ID from the first fragment referred
> as the same Dtag.
>
> The Rule ID is suppressed in fragments from the second to the last.

I think there are problems with this proposal. If the Rule ID of
successive fragments is suppressed, how does a receiver know whether those
successive data units are actual fragments or not, or how the data unit
has to be processed?

Thanks,

Carles



_______________________________________________
lp-wan mailing list
lp-wan@ietf.org
https://www.ietf.org/mailman/listinfo/lp-wan
_______________________________________________
lp-wan mailing list
lp-wan@ietf.org
https://www.ietf.org/mailman/listinfo/lp-wan