Re: [tsvwg] draft-porfiri-tsvwg-sctp-natsupp-00 is available from the on-line Internet-Drafts directories

Claudio Porfiri <claudio.porfiri@ericsson.com> Thu, 02 September 2021 10:05 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 E2C383A08CE for <tsvwg@ietfa.amsl.com>; Thu, 2 Sep 2021 03:05:56 -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 QZZe1yxvgiwo for <tsvwg@ietfa.amsl.com>; Thu, 2 Sep 2021 03:05:51 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70041.outbound.protection.outlook.com [40.107.7.41]) (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 E125C3A08CA for <tsvwg@ietf.org>; Thu, 2 Sep 2021 03:05:50 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G3TejBW1390XZiiwjL/35elcXtLnO9G3ri1PpX3nHOKUx8MZCnyjVMmiGOpkg6e6ooZBUw01+5PA24n9G0Ub8biOyq/4kg2Trv0Df5aCc83oJojmN+7bXjIdhrXaazF3dAReXkiuuUAtuT60wXHYknKlfdxapi/GJJ182t8nCZL04B7tJg6W4MBZ97KQaL5h1S5AbVqQniOietMXMXuptxCceKdbL0OzvyJDsP1HzDuJDADfGodZtSXx4HgpqKYcVX/9R4ghr2l+sTGfqI5ElnaY4aw5hGvtNCeURg/1L3SFMpsgXpwtSQI1NPEg3ewf7ftJ3ey5Q6aVq6ON2TkThg==
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; bh=S5AACTFmWWeSKdNi/y68Gi/C0ny3XCYw6MGbc/voz3I=; b=m7thJAzDLyB//51Iw7chhEVq+gVNy8T0AmBHSwkBdaiHxXOrow0xIDgLrF2OCOuWnjW4v1saWheFnQOJ22UAQJ+DtGz2SOAMdLgDCM/g10zy/4c8AxNkfZVXUxcgkH0GVI2PM6fRAEIxpSNXl7qz9aJWCePyXu58/VxuXeJOq25Qa/11wA3ECHzxl2GsEjI0pSX6AmQ1OFh8daL5aOOggpjc5a1qRmSEbwDePdYC/9hbXk2XtuObm4eb8hUjGHcpfEoB34Nq8UlvK+n0xF7GCZWUj/M2bkiaLySEATq3QbYktB7AvXFDJo4FX5ZwNJ6vG2xn1kira1v9Mc2dsTOE2g==
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=S5AACTFmWWeSKdNi/y68Gi/C0ny3XCYw6MGbc/voz3I=; b=U9+Nh78faOSlPTdo421gvyldyhH4cmei2O4BOyDdvwQMvxN0QehGnKKn67BXqJS89F/USfxlLF3qwPQv89l3+C1nmyJhWRq2GN2JFp3kAcgLipgKoSbEt+/DgpbsEzSWCV0Ghxmwk2v77nc4lkyvrwHVqesWjfACSxsXyBYNH3M=
Received: from VI1PR07MB4077.eurprd07.prod.outlook.com (2603:10a6:803:35::19) by VI1PR07MB5038.eurprd07.prod.outlook.com (2603:10a6:803:8f::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.14; Thu, 2 Sep 2021 10:05:47 +0000
Received: from VI1PR07MB4077.eurprd07.prod.outlook.com ([fe80::4d82:d213:f29e:2fe9]) by VI1PR07MB4077.eurprd07.prod.outlook.com ([fe80::4d82:d213:f29e:2fe9%5]) with mapi id 15.20.4478.017; Thu, 2 Sep 2021 10:05:47 +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: "tsvwg@ietf.org" <tsvwg@ietf.org>
Thread-Topic: [tsvwg] draft-porfiri-tsvwg-sctp-natsupp-00 is available from the on-line Internet-Drafts directories
Thread-Index: AdebV0AqbJvh/b/CSnCB2QMMGiiq9QD7qgqAACQRT0AAAr7JgAAAGpCg
Date: Thu, 02 Sep 2021 10:05:47 +0000
Message-ID: <VI1PR07MB4077E62C1749989E3B2BCE5D87CE9@VI1PR07MB4077.eurprd07.prod.outlook.com>
References: <AM0PR07MB40665310E4A47FAC6BBE768587C89@AM0PR07MB4066.eurprd07.prod.outlook.com> <4EB69E6D-949C-4910-9325-6563683CECCE@lurchi.franken.de> <VI1PR07MB40774003F51C090A2E09DC8687CE9@VI1PR07MB4077.eurprd07.prod.outlook.com> <0B5F5C8D-3D25-4521-BF8A-77B910884E17@lurchi.franken.de>
In-Reply-To: <0B5F5C8D-3D25-4521-BF8A-77B910884E17@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: e8e92957-4b2b-4349-f6ce-08d96df93c6e
x-ms-traffictypediagnostic: VI1PR07MB5038:
x-microsoft-antispam-prvs: <VI1PR07MB503847EC208B691CC655A22487CE9@VI1PR07MB5038.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: lRhIM38WlrdSixpIHBNGPb4NIWhuZbcJQ2qIshNWTouDSKNCDaTbQ5X/mvNtbnU0vxS3gUfIJi+mWhIfZz1ufKQmbdgS048IG8k+rbaL7ILq2gVjhaGHny38i6Igp0x3jw8R6uyM42/sQPnxnueWywwYSU79/aZtnUDlWLXJLo5uBfPcabwqxep85KMFvQyVVaDf5Y968gxAB+YbaTUvJVxBibUtv47IowztL0q+Q4iaaiB9nPHTfhD3R8XbRj3En+mkc8UL59CYJcvjuLvsMALCG9vkOopv7al72QPkgypultHIck4iOb9TUIcsYEX94zl4rVJPQDI9P9A1HqVFWompro3RYJNAW0aK1UThOWEYf0gmbt8paDOMZzb2ySuoFsNRzUnzlo50hSDO4qbZ+ugCpJbCNckLFHlX5pZZ6lOjuCTMtg6hEqIQXjUGcqupOsDE6lgKCBmiXbOXL4sAGnGZX6bbFi94CRt/Teki9Y+0HJCbQeGUllGJ7IdmFyr9tbMi58oS+UU9oUl1BU8nX4IxLrqdD8r1e7FHTv0Bj8wqVcJ+QZdKqfbB4wg/29dR8k3IJSC065Hc9QKpYhY5nwifMBb906I6GsNRfuV7ZfsVU+SCCWIH7Lu2Mh4uAJj6TncQjj0IknK69Tpyvs+lG+shkMbindItaAchfolJnmkfXJkInpdCIv9qBeyUFvoLBKFkXQjxCa0D3h0w83IQcAwNXFTfYVsFjmqxQEGr3be1uz0dLAeUQtRVruL1X/K48Dx3jSBr/av9veVtJhovpGn2ZMGZnBmjgmosYzZw+Lc=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR07MB4077.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(346002)(376002)(366004)(396003)(136003)(2906002)(8676002)(66574015)(71200400001)(5660300002)(6506007)(966005)(76116006)(86362001)(7696005)(44832011)(8936002)(4326008)(122000001)(53546011)(64756008)(66946007)(55016002)(66616009)(110136005)(186003)(99936003)(33656002)(9686003)(478600001)(66446008)(38070700005)(66476007)(52536014)(38100700002)(316002)(83380400001)(66556008)(26005); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: TTe0Sg1yiM4Y2zXuxKXaK+ekDCOj2XNY/A9RUUdEQKCRiCFXVn62PV9Bfl4U0rYGy71QD8iZrZ02YMCP7qvHR6Y7tfwHjT3QEp2azfCkf6TezwtzUG8dRlx+CX0h932fZJ/iJvN6TokTVblOGUr9NP+5d+77Z9Z7FkVRwYRd6wW4jJTGg1BjMvjwub9BBVpfr3AK32+JBuSMJ7DPep7XT5dzkq0hP5v8ZIAWExFFzo6as2ud4qJgQiPzmOwFvDwNZ//IC1tvQ/+V7sSoztVfF6YWvK4ecbYdbqoMVpLyu2p4OITbghSskWalthrstC1sx8k/lHEMMTmYGR/ENZMREVFqszeLRBjUowCSlaTKMhf3jBHVrhTFUvuc04MwIzl8HaJs7zhdpIuK19bHfrCX+ds/rOYJuypojzev7EYf94FfvfTiExfBRozyEQ3tDGbgWDtcsmeMCYs27gO+CdN56A8ITjoHPuSUXt4qU/6NoOKs7E0svDkIYmecxSCrDxjEwzK1hHDCDxV5Yg7xGABdZzjXmw18ebeb5FTRvzwaEgh1uymJ8hjvJ5/ns0PVkN3oAEXqgdC4XkJLJ3E8Osi1Fnwour5rBkFXj+UxN9r1A9bWs7myy85JTNgayTdi4RoG0dGyRQ65bXvNERSzrFa16ZCj9YHvDUEuGI/nCHYmAewMKPTRBu7fKKcletK6aDPOHEGM2s4WQt8Tvi3sPbhjCL4dXTx8fqIEXyz+8gpEwXwPtEy5Z/jwHP33Uwq797d6FcBvx9r3eTs9A2i7lBv0+SbxUTzxgEOBEsvDbtF/ge2gfQIkr2Ix+n7Q4Fmfb7zIlFzds7eWJ/odXNp9ks9Hnf/4t6vuIVELmdQjRHKgm1U+FbORRMFO0z4pSjp721Rfkk+Zb6QJRUoNS0XS1cqMT9Jstn0009Q1iTsp9Pzn6PGE+JlJrVn62PTLJzDgjybn/zwUDYgk/xec/uN9ZJ+LR999hBL8ZQGZE7TlNjqsjftfx/hn4eVsWCAZ0OdFosQ8gFT+R6JGKSwOdwr2JWhpLSyWzeiD1NW0n7xJyW8HItxLORoKS5VBa29fHbfDKllGTouZgIhW66CkHustQo5YJ2r1UXbynjMWnRL2ko2utMeO4KqAgZSGXQb0BoFWbBH79NB23xr01bDy8N+U3kotzzIBY1gaCxO//+lk6+q0ZT4kcZ5dIooVQCRu51Oi0bCchIDi1t6BzwGm2oTMNsKbQLzELJMBw4hIyKMzJc5ml3us94o7HzoAD4W+/7g/ZHQ/bezorhBQeAa/3LisHlmwAzB/Jdl8rVCvFny8F1wsGPRysJ9znGGfu/KLk811WjLF
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; micalg="SHA1"; protocol="application/x-pkcs7-signature"; boundary="----=_NextPart_000_01D2_01D79FF2.DC0535F0"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: VI1PR07MB4077.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e8e92957-4b2b-4349-f6ce-08d96df93c6e
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Sep 2021 10:05:47.6825 (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: 74cLHnt2NVl9sQbXTDrc5Q7D/PrQHi/7GOY+uyQnlt8aR2GLeN+zuW0uJRM4BrtpdZegvi4Zg5B+C/bXCi+bDwDrO7V/9bLFaMTvXzRn3eU=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB5038
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/O2Qhp4FfD1eojuGo-R640LTa4d0>
Subject: Re: [tsvwg] draft-porfiri-tsvwg-sctp-natsupp-00 is available from the on-line Internet-Drafts directories
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, 02 Sep 2021 10:05:57 -0000

Hi Michael,
on the reason why RJ parameter, my understanding is that the remote peer receiving an INIT with new
source IP address
would treat it as a normal INIT, thus it will try to establish a new association.
The RJ parameter would tell the receiver to handle that INIT as a simple query.

Best regards,
Claudio

-----Original Message-----
From: tsvwg <tsvwg-bounces@ietf.org> On Behalf Of Michael Tuexen
Sent: Thursday, September 2, 2021 11:59 AM
To: Claudio Porfiri <claudio.porfiri=40ericsson.com@dmarc.ietf.org>
Cc: tsvwg@ietf.org
Subject: Re: [tsvwg] draft-porfiri-tsvwg-sctp-natsupp-00 is available from the on-line
Internet-Drafts directories

> On 2. Sep 2021, at 10:53, Claudio Porfiri <claudio.porfiri=40ericsson.com@dmarc.ietf.org> wrote:
> 
> Hi Michael,
> thanks for the comments.
> I am adding details in the slides, at the same time I am trying to answer your questions below.
> 
> Best regards,
> Claudio
> 
> -----Original Message-----
> From: Michael Tuexen <michael.tuexen@lurchi.franken.de> 
> Sent: Wednesday, September 1, 2021 5:28 PM
> To: Claudio Porfiri <claudio.porfiri@ericsson.com>
> Cc: tsvwg@ietf.org
> Subject: Re: [tsvwg] draft-porfiri-tsvwg-sctp-natsupp-00 is available from the on-line
> Internet-Drafts directories
> 
>> On 27. Aug 2021, at 17:24, Claudio Porfiri <claudio.porfiri=40ericsson.com@dmarc.ietf.org> wrote:
>> 
>> Hi,
>> I've just submitted this draft.
>> Please review it for discussing at the next Transport Area Working Group (tsvwg) WG Virtual
> Meeting:
>> 2021-09-03
> Hi Claudio,
> 
> thank you very much for writing your suggested way of doing NAT for SCTP up.
> 
> Sorry for being late, but I have some high level comments, which you might
> be able to address in your presentation on Friday. It would at least help
> me to get a better understanding of your proposal.
> 
> * According to Section 4.3, all outgoing packets can establish a new state at
>  the NAT function. So why do you need the INIT/INIT ACK exchange before the
>  corresponding ASCONF/ASCONF ACK exchange?
> [teiclap] The outgoing packets will establish a new state at the NAT function, but when those
> packets are out of the Source NAT scope and arrive at the Destination NAT scope they are seen as
> incoming packets, those incoming packets are silently discarded if no NAT state exists. That's why
> INIT must go through the whole path and make NAT creating states.
OK.
> 
> * Section 4.4 states that
>  "The main difference is in the NAT to be stateless rather than following
>  the status of the association."
>  I don't see how the solution described in draft-ietf-tsvwg-natsupp stores
>  the state of the association. Could you elaborate on that?
> [teiclap] That's my fault. When reading the source code in Linux and BSD I've found out that in
both
> implementation the NAT mechanism takes a copy of the internal SCTP state machine and updates it by
> parsing the control chunks. It's not a matter of specification.
OK. Haven't looked at the code... Was only referring to the specification.
> 
> * Section 5.3.1 introduces the Repetitiva Juvant parameter in the INIT chunk.
>  Why is it needed since the NAT functions does not care about verification tags?
>  Isn't this only required for handling incoming SCTP associations? Isn't this
>  a way of load balancing? Isn't this a different problem than NAT? How can
>  the Repetitiva Juvant parameter be considered if the packets are not parsed?
> [teiclap] RJ parameter is for peer-to-peer communication. It tells the remote peer that the INIT
is
> not a new one, as it comes from an unknown source address and transports a vTAG that belongs to an
> existing association. RJ parameters tells the receiver to answer with an INIT-ACK and doing
nothing
> else. INIT with RJ is only needed for creating a path in the NAT devices, those devices don't need
> to know that it transports RJ parameter.
Why does it need to know that it belongs to an existing association. As long as an INIT-ACK
is sent back, everything is OK. Wouldn't this work just without the RJ parameter?
> 
> * Section 7.2 describes an example with congestion. Why do you use a different
>  connection setup in case of congestion? How do you know that there is congestion?
>  Or is this an example of a local port number collision and not about congestion?
> [teiclap] Yes, this is my fault. It's a collision, not a congestion.
OK.
> 
> * How does in Section 7.3 NAT know, that it needs to forward the incoming packet
>  containing the INIT chunk to B1 and not B2?
> [teiclap] This is another fault. In such cases I need to explain that in cases of distributed
> Endpoint the NAT device needs support from a Load Balancer mechanism that decides what SCTP Host
> will handle the Association.
OK.

Thanks for the clarifications.

Best regards
Michael
> 
> Best regards
> Michael
> 
>> 
>> Thanks and best regards,
>> Claudio Porfiri
>> 
>> 
>> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>> 
>> 
>>       Title           : Stream Control Transmission Protocol (SCTP) Network Address Translation
>> Support
>>       Author          : Claudio Porfiri
>> 	Filename        : draft-porfiri-tsvwg-sctp-natsupp-00.txt
>> 	Pages           : 34
>> 	Date            : 2021-08-27
>> 
>> Abstract:
>>  The Stream Control Transmission Protocol (SCTP) provides a reliable
>>  communications channel between two end-hosts in many ways similar to
>>  the Transmission Control Protocol (TCP).  With the widespread
>>  deployment of Network Address Translators (NAT), specialized code has
>>  been added to NAT functions for TCP that allows multiple hosts to
>>  reside behind a NAT function and yet share a single IPv4 address,
>>  even when two hosts (behind a NAT function) choose the same port
>>  numbers for their connection.  This additional code is sometimes
>>  classified as Network Address and Port Translation (NAPT).
>> 
>>  This document describes the protocol extensions needed for the SCTP
>>  endpoints and the mechanisms for NAT functions necessary to provide
>>  similar features of NAPT in the single point and multipoint traversal
>>  scenario.
>> 
>>  Finally, a YANG module for SCTP NAT is defined.
>> 
>> 
>> The IETF datatracker status page for this draft is:
>> https://datatracker.ietf.org/doc/draft-porfiri-tsvwg-sctp-natsupp/
>> 
>> There is also an HTML version available at:
>> https://www.ietf.org/archive/id/draft-porfiri-tsvwg-sctp-natsupp-00.html
>> 
>> 
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-drafts/
>> 
>> 
>> _______________________________________________
>> I-D-Announce mailing list
>> I-D-Announce@ietf.org
>> https://www.ietf.org/mailman/listinfo/i-d-announce
>> Internet-Draft directories: http://www.ietf.org/shadow.html
>> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>>