Re: [Masque] ECN & Flow IDs

Mirja Kuehlewind <mirja.kuehlewind@ericsson.com> Wed, 07 April 2021 17:00 UTC

Return-Path: <mirja.kuehlewind@ericsson.com>
X-Original-To: masque@ietfa.amsl.com
Delivered-To: masque@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 882AE3A2141 for <masque@ietfa.amsl.com>; Wed, 7 Apr 2021 10:00:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, 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 ZZ4eLs4lVpnP for <masque@ietfa.amsl.com>; Wed, 7 Apr 2021 10:00:32 -0700 (PDT)
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50076.outbound.protection.outlook.com [40.107.5.76]) (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 131F03A2139 for <masque@ietf.org>; Wed, 7 Apr 2021 10:00:30 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EfIiqSjYNpPaOlhBpLlGT+beNEFZsz37iTgveiTHSiJOm7Z76s7XfzuUl83y0Ks941mnRGswcY4Ocw5CzUPp/Ov/dC4EGeQ9Cp5NH/klgFSHzX7U+GHBizSXN5w3Ijw0cPXdoALgTt972Cf0KQe2MEUz2KeEQnDnhnHqcx6jBHj8m+vIYDCHzt3RsiiZcwaz6LWsGl7vwhSskwXcNvytJd3pmW66EsD9bvbtwI/x4R6cJ9000AFm4s3uU6g63QLS/KHuwYLvIUT4RWBHQ7J/gz0d32QQQAooQYLiU8wYVTZj/fdi2PjEKYrc3akku4YCfOdZ9qIq4QSHklQRc3IM/w==
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=4XxOMk1dPj3KN4IaLT2hH/f15KoHjPO/qaqJdDjPHtk=; b=F3txGkWbBGuQajVmKr4ZQN29P0fz6U5a6ojjQeAd45JBjT9Y1QNmQe0VkxtBohKf09I/XE2saVPS3v8yGXIfYwFOkvRPbQt9Xt0aXgrklwhnMPTq4mgEpINO9lWl2rJXDThDvX26fRodP/KlBotEkgl9QNvxrc+wZ/qDzg1r2c8vV8tNx1Vpwkb8Vq9Ezy177K9wL0+RUDjIs7P5MXB1/wRw3FphOu7V1v/bJAL0h+LdOqQfHoI5Kc+iHNsB5OnJj95fSinUTkbhH9yv1RlVjbt9ou5oxINQhgwZu+shNJMBc4zsDY/thG3Fp4s2hqhNia3GTRhcRGrvlYeRvox6Cw==
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=4XxOMk1dPj3KN4IaLT2hH/f15KoHjPO/qaqJdDjPHtk=; b=MwmRcuAenHcC93cssN0PGfgDfEe02b7hF0leVqExsbpdKT1fGrbVmXVtJGVCFUv3ELfNe3ekg9IkdvfGIzY3NQ4jH2+yS9c2trZKzCFoJTL5at3a5fuI2wFZFl5hqo8jrKb6qn1ng3rvUAXE3T/mzxNe4mbkGC2tQdIeLRRt4Vg=
Received: from AM0PR07MB3939.eurprd07.prod.outlook.com (2603:10a6:208:40::14) by AM0PR07MB6257.eurprd07.prod.outlook.com (2603:10a6:20b:152::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.8; Wed, 7 Apr 2021 17:00:28 +0000
Received: from AM0PR07MB3939.eurprd07.prod.outlook.com ([fe80::f5b3:5946:19c5:d8b8]) by AM0PR07MB3939.eurprd07.prod.outlook.com ([fe80::f5b3:5946:19c5:d8b8%6]) with mapi id 15.20.4020.018; Wed, 7 Apr 2021 17:00:27 +0000
From: Mirja Kuehlewind <mirja.kuehlewind@ericsson.com>
To: David Schinazi <dschinazi.ietf@gmail.com>, Martin Duke <martin.h.duke@gmail.com>
CC: MASQUE <masque@ietf.org>
Thread-Topic: [Masque] ECN & Flow IDs
Thread-Index: AQHXJbW1vTSBFeqDBkyrNFSyc8ns66qdQC0AgAw08oA=
Date: Wed, 07 Apr 2021 17:00:27 +0000
Message-ID: <BBA47C7D-FBEC-419D-9BED-2D998EF526B0@ericsson.com>
References: <CAM4esxRmjWr-y-9-KAJmmKvGdONpPufgAbubUhPu_KaS1_Md9Q@mail.gmail.com> <CAPDSy+6go4xh4E55220upECkrept1Yb15diVhC8e3HEWsz52fQ@mail.gmail.com>
In-Reply-To: <CAPDSy+6go4xh4E55220upECkrept1Yb15diVhC8e3HEWsz52fQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.45.21011103
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [2003:de:e740:2700:4df7:b0d:5924:864b]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 0581aea1-2598-45ed-bb05-08d8f9e6a4fb
x-ms-traffictypediagnostic: AM0PR07MB6257:
x-microsoft-antispam-prvs: <AM0PR07MB6257D16B6237044B3925DF01F4759@AM0PR07MB6257.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: X7rzPYVNQaZBxLNlOXyBSOui46KIR/q3n+DVg8SbyF2C69Oaqn4nDday60TGEf4rKlPJNPCGSQJ55vgqVxpK7bmcxji8iLQwQ5k1N6Nwu+Y4inahFXDJqdebiX3UyURb06LzpjAuhvXNDgZl3qkIvsMvgmMR/ms0KKGtUUjbqDYmKYoKnDROH2WDGxLbjn60yqHmvAuhElkTEu7jHjTKPfRqOcYPAyTqnzFO2T393Nvd80/jdaygPzBIN/AFOxsG1BLMGN+nHBy/dMeZEdwnAJMQ298y/gMBfkKDrCHuMmFLvwhC6BkRjq7CL5YmRxImR+/zcEU5n+9S1xO+kXe6nNQJSg7g7MrEE7/vNF1w1E/M1hyvlmp+3PIr6TNO/Zp1pV+pahZruDXjCRDoLs6MiKlOZC5DrNmt8yRT4WcexS6+CIooIhOY83ZCCLOkvXxcLpns0jJp6sfvqjitIyNi5zdlVB7HMFU/g1Kh3bby1kS4Qx8m4tXkS93ynDYi42+Kd2po7pjLFHWgfyV5KOe8owfvqfC6C8WR+LVOI/7/Hnv8ZlCzt2QPmns8yGEMNFpWdOpkCrZkNTNjEnawZYKeVGRHbERSR5iT7TyuPxhrfpdo/2E3GFBM1kMGQC9HmL1jQd+/JR/aePTyX8SyJORRqV2J2v7U6vIBxo32RkNWaPKeOrnYMFwC1EBPSVFouUt9tpDVyEfRQ//fPRWDJQAaMtc2o9nc96KgwbDR3Y3qfQNk19AJ6wGrFCSHaeRAE4Y2ceVGuzvLwc/ON6+wyh2eew==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR07MB3939.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(346002)(39860400002)(396003)(366004)(376002)(966005)(478600001)(316002)(166002)(44832011)(86362001)(33656002)(83380400001)(8936002)(2616005)(6512007)(110136005)(2906002)(8676002)(71200400001)(6506007)(53546011)(76116006)(91956017)(4326008)(186003)(66946007)(66476007)(66556008)(64756008)(66446008)(36756003)(38100700001)(6486002)(5660300002)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: TrOyI7rZgvEjyGiXvL8Wz8ikBO5Ton0cbfy0v3Bo0TUUDdFP5+F8hgN8phD4/sGWeZUcgWwQ8EVKCdMhcD2bNGDfDE9e6BaRkZ73FniFDPDQ9SVaXHELWNKETDJaTZucVDZECT1pH+FisjYEQRI24LMKd5mxwHm/5p3ICZ0Jzh6KgmNUNJvJWzjxiAlXmQ8i5ZW9cMv59NwUXaCo/Z4F7UDtnOP082Nj+anDHbHLpjPdySH6aRKsZFf5dTti8UupD9lBmoSrLBc0Aus2o97LcJjVjlf5S0mouSe/QbDmMJX0fydkMXyuspUgMfTCnCguz0fSOdrC46ujDXxT+Hf9xTcmB8GLQLuvD/NZSVVLqEXzeVXq+t7ZlKSEvJpvNmJKpFpm3yqR/7V/c5smWM7E/enL4faFZr6rR6/SALdft/5/qf/irlbtekvqqvLNTTQnHKx/e0H//70wAkQbhWo9kLA1Ukx1+h79JMiK7tRGVlH3IHy1USWptQbQ47x7cF1BK9lJZ2K3hwgpoiRM/FDcVzxqzN7y10BrGm1I0x2fvi7XB6S8vnshfDviP/QcUTQZzLUXaCFJLUgVuYPO4H2Kma4hSo6p3S2Jsc2ve0H0e4MBWyxuFHXgFuUvvARNZbd801aN1BCgqWCm31uEMyY5u/RIO5fJ3/tEvOfCt4Z/fh1cjheYALdg7zK3mzTj7WzbMYkN/v6VLsPjrdN0EomrI36are3GFGmVNoQgPK/9CtFT6zLFV76ercQJuuK/yLZ1MeGDLfd4m+eGMMcX3ygqM1jzpsP9P9sDMA8RyZQ7yvlEUxkTTQX2IobBAa954hsIGraj28kjL2ba+TE3rj1WD7c61+AegwsqYDZMPWFJ+wCXNmddsI+RiEUdvVP+iU6SdU8FmOAblgyuWBueFn8zXNqp0mRVDlqFpKO5iucryd9tNuPutMsGJ6T/0kC/ma2SWtLeVxZn8SN0AAec+/zqBxj4Vjlr6UK1uFQzFtmiAbfw5TJ8WsZ8oCFVomO4CI3yDTTFuKRZCVL+mgQrZ6z9CzIhq9jYwfTyFpw94WQhRF5xHxamenT/1XazDFMoNtCmzE8BZjHL6WokCiVEY07GjJLOOiUHqREOtFqNj7AQOSPqTzAsyO3UXt+jExNPIXQo7UZ8X2a3i3I/zV76eemXKa4lcOovAmbOZzYlFYBNSmRXDVoQoAzl88E1Kc70cACq5IvLpKxhHsVrEMPS044P0B0mDbz4SttGdQLTg5LiHnTrcXtrx+LU98WNe7aaAi4/xXjXVFkJPkauJrw5lj+wPxAWG+QErPwFKhVJAuL3A5VbbpOvOJ+iqiFvM4YoAPQCxumihMqtwQ1xAifKO/DKdUV48xv5J6NYstN/mUlb6z7eBk8X/Wb9vgEsY0PFl8TJ
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_BBA47C7DFBEC419D9BED2D998EF526B0ericssoncom_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR07MB3939.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0581aea1-2598-45ed-bb05-08d8f9e6a4fb
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2021 17:00:27.7491 (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: lfmEeTqb1Fa37ccjBbIcnLby7VZYMX9jwiCsXHqk2RmB8wEbLJRgQOndUWJGFSHiHGzhZYlA8whKSTYvFgVuG3zO5hc859sHeugZAZldTW0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB6257
Archived-At: <https://mailarchive.ietf.org/arch/msg/masque/pxy8HwRNJqSqlrCLoGHZtIVC4Qc>
Subject: Re: [Masque] ECN & Flow IDs
X-BeenThere: masque@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Multiplexed Application Substrate over QUIC Encryption <masque.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/masque>, <mailto:masque-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/masque/>
List-Post: <mailto:masque@ietf.org>
List-Help: <mailto:masque-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/masque>, <mailto:masque-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Apr 2021 17:00:38 -0000

Hi David, hi all,

to also add to your question about multiple flow IDs. I guess we kind of agree that we don’t want flow ID for ECN information, as adding two bits is simple enough, however, then it is actually not fully clear to me why multiple flow IDs per connect request are needed. You briefly mentioned other extension below, however, not all, or only very few information, require per-packet information (as it was used for the ECN example). If you want to actually send multiple flows/connections to the same server you, can always send multiple connect requests. That’s slightly more overhead at connection establishment but not much, and I would say it’s architecturally more clean and therefore also simpler.

Mirja


From: Masque <masque-bounces@ietf.org> on behalf of David Schinazi <dschinazi.ietf@gmail.com>
Date: Wednesday, 31. March 2021 at 02:36
To: Martin Duke <martin.h.duke@gmail.com>
Cc: MASQUE <masque@ietf.org>
Subject: Re: [Masque] ECN & Flow IDs

The trivial other approach to solving ECN would be to prefix the UDP payload with a type byte that contains the two ECN bits and 6 unused bits.
That would definitely work, and therefore I don't think ECN is a good example to use as a discussion starter for how flow IDs are managed.
I wrote that draft to test out the extensibility of the CONNECT-UDP design, I'm not planning on moving it forward at this time.

More conceptually, the main question is whether we allow one client-initiated bidirectional stream to map to multiple datagram flow IDs.
The approach I've taken is to say yes: that allows us to reuse the flow ID multiplexing logic to encode additional information in the flow ID.
You could build something isomorphic to this where you say no and have one flow ID per stream, and then add a second varint right after the flow ID.
Since datagrams have to fit in a QUIC packet, adding more varints eats into available datagram MTU which makes me prefer the multiple flow IDs per stream approach.
Both are pretty much equivalent in terms of implementation complexity: either way you need a hash table mapping from a varint to what that varint means.
There is more complexity in how you convey that mapping (right now this is done using parameters on the Datagram-Flow-Id header), but I don't think
requiring one flow ID per stream solves any of that complexity, you'll still need a way to convey extension information. The ECN example is so simple that
it doesn't require sending much extension information, but if you look further at enabling optional IP header compression in CONNECT-IP, then you'll want
a way to associate a varint with which IP addresses you're compressing.

I think the question we have to answer becomes: do we want MASQUE protocols to be extensible? Our options are:
- disallow extensibility and slightly simplify the protocol
- allow extensibility via multiple flow IDs per stream, and deal with the slight complexity
- allow extensibility with a single flow ID per stream, and deal with the slight complexity
Personally, I feel strongly that we should allow extensibility.

David


On Tue, Mar 30, 2021 at 3:40 PM Martin Duke <martin.h.duke@gmail.com<mailto:martin.h.duke@gmail.com>> wrote:
Hello MASQUE,

At IETF 110 there was a lot of good discussion challenging the foundations of the CONNECT-UDP framework, including the relationship between streams and Flow-IDs. While CONNECT-UDP happens to use flow IDs somewhat incidentally, the real action with the controversial multiple-flow-id-per-CONNECT happens in David's (unadopted) ECN draft: https://datatracker.ietf.org/doc/draft-schinazi-masque-connect-udp-ecn/

Leading up to the interim, it would be great if one of the detractors of the flow-id mapping submitted their own approach to solve ECN. This would help to illuminate the tradeoffs. Speaking as an individual, I am also hoping to move the ECN work forward and having another design would help to do that.

Thanks,
Martin
--
Masque mailing list
Masque@ietf.org<mailto:Masque@ietf.org>
https://www.ietf.org/mailman/listinfo/masque