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 13:51 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 BF6C31208DC for <6lo@ietfa.amsl.com>; Wed, 23 Oct 2019 06:51:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 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, 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=BVxnLHA9; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=vCX2BBSu
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 on9_E42RJEwJ for <6lo@ietfa.amsl.com>; Wed, 23 Oct 2019 06:51:11 -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 51F321201E5 for <6lo@ietf.org>; Wed, 23 Oct 2019 06:51:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=27629; q=dns/txt; s=iport; t=1571838671; x=1573048271; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=5cpWDlJobSkcM5CkkVb1ibt5a8ZKWOJDcR9M8cG4z5I=; b=BVxnLHA9nuaFymZiwiKyeRiOFDvsqIE/q5z5ArWm4BzdnE6otI4Uja1Z n03RuMvHRHJ/zLvlT4UbjK4cvCYfOkT/BYbns4ZTHYMrsV9Mwj3+G+xWo tvQy8m80va3PN9Iucq9TfB0m9evVJClis7TKCpS1ypLAveFJzwDfP96yu U=;
IronPort-PHdr: 9a23:2zzzcxfTOk8pGAniq2GNv0ZHlGMj4e+mNxMJ6pchl7NFe7ii+JKnJkHE+PFxlwGQD57D5adCjOzb++D7VGoM7IzJkUhKcYcEFnpnwd4TgxRmBceEDUPhK/u/dzA6Ac5PTkNN9HCgOk8TE8H7NBXf
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CwAACsWbBd/4QNJK1lGgEBAQEBAQEBAQMBAQEBEQEBAQICAQEBAYF7gUtQBWxXIAQLKgqEHYNHA4pYgjklmAOBQoEQA1QJAQEBDAEBGAEKCgIBAYRAAheDHSQ4EwIDCQEBBAEBAQIBBQRthTcMhVABAQEBAwEBEBEdAQEsCwEPAgEIDgMEAQEoAwICAiULFAkIAgQOBSKDAAGBeU0DLgECAQunAwKBOIhhdYEygn4BAQWBNAGDVRiCFwMGgTaFFoZ5GIFAP4ERJwwTgU5+PoJiAQGBJRwBAQdNgloygiyNCIJwhTqCOYZ5jn4KgiSMXIhKG4I7h1OJM4YNp30CBAIEBQIOAQEFgWkiKoEucBU7KgGCQVAQFIMGDBcVgzuFFIU/dIEpjFGBIgGBKQEB
X-IronPort-AV: E=Sophos;i="5.68,221,1569283200"; d="scan'208,217";a="363410010"
Received: from alln-core-10.cisco.com ([173.36.13.132]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 23 Oct 2019 13:51:09 +0000
Received: from XCH-ALN-018.cisco.com (xch-aln-018.cisco.com [173.36.7.28]) by alln-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id x9NDp8Ya003148 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 23 Oct 2019 13:51:09 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-ALN-018.cisco.com (173.36.7.28) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 23 Oct 2019 08:51:09 -0500
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 23 Oct 2019 08:51:07 -0500
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 23 Oct 2019 08:51:07 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OOLHqNdgRDoDt/75M1EsJwL9TcEIhl8hDw73Ms1YEqXQjm0tsXEaqBdKyMXOIj5rDMYHE5UwDcO6SJ+4x0MMLRr8nok7p8vrQlHLYl3z+x1c9L4DfND40F8qM6DjLZk20YXGW8/FrbfPwqPZBCl50rEx/7cGxBVWJBr+V5ZRDwU1ANMMU31/PnyscKDlYGcnmz77SVktFOrvTgbXQdQBVbqxmbiKKMVeRSZoGpWvHZ+xbxtmTjH189xsSbAkBDAnNEAg3nf72LWMMp5ZG043Jmu5xzKQu2V0vmaIqE3QuTQbARhtLIqyELgJERZ2KSMYe8W6p1anhyvE6em3z9lA0g==
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=5cpWDlJobSkcM5CkkVb1ibt5a8ZKWOJDcR9M8cG4z5I=; b=X3cS2RkkmLI9u9Z2p8IC1ZAb/LbNdlXux+oR/JaXWkDufaCmkBfNr4ndAzbDS3BdGJ+7ZuVV95asV6SI6EcKaWHDy+NeehuefKDAl2FbWZmJGlGdGKBxQ+OKTsewxPsotcILgzkVa9fkciUPhkeHJ3DRNAGHHGkHVjK35+dDjpUnjTkfs9LSJh/R1vYRPv0d/5nJbwBKDnt8LUpnMLiTBb5+Th5o4ui5KVN3ugWRoVnG8TXGbSO+pPnvUsn20JYlE28QRPxTGPSD3WvFDVO8B1uZkFHpOtL79UYowstoQPNUVUJcNs6be0lljgRM9Fc53AjdBELh+awxPzOn3lJUYQ==
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=5cpWDlJobSkcM5CkkVb1ibt5a8ZKWOJDcR9M8cG4z5I=; b=vCX2BBSunwvBlLy6/e+Tb8CTLV1NuHe0WQ2cdxreizX1lUm5SJwAu9Wk6rfSnixCeSmCI448kDLoqwa0+W34AvaCRmBWP+iFEmhOJNi2D+JGes2ble0903b921LlG3hznWVoKAnVJ5bUbyy9U8HQUnR3C0f0CcOgZtRAVa56vPw=
Received: from MN2PR11MB3565.namprd11.prod.outlook.com (20.178.250.159) by MN2PR11MB3776.namprd11.prod.outlook.com (20.178.251.156) 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 13:51:06 +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 13:51:06 +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+4CAAACvAIAAAPvggAAGxwCAAAqEAA==
Date: Wed, 23 Oct 2019 13:51:06 +0000
Message-ID: <0E664F70-552B-4311-B6E9-347EECB8E4FF@cisco.com>
References: <CALHmdRw_6mBft-raVbOSdYZjZbjN++Yj7127bNagM_U+GSJ_ng@mail.gmail.com>
In-Reply-To: <CALHmdRw_6mBft-raVbOSdYZjZbjN++Yj7127bNagM_U+GSJ_ng@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pthubert@cisco.com;
x-originating-ip: [81.185.164.223]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 3bea14ac-435c-4098-9b16-08d757c00d75
x-ms-traffictypediagnostic: MN2PR11MB3776:
x-microsoft-antispam-prvs: <MN2PR11MB3776CA640A4C439E503EA4F0D86B0@MN2PR11MB3776.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 019919A9E4
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(136003)(346002)(39860400002)(396003)(366004)(51444003)(199004)(189003)(26005)(66556008)(486006)(6436002)(64756008)(66446008)(476003)(6506007)(91956017)(446003)(5660300002)(54896002)(8676002)(478600001)(66946007)(236005)(6306002)(14454004)(25786009)(81166006)(2616005)(66476007)(66066001)(76116006)(6512007)(966005)(102836004)(53546011)(186003)(11346002)(86362001)(81156014)(6246003)(4326008)(33656002)(6116002)(8936002)(6916009)(76176011)(5070765005)(316002)(99286004)(7736002)(229853002)(71190400001)(71200400001)(3846002)(36756003)(2906002)(256004)(6486002)(244885003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3776; 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: pNjP6w8f8tu/4LuqaHvtdhhqtY0g28a/f22x4q4Y3atSnIk5s9ymoeygnZrCItXBTWZ13N7CY+eHRkKVEmR5P1wMClqCHS0nItuuQbbwIWw8sTT97xJmpnKbX9grtN43ZQL9wJ3wyYugd8w3SIfBoLXLoHvdkJK/6y5GEAAkd1siFi4EmWY1mxLlyJj7Qm5TwZNN6JEUcwa6l8lMNRkUVOaiIQ/6WUUeopuARx7eGzZxVkNb9FxP7DQWHOGxf+Oj+xNTBRtY2wTOkCNteF62QmBEz7z4pQ09cRWAqWXE/jr13V+FR1lKNETywPR0NwOwMxOjrB4/+RQ9s8nsZUPQgGVBjJm+8HBWZFehFYvOStOK9kJEVw5AN1/7VLyZZ41PZJEYgR6ReXHNjUcB3kdq7y7vEOG2nDgW9JN5WALSbZw=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_0E664F70552B4311B6E9347EECB8E4FFciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 3bea14ac-435c-4098-9b16-08d757c00d75
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2019 13:51:06.5544 (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: Ez4S0LMdX/8+llhFknHCwumzZkYiAkkaiHTn8f80edRwXb4EW3NfHrlJ8Z4wjM0Jjw430Hcc7YbgpPiz8Gc3Wg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3776
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.28, xch-aln-018.cisco.com
X-Outbound-Node: alln-core-10.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/m3LZ0XGxW40SRu2THPAsTnGgs4k>
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 13:51:15 -0000

Yup I’ll fix that typo at the next and will also replace packet by fragment as you indicated. I just failed to commit that this round, sorry for that!


Regards,

Pascal

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


Hi Pascal,

Sorry, I noticed this in your original mail, but forgot to mention it, now it is also in the draft:

> […] Acknowledgment on the reverse path with a FULL bitmap, and harms a
> short timer to absorb packets that are still in flight for that […]

Do you mean "arms a short timer"?

Best regards,
Martine

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

I published 07, please see the diffs.

All the best;

Pascal

From: 6lo <6lo-bounces@ietf.org<mailto:6lo-bounces@ietf.org>> On Behalf Of Martine Lenders
Sent: mercredi 23 octobre 2019 14:46
To: Pascal Thubert (pthubert) <pthubert@cisco.com<mailto:pthubert@cisco.com>>
Cc: 6lo@ietf.org<mailto: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
_______________________________________________
6lo mailing list
6lo@ietf.org
https://www.ietf.org/mailman/listinfo/6lo