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

Randall Stewart <rrs@netflix.com> Fri, 23 July 2021 21:39 UTC

Return-Path: <rrs@netflix.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 E45F73A1BF2 for <tsvwg@ietfa.amsl.com>; Fri, 23 Jul 2021 14:39:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.551
X-Spam-Level:
X-Spam-Status: No, score=-2.551 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, SPF_HELO_NONE=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=netflix.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 40JUHX8ilY_q for <tsvwg@ietfa.amsl.com>; Fri, 23 Jul 2021 14:39:48 -0700 (PDT)
Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 43E083A1BED for <tsvwg@ietf.org>; Fri, 23 Jul 2021 14:39:48 -0700 (PDT)
Received: by mail-qk1-x733.google.com with SMTP id 190so2722991qkk.12 for <tsvwg@ietf.org>; Fri, 23 Jul 2021 14:39:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netflix.com; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=nxqAyLgJw+JGXliCTUOeb3QK83Rvtt+SXb3AEivoOoY=; b=fHYL/YpBBU2hNT5d++GzblPnRdsl5nE9rdUCt5ij+uOt8HSyxci6SHUtTPUE03F8/0 EeQkOs0WLYYJDbO+hLMlXywvqkW2YS8Qr7OxZEvoCgowGWAiE8qlsMbLIeSxxef1A3Qm By9CGc5/CZL2uj9S3tiKXdJjg/7oAC4A6yqZM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=nxqAyLgJw+JGXliCTUOeb3QK83Rvtt+SXb3AEivoOoY=; b=kI+ChghvjsUvC5B8aFX/n+7HODJpb10uNA1IwtIb5BWDxR22Nxve4rtezwoA50LlZe xaqx455iiggayOO2CBBkGgYuGIS/T6v7bCovbqVmco9/OIUbzKPYTQ3TLbNUdN/0XKg3 6aenrv8eWlQq35ggS95p+95C1HvQy2qDdyFes3ZVN9DaPtl+z4DtLsRv2VbqJRP/RtOD 6TwKw+zKxWk3i0Eo0nfFkocgGal5Q/C+WhJff3VbCSpmSHxK+FCqcV7TPF0GyhGWIDZz A6waQXIyrACoVwZmOZc6+bonansMGynO0JJYwnCqdDTpW6oVdCo30hkYhyJz4YhfAamK wg4g==
X-Gm-Message-State: AOAM533v7a6dT4Oh/dXmhdsjpeg8wGkxIHXBUyzYhqHLgfFZCBM879ng /UImQHk5ugAyhFESJSKyQ0nTpQ==
X-Google-Smtp-Source: ABdhPJwZR5LS6pbrbyvy3m2SI751P2C8ulvhNZ5FTVdr55Qh7e3GnR2JO6qHUulP3rrgRU0urRczmQ==
X-Received: by 2002:a05:620a:95c:: with SMTP id w28mr6689873qkw.52.1627076386138; Fri, 23 Jul 2021 14:39:46 -0700 (PDT)
Received: from smtpclient.apple ([75.176.152.34]) by smtp.gmail.com with ESMTPSA id j18sm7707670qkk.78.2021.07.23.14.39.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Jul 2021 14:39:45 -0700 (PDT)
From: Randall Stewart <rrs@netflix.com>
Message-Id: <B59DE8A4-5A5A-465A-AE42-A4A27F7CCB52@netflix.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_2441C0BD-0311-4E38-8CBA-6C707EB3E55C"; protocol="application/pkcs7-signature"; micalg="sha-256"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Date: Fri, 23 Jul 2021 17:39:44 -0400
In-Reply-To: <20899068-380E-4F4D-A260-13171D5C7570@lurchi.franken.de>
Cc: Magnus Westerlund <magnus.westerlund=40ericsson.com@dmarc.ietf.org>, "tsvwg@ietf.org" <tsvwg@ietf.org>
To: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
References: <0e08e351230082cc914506e7f844ac3569da3664.camel@ericsson.com> <20899068-380E-4F4D-A260-13171D5C7570@lurchi.franken.de>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/tf_-eLXdwqo6qBhog4S_4Cgi3v4>
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: Fri, 23 Jul 2021 21:39:53 -0000

+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://www.google.com/url?q=https://datatracker.ietf.org/doc/draft-ietf-tsvwg-rfc4960-bis/&source=gmail-imap&ust=1627666968000000&usg=AOvVaw0TYVMyyxOg2m44NWxV5Bf- 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