Re: [tsvwg] SCTP 4960bis and Path versus Destination only handling of congestion and recovery state?

Claudio Porfiri <claudio.porfiri@ericsson.com> Thu, 12 August 2021 07:11 UTC

Return-Path: <claudio.porfiri@ericsson.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 621133A39F3 for <tsvwg@ietfa.amsl.com>; Thu, 12 Aug 2021 00:11:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.553
X-Spam-Level:
X-Spam-Status: No, score=-2.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 3t6xq0DOlRMU for <tsvwg@ietfa.amsl.com>; Thu, 12 Aug 2021 00:10:59 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2071.outbound.protection.outlook.com [40.107.22.71]) (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 7B5713A39F0 for <tsvwg@ietf.org>; Thu, 12 Aug 2021 00:10:59 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mu2LnAT7L/zjqmlAZp+xPpKeY/KaCTdSIDwZmGfU0s51K9rxSmQNzHypz0qiTEqjti49dKkQwWhaM1knA90te3Dq3qga9gWcUepB+C0yRfhQZkqZTq5P7jbYalyqCcjZw/kuRC+nqqgoX+QfiPAQZPyI+vDpgRHegniWy0oL+Ic1qbVarluA0NWjML1cjibL5+TJ1d1YnsNP4Mq1AVqB8DHwQgg9ptWgN+FRtrKYQbn7GF4s0ANsvtR6RHwpPJrBCxUWU1WYgIbO+aY/8QEwDcZm9NWYSHJH0T6YJjGe4v2O+Cn03FIM3W1BE5zAxyiDXl+KUfhn6iNNyb7KLSU1Cg==
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=n6qHzJDXUBPMzX3kd8Lk7apZxnlYaPa3NguCD7hk87g=; b=IBcLL+Bl06uc+1R1xRAsXYBdpeIAYvAwFtdFgYExbi01p1eyH2UJwbbZt2EUOGe8tHI07Ff7o1nEdMKaCI/H1+vFh7XAyU2Iotg9nARvYASPZzq2K2MCQxI2fTejZirWmZdK1s6V/UosoqKzhFuUAYRwutmnoOCUBCT/PfigJg1cssIsT7+ujYhWr1iv9eAtZSOfimDDFYgOWJ1Xj6mb8NJp4QdJmh0PdLWxM3PMXA6MF7+eEFvxB5x22G/cTSSAxMPCqc6I8V8EYPDLsY/tT1iQQXi5GsIttksocjIa5ZSY1GNEHpEGmYA3ZNfk0C/XTGJom/R3l3GBI9hvPCpXsQ==
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=n6qHzJDXUBPMzX3kd8Lk7apZxnlYaPa3NguCD7hk87g=; b=APBa0i5+uUS5fl6JX41+hU7WI0kx8CJqMjsJ4mnmGkXL1YQMbSqedtsvH1q42ZPyJhuTEuS/YaR5pZd462vp1O3uHmzBswyb5iaikF/e1p4QBtbrPkeD7tsFNqUicypQ62GjzlCNM3BnCFQeg3pLQBfVG88SyhTuxQW4t0pVZDk=
Received: from AM0PR07MB4066.eurprd07.prod.outlook.com (2603:10a6:208:4d::18) by AM4PR0701MB2242.eurprd07.prod.outlook.com (2603:10a6:200:47::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.10; Thu, 12 Aug 2021 07:10:54 +0000
Received: from AM0PR07MB4066.eurprd07.prod.outlook.com ([fe80::d1b0:d40:66b2:c8a6]) by AM0PR07MB4066.eurprd07.prod.outlook.com ([fe80::d1b0:d40:66b2:c8a6%6]) with mapi id 15.20.4415.015; Thu, 12 Aug 2021 07:10:54 +0000
From: Claudio Porfiri <claudio.porfiri@ericsson.com>
To: "Michael.Tuexen@lurchi.franken.de" <Michael.Tuexen@lurchi.franken.de>, "claudio.porfiri=40ericsson.com@dmarc.ietf.org" <claudio.porfiri=40ericsson.com@dmarc.ietf.org>
CC: "magnus.westerlund=40ericsson.com@dmarc.ietf.org" <magnus.westerlund=40ericsson.com@dmarc.ietf.org>, "rrs=40netflix.com@dmarc.ietf.org" <rrs=40netflix.com@dmarc.ietf.org>, "tsvwg@ietf.org" <tsvwg@ietf.org>
Thread-Topic: [tsvwg] SCTP 4960bis and Path versus Destination only handling of congestion and recovery state?
Thread-Index: AQHXf88xVdATcnb+VUG+UNHhFRsFsKtQ1I6AgABCUwCAFX4nUIADCHIAgAXo7uA=
Date: Thu, 12 Aug 2021 07:10:54 +0000
Message-ID: <AM0PR07MB406628B2C35C3A93355169CB87F99@AM0PR07MB4066.eurprd07.prod.outlook.com>
References: <0e08e351230082cc914506e7f844ac3569da3664.camel@ericsson.com> <20899068-380E-4F4D-A260-13171D5C7570@lurchi.franken.de> <B59DE8A4-5A5A-465A-AE42-A4A27F7CCB52@netflix.com> <AM0PR07MB4066B94F7BE28CB0E3244DA587F39@AM0PR07MB4066.eurprd07.prod.outlook.com> <F2AE5D89-30FA-4C1D-ADCE-607124D778B5@lurchi.franken.de>
In-Reply-To: <F2AE5D89-30FA-4C1D-ADCE-607124D778B5@lurchi.franken.de>
Accept-Language: en-US, sv-SE
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: lurchi.franken.de; dkim=none (message not signed) header.d=none;lurchi.franken.de; dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 3dcbc64f-fb08-4ba5-d2b2-08d95d60535e
x-ms-traffictypediagnostic: AM4PR0701MB2242:
x-microsoft-antispam-prvs: <AM4PR0701MB22427EC7C5AC478376068E2787F99@AM4PR0701MB2242.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: GCU5khypkYlVww4iNCszyXOEWrEkGdFfN5G6ez5hC5oc8tqad4Gzkmw5l5s5mCfhowLdhMLxgZM6F4B0TY7eNnzNkn3qI8dr6gNXmHCKG9HmB4uoQvTI7NnP9O5uUqtHfSmzHFzVTnnWZJqTkSS2qKje/lYkqJtB8WBojZXxWOx2+KjbRQeT9ofl1ldrrE3GYfVuf/VbcQx4fXysxftuh7fZX19gaiiWVLpiIlsohBHp4EUNxh5xvd87q/4FxRWmMwDkdcFAcExkx8vwKTMIgKZTH/oZ4k0a4Cf9NHuif7qsa+hFG/zjCNgzoPvvGM5xO/DkRk9AA9W7cfj0Kohx08v7d8m59dmAGS4rCbszx3dN76EoMEZLgITlfSGDMQX4GNSFoaSaDktzDY05Z+XU/HGbzzVo3oeIgSgccFePqWpT/P7Xmc9jh3CtvlnIfcy0rJXhR2+SnC/dELxy84mwufNhwJv3fhp8sBRI49pV2WZ059qJA40RiRjSnB6+1K4S/hMiV1qEaMf0FccnkfOwFlefNaD3v0KdmJ1rujb10Kn6szbLLovIOIQ8kdla4B6LUbGVn0UmEWczAhDUa2wQSbiTIuB7WqHVtON/JMsggsuBsJB5zxpQaOoiQyWufvH3uQhXVNMaQFJqEBtSDxzVwO9oxnVTsxDHTYYuGDDde8dvtXbbonu9ZztkG3pI0XiC8lATZIB+hhVEhN9giDFNcDdbKDGS75VFyDffc9U9W481f3FOc5pnvMkpamltInZXBmbm3xMfDBzSDg0lYWhZgc6Y7B0RmXIUR348asKNSZU=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR07MB4066.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(39860400002)(346002)(376002)(366004)(38100700002)(8936002)(122000001)(44832011)(2906002)(99936003)(7696005)(71200400001)(55016002)(110136005)(54906003)(316002)(8676002)(9686003)(66946007)(66476007)(66556008)(64756008)(66446008)(66616009)(76116006)(966005)(52536014)(33656002)(478600001)(5660300002)(53546011)(4326008)(186003)(86362001)(38070700005)(83380400001)(26005)(6506007); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 5gOCi4ysDx9GztrGJ29Y+ugm4zm1u9JwKjQDdaMt33tmhhaWP9k7RHd3GGiA8iKNeoXYFRpJISXkHyo3u3RgGIo7YRORA9ujuKMpihNw186RG1ZQqnY1M0g/PX8eD1PoHqnb4WgeA7tWF62hK0rRrCU3t+ZKnuwMloNvCY8pQCclezu1lnc/BxuCk0Os0lPagtat18fQgyP0k/5FZbslMM9uXwlpNRT1G1rJnDi0UpsZ+5fdkgk+bZDJITOF6D08QH3ssdGyyYv7v4XFcGkwpFWda80o3WTafnfBeJAPir9a0sJOJPuQCbNJfV7JQWcYHcmxMm5HdEyhVTqlSYjjo2B+1WTarSf3CU0DxeQ5cIamCdD4EX8wNzy/41cSm8Y3j6viF7SNYJKBzqpasz5lsibsr0OIxtQUGOLUuj2LC1cSHKU/VP3agJdJtA3Wjos64oMT6/Otinh6IRLKTAJQZKM+kH4PPW4AXIvf6LyOlWnqOYsVwY+0vUKQUbtDtonOriE44Yq3/JtH/4us7qYMM2oW51zIlnsugx8XcRXAPEFfeq7dELDPWmQP+yKbXiDdoAko40MTrbjPtLbAc5J87QpzxpAtEApg5/Hk2qknwayqoDO0vmui6gIJdbGvDSyrUA+ha2jWB9pXdFa03gJ+FX0+6xQHAJxu2OcRGlh5GH43pGPnMMH0ASUkKMel/b4JiEQvzJ1qD6kxYKTXxTomvFQJV3QnFW+a3lKOA3l+/K60XYI1MM/KXF3sJUOkyiPIHdzYe+hNp+mo7vTwj9Qt6KD+zSoy2cSK66SbMxP/RIFWTD25cyEhPHmvX+vMiLgleCLn5GrWHueqXiHEhzBD5vdSdk9BvRZpkw6NK3f3xppMhBEHZ3yVcntsgwK/J+lc+xaZ74wb3jUruxibyC+ilNBDA6a6Y1+G+hQP6VKXSMUbFRU4NLjqN2Lhlpq+UnDo4uq9w+mOqrTOBRRjLYbOB03r7fGpJwXSyCow7WvgcmqErxqevtAQOJDCr5YT8Rf/nFetF7rOE70pnOvUfjLo1Jg9VpxUfiECT2lebLzC+xh+LIGSEr/g0bmMPJA2mQturfI06wuicQmmIv0ZM5f/v6h0S4AgWtqObfdokp+etvCuCJcmgFsf4a7hAkreG4pEbhhKelyqCdBt2uxRX/jkszPR37b7ZV8jnsFaJWacH8+5kvyeaZSZac+pI1sh528pwLj24ByuFU9Ol91YRZ8yw9rsmt+r62Ck9z9sl1IM7+r0VPMwYWzfKhxxn9UMLwNKRg5NRP3ugmCuKZR0lgjU8P+P1ByJDgfWWZcTZfx19xN54/07zXF56O4Yms3yHvHF
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_0050_01D78F59.F37B3BC0"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR07MB4066.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 3dcbc64f-fb08-4ba5-d2b2-08d95d60535e
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2021 07:10:54.5133 (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: sq5o1UOC48xAYvsIuH5pvmzrlUjGyI4VdEd3437TLT4x4R0rM1r2n8zEnj9xHoIM0/VdR9SWuuMR8VRp+7tnalFNe+gypwoNRgMF7wWQbBE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0701MB2242
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/cz_7WxIIbcHIkVzYWcY_qfKc0wY>
Subject: Re: [tsvwg] SCTP 4960bis and Path versus Destination only handling of congestion and recovery state?
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Aug 2021 07:11:06 -0000

Hi,
the usage of the term "path" is actually misleading, at least I see that I am misusing it.
We can only consider pairs of Local IP address and Remote IP address, not all the path.
When related to section 13.3, I think that it should apply to the Source-Destination Pair 
rather than the Destination only, and this is because SCTP cannot assume that
reaching a Destination has the same characteristics from all the Sources at a certain time.
When doing a "path" probing, part of the values of section 13.3 can be already available,
for instance SRTT, RTO, PMTU, state.
About Source Based Routing, currently SCTP is already used in scenarios involving
Security Gateways so that a set of destination addresses can only be reached from
a subset of source addresses, this is not prohibited from rfc4960.

Regards,
Claudio.

-----Original Message-----
From: tsvwg <tsvwg-bounces@ietf.org> On Behalf Of Michael Tuexen
Sent: Sunday, August 8, 2021 2:12 PM
To: Claudio Porfiri <claudio.porfiri=40ericsson.com@dmarc.ietf.org>
Cc: magnus.westerlund=40ericsson.com@dmarc.ietf.org; rrs=40netflix.com@dmarc.ietf.org; tsvwg@ietf.org
Subject: Re: [tsvwg] SCTP 4960bis and Path versus Destination only handling of congestion and recovery state?

> On 6. Aug 2021, at 16:01, Claudio Porfiri <claudio.porfiri=40ericsson.com@dmarc.ietf.org> wrote:
> 
> Hi all,
> in case of local multihoming, SCTP delivers packets to the IP layer by means of different Access Points,
> this doesn't mean that SCTP knows the Source IP address but at least it knows the Access Points (Sockets or whatever).
Hi Claudio,

I'm not sure I understand what you are referring to. In the FreeBSD stack the
SCTP layer just calls ip_output() or ip6_output(). In a userland stack you can
use a raw socket (one for IPv4 and one for IPV6) to provide the SCTP packets to
the IP layer. At least this is supported.
> Multiple Access points leads to paths.
This is a question of what a path is.
> On the other hand having SCTP the path probing, and not allowing path probing to probe the paths is a contradiction.
It probes the availability of remote addresses, not of paths is the sense of
a sequence of hops a packet traverses from the source to the destination.
> In my opinion the path related concepts have to be clarified.
I think they are clear: They are only per remote address. All per "path"
variables are actually per remote transport address. See section 13.3.

Best regards
Michael
> 
> BR,
> Claudio
> 
> -----Original Message-----
> From: tsvwg <tsvwg-bounces@ietf.org> On Behalf Of Randall Stewart
> Sent: Friday, July 23, 2021 11:40 PM
> To: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
> Cc: Magnus Westerlund <magnus.westerlund=40ericsson.com@dmarc.ietf.org>; tsvwg@ietf.org
> Subject: Re: [tsvwg] SCTP 4960bis and Path versus Destination only handling of congestion and recovery state?
> 
> +1 to what Michael as said here. SCTP was never designed with the
> idea of source based routing.. that is something different and
> was explicitly excluded. If someone wants to start a WG to do that
> go for it.. but it won’t be SCTP .. call it SCTP+
> 
> R
> 
>> On Jul 23, 2021, at 1:42 PM, Michael Tuexen <Michael.Tuexen@lurchi.franken.de> wrote:
>> 
>>> On 23. Jul 2021, at 16:29, Magnus Westerlund <magnus.westerlund=40ericsson.com@dmarc.ietf.org> wrote:
>>> 
>>> Hi,
>>> 
>>> During the WG last call of https://protect2.fireeye.com/v1/url?k=82ddf52f-dd46cc29-82ddb5b4-86ee86bd5107-7c6a0a3739c4f18d&q=1&e=6f5bc71d-1116-43fd-8afa-06aa74b7407a&u=https%3A%2F%2Fwww.google.com%2Furl%3Fq%3Dhttps%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-ietf-tsvwg-rfc4960-bis%2F%26source%3Dgmail-imap%26ust%3D1627666968000000%26usg%3DAOvVaw0TYVMyyxOg2m44NWxV5Bf- I raised an high level issue in regards to SCTP's handling of paths. In a number of places the specification states that variables like SRTT and thus RTO, MTU and congestion window are tracked based on destination only, not path. There are other places where it clearly takes about path, where I would assume src-dst pair tracking.
>> SCTP implementations are not required to be able to select the source address of outgoing
>> packets. The source address selection is not done in the SCTP implementation, but in the
>> layer below the SCTP layer, the IP implementation. It is (implicitly) assumed, that the
>> source address selection is somewhat stable. It would change, if you change the routing
>> table of of the host. Therefore, SCTP does not track the src/dst address pair at all.
>> 
>> It does make sense, to reset some state variables when the sequence of hops to the peer
>> changes, including the CC variable, RTT information, pathMTU and others. However, it is
>> hard for a transport stack to detect this. An SCTP implementation can perform such state
>> resets if the IP layer notifies it about a change in the source address selection. Detection
>> of a change in the sequence of hops besides the src address is harder to detect and could
>> be done by detection changes in received TTL values or hopLimits, drastic changes of the
>> RTT or by other means. However, nothing like this is specified yet and some of it would
>> need to have a backchannel.
>> 
>> Only tracking the dst addr was a design decision taken very early in the design on SCTP.
>> Assuming two nodes by n networks, which are physically separated (to avoid single points
>> of failures), each end-point would have n * n paths, of which n * (n - 1) are never working
>> at all and n are expected to work. So not tracking all combinations, but only the dst addr
>> is much more efficient.
>>> 
>>> To me it appears it is far from ideal to continue on this track of having the spec ignore path differences. And that it is time for SCTP take the step and clarify this.
>>> 
>>> At the same time I understand a change will impact the implementions that exist. It will also delay the publication of this specification some additional time.
>> I think we should do the right thing. I have no problem in delaying the document to
>> fix any issues. But the change suggested is in my view not a fix of an issue. It is
>> designing a flavour of SCTP based on a different assumption.
>>> 
>>> I think it would be good to understand if people have opinions if this should be addressed now or be taken on seperatly.
>> I agree on this.
>> 
>> Best regards
>> Michaek
>>> 
>>> Cheers
>>> 
>>> Magnus Westerlund
>>> 
>>> 
>> 
> 
> ------
> Randall Stewart
> rrs@netflix.com
> 
> 
>