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:43 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 2626C120144 for <6lo@ietfa.amsl.com>; Wed, 23 Oct 2019 05:43:18 -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=D9jlK5Qp; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=S49ewDZu
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 AP9eoca1RbDv for <6lo@ietfa.amsl.com>; Wed, 23 Oct 2019 05:43:16 -0700 (PDT)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3FF7212002E for <6lo@ietf.org>; Wed, 23 Oct 2019 05:43:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=18297; q=dns/txt; s=iport; t=1571834596; x=1573044196; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=KrgKOUTPhFsu9jm5opuwEfW6l9kLAs5gHR3ogfxxCL0=; b=D9jlK5QpEcJcipTG0QFsZEIBJdwfd5nUvTi10ZTIAKPRHPN2luvbNHDD I+N3/sMKMRZTNDS3D0oEIp+5Y7QlVKiHMRn6sYSXN1Y6qq82kepOnpn0Z Sotup/idrFaSHnRCpby6RsslnFXRqf/wtco3XtoESVeV1OxuFID2K5xEF k=;
IronPort-PHdr: 9a23:78EjMxe9HQobj+DrFs9KtXsJlGMj4e+mNxMJ6pchl7NFe7ii+JKnJkHE+PFxlwGQD57D5adCjOzb++D7VGoM7IzJkUhKcYcEFnpnwd4TgxRmBceEDUPhK/u/dzA6Ac5PTkNN9HCgOk8TE8H7NBXf
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ApAAD7SbBd/4UNJK1lGgEBAQEBAQEBAQMBAQEBEQEBAQICAQEBAYFqAgEBAQELAYFKUAWBQyAECyoKhB2DRwOKV4JekyKEYYFCgRADVAkBAQEMAQEtAgEBhEACF4McJDcGDgIDCQEBBAEBAQIBBQRthTcMhVABAQEBAxIRHQEBNwEPAgEIDgMEAQEoAwICAjAUCQgCBA4FIoMAgXpNAy4BAgGmWwKBOIhhdYEygn4BAQWCSYJBGIIXCYE2AYUVhnkYgUA/gREnH4FOfj6ECSVNgloygiyNCIJwhTqCOYZ5jn4KgiSMXIhKG5NBhg2nfQIEAgQFAg4BAQWBaCMqgS5wFWUBgkFQEBSDBgwXFYM7ilN0gSmNcwGBKQEB
X-IronPort-AV: E=Sophos;i="5.68,220,1569283200"; d="scan'208,217";a="563982456"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 23 Oct 2019 12:43:15 +0000
Received: from XCH-RCD-010.cisco.com (xch-rcd-010.cisco.com [173.37.102.20]) by alln-core-11.cisco.com (8.15.2/8.15.2) with ESMTPS id x9NChFCt016496 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 23 Oct 2019 12:43:15 GMT
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by XCH-RCD-010.cisco.com (173.37.102.20) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 23 Oct 2019 07:43:14 -0500
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 23 Oct 2019 08:43:13 -0400
Received: from NAM05-DM3-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 23 Oct 2019 07:43:13 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=huJ7bc1MuBSMm8tBguj7uK4NIHK08pxRH1MaQeneAJhXY8pO7nXO4bjXOTVOO0iQYAR3H/ZP08SBR8+K5X8ldIcS+yjhfzcbDBnxsw/k14l8VmAXInsMVNhDOIXHR2MXh6fbBfBtV0XtLFxcn4qkgODq2rR81tOqywb4h3fqcDI1au/LdcDFIciPngeVxIKobTLPElTtPGz8B+Tr7tmkZv13H7p5dXkcO6C/CFan1oGwsfLYggrkk1zYrgVps57s8vcy5JC832BxQs2G942EfoRe208ZXeluuJ0W6tEdBnY02RkFjLlC5QzvraZZldSetyJrQNBftLDyj6IDumqd1A==
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=KrgKOUTPhFsu9jm5opuwEfW6l9kLAs5gHR3ogfxxCL0=; b=NE74ETt16wpXH+GQQLaujqNvgWYxLB30rrQdyolaEKmMHODCrAed5liA6G9DjY9sGfUIIoqmR/OWpbvaeYpnxLFtmYiJJCNN4d+3USj02MateB2iyTK/3x9LLxuvNcjxtKSMVIRIYvVuA+eXP7RemV0K0WaUu9UYT55cTM3a8ls6zGlSBtr7BXZ7CNmR3+nENYJW8y0DEiJkGvprbAAwodLEnLXrSaniKIcspqImvTrKGpFMkYezRM7Q+p2Ax+8pO79LXTqSqI6d6e81Zo4I9tZ7wQcoDR9L3yjwGRke/kM1WT9G9T/xjI536HZwtcRGvN6kymE0f/Yfy63jzPH6tA==
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=KrgKOUTPhFsu9jm5opuwEfW6l9kLAs5gHR3ogfxxCL0=; b=S49ewDZuJ/uWW8L/IrgQMeCFFlsVU8MLYH/uZZb/gb2JxNIaS0JAnKIdEDrPvPlqKEbPXsRk/arbi8QRLBbYTl9o/2yDA+cqeVCTpx2NjLlRPwvtVU4MW7jSf49QGPApo/fQwwkzWGfJQVKC4Uj8LMPJRWR77m/5vrH/K5hHFr8=
Received: from MN2PR11MB3565.namprd11.prod.outlook.com (20.178.250.159) by MN2PR11MB3822.namprd11.prod.outlook.com (20.178.254.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2367.20; Wed, 23 Oct 2019 12:43:12 +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:43:12 +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+4A=
Date: Wed, 23 Oct 2019 12:43:11 +0000
Message-ID: <515A623D-07D8-4DFD-9F8E-EB527B73EDAB@cisco.com>
References: <CALHmdRzhXsz1pNzc-cJ=+ufE3ioCXtRGkAugBSZSuyGNXE1wNg@mail.gmail.com>
In-Reply-To: <CALHmdRzhXsz1pNzc-cJ=+ufE3ioCXtRGkAugBSZSuyGNXE1wNg@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: [84.14.139.6]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 9aad0c75-5bb7-4fce-8e4b-08d757b690da
x-ms-traffictypediagnostic: MN2PR11MB3822:
x-microsoft-antispam-prvs: <MN2PR11MB3822EB21A85A872082A2AC9FD86B0@MN2PR11MB3822.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 019919A9E4
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(396003)(136003)(376002)(346002)(199004)(189003)(51444003)(64756008)(476003)(36756003)(8936002)(5070765005)(6436002)(446003)(86362001)(486006)(99286004)(102836004)(6246003)(6486002)(186003)(229853002)(14454004)(76176011)(66556008)(54896002)(3846002)(66476007)(66946007)(6512007)(236005)(6116002)(8676002)(76116006)(66066001)(478600001)(66446008)(316002)(81166006)(91956017)(2616005)(2906002)(33656002)(6506007)(256004)(71190400001)(71200400001)(81156014)(5660300002)(6916009)(4326008)(53546011)(26005)(7736002)(25786009)(11346002)(55236004)(244885003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3822; 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: hwZ9H/ZrhNUQ74Ajd0TRyIJLPsoiNrQT4kJQoEEdDpBm7uDrABxPapCgJ2luCW3lUEeBXN2GbggdbosXjRROg+yuqFwFv1W1zHmeyuhOj2dsvWi8MU34xmgpeJO7oviJ2+iZ0IftCf0IbmlREg7b+qNaB0kK+YrGyerWohafMlXSCgIkkm3hWCOXMjdZcBWUWANTxxRB6cK9V3crV15Wm5Y7aTwAo42OxydtkxPNfcXOjDEJMvwc1HBK4kIxlYa5VIUrSQSD0mDv/c6Bw7yYGPA1RKYcfDF7cTU+Mkk60hDuLRH/xGXqmCPEahwH0MxnbogZOunndhVgk8qXcf2g2vG13vaKF+rXPgLBgL1Jv38ksAsDBo4Gvw0n1uaJ2HlShtV30iz6BuF+RoU3Jl8DYU0BHQ62HJkkSRCWlwk1XA3APND+32iPq/pcT37edcGt
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_515A623D07D84DFD9F8EEB527B73EDABciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 9aad0c75-5bb7-4fce-8e4b-08d757b690da
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2019 12:43:12.0152 (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: vc8n4j78eSQJK9jJdFostOGa8vsB+geCeGx/M8+5qxy8CdDE8sx6ZCrUyQBbBTFhwkpDafXbGfL7tSYLgeGAcw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3822
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.20, xch-rcd-010.cisco.com
X-Outbound-Node: alln-core-11.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/KySn-iPIfxVv7w9D378GRwemZzE>
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:43:18 -0000

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.


Regards,

Pascal

Le 23 oct. 2019 à 14:29, Martine Lenders <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