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

Michael Tuexen <Michael.Tuexen@lurchi.franken.de> Sun, 08 August 2021 12:11 UTC

Return-Path: <Michael.Tuexen@lurchi.franken.de>
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 CF3A93A27AF for <tsvwg@ietfa.amsl.com>; Sun, 8 Aug 2021 05:11:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 UH71dRrqPxkI for <tsvwg@ietfa.amsl.com>; Sun, 8 Aug 2021 05:11:52 -0700 (PDT)
Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8E37C3A27AC for <tsvwg@ietf.org>; Sun, 8 Aug 2021 05:11:51 -0700 (PDT)
Received: from smtpclient.apple (ip1f100e9c.dynamic.kabel-deutschland.de [31.16.14.156]) (Authenticated sender: lurchi) by mail-n.franken.de (Postfix) with ESMTPSA id AF8D4721E280B; Sun, 8 Aug 2021 14:11:44 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
In-Reply-To: <AM0PR07MB4066B94F7BE28CB0E3244DA587F39@AM0PR07MB4066.eurprd07.prod.outlook.com>
Date: Sun, 08 Aug 2021 14:11:42 +0200
Cc: "rrs=40netflix.com@dmarc.ietf.org" <rrs=40netflix.com@dmarc.ietf.org>, "magnus.westerlund=40ericsson.com@dmarc.ietf.org" <magnus.westerlund=40ericsson.com@dmarc.ietf.org>, "tsvwg@ietf.org" <tsvwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <F2AE5D89-30FA-4C1D-ADCE-607124D778B5@lurchi.franken.de>
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>
To: Claudio Porfiri <claudio.porfiri=40ericsson.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/P4D-ySB-EK3Q57pT0UvoCagStKQ>
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: Sun, 08 Aug 2021 12:11:58 -0000

> 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
> 
> 
>