Re: [dtn] Mirja Kühlewind's Discuss on draft-ietf-dtn-tcpclv4-18: (with DISCUSS and COMMENT)

Magnus Westerlund <magnus.westerlund@ericsson.com> Tue, 23 June 2020 11:58 UTC

Return-Path: <magnus.westerlund@ericsson.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 8E8CB3A1884; Tue, 23 Jun 2020 04:58:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 vcEr84Y1LYDi; Tue, 23 Jun 2020 04:58:52 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2060.outbound.protection.outlook.com [40.107.21.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2282B3A1885; Tue, 23 Jun 2020 04:58:52 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W/sBETuUkfRRX+DQZxxjHnO7GY6XiDRY6evyd/HCwV7T7NFUqArlJFqZ8xF30XPHgBbI9MCGI6VnjowLXnWR/4O06T314g77LTDS7VjxIZQVRotRWeXU5wQvy9BK6IENTEX+tzg92/RygiN9OopA6xOY6T6YGbPE1Gvtmjx3Gog42esGZl/5TgwZdqFmg32hKDR36m5M1XhomeKxDg/gfq9tN6UAHgl2JBsm+0cIAWxQuKEt4ZRjBPJaK0MXZP87NJizmi6m0SF9sCWeTapiiIubtJGbeumOVpnBFqeCByra3TlDr8b4MhIzYT47FONRk4H/aB9hevouG84goZSu9w==
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=lxv3YDueX9qazh0fe4Aqm9lMW3vDZyi9JX1dW9Gv33A=; b=EDQ5+URYm92V+d/WnI3+K/Qj8H0Rc5TnxxqL7IyWed7hL05mqZfsb5qtlAg1uKGQ8E5O/VRJwOkjG+hnyZ/zIh954VftgS3HjqPFHB5a/ktk+Zpy16nDosYxDo7UCz+mPQqMADyWr5xMBuFGl1fgF7SbiAizoIdZtMki+O/tQn6ABJYwGJYH5RpCkgWTebRJWX1FJgESpmwpJKUCLJ0jHYeYR+zVK7bOcgZ4Rk+qL9JRpc7O7Zwt+7opF6lAiaY3E/fwLwLltU+bYuKNSZGoAHTmxh3HGijRp6h8qUYkFrE0MbvMNWTL1URNQ15QgF2WNMka2JIL1uLNi2MOZEiEAQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lxv3YDueX9qazh0fe4Aqm9lMW3vDZyi9JX1dW9Gv33A=; b=SFH2S6KfP7Y+H3aXzWlETcOWiDcgIiYtKBBRrxuCEUZ5dlox7qoumh5PrZBmXjmTvr7coneFiD1FbpLammKZQg9hXOtiHuCShPuqOiJIg1otu/2sngcbKUiGO+zoE2bfibeC/NW2LjLJ4XCT4I3kPvqLV+fZOlmaZfsiJixC+nk=
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com (2603:10a6:7:8e::14) by HE1PR0701MB2891.eurprd07.prod.outlook.com (2603:10a6:3:4b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.12; Tue, 23 Jun 2020 11:58:49 +0000
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::546c:3b3:9193:3351]) by HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::546c:3b3:9193:3351%6]) with mapi id 15.20.3131.018; Tue, 23 Jun 2020 11:58:49 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: "magnus.westerlund=40ericsson.com@dmarc.ietf.org" <magnus.westerlund=40ericsson.com@dmarc.ietf.org>, "BSipos@rkf-eng.com" <BSipos@rkf-eng.com>, "ietf@kuehlewind.net" <ietf@kuehlewind.net>, "iesg@ietf.org" <iesg@ietf.org>
CC: "draft-ietf-dtn-tcpclv4@ietf.org" <draft-ietf-dtn-tcpclv4@ietf.org>, "dtn-chairs@ietf.org" <dtn-chairs@ietf.org>, "dtn@ietf.org" <dtn@ietf.org>, "edward.birrane@jhuapl.edu" <edward.birrane@jhuapl.edu>
Thread-Topic: [dtn] Mirja Kühlewind's Discuss on draft-ietf-dtn-tcpclv4-18: (with DISCUSS and COMMENT)
Thread-Index: AQHV5+6WGby3OQoJeUGE8iR16tXBQqg90i+AgHI3IwCAFj7MAIAgWiHQgAA4fWA=
Date: Tue, 23 Jun 2020 11:58:49 +0000
Message-ID: <HE1PR0702MB3772C4685A37BC80904A147F95940@HE1PR0702MB3772.eurprd07.prod.outlook.com>
References: <158220398711.12456.13531582672796496258.idtracker@ietfa.amsl.com> <745bfd811b9d3fb03f3e280b15fe9feb41241ba8.camel@rkf-eng.com> <HE1PR0702MB37721BC4C889B6AF96793B8395B10@HE1PR0702MB3772.eurprd07.prod.outlook.com> <5f1189de85d83aa3bc651e4f295c344a09e9928a.camel@rkf-eng.com> <HE1PR0702MB37729B37249E6BEDB706996B95940@HE1PR0702MB3772.eurprd07.prod.outlook.com>
In-Reply-To: <HE1PR0702MB37729B37249E6BEDB706996B95940@HE1PR0702MB3772.eurprd07.prod.outlook.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: dmarc.ietf.org; dkim=none (message not signed) header.d=none;dmarc.ietf.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [176.10.164.117]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 6a2a2883-a620-48fa-9423-08d8176cca7f
x-ms-traffictypediagnostic: HE1PR0701MB2891:
x-microsoft-antispam-prvs: <HE1PR0701MB2891AE142D05A287A88487EC95940@HE1PR0701MB2891.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 04433051BF
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: v0Esmh8F72C1ctQ/F0q6+qpRlMP3osFrqqi46FjXg3qZ733bMThc3Qz2C9l6d6B6IT9Sv1Hux1zYTGZK16t9sG0u35EngGSbCqdo/cfBLH3fhM6C69ZdjH+NqXKNwPHhylvwITYB41NOnFgNBvWCuSC5S6tiQM71AsDzJf7Tit3rMdtnlvzHHwwU6LTTocdsn/egnBPMjTjXJxJYQKiWLQGD6uTioHdf3V5kFI8dW4BG8IsnIpgKej9Uz3yvnE8brlRx8oDl8xVa2RIMCs2QOJICFvJCxJ9SVIpNbJ46qXdHZdlN4h+YrQAqX5la9KS3RxAhFQiBreprzwlUD47HFg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0702MB3772.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(376002)(346002)(366004)(396003)(39860400002)(54906003)(110136005)(71200400001)(66946007)(66616009)(66476007)(2906002)(224303003)(5660300002)(83380400001)(2940100002)(478600001)(52536014)(99936003)(66574015)(8936002)(316002)(7696005)(186003)(66556008)(66446008)(53546011)(9686003)(33656002)(64756008)(6506007)(44832011)(55016002)(4326008)(76116006)(26005)(86362001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: fNMXNkBzANGIHfAreC0LwJPmSRdYkvvtFt8frq1a36k463d7HlxGGjHs5l/g91UP8L2gIHDBNnbs2N5F5DJM2s/cx3TkamwG9m3qqI281Agx8+W8A8AfGyg0dFVBJeQm4+uLWrqVFB/BNtU865naGjRKXftMymj1O5igC4xjxBJvChyLEPJJzJhnScSmaP7keamM3wO6pMkXJ6AI5ezCZvKa4syeEpPBVdV+J4f7e7Y1h/4Qpmzu2KpIf5XM4Q3/nrJ3XtgKeK/iQTfDTHbvvcAjN+j8n6s4rcv8iG8z04USV/dL3EL5M9hCL/I4qnryDHpKTtTWHwC9gkexMDkeQTHWoPMVchNiujm4Quvo193xzy7Jb52OoKtwStEqsFrLaLC3s/MjvuvckywCzG70/ol9xgFQ3nRJRGl/7CDgT37qRP7Y4F0mrg10JIf+aSIFAd26Pu8/QQT5c607V75AmvOmTk83Ln1P9ZXiRY+W494A0cHctYH/Cj+6SM1+I7vJ
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_010B_01D64966.6A7913E0"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0702MB3772.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 6a2a2883-a620-48fa-9423-08d8176cca7f
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jun 2020 11:58:49.2741 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: O+ToShW2pvLmnsGCfVcqYjSHFWNDXPSnpaealHaQ0774ogh7w8umubLGrLlmtF5knc7gKqxBAzsWPsYrorBZ/PpLJ1XCKCnPhY4/gX94oyI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2891
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/y3hceOYYHnJN4MpAs4hewzSTULc>
Subject: Re: [dtn] Mirja Kühlewind's Discuss on draft-ietf-dtn-tcpclv4-18: (with DISCUSS and COMMENT)
X-BeenThere: dtn@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 23 Jun 2020 11:58:56 -0000

Hi,

 

Now I have read the Session keeping policy part. I think it covers the basic
case. What from my perspective might be missing is a bit more discussion of
the intermittent reachable node and how to deal with that. But, maybe that
is going into way to much detail. 

 

I would appreciate if someone in the WG would also provide their view on the
next text in version -21. 

 

Cheers

 

Magnus Westerlund

 

From: iesg <iesg-bounces@ietf.org> On Behalf Of Magnus Westerlund
Sent: den 23 juni 2020 10:45
To: BSipos@rkf-eng.com; ietf@kuehlewind.net; iesg@ietf.org
Cc: draft-ietf-dtn-tcpclv4@ietf.org; dtn-chairs@ietf.org; dtn@ietf.org;
edward.birrane@jhuapl.edu
Subject: RE: [dtn] Mirja Kühlewind's Discuss on draft-ietf-dtn-tcpclv4-18:
(with DISCUSS and COMMENT)

 

Hi,

 

Sorry for the delay in responding to the new version. I think the new
version resolves everything except the Session keeping policies discussion
below. Sorry for not making it clear that I think such a section would be
good. I see the goal is to provide guidance to BP agent implementors using
this CL.

 

Cheers

 

Magnus Westerlund

 

> > > > > Sec 5.1.1:

> > > 

> 

> Some discussion of the above issue appears motivated to determine if there
> should be some more discussion of what reestablishment behavior TCPCL
should
> have and provide guidance to the higher layer that uses the TCPCL.

> 

BS: You are correct that each CL has it's own notion of connectivity and
session state. Your interpretation of the idle session termination also
looks correct.

Unfortunately, I have less perspective of how the BP Agent implementations
to-date may require or expect CL interfaces to behave at an API level. My
expectation of TCPCL use falls into two extreme use cases, which agree with
your understanding:

1) A permanent physical link with reliable flows between nodes, which is
expected to have steady load of transfers occupying the link. In this case
the TCPCL would establish a session and keep it up as long as possible. The
goal here is total throughput and not wasting any link throughput on TCP
handshaking, TLS establishment, etc.

2) An ephemeral link between nodes which may not even have reliable
long-term connectivity. In this case the TCPCL only attempts a session when
both connectivity is expected and when a bundle transfer is queued (to send)
or some polling interval is reached (to receive).

 

These types of session keeping explanations could be added to the spec,
similar to the existing "Transfer Segmentation Policies" examples. Maybe a
section "Session Keeping Policies"?

[MW]

 

Yes, I think that would resolve my perspective on this issue and allow us to
continue. 

 

 

>  

> 

 

 

> On Section 6.1:

>    A session termination MAY occur immediately after transmission of a

>    Contact Header (and prior to any further message transmit).  This

>    can, for example, be used to notify that the entity is currently not

>    able or willing to communicate.  However, an entity MUST always send

>    the Contact Header to its peer before sending a SESS_TERM message.

> 

> I do see Mirja's issue. The text is a bit contradictory and unclear on
which
> session is referenced. So if the passive part receives a CONTACT header
and
> then sends a SESS_TERM I interpret this as you consider a TCPCL session is
> crated through only Contact exchange. Secondly, as Mirja states it is
> allowable to terminate the TCP session per Section 4.1 prior to this.

> 

>  

> 

> If the passive entity does not receive a Contact Header

> 

>    after some implementation-defined time duration after TCP connection

> 

>    is established, the entity SHALL close the TCP connection. 

> 

>  

> 

> Thus, maybe a clarification that context of the normative text statement
is in
> relation to the TCPCL session. And note that TCP connection termination
may
> occur prior to the CONTACT exchange.

> 

>  

> 

> Maybe:

> 

>  

> 

>  A TCPCL session termination MAY occur immediately after transmission of a

> 

> ^^^^^

> 

>    Contact Header (and prior to any further message transmit).  This

> 

>    can, for example, be used to notify that the entity is currently not

> 

>    able or willing to communicate.  However, an entity MUST always send

> 

>    the Contact Header to its peer before sending a SESS_TERM message.

> 

> Termination of the TCP connection can occur prior to receiving the Contact

> 

> header as discussed in Section 4.1.

> 

>  

> 

> Feedback on this?

> 

>  

BS: The key distinction here is between a "TCP connection being closed" vs.
a "TCPCL session being terminated". TCPCL messaging isn't possible until
after contact header exchange and contact negotiation "[PCH]" in Section
3.3, and TCPCL session isn't actually established until SESS_INIT exchange
and parameter negotiation "[PSI]", so until that occurs there is not
actually a TCPCL session to terminate.

I used your suggested text to update the text in Section 6.1 to refer back
to Section 4.1.

 

 

[MW] The text changes -21 lloks fine to me and this issue is resovled.