Re: [Webtransport] Comment(s) on draft-vvv-webtransport-overview

Victor Vasiliev <vasilvv@google.com> Tue, 26 November 2019 14:16 UTC

Return-Path: <vasilvv@google.com>
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 4157C120106 for <webtransport@ietfa.amsl.com>; Tue, 26 Nov 2019 06:16:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.499
X-Spam-Level:
X-Spam-Status: No, score=-17.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 t4egbrpTfazL for <webtransport@ietfa.amsl.com>; Tue, 26 Nov 2019 06:16:48 -0800 (PST)
Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 00FA012012A for <webtransport@ietf.org>; Tue, 26 Nov 2019 06:16:47 -0800 (PST)
Received: by mail-lj1-x22f.google.com with SMTP id d5so20434842ljl.4 for <webtransport@ietf.org>; Tue, 26 Nov 2019 06:16:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VKaArOj+2mmeFHBlyeGo4uOtitz6kKbsqKi9gpOU6hM=; b=X7S7mBfS1Qfi+bF89fE8oxya4oKurkhWRAXNLtyAvPIWNLmCm4FJrqMkxUFfNTTjEy wvaWsLvnnH298sxwhjKqfD3G2z+qoONE8hv8jBaPgC++6ucVOzZJUDR59IMHbR8a0QxS 39FBiVBOe+Ssj1MXyngFCQHEXcM9B8IlcjupcnYH2X5vouO/nUYqGabUK5pX4ZAcdoyw mt+Fo8SO4LSFfOGqNH3efwsxDBaD9nCFifWKcBY9tvZWyDvc+vPGE61r2vbtS/31Yj2I 3H8CiBBFzoP8OSGFYkYi9dupuQGMpn3HRxzUmghwr2C87m6oc4OVPzMOjH0A05a+Olxg OBBA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VKaArOj+2mmeFHBlyeGo4uOtitz6kKbsqKi9gpOU6hM=; b=Bli895p9WccT3Rz4lA/D3Qgf/37+5Pg5ftgdPYJWI7PchtwLDv5r7Jpc6KLvwp0x1o L5uokXLzWpFu2nNEh3iR1j0K0o7JZ0iOiwKHL+JV2BnNpz65ElccEkdrWhHVZtmsw3ES +JRO377rWzlErddGmE2xZaA+XRiMaxsxLmp9eKGHdRP2npyRQnA2XkdHN6/4I85lznem QM5USiUB0q0GX/UtkBG0Eo7BGqxBTUUNeX3i8LGNAXlGJfQFvTHqtQ1sqqcku107DYqO iEgDboduXNzXoCToOmpqkzi89JdplLSQElnFVgYiib3ZTunysYNwfQcx2+2naF+A1Zrl WulA==
X-Gm-Message-State: APjAAAXBnESXmzA0l7F03fhrau1Y3fhq2U1LDsoGQS90uLh8K9web5RK ssC9RVuYGZFdhpayB7iRWH+TeTQCUotsq+D3/QWCWg==
X-Google-Smtp-Source: APXvYqwPewl/WVkprYhx9LiAe7p1Z/ZqJ8enqxCHTZKGUYIjMXYYo3Q4woSA6zOUaXovZMP5wT2O48NQJm4Cv5BMLO0=
X-Received: by 2002:a2e:2914:: with SMTP id u20mr12150016lje.219.1574777805722; Tue, 26 Nov 2019 06:16:45 -0800 (PST)
MIME-Version: 1.0
References: <CAOW+2duEuRfx2N3u=F6aNZHfUMjgisWnV2XBWuwfY+NDDBCjbA@mail.gmail.com>
In-Reply-To: <CAOW+2duEuRfx2N3u=F6aNZHfUMjgisWnV2XBWuwfY+NDDBCjbA@mail.gmail.com>
From: Victor Vasiliev <vasilvv@google.com>
Date: Tue, 26 Nov 2019 09:16:34 -0500
Message-ID: <CAAZdMaeo_=asAa4GZFnwCJsnpYb9LVW=+jGjAm3MbPd8h6T2OQ@mail.gmail.com>
To: Bernard Aboba <bernard.aboba@gmail.com>
Cc: webtransport@ietf.org
Content-Type: multipart/alternative; boundary="000000000000b63fca0598408775"
Archived-At: <https://mailarchive.ietf.org/arch/msg/webtransport/cRjhXqzutogTc7fd8URuo96ycgo>
Subject: Re: [Webtransport] Comment(s) on draft-vvv-webtransport-overview
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: Tue, 26 Nov 2019 14:16:50 -0000

Hello Bernard,

Thank you for the comments!

On Tue, Nov 19, 2019 at 7:11 PM Bernard Aboba <bernard.aboba@gmail.com>
wrote:

> Reading the WebTransport Protocol Framework, a few questions came to mind.
>
> Section 3
>
> "Since this data can be replayed by attackers, it MUST NOT be used unless
> the client has explicitly requested 0-RTT"
>
> [BA] While draft-pauly-quic-interface has the concept of "Send Idempotent"
> which makes data eligible for sending under 0-RTT keys, the WebTransport
> API (https://wicg.github.io/web-transport/) has no equivalent.  Is
> support for 0-RTT a desired feature?
>

Indeed.  We could add it, but I am not sure it's worth it at this point in
time.


> Section 4
>
> "All transport protocols MUST provide datagrams, unidirectional and
> bidirectional streams i order to make the transport protocols
> easily interchangeable."
>
> [BA] Are there a set of requirements for "fallback transport" as well?
>

Those requirements do apply to fallback transport, however the datagrams
would obviously end up being reliable.

5.
>
> "buffers for them should be small and prioritized over stream data"
>
> [BA] Are you envisaging absolute priority here (e.g. datagrams can starve
> out stream data)?
>

That was roughly my initial thought.  I suspect that we would want a better
scheme; #33 and #62 on the API repo have more detailed discussion of this.


> "In general, the transport should not apply aggregation algorithms (e.g.,
> Nagle's algorithm [RFC0896]) to datagrams."
>
>  [BA] draft-pauly-quic-datagram Section 5 says "This frame SHOULD be sent
> as as soon as possible, and MAY be coalesced with other frames".  Are there
> situations in which coalescing/aggregation is envisaged to be desirable so
> that API support is needed?  Also was this intended to be SHOULD NOT?
>

I can imagine coalescing to be a part of the API.  I have some ideas on how
to do this; filed https://github.com/WICG/web-transport/issues/79.


> NITs
>
> 1. Introduction
>
> Where should comments be sent?  Presumably to webtransport@ietf.org
> and/or a github repo?
>

Added a link into the preamble for all documents.


> 1.1
>
> s/in practice, its user/in practice, its use/
>

Fixed.


> 2.
>
> "a mechanism such as ICE [RFC8445] can be used"
>
> [BA] You might want to refer to ICE consent [RFC7675] instead of ICE.  But
> since this is the WebTransport Protocol Framework (e.g. client/server) I'm
> not sure why ICE need be mentioned.
>
>
This was a clarifying example.  Changed wording.


> 7.
>
> "the client must not be able to distinguish"
>
> [BA] should this be MUST NOT?
>

There's already a MUST NOT above, this is just clarifying text.

  -- Victor.