Re: Request for Authenticated but not Encrypted Traffic

Michael Tuexen <michael.tuexen@lurchi.franken.de> Mon, 03 October 2022 22:07 UTC

Return-Path: <michael.tuexen@lurchi.franken.de>
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 D2A5FC1526F3 for <quic@ietfa.amsl.com>; Mon, 3 Oct 2022 15:07:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.906
X-Spam-Level:
X-Spam-Status: No, score=-6.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
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 YXvsooqOQhwL for <quic@ietfa.amsl.com>; Mon, 3 Oct 2022 15:07:30 -0700 (PDT)
Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3C724C1524DF for <quic@ietf.org>; Mon, 3 Oct 2022 15:06:35 -0700 (PDT)
Received: from smtpclient.apple (unknown [IPv6:2a02:8109:1140:c3d:d463:433e:7d49:2bf7]) (Authenticated sender: lurchi) by drew.franken.de (Postfix) with ESMTPSA id 2F6AC7187D329; Tue, 4 Oct 2022 00:06:31 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
Subject: Re: Request for Authenticated but not Encrypted Traffic
From: Michael Tuexen <michael.tuexen@lurchi.franken.de>
In-Reply-To: <CAM4esxTDwW_1ggzeHV0WG_g+34_WcP4SvqRMzOn3T-Y6va1wyw@mail.gmail.com>
Date: Tue, 04 Oct 2022 00:06:30 +0200
Cc: Lucas Pardue <lucaspardue.24.7@gmail.com>, Phillip Hallam-Baker <phill@hallambaker.com>, QUIC WG <quic@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4A7BD31D-C4D0-48B0-A64F-91B4BF7F96AA@lurchi.franken.de>
References: <CAMm+Lwgo5i=FD9sMcp+o_N-e5MprDDCDobzjh-FpwGKhiH99iQ@mail.gmail.com> <3C9CC208-E4E1-4F9F-B10A-6ACF485A0CEF@huitema.net> <CAMm+LwhVM+7Db6ZPLuE5A5VLYqocvZWr=hfKcN=HgYhrdLrgTQ@mail.gmail.com> <dbf9c81b-38f5-2767-1a1b-3309077764aa@huitema.net> <CAC8QAcdfiHvir=jbzegVAi1vqYHiucX4w4J=+vOaiDm14sjDOA@mail.gmail.com> <CALGR9oa_gGx=kdgFcoG+7MXW4km8vs60_sUW=6on82AfPsnAqw@mail.gmail.com> <CAMm+LwhbLZ44+9ZwDRuOFfkR=i5e1QG01FQe-TZdo_KQKdwkdA@mail.gmail.com> <CALGR9oZxmfZJSi16ima7a=bufV_HC2kEsf=YDBOuBFTRA+YPWA@mail.gmail.com> <CAM4esxTDwW_1ggzeHV0WG_g+34_WcP4SvqRMzOn3T-Y6va1wyw@mail.gmail.com>
To: Martin Duke <martin.h.duke@gmail.com>
X-Mailer: Apple Mail (2.3696.120.41.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/TyUPTujOsW3xQuENuzUtn8PSJ5M>
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: Mon, 03 Oct 2022 22:07:33 -0000

> On 3. Oct 2022, at 23:59, Martin Duke <martin.h.duke@gmail.com> wrote:
> 
> I'm late to this discussion, but if the need is a protocol that delivers streams without encryption, SCTP (or SCTP over UDP) is a reasonably well-vetted choice that would appear to meet the requirements. It certainly sounds superior to asking people to invent a new protocol.
Using SCTP-AUTH you can choose which part of the protocol data you want to
be authenticated.

Best regards
Michael
> 
> (Which is not to say that the suggestions to making QUIC work in this use case are unworkable)
> 
> On Mon, Oct 3, 2022 at 11:38 AM Lucas Pardue <lucaspardue.24.7@gmail.com> wrote:
> Hi Phillip,
> 
> On Mon, 3 Oct 2022, 19:13 Phillip Hallam-Baker, <phill@hallambaker.com> wrote:
> I think we have to actually build a prototype of a transactional-first transport, then build some applications over it and only then look to see whether/how we might re-use QUIC.
> 
> That is how I originally worked on HTTP, I build applications using HTTP as a transport, one of which was the first Webmail service, those allowed me to discover the need for content length and start working on connection keepalive and framing.
> 
> And we need to build any such system around the capabilities of modern programming languages which support threads and asynchronous methods. Otherwise we just end up trapped in subordination type interactions and don't progress beyond RPC.
> 
> What I am saying is, let me build something, then take a look at it and tell me if/how to build it using QUIC.
> 
> In case I was unclear, I think building something and revisitng later sounds like a good approach. Look forward to seeing your progress 
> 
> In the meantime, and tangentially, I think its important to we provide a consistent reminder that QUIC is very unopinionted about the applications on top. This has been the case for years. I suspect many application protocols that already exist would straightforwardly map to QUIC. We have RFCs that do this, many I-Ds either individual or adopted by WGs, and I'm aware of many protocol mappings that are defined outside the IETF - either openly documented or private.
> 
> Should future evolution of QUIC provide opportunity for alternative (re)mappings that people think would be useful, that is entirely possible and supported. Extension like that should probably also add a section that extends the applicability document to aid designers and implementers.
> 
> Cheers
> Lucas
> 
> 
> 
> 
> On Mon, Oct 3, 2022 at 1:19 PM Lucas Pardue <lucaspardue.24.7@gmail.com> wrote:
> Hi Behcet,
> 
> 
> On Mon, Oct 3, 2022 at 5:56 PM Behcet Sarikaya <sarikaya2012@gmail.com> wrote:
> Hi Christian,
> 
> I quickly glanced through RFC 9250 which defines DoQ and references ALPN in RFC 7301.
> Agree with Philip that DoQ does not define something that is independent of HTTP.
> 
> Will it come one day, we don't know?
> Behcet
> 
> DoQ is an application mapping over QUIC. ALPN is an extension to TLS. DoQ might use a transactional model that maps to bidirectional streams but that is the full extent of similarities to HTTP; there is no normative dependency. 
> 
> RFC 9000 was written carefully to describe the interface that application-data-bearing streams can provide to applications. This is not related to HTTP, QUIC is independent of HTTP. Indeed, QUIC on its own means pretty much nothing. It needs an application mapping protocol. The recently-published applicability draft, RFC 9308 [1], is specifically written to aid designers or implementers of such mappings. Randy might find RFC 9308 informative if wishing to pursue QUIC as a transport substrate for the OT application layer traffic.
> 
> Cheers
> Lucas
> 
> [1] - https://www.rfc-editor.org/rfc/rfc9308.html
> 
>