[dtn] TCPCLv4 -07 updates and simplification

Brian Sipos <BSipos@rkf-eng.com> Mon, 26 March 2018 19:36 UTC

Return-Path: <BSipos@rkf-eng.com>
X-Original-To: dtn@ietfa.amsl.com
Delivered-To: dtn@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 97AC31276AF for <dtn@ietfa.amsl.com>; Mon, 26 Mar 2018 12:36:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rkfeng.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 Ss7-DzWdtOIT for <dtn@ietfa.amsl.com>; Mon, 26 Mar 2018 12:36:31 -0700 (PDT)
Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0057.outbound.protection.outlook.com [104.47.34.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A8B31127136 for <dtn@ietf.org>; Mon, 26 Mar 2018 12:36:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rkfeng.onmicrosoft.com; s=selector1-rkfeng-com0i; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=lacxeVtedqv1P+hfKq09FjRfYzRI5YeAzgxjjrGqNyA=; b=IcNyNuLT3/n/nVPQ5MKljVfg5x1BoRqD2VZbVRetA177GI7HfPiJasBS9fA/C2+Hjtdf/+c7a6P6Z0lnKXr2oIwGA698ZtK0T/OhrFCSSz8kYFuW9TCghgl5Cx82BJoA2nV2K6am7mrFPxgfvuRrZ0KqLQIBKGwY1F4NLjIhXNk=
Received: from CY4PR0501MB3843.namprd05.prod.outlook.com (52.132.100.143) by CY4PR0501MB3732.namprd05.prod.outlook.com (52.132.98.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.631.5; Mon, 26 Mar 2018 19:36:20 +0000
Received: from CY4PR0501MB3843.namprd05.prod.outlook.com ([fe80::9998:6d55:8e57:916c]) by CY4PR0501MB3843.namprd05.prod.outlook.com ([fe80::9998:6d55:8e57:916c%4]) with mapi id 15.20.0631.010; Mon, 26 Mar 2018 19:36:20 +0000
From: Brian Sipos <BSipos@rkf-eng.com>
To: "dtn@ietf.org" <dtn@ietf.org>
Thread-Topic: TCPCLv4 -07 updates and simplification
Thread-Index: AQHTwsaMZPa6DfupNkyN5XgwZsPvDw==
Date: Mon, 26 Mar 2018 19:36:19 +0000
Message-ID: <MWHPR0501MB3852C6E860D3661701E05C669FA80@MWHPR0501MB3852.namprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=BSipos@rkf-eng.com;
x-originating-ip: [38.100.63.114]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; CY4PR0501MB3732; 7:HJbjjZiUr8UpwuOrbHB8GzWATonx/8VmLahwM0KYjYNanEG/p9xQpGJwPTcnVmoAIKMmIeVo74mbWnxUSJ9Nrawc3noKxzsYbuLNtO+Shn1aF4Qoya78PDfBrcHsGFNyR+3ScO8Bj8Nj1r0qlHaOUoCAZlhzD+uvXkhLf4k0XOA7tgcIruKc5ebhrLk7b/rrH0o3BGalxIm97g5qWGxElhi6fBIdLA4mhAEryOtyxnMbCj3FljzfqreAkduqnijq
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 55812d21-a999-48e2-04cf-08d59350d99f
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(5600026)(4604075)(3008032)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020); SRVR:CY4PR0501MB3732;
x-ms-traffictypediagnostic: CY4PR0501MB3732:
x-microsoft-antispam-prvs: <CY4PR0501MB37324569AD147C25E424AB929FAD0@CY4PR0501MB3732.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(271806183753584);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3231221)(944501327)(52105095)(10201501046)(3002001)(93006095)(93001095)(6041310)(2016111802025)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(6043046)(6072148)(201708071742011); SRVR:CY4PR0501MB3732; BCL:0; PCL:0; RULEID:; SRVR:CY4PR0501MB3732;
x-forefront-prvs: 06237E4555
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(366004)(39380400002)(39830400003)(376002)(396003)(199004)(189003)(6506007)(59450400001)(3846002)(2501003)(15650500001)(5250100002)(2906002)(72206003)(6606003)(106356001)(105586002)(80792005)(14454004)(97736004)(3280700002)(6916009)(486005)(486005)(8676002)(6116002)(81156014)(1730700003)(81166006)(3660700001)(186003)(6436002)(478600001)(5640700003)(2351001)(99286004)(8936002)(6486002)(86362001)(33656002)(26005)(74316002)(19627405001)(6512007)(25786009)(53936002)(7736002)(68736007)(66066001)(9686003)(54896002)(2900100001)(5660300001)(476003)(102836004)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR0501MB3732; H:CY4PR0501MB3843.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: rkf-eng.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: lgnZyri9kk+miUtqPmX7FiPnrKiTOm7oDIzPuHAVcur6tHJ/66Bnp3CPk0XlowvPklhCPfRBs44Ws3fjNN5spVYFK80qo1PMR7VDQUsbZkNgDOhEGTcgRoVYx8YAwPBKJ7iRIyjQSsd9mJMadgjNAnlbzh8SlFgxfP3IN6aug29M6VfxrlQVP6STavJgIpiVtiaoLpnLcFSHqESBFF9riG5nm20CzNxqeC/Nf9UuTeBqWAtn7t3kl39SzqeZtiEDUA/IgNhrc+onK/fqM3Z8gR0lS4rt0ZTQ0cpgS2MTOszLjmcLY6F4HZfNfUh2ez6cBxorS2er/ZIhI2hZxJ6P7g==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_MWHPR0501MB3852C6E860D3661701E05C669FA80MWHPR0501MB3852_"
MIME-Version: 1.0
X-OriginatorOrg: rkf-eng.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 55812d21-a999-48e2-04cf-08d59350d99f
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2018 19:36:19.9706 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4ed8b15b-911f-42bc-8524-d89148858535
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR0501MB3732
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/OWuYPL_S4tH6YzojZAM23b21Kbk>
Subject: [dtn] TCPCLv4 -07 updates and simplification
X-BeenThere: dtn@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Delay Tolerant Networking \(DTN\) discussion list at the IETF." <dtn.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dtn>, <mailto:dtn-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dtn/>
List-Post: <mailto:dtn@ietf.org>
List-Help: <mailto:dtn-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dtn>, <mailto:dtn-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Mar 2018 19:36:35 -0000

All,

After looking into simplifying TCPCLv4 as discussed at the IETF, I see that if a transfer is always simplified into a single XFER_INIT message followed by a single "segment" of data this effectively turns the TCPCL session unidirectional by preventing any other XFER_ACK messages from acknowledging transfers in the other direction within the session. One side effect of segmented transfer data is to allow other messages from the transmitting node between segments by avoiding monopolizing the TCP connection with a single huge message.


I feel like segmentation, as an optional behavior as currently specified, gives the network / node management a way to avoid this kind of message queue blocking behavior and allows more deterministic timing of when an ACK can be expected based on path delays.


For a simple-as-possible workflow, an implementation could choose to disallow a Segment MRU any smaller than the Transfer MRU and could choose to always transfer within a single segment which would minimize the message framing overhead. If interoperability was not necessary then it could also refuse any transfer that includes a segment smaller than the transfer size, so that there would be no need for receive segment concatenation.


Any thoughs on keeping segmentation as a negotiated behavior in order to allow for better administrative control over worst-case session timing?