[6lo] Questions - Implement Fragment Forwarding using VRB

Christian Hopfner <christian.hopfner@endress.com> Fri, 07 June 2019 07:00 UTC

Return-Path: <christian.hopfner@endress.com>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E7EC12015E for <6lo@ietfa.amsl.com>; Fri, 7 Jun 2019 00:00:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DC_PNG_UNO_LARGO=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=endress.com header.b=Pz2MBRKn; dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=endress.com header.b=bNar/7PR
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 wAN1uIwNBVUp for <6lo@ietfa.amsl.com>; Fri, 7 Jun 2019 00:00:18 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20084.outbound.protection.outlook.com [40.107.2.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D6754120100 for <6lo@ietf.org>; Fri, 7 Jun 2019 00:00:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endress.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NqHKRXyLgvgMArd3VIsFkyfcCFw6uRXyYYMhoVL/54g=; b=Pz2MBRKnM7C6QOrr14OO4Uu2WtazhFOs16tYlb7jgPoOVtzNIICpr+FyyYlYE4moNFPBrDTYV66jo7MyObDHgutsRbUxRf1SLVde1InLsLQRSUqVBi57h8LR3RoxINYLkFIICRQQqzpOXBWjVK5FmQ51Xu2rSmgtEW6A5gQ1Nik=
Received: from HE1PR05CA0284.eurprd05.prod.outlook.com (2603:10a6:7:93::15) by AM0PR05MB6276.eurprd05.prod.outlook.com (2603:10a6:208:137::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.14; Fri, 7 Jun 2019 07:00:14 +0000
Received: from AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::208) by HE1PR05CA0284.outlook.office365.com (2603:10a6:7:93::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.12 via Frontend Transport; Fri, 7 Jun 2019 07:00:14 +0000
Authentication-Results: spf=pass (sender IP is 13.79.242.66) smtp.mailfrom=endress.com; ietf.org; dkim=fail (body hash did not verify) header.d=endress.com;ietf.org; dmarc=pass action=none header.from=endress.com;
Received-SPF: Pass (protection.outlook.com: domain of endress.com designates 13.79.242.66 as permitted sender) receiver=protection.outlook.com; client-ip=13.79.242.66; helo=iqsuite.endress.com;
Received: from iqsuite.endress.com (13.79.242.66) by AM5EUR03FT005.mail.protection.outlook.com (10.152.16.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1965.12 via Frontend Transport; Fri, 7 Jun 2019 07:00:14 +0000
Received: from mail pickup service by iqsuite.endress.com with Microsoft SMTPSVC; Fri, 7 Jun 2019 09:00:13 +0200
Received: from EUR01-VE1-obe.outbound.protection.outlook.com ([104.47.1.55]) by iqsuite.endress.com over TLS secured channel with Microsoft SMTPSVC(8.5.9600.16384); Fri, 7 Jun 2019 09:00:12 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endress.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/7ReUnEZ4sfBmCXwzKQLIYRQPmOWm10Ngb6M/kwhI1E=; b=bNar/7PRaCQzad9PMA3tffmvmKkvrCaIn9Adp7yaRULlYALrzvGJoOchSnLB9HpE2UagoU4Fs44sfTGGBnQKWjFXZMnmW8hAeR7mZXrS2xTZzXxXFVjWJ+11MD3ERisIH/oTGKF+265Ke3MsQOCjTzocGELY4SzCCA/j1XlJcHc=
Received: from DBBPR05MB6315.eurprd05.prod.outlook.com (20.179.40.209) by DBBPR05MB6378.eurprd05.prod.outlook.com (20.179.41.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.12; Fri, 7 Jun 2019 07:00:10 +0000
Received: from DBBPR05MB6315.eurprd05.prod.outlook.com ([fe80::98db:4f36:1e44:b71a]) by DBBPR05MB6315.eurprd05.prod.outlook.com ([fe80::98db:4f36:1e44:b71a%7]) with mapi id 15.20.1965.011; Fri, 7 Jun 2019 07:00:10 +0000
From: Christian Hopfner <christian.hopfner@endress.com>
To: "6lo@ietf.org" <6lo@ietf.org>
Thread-Topic: Questions - Implement Fragment Forwarding using VRB
Thread-Index: AdUc9mfYu2YPqQ8eTqikWLlT1ejuDQ==
Content-Class:
Date: Fri, 07 Jun 2019 07:00:08 +0000
Message-ID: <DBBPR05MB6315B13942DFB7150A66CF50FA100@DBBPR05MB6315.eurprd05.prod.outlook.com>
Accept-Language: de-DE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_2988f0a4-524a-45f2-829d-417725fa4957_Enabled=True; MSIP_Label_2988f0a4-524a-45f2-829d-417725fa4957_SiteId=52daf2a9-3b73-4da4-ac6a-3f81adc92b7e; MSIP_Label_2988f0a4-524a-45f2-829d-417725fa4957_Owner=christian.hopfner@endress.com; MSIP_Label_2988f0a4-524a-45f2-829d-417725fa4957_SetDate=2019-06-07T07:00:02.6212911Z; MSIP_Label_2988f0a4-524a-45f2-829d-417725fa4957_Name=Not Protected; MSIP_Label_2988f0a4-524a-45f2-829d-417725fa4957_Application=Microsoft Azure Information Protection; MSIP_Label_2988f0a4-524a-45f2-829d-417725fa4957_ActionId=24f24dfd-5070-4dac-9cee-f0a860e19890; MSIP_Label_2988f0a4-524a-45f2-829d-417725fa4957_Extended_MSFT_Method=Automatic
Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=christian.hopfner@endress.com;
x-originating-ip: [80.149.176.5]
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-Correlation-Id: d490b801-a200-4669-e766-08d6eb15ca5c
X-Microsoft-Antispam-Untrusted: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(49563074)(7193020); SRVR:DBBPR05MB6378;
X-MS-TrafficTypeDiagnostic: DBBPR05MB6378:|AM0PR05MB6276:
X-Microsoft-Antispam-PRVS: <AM0PR05MB6276B3F81FE29BDFA1D3E72AFA100@AM0PR05MB6276.eurprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;OLM:9508;
x-forefront-prvs: 0061C35778
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(366004)(376002)(136003)(346002)(39860400002)(396003)(199004)(189003)(51874003)(53754006)(486006)(55016002)(99936001)(33656002)(54896002)(6306002)(54556002)(9686003)(66066001)(44832011)(86362001)(3846002)(790700001)(6116002)(68736007)(316002)(25786009)(256004)(53936002)(733005)(6436002)(5640700003)(14444005)(2906002)(14454004)(26005)(7736002)(7696005)(6506007)(2501003)(2351001)(478600001)(5660300002)(186003)(74316002)(66616009)(66446008)(66946007)(64756008)(6916009)(66556008)(66476007)(76116006)(73956011)(99286004)(71200400001)(476003)(71190400001)(8676002)(52536014)(81166006)(102836004)(8936002)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:DBBPR05MB6378; H:DBBPR05MB6315.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: endress.com does not designate permitted sender hosts)
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Message-Info-Original: jg3mzxRaqapTarAG+J0ShikmrIaFp0n4oTlTVjiClVRzvbFSjFIkNaWoO3PxqlfGJFoATZtxtU35m3xkO8rDihuwe7MPf2ooIK1aWBcUkNRNnGJlanxf5b8jQYsoppajyHQ+TfBCe1dQDEAISHholl4hEyZud0cenwmDuZQLKwWHFJXltHtqUW+489brPATpbjF6/mukAdNQsloRprxatzng+2tz1taM8i1UCs6S0ym/BmsTgogyYfHnryrlGRmAg9R+isLKRfMYTcZkzFYaGxFQeGPAcmQGQv9ui6E3jYqVWrSFp5hsltmvAu/Ro+yQx16A79Dx6DysLzQso9EIY9eS5024Qt7Ueu/8sB2cD99KFsX5AjWvvGwpMddVsrM9WE5viqMr1CB+daMA5b5cP1dcbi/EYXExKfiNO9gk8oY=
Content-Type: multipart/related; boundary="_004_DBBPR05MB6315B13942DFB7150A66CF50FA100DBBPR05MB6315eurp_"; type="multipart/alternative"
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR05MB6378
X-OriginalArrivalTime: 07 Jun 2019 07:00:12.0480 (UTC) FILETIME=[A6E82400:01D51CFE]
X-Trailer: 1
X-GBS-PROC: XyGzryPHg18PVTRlfXF6j1N12SktaNWZAYLNGtiGeZ8=
X-GRP-TAN: IQNE02@B97EBB1C092848E99ADA682481917DFF
X-iqsuite-process: processed
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com
X-Forefront-Antispam-Report: CIP:13.79.242.66; IPV:CAL; SCL:-1; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(346002)(39860400002)(396003)(376002)(136003)(2980300002)(51874003)(26234003)(189003)(199004)(53754006)(76130400001)(186003)(336012)(6916009)(606006)(7696005)(8676002)(6506007)(70206006)(476003)(52536014)(54896002)(26005)(33964004)(106002)(44832011)(6306002)(66574012)(53936002)(486006)(236005)(61614004)(5660300002)(733005)(8936002)(14454004)(25786009)(55016002)(5640700003)(9686003)(15974865002)(2351001)(126002)(102836004)(67866002)(861006)(2501003)(66616009)(70586007)(71190400001)(478600001)(26826003)(14444005)(356004)(66066001)(99936001)(66926002)(74316002)(69596002)(2906002)(86362001)(84326002)(7736002)(54556002)(99286004)(33656002)(316002)(790700001)(81156014)(3846002)(6116002)(68736007)(16586007)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB6276; H:iqsuite.endress.com; FPR:; SPF:Pass; LANG:en; PTR:InfoDomainNonexistent; MX:1; A:1;
X-MS-Office365-Filtering-Correlation-Id-Prvs: 26b89fcd-1de1-41c0-34d5-08d6eb15c847
X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(710020)(711020)(4605104)(4709080)(1401327)(2017052603328)(49563074)(7193020); SRVR:AM0PR05MB6276;
X-MS-Exchange-PUrlCount: 3
X-Forefront-PRVS: 0061C35778
X-Microsoft-Antispam-Message-Info: z7V9c75uFT21AmmMkoLLe7EnPUp2gYTOW9kN8d2vUfc1LRptOorPsDMXnxesCIuf5kbqeIH2Sbr1QsZktA9L4/Bn+GZioZVibc7TVrskE1z20KCkokEhxZQE2WaKsqRra92S7jO8jC9fDREBGeMDtPS5v6Fkl1wmz9w27h/7wSFrc36EfubXeOaQB38R5XpPuOkyiJICSGEflFL2zNH2u3aalnp5be0zxqJ6jI65qC+hr3bRBSV4uPh7Us6ohnGCYZ414ozGuthwW04s4IgyoxxPivSo6HKRmlCgkxF/3StuNyhj0SsOWfVi5ZEnFzFahVaX/IdTsRZO6iJtuWM+7Fjmwq0c9NjXpCL3frryxmlzLAlyvBIRI1jfloNOrPwW9E9nknwSUUK/yulzP+Bw3tRm5+4DbE9s6YDZ0PIEoAo=
X-OriginatorOrg: endress.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2019 07:00:14.0659 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: d490b801-a200-4669-e766-08d6eb15ca5c
X-MS-Exchange-CrossTenant-Id: 52daf2a9-3b73-4da4-ac6a-3f81adc92b7e
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=52daf2a9-3b73-4da4-ac6a-3f81adc92b7e; Ip=[13.79.242.66]; Helo=[iqsuite.endress.com]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6276
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/pjK2S4k-cjhrb4JE2HzmPZ24IqU>
Subject: [6lo] Questions - Implement Fragment Forwarding using VRB
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Mailing list for the 6lo WG for Internet Area issues in IPv6 over constrained node networks." <6lo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6lo>, <mailto:6lo-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6lo/>
List-Post: <mailto:6lo@ietf.org>
List-Help: <mailto:6lo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lo>, <mailto:6lo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Jun 2019 07:00:22 -0000

Hey all,

I do have some questions related to fragment forwarding or fragmentation in general and I hope I can get some help here.

Right now I'm not sure what values I have to set for DATAGRAM_SIZE and DATAGRAM_OFFSET.

As per my understanding at the LBR - DATAGRAM_SIZE has to be the size of the incoming IPv6 packet before transforming it into a 6lowpan packet. For instance if I do a ping from a local address in the same subnet as my wireless network is:
ABCD::1 to ABCD::EUI64 using linux ping6 command with option -s 100
That will result in which packet size 100byte payload, 8byte udp header, 16byte src, dst address each -> total 140byte ?

Here I'm not sure since I do have an implementation for traditional hop-by-hop forwarding which differs in some points from rfc4944 in my eyes.

Following wireshark snippet shows the use case I have tested so far, where 1f2e is the dagroot and fd44 first hop node. Here datagram size is 138byte not 140byte

[cid:image001.png@01D51D07.6393E0F0]

The next thing what I'm not sure is, where do I start to count my payload bytes I'm referring with DATAGRAM_OFFSET in frag n packets. For the following packets it seems to be quite easy since they only contain FRAGN Header and the payload beside IEEE802.15.4 header and MIC (if secured).
I'm using rpl-source routing so my headers will vary from hop to hop since there are ipv6 header, iphc header, routing headers with paging dispatch and so forth. The stack implement RFC6282, RFC8025.

RFC4944 says something about first octet of the datagram (e.g. start of the ipv6 header) which can be offset zero. Here my confusion starts. If I assume everything after ipv6 header belongs to the payload I have to strip the packet at each hop downstream? Since the DATAGRAM_OFFSET should be always a multiples of 8 octets I wonder how I should handle this in an elegant way. Or is the payload in my ping case starting with icmpv6 header with 0x80 (ICMPV6_ECHO_REQUEST), which would make more sense for me.

In some ietf slides I already found some issue statements that some re-fragmentation might be required at intermediate hops and therefore one should try to get all the slack into Frag1. I'm honestly don't understand what is meant by that, I have never heard of it. Maybe an explanation is part of the solution for my problem.

As you can see I'm somehow lost and any help is appreciated - Thanks in advance




Mit freundlichen Grüßen I Best regards 

Christian Hopfner 

Developer | TPI F&E Plattform Informatik
Endress+Hauser SE+Co. KG | Hauptstrasse 1 | 79689 Maulburg | Germany
Phone: +49 7622 28 1883
christian.hopfner@endress.com |  www.pcm.endress.com 


Endress+Hauser SE+Co. KG
Registergericht: Amtsgericht Freiburg i.Br. HRA 670225
Sitz der Gesellschaft: Maulburg
Persönlich haftender Gesellschafter: Endress+Hauser Administration SE
Sitz des persönlich haftenden Gesellschafters: Maulburg
Registergericht: Amtsgericht Freiburg i.Br. HRB 717326
Vorstand: Dr. Andreas Mayr, Dr. Peter Selders
Aufsichtsratsvorsitzender: Matthias Altendorf

Gemäss der Datenschutzgrundverordnung (EU-DSGVO) sind wir verpflichtet, Sie zu informieren,
wenn wir personenbezogene Daten von Ihnen erheben.
Dieser Informationspflicht kommen wir mit folgendem Datenschutzhinweis nach.


Endress+Hauser SE+Co. KG
Register Court: Local Court of Freiburg i.Br. HRA 670225
Registered Office: Maulburg
General Partner: Endress+Hauser Administration SE
Registered Office of General Partner: Maulburg
Register Court: Local Court of Freiburg i.Br. HRB 717326
Chief Executive Officer: Dr. Andreas Mayr, Dr. Peter Selders
Chairman of the Board: Matthias Altendorf

According to the General Data Protection Regulation, we are obliged to inform you when collecting your personal data.
We comply with this information duty with the following Data Protection Statement.


Disclaimer: 

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from any computer. This e-mail does not constitute a contract offer, a contract amendment, or an acceptance of a contract offer unless explicitly and conspicuously designated or stated as such.