Re: [6lo] draft-ietf-6lo-fragment-recovery: Send a FULL bitmap when datagram is complete?

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Wed, 23 October 2019 12:52 UTC

Return-Path: <pthubert@cisco.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 0AD90120072 for <6lo@ietfa.amsl.com>; Wed, 23 Oct 2019 05:52:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=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 header.b=DQp8gCz1; dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=cisco.onmicrosoft.com header.b=Efa5gD8d
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 OUlqc18XnjAY for <6lo@ietfa.amsl.com>; Wed, 23 Oct 2019 05:52:06 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9783A120271 for <6lo@ietf.org>; Wed, 23 Oct 2019 05:52:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=39669; q=dns/txt; s=iport; t=1571835126; x=1573044726; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=3Jw4iRN/zzrD8uX16VoMrHXie1tf4/CjP5vu2zVJPsM=; b=DQp8gCz1iyXav/15GTQUmc2czyD6qvBDVnFvINUWjwCZSreMHrjBOibR ukFoICxuUsj1dRNluJpZRDYFTBOsgQD5CwpV2WYS5zmDtp0MzNqyvKgNQ lV7rQAEhbW2guKm3uopJQd1GqFjRTk65obIUhsyM5koEpTOR5wnPGHzAd k=;
IronPort-PHdr: 9a23:iA9+rxSoXQCLUGoXrb16Cs8Js9psv++ubAcI9poqja5Pea2//pPkeVbS/uhpkESXBNfA8/wRje3QvuigQmEG7Zub+FE6OJ1XH15g640NmhA4RsuMCEn1NvnvOjQmHNlIWUV513q6KkNSXs35Yg6arw==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AOAQC8TLBd/5hdJa1lHAEBAQEBBwEBEQEEBAEBgWkFAQELAYEbL1AFbFcgBAsqhCeDRwOKWIJemAOBLhSBEANUCQEBAQwBARgBDAgCAQGEQAIXgx0kNgcOAgMJAQEEAQEBAgEFBG2FNwyFUAEBAQEDAQEQEQoTAQEsCwEPAgEIDgMEAQEhBwMCAgIlCxQJCAIEDgUIBhSDAYJGAy4BAgymXQKBOIhhdYEygn4BAQWBNAEDAg5BgwEYghAHCYE2AYUVhnkYgUA/gRFGgU5+PoJiAQECAQEWgQslGTQIglIygiyNCIJwhTqBEoEnhnmOfgqCJINFg0mFTohlgjtyhmGPQJZdkSACBAIEBQIOAQEFgVkLJyqBLnAVGiGCbAlHEBSDBgwXFYM7hRSFP3SBKY8dAQE
X-IronPort-AV: E=Sophos;i="5.68,220,1569283200"; d="scan'208,217";a="363365037"
Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 23 Oct 2019 12:52:00 +0000
Received: from XCH-RCD-007.cisco.com (xch-rcd-007.cisco.com [173.37.102.17]) by rcdn-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id x9NCq0Lp007618 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 23 Oct 2019 12:52:00 GMT
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by XCH-RCD-007.cisco.com (173.37.102.17) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 23 Oct 2019 07:52:00 -0500
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 23 Oct 2019 08:51:58 -0400
Received: from NAM01-BY2-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 23 Oct 2019 07:51:57 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LasMOSot8M1hYCAVT0JB0gONMxiHRK8NSo+aStRuex8VDZakQ84bEtuZ6fIAaSYzWBUDscgnRHnCjlsIUYdHbr8ytIFc2TJj5Ral1aJZ3oWlNqt6tayxDxmXnpdxDXhSerOSLKvL8QCcWG76bdqSZj+HdOaH/PKX4gKJQWrPHfFCog3iziWXtCu45NRfhy+1XxOCMogBq2vhPjgjn7w+WyS57EVdOk/4mnPL+psbz2T8UsOCZB5K6rIhyqdvNXeLHU+gAx7Fq8iiAk53xsm98ok/cDFaz2rym6wJ7hWj6BkOUeR6e63xK9FEhx58RmvmpZyo60FUVnB0Hva02TyegQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=07JPrW7L2w6fBLF81G9LAJo7T2s9fIRYh6mEYGfKe3Q=; b=KjtTu/CXyxhaDxT6nmVJJFMyZgezC9A28G5+V6yw32fioV1fbHi+CYbdoPlS5qh9W0pa8REPP3KUYrnsFQBvjsZ1DBmDJJq6lqlGEsvGEUv+kGtsslkk1teRsDGJ6yPy3wgIbGNSmzoxWAziGaOnuZUQ22NnYgkAZt2Cltjvv/+m2iEFzGDGoREDj6g1M2V+/ZLqT8+66bvv6QxeuV4z/mTGRefqvzCu4lBShA4Lb6glpVBVGFBCV4W9Sz70iQsiNDjaD+lKPuDMh/KQ7DdK8wAC6vTSqeaWCYnXmVnNYFh3DGYSQpu5cZCFt9vGWKQ89g1GIQN4Jfm3dxv8IbpKCA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=07JPrW7L2w6fBLF81G9LAJo7T2s9fIRYh6mEYGfKe3Q=; b=Efa5gD8d0/Kixq/q9sPqJLlXuc4ErKZI+uIgZ2fLQeVzcobbCTq3/zQ1uRQrA/C60dXx/s6RfiSVU66wZ0zrCcmT1EvUELTm2VwGMsFY+h23BRlueLhx2WmMBv0oJh5kYmeFgkW8mlZdwIOAh3K5U1DAiVUUzIT5mjOSMbwz66M=
Received: from MN2PR11MB3565.namprd11.prod.outlook.com (20.178.250.159) by MN2PR11MB4432.namprd11.prod.outlook.com (52.135.39.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.21; Wed, 23 Oct 2019 12:51:56 +0000
Received: from MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::31c9:3a31:3c07:a920]) by MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::31c9:3a31:3c07:a920%6]) with mapi id 15.20.2387.019; Wed, 23 Oct 2019 12:51:56 +0000
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Martine Lenders <m.lenders@fu-berlin.de>
CC: "6lo@ietf.org" <6lo@ietf.org>
Thread-Topic: [6lo] draft-ietf-6lo-fragment-recovery: Send a FULL bitmap when datagram is complete?
Thread-Index: AQHVeGUCxtiYSEHuDEyFckV3dnOaB6dlSJGAgAAIxtCAABAHcIAC6LgAgAAD+4CAAACvAIAAAPvg
Date: Wed, 23 Oct 2019 12:51:42 +0000
Deferred-Delivery: Wed, 23 Oct 2019 12:50:54 +0000
Message-ID: <MN2PR11MB35655D6C1EF3E6F8915178C5D86B0@MN2PR11MB3565.namprd11.prod.outlook.com>
References: <CALHmdRzhXsz1pNzc-cJ=+ufE3ioCXtRGkAugBSZSuyGNXE1wNg@mail.gmail.com> <515A623D-07D8-4DFD-9F8E-EB527B73EDAB@cisco.com> <CALHmdRwhO9_rwA5Q86x-m_4YKLaJ6D636wqBcshm+1SjEpiwZg@mail.gmail.com>
In-Reply-To: <CALHmdRwhO9_rwA5Q86x-m_4YKLaJ6D636wqBcshm+1SjEpiwZg@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pthubert@cisco.com;
x-originating-ip: [2001:420:44f3:1300:fc9e:730:2c16:4060]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 2bd05cbf-9b5a-4765-5686-08d757b7c915
x-ms-traffictypediagnostic: MN2PR11MB4432:
x-microsoft-antispam-prvs: <MN2PR11MB443251AE4DF5F4DB2FD9BA91D86B0@MN2PR11MB4432.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 019919A9E4
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(376002)(136003)(39860400002)(396003)(346002)(199004)(189003)(51444003)(4326008)(6506007)(54896002)(33656002)(6306002)(66556008)(76116006)(66446008)(64756008)(99286004)(66476007)(66616009)(229853002)(66946007)(6246003)(102836004)(52536014)(236005)(8676002)(6666004)(81166006)(14454004)(6436002)(186003)(81156014)(71190400001)(8936002)(478600001)(11346002)(446003)(7736002)(7696005)(53546011)(9686003)(790700001)(46003)(71200400001)(316002)(6116002)(25786009)(74316002)(256004)(486006)(55016002)(6916009)(476003)(99936001)(5660300002)(86362001)(2906002)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4432; H:MN2PR11MB3565.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: JPpUTIH+Sd7/dN3+EsAjc8D9T6xGGDhIvWUurCbXi434PFd4d09om9T4DnTtBGTzQdwSqFV3ii4ootbyv605ppLsBWly+DoE4F9mevgnrroL2RZsT69tBfbh1EKG4VjczgbRy7EmvuxTIj3HwNDriFN1RDqjSNNvvzp5j4+WVlAXvbjPnkOwgdFLBidb2nxy47uXKGQM5qnoq+WbYgLPqaGNBIaQRzeg6zAtw0T7OWzOflH5cx6mFFAv0JLeMisNnwXWib9GqKHAoDYog70yyBOfiUULjddkRYjtWbAX67ynpd2dZ3DFhvWksNSlPOPtuPfy094eT2OSCYO2W9s4+8zFBm7KTPjDVG4xqtRe/7l1G5JK7nQzyBlwJiyJNvwVBvuxjK54lomWAb2C59UB5uAsl9Xcl3Lyf0ZAv6Hw1eHBbt+FCeAC5Clo8RXsT5Z/
x-ms-exchange-transport-forked: True
Content-Type: multipart/mixed; boundary="_004_MN2PR11MB35655D6C1EF3E6F8915178C5D86B0MN2PR11MB3565namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 2bd05cbf-9b5a-4765-5686-08d757b7c915
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2019 12:51:55.8316 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: iFpMc7xMBsxeUxjUBXKWcpX2K6sNjLveavAsxgSG/yuxWDlNwYAepkr2NCDipIkFa4GiSsNqMU0sf32Obfuekg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4432
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.17, xch-rcd-007.cisco.com
X-Outbound-Node: rcdn-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/Bv1ljouQrfdUEdEHNhpScXFeQKs>
Subject: Re: [6lo] draft-ietf-6lo-fragment-recovery: Send a FULL bitmap when datagram is complete?
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: Wed, 23 Oct 2019 12:52:09 -0000

Cool : )

I published 07, please see the diffs.

All the best;

Pascal

From: 6lo <6lo-bounces@ietf.org> On Behalf Of Martine Lenders
Sent: mercredi 23 octobre 2019 14:46
To: Pascal Thubert (pthubert) <pthubert@cisco.com>
Cc: 6lo@ietf.org
Subject: Re: [6lo] draft-ietf-6lo-fragment-recovery: Send a FULL bitmap when datagram is complete?

Hi,

Am Mi., 23. Okt. 2019 um 14:43 Uhr schrieb Pascal Thubert (pthubert) <pthubert@cisco.com<mailto:pthubert@cisco.com>>:
Hello Martine

I meant fragments. It can be expected that a few fragments are still in flight after everything is received because of end to end fragment retries or L2 ARQ. So the receiver must keep a state to drop them silently. But is it gets “too much “ of that it may be an error and the receiver should abort the flow.

That “too much” decision is left to implementation.

Thank, now it is clearer!

Regards,
Martine



Regards,

Pascal


Le 23 oct. 2019 à 14:29, Martine Lenders <m.lenders@fu-berlin.de<mailto:m.lenders@fu-berlin.de>> a écrit :

Hi Pascal,

Am Mo., 21. Okt. 2019 um 18:14 Uhr schrieb Pascal Thubert (pthubert) <pthubert@cisco.com<mailto:pthubert@cisco.com>>:
Hello Again

I reread the text and it appears that the receiver operation is too implicit. I suggest to add this in the last fragment processing:

    When all the fragments are received, the receiving endpoint reconstructs
    the packet, passes it to the upper layer, sends a RFRAG Acknowledgment on
    the reverse path with a FULL bitmap, and harms a short timer to absorb
    packets that are still in flight for that datagram without creating a new
    state and abort the communication if it keeps going.

Does that help?

If this goes somewhere in section 6, yes I think that makes it far more understandable.

Note that there’s room for an implementation to decide if it absorbs silently a few packets and for how long, and when it decides to reset the flow. The all 1 (to be renamed throughout to FULL)  does not help more than the reset.

By packets you mean fragments or reassembled datagrams. I don't really understand what you mean by that.

Best regards,
Martine


Pascal


From: Pascal Thubert (pthubert)
Sent: lundi 21 octobre 2019 17:29
To: Martine Lenders <m.lenders@fu-berlin.de<mailto:m.lenders@fu-berlin.de>>; 6lo@ietf.org<mailto:6lo@ietf.org>
Subject: RE: [6lo] draft-ietf-6lo-fragment-recovery: Send a FULL bitmap when datagram is complete?

Sorry I missed that Martine!

The ALL 1s was already sent when the last fragment was received. This text happens later.

It is supposed to have been processed along the way back. The receiving end node maintains a state for a “short” time after the message processing to absorb packets that may still be in flight. During that “short” time it is capable to recognize redundant packets and drop them as opposed to create a new state and expect the full fragment. For legitimate packets still in flight the good thing would be to stay silent. If the Ack with a FULL (All 1s) bitmap was lost then sending it again would be OK as you point out.

But there might also be error conditions, like a weird situation that the FULL bitmap did not fix on its way back where the sender keeps sending. If the FULL bitmap failed then retrying it may fail again. The reset is a clearer indication to drop everything regardless and move to the next.

Works? Should we massage text?

All the best

Pascal

Am Di., 1. Okt. 2019 um 16:31 Uhr schrieb Martine Lenders <m.lenders@fu-berlin.de<mailto:m.lenders@fu-berlin.de>>:
Hi,

draft-ietf-6lo-fragment-recovery states in section 6.3

[the] might need to abort the process of a fragmented packet for internal reasons, for instance if it […] considers that this packet is already fully reassembled and passed to the upper layer. In that case, the receiver SHOULD indicate so to the sender with a NULL bitmap in a RFRAG Acknowledgment.

The given example seems to me the perfect instance to set a FULL bitmap instead. There is no other instance were a FULL bitmap is specified to be sent, except for the case that the datagram incidentally fills out the whole value space of the sequence number field.

Or am I missing something?

Kind regards,
Martine
--- Begin Message ---
A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the IPv6 over Networks of Resource-constrained Nodes WG of the IETF.

        Title           : 6LoWPAN Selective Fragment Recovery
        Author          : Pascal Thubert
        Filename        : draft-ietf-6lo-fragment-recovery-07.txt
        Pages           : 26
        Date            : 2019-10-23

Abstract:
   This draft updates RFC 4944 with a simple protocol to recover
   individual fragments across a route-over mesh network, with a minimal
   flow control to protect the network against bloat.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-6lo-fragment-recovery/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-07
https://datatracker.ietf.org/doc/html/draft-ietf-6lo-fragment-recovery-07

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-6lo-fragment-recovery-07


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
6lo mailing list
6lo@ietf.org
https://www.ietf.org/mailman/listinfo/6lo
--- End Message ---