Re: [tram] A few comments on draft-ietf-tram-stun-pmtud-17.txt

Magnus Westerlund <magnus.westerlund@ericsson.com> Tue, 22 September 2020 11:41 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: tram@ietfa.amsl.com
Delivered-To: tram@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C31873A164C for <tram@ietfa.amsl.com>; Tue, 22 Sep 2020 04:41:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.796
X-Spam-Level:
X-Spam-Status: No, score=-3.796 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.695, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 0Hq1DOuV6S3M for <tram@ietfa.amsl.com>; Tue, 22 Sep 2020 04:41:31 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20077.outbound.protection.outlook.com [40.107.2.77]) (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 9FD133A164B for <tram@ietf.org>; Tue, 22 Sep 2020 04:41:30 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KUfoc3sCQuH9vEdUya1h2JP2y5V5wYjfYiU7tJyKKmopzzHPQBi8j3lK0Zuq+QhIUfbu9RGHD4r8dLiNQI0g50ERsHyQjpc8AShAKyJtQmkDTptduGC5z8VM79/boeHeGAdQDEVyfNFLp6/cCgHlsuhqlevKHfdYbzDWqSdPi2FGHfc+I5GbVYqeEDfvFM4x38RwUwr6pEF3bwWyyL+mTVdMOJS4lENBcRfvHZZtMEjdQIGFgoYd5bm/wF+x2nFbwGoWRcwCsoiA6aXFOi+H9LyrZZM1zk8j8K8TwKgHh8ko9SdlEWDaNpIQRTpb7IlmzX/4omHvjZ3D+oufOzNgVA==
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=LDbefjz53vu3so/MBmteChktp79PPztzo19OiwlCXlU=; b=BGc2ghC5kjb0N/o0TX6FaHJfxfrSNEdFUdW5clcgMYe4bnRPYGMpeh6aeATEddhUUBrvMFsDWEw0UX5XVfK0lR+V2fCQ37YPpyaHk6a8iCB9LkWdWMZhr9f1kGAlIrzVKikMp0/irxW/WgNHgJXkg/m1P0dhuuoq6xiCb0TYstJSmdDud86PriPPGRlyRunm2LV3ceZg/HgGARG+HrnrMVueu+J89g10wsvOGMqcn5Ml0Rz5z4YlsSf0DWV5r4sv+UZsCe+OnC6xarxMFBBE0PO2z7oBKhwbkNdpwEXROm1ppk2qf6ITtRrrSJdiOYXRiMYkSrbUa3D3ZCy7r4q0Pg==
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=LDbefjz53vu3so/MBmteChktp79PPztzo19OiwlCXlU=; b=VnJWL0CgrS7JcGfKmGfnMOW8TqUb8wx2O538okiYUXdrJ/Kco+MqqSS+GZlPWLc+rcx/UqwqUUEpTIbunomaaHjiPdhKwbGUwXaYby0jixD1z9xxfNVLOvVxLdo7ncxofnV6T+FH/giGed7+GhcCS5RVgBIGuaBIU3DyDiO4nEA=
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com (2603:10a6:7:8e::14) by HE1PR07MB4170.eurprd07.prod.outlook.com (2603:10a6:7:9b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.19; Tue, 22 Sep 2020 11:41:27 +0000
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::c98a:9a0c:1eea:3fdc]) by HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::c98a:9a0c:1eea:3fdc%6]) with mapi id 15.20.3412.018; Tue, 22 Sep 2020 11:41:27 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: "gorry@erg.abdn.ac.uk" <gorry@erg.abdn.ac.uk>, "fegarrid@cisco.com" <fegarrid@cisco.com>, "tram@ietf.org" <tram@ietf.org>
CC: "gorry@abdn.ac.uk" <gorry@abdn.ac.uk>
Thread-Topic: [tram] A few comments on draft-ietf-tram-stun-pmtud-17.txt
Thread-Index: AQHWWeITVyPEwYXhNkGopbvGaLdb06kmg0IAgAFFmYCAF/0PAIAozMkAgAArpACADDiAAA==
Date: Tue, 22 Sep 2020 11:41:27 +0000
Message-ID: <e2c76060e674a703611358b2d626526146191b58.camel@ericsson.com>
References: <7c201e29-1a63-39ed-cdd9-3b8b9ac383e6@erg.abdn.ac.uk> <860e8240-ce51-5407-4187-92478262f87c@erg.abdn.ac.uk> <179FB260-1FAC-419B-B5F4-86F850177C97@cisco.com> <04b71d3e-1c79-cdc1-5b20-906732ffa768@erg.abdn.ac.uk> <025EEF1A-A751-4A45-A36F-70CCC043255C@cisco.com> <41CA9214-D8C3-4A40-BAB7-43BD40F40A63@cisco.com> <5c416da8-931c-cc51-8662-0841d3f87e31@erg.abdn.ac.uk>
In-Reply-To: <5c416da8-931c-cc51-8662-0841d3f87e31@erg.abdn.ac.uk>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2
authentication-results: erg.abdn.ac.uk; dkim=none (message not signed) header.d=none;erg.abdn.ac.uk; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [158.174.116.90]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: c20d29d7-045e-4866-1cd9-08d85eec7125
x-ms-traffictypediagnostic: HE1PR07MB4170:
x-microsoft-antispam-prvs: <HE1PR07MB417013047715070D3DA65910953B0@HE1PR07MB4170.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: HP6q/FzJ1iw27v+eRf/bbu6R+dn6eF4R8rjsjPl58HEd402TuYllBQemDHngNwIWvBzvbfQLlCSipZ/uaLuiB4zF8ArFSM5BBJ3633mbhZVAA4smqyxF8aVdTPh13HNpNtYTt5taRlkcANOsNceq/Hyn+ngxvXSK+USbJ6XHd2A+SpWiwSaHY/V2vt+K8E/EnSH+B3M6dSxGuLOJTa+uuMtV/hlhk8kguXXaoSvu7vpL501drVf0BytVx8LThbzT7nQyYdkoI39E7UkObDyW1k6rSfzDV7LGYPk2NXkuC7udwYZFXcM2x8zejnGNLXQmPMpM4WQt8ztB6WErhYHEgYkeUen17QnqI5Q2eWclztek8j01+AVJKJmQuRI1TYqR
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; SFS:(4636009)(366004)(376002)(346002)(396003)(136003)(39860400002)(76116006)(66446008)(296002)(8936002)(2906002)(6512007)(66946007)(66476007)(66556008)(64756008)(110136005)(4326008)(316002)(5660300002)(8676002)(36756003)(26005)(6506007)(186003)(86362001)(6486002)(478600001)(71200400001)(83380400001)(44832011)(2616005)(99106002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: PiPT3cT/5cIwxtk3/6SDmR7s9p84G9TCkIQPsLlnajT1Bn/c8R2ovxamtFVFl0GFF1wqSk4xp9aa1mqFXEeX80Fg85AvkpNbFifE3cq6CfaoV0QRDeczLaYSWG3R4O3GroulWqesCe1K1sGcWSsI5z+oLT964RVEkFRRbMmoxkC31D/CL51t2ZXbK0BXS+Xv0V5tjymeUoC1aShC478PR6uW9DCHTG8ldnTu90pctLa36ptm4QB8/CNk67EvacnOhDsgPdpehyD6mV4H/Gjlme51sjIEl7RJqb0z3Iz83mm5Gg1OzMDGAaP6+K4Rrag15xuZ/BggQEfzpdeD4yVYUs2QHl3s+NeMl7us+huiaZJpbNQz/6frhC7lpJqoOugfU9+ygkgQF0afb9Bja6ezAK6zJVbCrFU+J67iweMPefFuaxqg58VGvikqCEE4/cLQyBi68lh3YGtdzU3c6eZYK+Z5Hlk5dw0r5Lj6s6Qt2ZjMlDYeIS0wxcso1FdwlhbSMKRzVVcFuuRLkgfVpWh2g+BULn6Jyb3SSs+ySQTec9wZGer9t7VZ1YIZWMV6CxbV5CyRoNOgr3ODx+uBoM2qr5iuEvmwh2fFSqFbEUQpz6AQnq9ZjnFm+XvXBjIRG47wHm4UbTiungGj7oh+pgfXdA==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <B875F76B8DA5E64C8C759B9CF1A0EFDF@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
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: c20d29d7-045e-4866-1cd9-08d85eec7125
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2020 11:41:27.4956 (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: CZvT62IWvo6Co49BB8JAtbnZiEdn3noMZvXZsTK/0cXPLDFKwLHAiViIgWwPEg/kA+cOtvlY9mxX1sW+fXDZUQZfQKPTJ9IZFcNZfVFUT8k=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4170
Archived-At: <https://mailarchive.ietf.org/arch/msg/tram/RwK1fNHfuoANuBVBOHeAYjgVe1s>
Subject: Re: [tram] A few comments on draft-ietf-tram-stun-pmtud-17.txt
X-BeenThere: tram@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussing the creation of a Turn Revised And Modernized \(TRAM\) WG, which goal is to consolidate the various initiatives to update TURN and STUN." <tram.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tram>, <mailto:tram-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tram/>
List-Post: <mailto:tram@ietf.org>
List-Help: <mailto:tram-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tram>, <mailto:tram-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2020 11:41:33 -0000

Hi, 


Great to see progress on this. I think this is clearly a step in the right
direction. However, I think there are a couple of integration points that needs
a bit more clarification. 

On Mon, 2020-09-14 at 18:04 +0100, Gorry Fairhurst wrote:
> Thanks for this new revision! It indeed answers many of the issues that 
> were identified.
> 
> I do still see a few things left that the WG should decide upon, and 
> hope this helps:
> ---
> The text says this:"A client MUST NOT send a probe if it does not have 
> knowledge that the server supports this specification.  This is done 
> either by external signalling or by a mechanism specific to the UDP 
> protocol to which PMTUD capabilities are added or by one of the 
> mechanisms specified in Section 5."
> - This looks like a strong requirement without saying why this is a 
> "MUST NOT".
> - I don't actually understand how this is determined in this spec and 
> how this can be extened to other protocols.

Isn't this as case of SHOULD NOT send, and the probing will fail if there are no
responses per the RFC 8899 process? Likely this can quite simply be connected so
that there are handling when the signalling has failed to correctly handle this.

> ---
> In section 7:
> This section has added a section that is a cross-reference to sections 
> in DPLPMTUD. This does seem like a useful addition (and appropriate). 
> Currently this doesn’t really seem to me to have enough detail to 
> clearly see how the two sets of text relate, one might have to read both 
> to figure out the details, and if that’s the case, maybe it could be 
> helpful tp be explained up front in the intriduction?
> ---
> DPLPMTUD contains guidance on flow control and congestion control. This 
> doesn’t describe the implications of probing on flow control control. 
> I’m not sure the current text is enough: 8. Probing and flow control: 
> This requirement is out of scope and is not discussed in this document.
> - Do probe packets count as credit to an upper layer protocol using this 
> method?  Here are there options: One could be to explain how this is 
> done, the easiest mighht be to explain the usage in STUN does not 
> require this, or the third: defer to DPLPMTUD saying this applies.

So to my understanding the STUN probing traffic will be rate controlled.
However, to what rate is not that clear. I don't know if the interaction between
the RFC 8899 state machine and process and this mechanism to judge how that
bounds the prob transmission. My impression would be that for simple probing
mechanism RFC 8899 search will trigger the transmission of partiular probe size,
and retry it Rc times if response is not arriving timely. These retransmission
would be controlled by the RTO in STUN. While probing for an additional size
would be governed by RFC 8899 search requesting probing of a new size. Which I
don't find any given limit to. But, it will not result in more than one packet
per RTT unless actual path RTT > RTO (500 ms).  



> ---
> “9.  Shared PLPMTU state: This requirement is out of scope and is not 
> discussed in this document.”
> - Why is 9. out of scope? ... what does the method do with the (PL)PMTU 
> value that it discovers? How is this made available to a user of the 
> method and is the method cached in way?
> 
> - How does the method relate to the cached value of PMTUD at the sender, 
> if that is already running on a platform, doesn't this new method mean 
> than the PMTU cache and PTB-updates have to be over-ridden, as is the 
> case when using DPLPMTUD with other protocol stacks?
> 
> - Also is it that the discovered (PL)PMTU value can never be cached by 
> another usage of STUN? (I may have misunderstood)
> 
> ---
> Section 7.  Rev-18 also introduces quite a few typos - but I assume a 
> spelling checker will find and help correct these.
> ---
> 
> That leaves Section 5:
> 
> I still don’t yet see changes in this version to section 5:
> 
>   
“The PMTUD mechanism described in this document is intended to be used
>     by any UDP-based protocols that do not have built-in PMTUD
>     capabilities, irrespective of whether those UDP-based protocols are
>     STUN-based or not. "
> - Please see comments made in the previous last call, about this ID not 
> defining this for other UDP-based protocols. At the moment it still says 
> this ID applies to other uses of UDP (which I did not see explained, nor 
> do I think this is needed). To me, much of the spec proposed seems to me 
> to rely upon the STUN multiplexing to sepearate the probe packets from 
> data, to receive feedback and to introduce padding.
> - Please discuss the expected scope of the spec with your WG AD, and 
> suggest how to best take section 5 forward.
> 

On this issues, my view is that this document tries to oversell its capability.
The probe method can be combined with UDP based protocols that can be
multiplexed with STUN on the same port. The considerations that went into RFC
7983 does need to be considered here in relation to if one can deploy this type
of probing messages. So I think you need to make this applicability clearer. 

Cheers

Magnus Westerlund 


----------------------------------------------------------------------
Networks, Ericsson Research
----------------------------------------------------------------------
Ericsson AB                 | Mobile +46 73 0949079
Torshamnsgatan 23           |
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------