Re: [6lo] draft-ietf-6lo-fragment-recovery maximum fragment size too small

Michel Veillette <Michel.Veillette@trilliant.com> Tue, 08 January 2019 18:29 UTC

Return-Path: <Michel.Veillette@trilliant.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 C9528130FAE for <6lo@ietfa.amsl.com>; Tue, 8 Jan 2019 10:29:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.089
X-Spam-Level:
X-Spam-Status: No, score=0.089 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=1.989, 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=trilliant.onmicrosoft.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 vhuufnaNYspu for <6lo@ietfa.amsl.com>; Tue, 8 Jan 2019 10:29:26 -0800 (PST)
Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-eopbgr780105.outbound.protection.outlook.com [40.107.78.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DBD07130F78 for <6lo@ietf.org>; Tue, 8 Jan 2019 10:29:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Trilliant.onmicrosoft.com; s=selector1-Trilliant-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XA21F/gV6K8drI766xzPTPG1J5Un58fgpPMMNwu3Nes=; b=fLmwN9HKlWLLq+tJoEFIzaFsA7uTAwICIZWtcZcs+UngQJKzOpBdezqfq7KyajiFOVgxZvCqX1IhDOEiaP5Yuh8w4mgXyf+/Zs7Ii2tNsxjy6TkoXE4FSsQ4ujFgkUit4L9oNH4uRyON0QRJo0axGqz8IlE1r3FDmBfroKq257Y=
Received: from DM6PR06MB5049.namprd06.prod.outlook.com (20.176.122.224) by DM6PR06MB4762.namprd06.prod.outlook.com (20.176.112.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.9; Tue, 8 Jan 2019 18:29:20 +0000
Received: from DM6PR06MB5049.namprd06.prod.outlook.com ([fe80::54ec:d7d8:7625:42d0]) by DM6PR06MB5049.namprd06.prod.outlook.com ([fe80::54ec:d7d8:7625:42d0%3]) with mapi id 15.20.1495.011; Tue, 8 Jan 2019 18:29:20 +0000
From: Michel Veillette <Michel.Veillette@trilliant.com>
To: "Pascal Thubert (pthubert)" <pthubert@cisco.com>, "6lo@ietf.org" <6lo@ietf.org>
Thread-Topic: draft-ietf-6lo-fragment-recovery maximum fragment size too small
Thread-Index: AdSndZWR57hFJ4urRuKS4TKoalj4mQABM4YAAAC0UuA=
Date: Tue, 08 Jan 2019 18:29:20 +0000
Message-ID: <DM6PR06MB504964604648C90B3C1AC7A99A8A0@DM6PR06MB5049.namprd06.prod.outlook.com>
References: <DM6PR06MB5049F52372AE45566A20A6ED9A8A0@DM6PR06MB5049.namprd06.prod.outlook.com> <2637fc068daa40c09fe7927eb1e4f444@XCH-RCD-001.cisco.com>
In-Reply-To: <2637fc068daa40c09fe7927eb1e4f444@XCH-RCD-001.cisco.com>
Accept-Language: fr-CA, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michel.Veillette@trilliant.com;
x-originating-ip: [207.96.192.122]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM6PR06MB4762; 6:Cl9Ps86kK09cPysRktS1lAreTmDUe9sBFJyKOH+/FHUFcU+kaea8JSWJzb11cSkEI8Y5mPHR7EpACyBRQRlPuEKro9BTX1+Rt55mVUD+cBqXpWFBP6SgIT4jlaEsMaZajDlNAGLgDL8RzYzLmJzf1/Tgc6zvnI1cjRm/Zgu3zUj90EG7Z6zc8xeZF7qAzWt6twL5FyzL0vey0aayb+AjfLozwRQlrEMABBrDUT3BHEJ9pW2X7MJxeKSUZWkGwR2gPwVmtLnSi/bWxv7xf9iNSrX3ZNSuJRKoll1nSb1qaU+9N8DJymVats8lKaH/1fyC7Gy1aJSvAS4WAMUGzJuVXGIlqCRx89uO25Vq8JLQz3j554557LrjkjS9CdpUy44gLNv8JfnwKyL89UdP+EgOx8wrmFaH55pqh5lEg4u6vZYI/YosNfBdrUj/3FP8pRWHn3QT3AT2WvFyzwQj1qyCjA==; 5:gMSsBLAOh8Wgd32/xgwn8ksDPvhL2SA4E0hM8s+F7aqSq28prSJrYqoMXDtqW+Zpscncf9782lxUwk96udvnDgbCD7LMIJ+RybJhiPStqbsf3JtET6sZWJ6qlpRMntJKJ1ECDqZU2wIaFXja6NDCpedtkNrcbcajFy0kKTR1Q2XjTY6pNYMkLundSO+w8cRd4q9rxf6cKBYbFEbKWEnUiQ==; 7:DhHTDK7NkQW40pPJBCKggIXoKHMYWjg9vJfRKAYGCMrpWI/ssaGT5Dv9xh8CMkgeMGSESNWDvFy04ad2X3zbAYGmWulj+YsfKRdQlt4SFu/SIMkYmNTfM7/hltpFGcCByxWw8mCsZjJww18nEm1/sw==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: a2ea6a76-3ea7-4a9d-1e1e-08d6759734fb
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7153060)(7193020); SRVR:DM6PR06MB4762;
x-ms-traffictypediagnostic: DM6PR06MB4762:
x-microsoft-antispam-prvs: <DM6PR06MB47624F6A553503146E702FF89A8A0@DM6PR06MB4762.namprd06.prod.outlook.com>
x-forefront-prvs: 0911D5CE78
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(396003)(39850400004)(346002)(136003)(366004)(199004)(189003)(446003)(102836004)(7696005)(7736002)(2501003)(14454004)(105586002)(478600001)(55016002)(74316002)(3846002)(6116002)(790700001)(486006)(476003)(71190400001)(71200400001)(99286004)(229853002)(2906002)(606006)(11346002)(53546011)(6506007)(106356001)(86362001)(8676002)(76176011)(5660300001)(6436002)(66066001)(6246003)(9686003)(110136005)(316002)(53936002)(561944003)(236005)(54896002)(6306002)(68736007)(186003)(97736004)(26005)(8936002)(81166006)(72206003)(33656002)(81156014)(25786009)(14444005)(256004)(160913001)(15963001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR06MB4762; H:DM6PR06MB5049.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: trilliant.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: igFMSZPjwVztSt4BGBzB2mg1dZRaHu3oebeHo/ygsuAdu1NII7JiNEnsf09uQ4ecwwtuGCg7Vj9IP/yLOr0k8nfD7cFti4oeCcFVXaqbxwqOAtChoVw8lUYvuCBU0nA1gCyn60BgumMh6bJ+tdhSx10v5+GjxkQV6N7I8xU+4Gqq7fPL/yPBjNzcZ/69pTlT5bQnHpbNhjwiO+FifJM71qAz8+KfslJt9eSIaauiQSDTj6AxDTPyxGVGMoyBLw1AXpOfsHFtX1m8evkGMa9p/mkE9f3Q069gqk2n5pdmCKwnpN2r1W/qvRH+oO3DlwKl
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DM6PR06MB504964604648C90B3C1AC7A99A8A0DM6PR06MB5049namp_"
MIME-Version: 1.0
X-OriginatorOrg: Trilliant.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a2ea6a76-3ea7-4a9d-1e1e-08d6759734fb
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2019 18:29:20.7325 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4f6fbd13-0dfb-4150-85c3-d43260c04309
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR06MB4762
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/I4PEIuNhf4ge0Lr15CVRzbWrYDE>
Subject: Re: [6lo] draft-ietf-6lo-fragment-recovery maximum fragment size too small
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: Tue, 08 Jan 2019 18:29:35 -0000

Hi Pascal

The limit of 2K datagram doesn't hurt us, but can effectively hurt others.
I don't things that this draft need to go as far as supporting Jumbogram but should at least support any standard datagrams.
Adding a single byte to the RFRAG Dispatch type will help to get rid of these limitations.

For example:

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
                      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                      |1 1 1 0 1 0 0|X|         datagram_tag          |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |E| sequence|   fragment_size   |       fragment_offset         |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
                      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                      |1 1 1 0 1 0 1 Y|         datagram_tag          |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |          RFRAG Acknowledgment Bitmap (32 bits)                |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Regards,
Michel

From: Pascal Thubert (pthubert) <pthubert@cisco.com>
Sent: Tuesday, January 8, 2019 1:01 PM
To: Michel Veillette <Michel.Veillette@trilliant.com>; 6lo@ietf.org
Subject: RE: draft-ietf-6lo-fragment-recovery maximum fragment size too small

Hello Michel

Your proposal is feasible; the datagram space is probably overly large anyway. But it seems to be tailored around your exact problem as opposed to generic.
There are alternates like use a different unit, e.g., 4 bytes words as the existing text suggests. Maybe we could make the unit dependent on the MTU, like 1 byte under 128, 2 bytes till 256, and 4 bytes above that?
It seems that you are not concerned with the overall IP packet size, which is constrained to 2K by the fragment_offset. Maybe we should also look at that?

All the best

Pascal


From: 6lo <6lo-bounces@ietf.org<mailto:6lo-bounces@ietf.org>> On Behalf Of Michel Veillette
Sent: mardi 8 janvier 2019 18:38
To: 6lo@ietf.org<mailto:6lo@ietf.org>
Subject: [6lo] draft-ietf-6lo-fragment-recovery maximum fragment size too small

Hi authors of "draft-ietf-6lo-fragment-recovery"

I'm currently working on a fragment forwarding implementation based on "draft-ietf-6lo-fragment-recovery".
In some cases, relatively large fragments need to be supported (i.e. minimum MTU transferred using 3 fragments).
However, the current format of the RFRAG Dispatch type limits fragment size to only 128 bytes.

Is it possible to modify the RFRAG Dispatch type (https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-00#section-5.1<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Fdraft-ietf-6lo-fragment-recovery-00%23section-5.1&data=02%7C01%7C%7C12cb3a341d5e45a5b05308d67593338f%7C4f6fbd130dfb415085c3d43260c04309%7C0%7C0%7C636825672601917911&sdata=CNsPQhDxOFFzB7zOCgfDxZXeZjdoerKCmezSouL0EOE%3D&reserved=0>)
and corresponding RFRAG Acknowledgment Dispatch type (https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-00#section-5.2<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Fdraft-ietf-6lo-fragment-recovery-00%23section-5.2&data=02%7C01%7C%7C12cb3a341d5e45a5b05308d67593338f%7C4f6fbd130dfb415085c3d43260c04309%7C0%7C0%7C636825672601917911&sdata=%2FPLtWrX8XdGvLHacKuSRb%2FMfIcxE%2BXV%2BCMFg2CNhTHc%3D&reserved=0>)
to allow larger fragments?

For example:

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |1 1 1 0 1 0 0|  fragment_size  |X|E|     datagram_tag          |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |sequence |  fragment_offset    |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                           1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
                      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                      |1 1 1 0 1 0 1 Y| R |     datagram_tag          |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |          RFRAG Acknowledgment Bitmap (32 bits)                |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+



R = reserved


Regards,
Michel Veillette