Re: Request for Authenticated but not Encrypted Traffic

Roberto Peon <fenix@meta.com> Tue, 04 October 2022 15:43 UTC

Return-Path: <prvs=1276c5c1b8=fenix@meta.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 97E0EC14F736 for <quic@ietfa.amsl.com>; Tue, 4 Oct 2022 08:43:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.705
X-Spam-Level:
X-Spam-Status: No, score=-2.705 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TRACKER_ID=0.1, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=meta.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8I5ckXfTl3c7 for <quic@ietfa.amsl.com>; Tue, 4 Oct 2022 08:43:14 -0700 (PDT)
Received: from mx0b-00082601.pphosted.com (mx0b-00082601.pphosted.com [67.231.153.30]) (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 E28A9C14CE27 for <quic@ietf.org>; Tue, 4 Oct 2022 08:43:10 -0700 (PDT)
Received: from pps.filterd (m0109332.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 294CAktx013591; Tue, 4 Oct 2022 08:43:09 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meta.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=s2048-2021-q4; bh=I51Q0k6hhCb23r6n/Or/VF7nzpffNKlphcCLVy5rH4c=; b=ZUfSOByJK3XVt62CRH5+R7Jdk6svAWsTMYyaNlZxImOuH7moVh95vFLOJc1norFjxxDY 13A5hUD9mOA4hbvNBym5UC5FkocqZCRVfixDF9Ao1Dox61cKnNykdYCOAJNhCYQLX7IU aFmc6qGQJVJQgD9MnjvEfeuHZd4KbR5+Q8cX7roNc3012V7m0AB4sfSqey2O4ETWxyfm bG3Cha81KxU7JujDMQAkRPR4xUU8i7XUj15U4p6javeoJ071AEHww8Q336CI5jbBegSP kw6G+RDUtMg2zTwpDYc/MnEcxCWnbBO1YxBXoCMvcXn2WNqM+w3Ckp750aWJUDgSUvYc tA==
Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2045.outbound.protection.outlook.com [104.47.66.45]) by mx0a-00082601.pphosted.com (PPS) with ESMTPS id 3k0ehwk93y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 04 Oct 2022 08:43:08 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GGLax+R/GV7SBwtnGvEQ85UqUgwU2PFEzRwAVoLSPgWXkiAzZ5Q3b4Ahve726pki3BjYwrE94TarLTcrVr6ITH3SbWTyNRoY2ZFsOtRzjF5EqEKddBWSZfaH2MB0jUQl0D4RTAEZ5AFcpUwfit5qSdK5BNrYTXdCzFPnXy9z5hA2cbtsNOVSLNRZYbgle8i0EFL6l+kAqPfUlRf9qiKhtJL31bj6SauBcjwoc4+xqy4rRtsmFlnabGNGrTSksf3Mbp0/XgHDq63C/PhRk+b//GAq6vsjQ3h2jVrNmBH2ChCtl5khe454DGjvZzlOHiEnba5Pk/PotieT4/ttJtESmA==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=I51Q0k6hhCb23r6n/Or/VF7nzpffNKlphcCLVy5rH4c=; b=C46DaFbNbvpEWfy5vKgvCPrSPwGzAn1fUUH/V7Z9Bgca/aG5o18p6bRr6gwmFWRcOqzv2L+VIsEdzfS56EcuhznwLAQlDU0TiwnZcg6h2Bsn2tpWk2HR2MuiCLAUbljbi2Q8h897rx+JqbKv1wzyFr+Wu6EdGhiWa+YwIq+1QVRW21KHash3lP6QTmQF4RuHrsJ5sz8gEuXc3Ap0VZyGtOc4VtndWWvO8pKOZ1s7gUSOQSjRm+SdDlYNZIFA1IEZX2GX0GkO2LX+8cl+C9Z69wPC1GQC7r6a4u+HECMQ8jflCuJF0aHgCI7XF6NbGJ+VbJs2Uc7GNQORbRF2Ok8Ztg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=meta.com; dmarc=pass action=none header.from=meta.com; dkim=pass header.d=meta.com; arc=none
Received: from MW5PR15MB5145.namprd15.prod.outlook.com (2603:10b6:303:197::5) by DM6PR15MB4251.namprd15.prod.outlook.com (2603:10b6:5:172::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.31; Tue, 4 Oct 2022 15:43:05 +0000
Received: from MW5PR15MB5145.namprd15.prod.outlook.com ([fe80::42b7:e0c7:7ce6:8a19]) by MW5PR15MB5145.namprd15.prod.outlook.com ([fe80::42b7:e0c7:7ce6:8a19%2]) with mapi id 15.20.5676.030; Tue, 4 Oct 2022 15:43:05 +0000
From: Roberto Peon <fenix@meta.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>, Matt Joras <matt.joras@gmail.com>
CC: "Randy Armstrong (OPC)" <randy.armstrong@opcfoundation.org>, "quic@ietf.org" <quic@ietf.org>
Subject: Re: Request for Authenticated but not Encrypted Traffic
Thread-Topic: Request for Authenticated but not Encrypted Traffic
Thread-Index: AdjT/etteyPc96T0SA+BuKbhQ9/5AQAPBNYAAABhQAAAAw3BEwAAbsaAACToMAAAAbL3gAAAOT7AAAEeYYAABH6rgADCnC4C
Date: Tue, 04 Oct 2022 15:43:05 +0000
Message-ID: <MW5PR15MB5145984CA4B88CA71F2792FBD45A9@MW5PR15MB5145.namprd15.prod.outlook.com>
References: <SJ0PR08MB82889F488CCA7D8FC4997ACEFA579@SJ0PR08MB8288.namprd08.prod.outlook.com> <e0c93db9-785b-fbfc-604a-5aa047d3c25b@redbarn.org> <SJ0PR08MB8288E1364214A9BCA4DBC6A5FA579@SJ0PR08MB8288.namprd08.prod.outlook.com> <MW5PR15MB51459BB0DCAD6E47A5A89C49D4579@MW5PR15MB5145.namprd15.prod.outlook.com> <SJ0PR08MB8288533C964762C760477D46FA579@SJ0PR08MB8288.namprd08.prod.outlook.com> <CAC8QAcfuVnr0UMii8kR-RZ_n3i8hOSDZTD=fHbkXVy5-3JJKNw@mail.gmail.com> <CAMm+LwhgCQcEMFCi7gc=UhDAGXug1=0Db90K=GnHTw9DOu8fog@mail.gmail.com> <SJ0PR08MB8288BAFDD51D99A8D9D42772FA569@SJ0PR08MB8288.namprd08.prod.outlook.com> <CADdTf+hP_HmwN+QHX=t8Vi=GLVQ=nduAh3xL6rRL_HG2fQdP3g@mail.gmail.com> <CAMm+Lwgo5i=FD9sMcp+o_N-e5MprDDCDobzjh-FpwGKhiH99iQ@mail.gmail.com>
In-Reply-To: <CAMm+Lwgo5i=FD9sMcp+o_N-e5MprDDCDobzjh-FpwGKhiH99iQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: MW5PR15MB5145:EE_|DM6PR15MB4251:EE_
x-ms-office365-filtering-correlation-id: 6427b83f-b9e4-4940-d764-08daa61f20d0
x-fb-source: Internal
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: dVi/nlAnimSsz4X8pBBduEe7cmJ4yJRMunGdI5/0CmP050M10qcvpyfjrvy8VcbX0/1UqkXlAazprIf8mPD5gVFuS2WwdmZPrWg7+BD8ZtdWBg7eJUCmsRG0pTgiYHt2tW39QAY6Q8cFrJenbCKI2NdKmaWTg20uXz2H1AKH0LZXpXC73srx3cSfUj6MF7EbWh2WmAus8qChvh5c02tgGBf+MFE2W4ooKc22rfkQM0p7KjZTFncmjPXfrYsUljRTGgZjbrWw9N65h4Fgi/CZLGNg6nGQ0zmhxh8x9C4WVIBUUbQ0hru1oj3VlQrWeJaz9+QsWQCvK6BrSFD+hjCFv9cPF/4rkgMRAuh9+E0Nn3QzB5KXi2A4IbpKPPpuflktzwFobugvrZXyNCOMrujG5HVq4AefwPSIu4/vqn+rWL29lwSrCSYuOhFZ2jrDsAQG//c+RSBQlLoEyjzOsaQjgugEvqUcGIh+eqff+MnmSx4tgVoFWz3HDbtnxmndjBhyZwimSxHBAlig7MbcDjwQjz55aBfV39GSJOiYF7W9/ivc9Ek/RE+2SXdFk2ZTSNext8hpPB4B863V5hLesl6OC+C3LgAY/C8SDtbWDh5fx6pDTmJAzH6WwdyRzgpkHuie7koB7uBlU6d1HWp1A9IMY+6UF9dWrjHnPL5OgoazJzZcTup2wNrJupXb9+qqcH4f/ryvF3rD95EKWxN9MLf8jPO5YFfLtvx9razN6Dgz/VRfHvTwOG6MXxrQup5XU8IkyhifCHRlmymuQdwA4Cqevw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW5PR15MB5145.namprd15.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(346002)(396003)(136003)(366004)(376002)(451199015)(5660300002)(52536014)(66899015)(2906002)(41300700001)(66574015)(316002)(122000001)(53546011)(38070700005)(110136005)(55016003)(4326008)(8676002)(66556008)(66446008)(64756008)(76116006)(66946007)(38100700002)(54906003)(86362001)(83380400001)(478600001)(66476007)(8936002)(71200400001)(7696005)(186003)(9686003)(26005)(6506007)(33656002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: JjMQj/WV1ZT2KRVJvWqvSSHY0td7BYjnN6iJ8tzfdn8e8xAE7TcPX+VzBKS6P/Y19lTn6bBan7pdX/jrMQPeqBfKJMgCxslFpzYNU4FZ6p+882YPlQ1UhgrGPTkbOQ5yeG8CuvW47RqLu2EOlEX89tppXLUhGKqDGdANlzVojAEVSw1hXj1phicoxZ7F7ILFwBUJ8P84KoOHLPZeX5GWXI/IURAYDKHHMDVqp8jk33QWbWMgFZqcvvLuuQG7DFLj8yRRHmmx7xGm4NFTeeEt0tBy+ZZ3iPKiZjlqJj8DoL80467RhOW29VAYC/ud6Jp09Bx67orlKF5syz9K9KHTXBH27gFaQ80zcQ/UnFP+fvfTCDJ27+UYnL1qISRZ55tPTqHj3Zvl3cYz1dfVGXRN675snY4YUbqv3H7f2oYbTmkeBGHQo1rV7oZIL2jaC8GWrqGdUloLJpLeYn8VXXJsmxHLnLUDBhKQNwx0/ZUX0NiM8d8fOGFYWEAys9IrTv7eRYjrgHEy81t5vo/bQHpcIrI8MZkrTpqC1maKqEukbA/fOKmXZvMXR9tEizda5JCXmOr55F1V3bF2lS/86m3EZBHIIvG/Y9DpZ4pv3u4CHRBoHcCKBki3Hv8hNktQmCDNVl9UHXRtwMtewcP7Y7gxn5bSY9iYgeoz9DacoMqvysVmIoP1uXZvTOxZ/W4+7dERo0j3gH8aErFo4OKtW/fsZT/KKAiwfw1IS1AIDGL/NSLU5bukwoXOaPT7cE/SWFzHJb93edp9T9ZTdkiHdKvLFvmAW0zfL2qxnS0kE9lM4U3DGcIG0ZxrwStl3ks4Nw+yI3nEDGyWBzzE//oFIV1ismU6bqDB7w7FurYYxys4boJdgfzQMxK4J0+xTKffB1xRkaBWaRzLr4j2/FOZXfbut70km8ROnqQIsOkp/g093NOtKvaxjFKnMifk9/2h5zKPikonybO0eZ4hipp1YMeATxgplvfkPza4F8gIDDAQfnbuxbKxg9U/G20xjYrMG9Zw2Rvip416Du6zFqQAow56oG393dlQTEclHCoMT1F0mijfxSV1b5bZ0lvLuYIaKFo9AoehgdR0m+XPUp05VZdJTJtEBW+i0lNvr7bwFQ1ZpwrIU82vhaRKC0g95xMAHkzPY/GQHLuRgSjgMw1oGGuf5DM/VEmo7sMx9FK71dQ5xInnnCfptzPlhfRJGgetg9ZLjYyOMidmrM7tovZ01yEwOqkB/8/dR/UFw+ZkruzwQUZHTwbJzXOVSHbs0ESs9sy+vlnZRLwvV/AGbCIjXj6kUfeHQofARIUyO0liKarihZXuZLAzP2LlnI+LG9sCFNeA0vJySzHSk8HtwDbdffvkcxahMpvIdrb1qhKdW6WtASWvVRa6bbRY58h+JKTRWW0BYE6j1nAYNGEkpAfCOeoh1rP1CBeOVQQzVWuyTAAYhO+j8FVkfk8AXgydzUvk1rPMuQkKJhKwTTBV6ZKCufVKlZ8BwXyTqFlacoqR/VBUbkOBb1SHSt9hEpNeDa9Xoc1Hz/y7Lyo96IjYAJd7CxyeOiSVZ2VF+9LdFuZe9w3jRii8pqXfub8IBlvUPX+W0tuC
Content-Type: multipart/alternative; boundary="_000_MW5PR15MB5145984CA4B88CA71F2792FBD45A9MW5PR15MB5145namp_"
X-OriginatorOrg: meta.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MW5PR15MB5145.namprd15.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 6427b83f-b9e4-4940-d764-08daa61f20d0
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2022 15:43:05.0788 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: VHGGo3lSLkShJvTWtEUj2/IxHelfZ18tw0PHCawYgtd36YR1oRwGgCtuabRdDNln
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR15MB4251
X-Proofpoint-ORIG-GUID: 1jtsLVntmZCWP6Fy3PZfIEb98DvZS5KZ
X-Proofpoint-GUID: 1jtsLVntmZCWP6Fy3PZfIEb98DvZS5KZ
X-Proofpoint-UnRewURL: 0 URL was un-rewritten
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-10-04_06,2022-09-29_03,2022-06-22_01
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/d5CeZVnd4b_BgTeHv7X4AzLtvSk>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Oct 2022 15:43:18 -0000

Side-topic-ish:
Ideally we’d have an implementation that would be for sessions, where sessions are name->address-space mappings.

HTTP is nearly that, and is thus nearly ideal for distributed systems stuff, where we can then make implementation decisions to do CAP-theorem trade-offs between consistency vs availability (partitions are not-optional) and placement.

Treating it this way allows for (but doesn’t require) application semantics that are much more rich than standard non-streaming stuff, and relatively cheaply for application programmers once we get some basics implemented. For instance, users don’t care, and haven’t cared for ages, about which host terminates a request, or an upload, etc.

So.. by defining name->address space mappings, we can make sessions that can be terminated by multiple hosts simultaneously (this is HTTP-layer, not QUIC-layer), which provides exponentially more reliability and simplicity for the application programmer. If you want streams-of-atoms (but still need byte-level flow control because.. without that we have OOMs and badness), you need two streams: one for the variable-size data, and stream with one fixed-size records which describes the variable-size data. Then you get distributed-systems-goodness, flexibility in application-level interactions, and a standard interface that loadbalancers/L7 routers/L7 caches can understand and provide value to.


Back to the primary topic:
I can see wanting to use QUIC so that one can follow whatever advancements are likely to come around CC, etc.  Part of the reason QUIC is encrypted is to ensure that elements on the wire don’t become dependent on its wire format and ossify the protocol, thus preventing advancements. This, sadly, isn’t theoretical—we’ve seen this ossification delay or prevent good things from coming a number of times in TCP.

-=R



From: QUIC <quic-bounces@ietf.org> on behalf of Phillip Hallam-Baker <phill@hallambaker.com>
Date: Friday, September 30, 2022 at 11:34 AM
To: Matt Joras <matt.joras@gmail.com>
Cc: Randy Armstrong (OPC) <randy.armstrong@opcfoundation.org>, quic@ietf.org <quic@ietf.org>
Subject: Re: Request for Authenticated but not Encrypted Traffic
On Fri, Sep 30, 2022 at 12: 25 PM Matt Joras <matt. joras@ gmail. com> wrote: Hi, On Fri, Sep 30, 2022 at 9: 02 AM Randy Armstrong (OPC) <randy. armstrong@ opcfoundation. org> wrote: Process control is absolutely not a good match for QUIC,
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
ZjQcmQRYFpfptBannerEnd


On Fri, Sep 30, 2022 at 12:25 PM Matt Joras <matt.joras@gmail.com<mailto:matt.joras@gmail.com>> wrote:
Hi,

On Fri, Sep 30, 2022 at 9:02 AM Randy Armstrong (OPC) <randy.armstrong@opcfoundation.org<mailto:randy.armstrong@opcfoundation.org>> wrote:

  *   Process control is absolutely not a good match for QUIC, nor are Web services in general. HTTP is a lousy transport for Web Services and I write as one of the people who designed HTTP/1.0,

Can you explain what aspects of QUIC make it not suitable?
I thought a QUIC stream was a full duplex TCP-like pipe between two processes.
But your description makes it sound like it is as limited as a HTTP connection.

While Phil's individual participation may have left him with such an impression, this is not manifest in the protocol that was standardized nor the implementations that have materialized. QUIC is certainly not limited to the semantics of HTTP, and has many desirable properties that make it a very flexible "generic" transport protocol. While HTTP traffic on the Internet was a driving usecase for implementers and was the first usecase standardized, it is certainly not the only appropriate usecase. Indeed, there are already non-HTTP and non-Internet users of QUIC at scale.

The QUIC WG is a venue to discuss how QUIC can be extended to meet emerging needs application usecases, though of course it is not the case that QUIC is the only (or best) potential solution to applications' needs for transporting bits of data over networks.

The crux of the matter is that the high level model of QUIC is that it provides a collection of streams between two points. While that is what people are used to using in WebServices, this model is really only suited to Web Services that are inherently data retrieval.

What Web Services really need is a mechanism that is purpose designed to support transactional interactions and expose certain information to the service provider and service consumer that really doesn't fit the HTTP model at all well.

[Yes, I know the holy writ of Thompson and Richie proved that everything is a stream... No they didn't and I discussed this with Richie personally. As with much of what is attributed to David Clarke, do not extrapolate conclusions beyond the context in which they were developed without thought.]

What we are doing today is using HTTP POST as a presentation layer on top of TCP, TLS or QUIC. And that approach has limitations that really can't be addressed within the HTTP framework which is RPC Request/Response. For a robust transactional system, I want to be able to do more than simple subordination. I want to allow a service to receive a series of transaction requests and then report back results on each part as they are completed. I want to be able to report back partial results. I want a service to be able to decide whether it wants to accept a transaction request requiring a large amount of data to be operated on before the data is sent.

Yes, for people who have only seen Web Services built on HTTP, this is going to raise the question, 'why do we need to do this'.

The way forward in this case is to build something that is purpose designed to support Web Services (and not Web Browsing) and then see if it makes sense to backport the same capabilities into QUIC. Which it might or might not. The problem from my end being that QUIC is already a very large and very complex specification and we might only end up using a small part of that.