Re: [Webtransport] Choosing the Transport

Martin Thomson <mt@lowentropy.net> Fri, 24 July 2020 05:49 UTC

Return-Path: <mt@lowentropy.net>
X-Original-To: webtransport@ietfa.amsl.com
Delivered-To: webtransport@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 30F3A3A0C6D for <webtransport@ietfa.amsl.com>; Thu, 23 Jul 2020 22:49:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.12
X-Spam-Level:
X-Spam-Status: No, score=-2.12 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, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lowentropy.net header.b=ojUcNda0; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=hOWZ1XK+
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 w8RLvRoQOO2l for <webtransport@ietfa.amsl.com>; Thu, 23 Jul 2020 22:49:04 -0700 (PDT)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C979C3A0C6C for <webtransport@ietf.org>; Thu, 23 Jul 2020 22:49:04 -0700 (PDT)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id E837D5C00A8; Fri, 24 Jul 2020 01:49:03 -0400 (EDT)
Received: from imap2 ([10.202.2.52]) by compute2.internal (MEProxy); Fri, 24 Jul 2020 01:49:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type; s=fm2; bh=sLk06o8ArdKu+Vwr9kJczu4ET3Mo c1QrPakDyOJ2ce4=; b=ojUcNda0gfdtm6yH9NVJvuabEg0IlsLhmVyaxe/7aBVd 1HMReRTPowYfGC8oRTrTNnG5+RL3GtdQ+j6i1c5u8z56b6OVjf19OxGVqMo49rxD CAxtXEulOzYcPpJGL0ECNhpDdL82HIMlnd6fbs7ItU1K4zPdZgFUbqriBCV5jsyg UBIdTjB1ZgF+EwZotzejP0zhy1/jOCoQl/7eQfFMkqV8HbQ+ANdVQXBbetgLj9PH 3cy679ZQTNJqRmbX1dUfa2GR0Tw8NWxGVmllz7NrB4vcfa1ezhheR4dTc2zDfF2f ZTG5qNOxvLJ2HNW79HADgIhZ09y4DXTyrEu24YQvuA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=sLk06o 8ArdKu+Vwr9kJczu4ET3Moc1QrPakDyOJ2ce4=; b=hOWZ1XK+Ylzf1PLfGarOye 0kWYDPOJlgAXVYklrdm7QoQZgR/JJmVSD2kIZpXZqHynrDpiqErrzzcPCxXAsVMc mag+HZtcPbh+Y9h9XE1UlK2LRW5OVit5EgIdwOsm0h/bf63YMRRRqk1v84kxL8Ya fUlH9P5PSyJ3av9dbKyMpNdfTxYKFTsosaAWhHnqBle7KQk0QEfwDZju/xx/UJnS RuGemzi/ew7s+uuRqw/ZF5kQArnLJJXvsTL18DwY/VLc1Iufyu6nPGEEGyljXDJM 8BTkMKSIgRXcwdzuJ5guE+Cha10IOiULuCQrierhSLP+0+Qt9yQxq5TgvZOjGfRA ==
X-ME-Sender: <xms:T3YaX5Y3l9OLOwxQU-xR83ZrFrEMcV3B0iB5xoXfbmbsB7BcsZKOww>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrhedvgdeliecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfofgrrhht ihhnucfvhhhomhhsohhnfdcuoehmtheslhhofigvnhhtrhhophihrdhnvghtqeenucggtf frrghtthgvrhhnpeekteeuieektdekleefkeevhfekffevvdevgfekgfeluefgvdejjeeg ffeigedtjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehmtheslhhofigvnhhtrhhophihrdhnvght
X-ME-Proxy: <xmx:T3YaXwaLkY0trQGaZhxsTu2kvOZJx0jqdaXbFcx3P1KT_PpSWRBjjw> <xmx:T3YaX7_tx14XObbJ7QqEOfv4NyVeL40PCL2LNlJ5QjsbryF4AwMEjg> <xmx:T3YaX3pAsQ0uuVRBhN16DsZEzIYhZXuBea1J2no7DvmKXIaiuB4VDA> <xmx:T3YaXx2_AvHCVnkr4Bb_QmiHf-i3bqVqcjGLfCCXZZP_l1ZR0a2lTQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 82AD0E00C9; Fri, 24 Jul 2020 01:49:03 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-92-g11c785d-fm-20200721.004-g11c785d5
Mime-Version: 1.0
Message-Id: <4a590d51-396c-4630-aa85-06ca252b4855@www.fastmail.com>
In-Reply-To: <CAAZdMacQotXtab-5hso4jRadjnghz8zve3uOtvwO9KjebRq3FA@mail.gmail.com>
References: <CAAZdMafWeaZhCVbObPgvYm5gxZu6ksV5VkSoF=8Mx9OJBDA5rA@mail.gmail.com> <3c3dd70a-a2f4-42f2-95c3-913c3afe3fb7@www.fastmail.com> <CAAZdMacQotXtab-5hso4jRadjnghz8zve3uOtvwO9KjebRq3FA@mail.gmail.com>
Date: Fri, 24 Jul 2020 15:48:41 +1000
From: Martin Thomson <mt@lowentropy.net>
To: Victor Vasiliev <vasilvv@google.com>
Cc: WebTransport <webtransport@ietf.org>
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/webtransport/e9HHPPY77MOTdSMh6k8zlgWpNO8>
Subject: Re: [Webtransport] Choosing the Transport
X-BeenThere: webtransport@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <webtransport.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webtransport>, <mailto:webtransport-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/webtransport/>
List-Post: <mailto:webtransport@ietf.org>
List-Help: <mailto:webtransport-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webtransport>, <mailto:webtransport-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Jul 2020 05:49:06 -0000

On Fri, Jul 24, 2020, at 15:04, Victor Vasiliev wrote:
> The questions raised regarding non-uniform support for features are relevant here, so this isn't completely free.
> 
> What exactly do you mean by "non-uniform support for features"?

Let's say that you like a particular extension to the protocol, but the server doesn't universally implement it across versions.  The worse case is where the extension works in one version, but not a protocol that you might otherwise prefer.  For instance, DATAGRAM support not being available in HTTP/3.

This is just a natural consequence of building protocols up piecemeal.  It's not a big deal, but it does tend to happen more with an existing protocol that you build on than a protocol you build from scratch.

> I think the "origin model" question is automatically answered by the 
> URI scheme, since that would tell us if WebTransport can be, in 
> principle, same-origin to a Web page.

I'm not sure that it is necessarily that simple.  This gets into the issues that Adam raised about cookies, and there are questions about CORS.  It probably makes sense to recognize this as being exempt from CORS preflight on the understanding that support for the protocol implies an acknowledgment that ambient authority is NOT sufficient for authorization, but we also have to consider what state from the target origin is carried across into the WebTransport session.  Maybe we don't provide a way to carry cookies, but can we share connections?  Or session tickets?  I see from Bernard's response that the current thinking is to avoid this by avoiding connection reuse entirely.  I'm not yet convinced that this is the right answer.