Re: [dispatch] Dispatching WebTransport

Iñaki Baz Castillo <ibc@aliax.net> Mon, 17 June 2019 15:01 UTC

Return-Path: <ibc@aliax.net>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 940CE120147 for <dispatch@ietfa.amsl.com>; Mon, 17 Jun 2019 08:01:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=aliax-net.20150623.gappssmtp.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 m14MK2gb4gIi for <dispatch@ietfa.amsl.com>; Mon, 17 Jun 2019 08:01:47 -0700 (PDT)
Received: from mail-vs1-xe2e.google.com (mail-vs1-xe2e.google.com [IPv6:2607:f8b0:4864:20::e2e]) (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 1BB7F12014A for <dispatch@ietf.org>; Mon, 17 Jun 2019 08:01:47 -0700 (PDT)
Received: by mail-vs1-xe2e.google.com with SMTP id u124so6323687vsu.2 for <dispatch@ietf.org>; Mon, 17 Jun 2019 08:01:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aliax-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=L3UpoCpHhzAzoqkYzmc7SKePPhF9pPpybue4fCwLXSQ=; b=FYaPW9kUSqtFuuK7lD0OixX/3fRICXyCF4FKK5+6GkxX5JvV4N5dA/tHMPmDmI1nqA NQ2u+KEstjJRYWXGuDjeKDJJAKo/9AP45fbHXYi6WwMQEmCxkO1F6T1BY8BBmB4KUxW7 etnOgBtve211AKqZNKSnzBfB2Fls6QA/+Vijt6z5eqPlrBJMGjynLmql/XWLX+OSJQ/U iuf9NzZSGB6BrhXgeuV0geC3cQ+XIgQ49bUTH+kfRQWeCjjtZICvajBX+ruoyezNKGpS BNYf5tVy3S5fg1KzVw5qRYFmgi5jLkWlnZTFGW7rtzzwUTNySGaKPk+1YN9yx9zl+6o2 xXjw==
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:content-transfer-encoding; bh=L3UpoCpHhzAzoqkYzmc7SKePPhF9pPpybue4fCwLXSQ=; b=ZDM0qVUfI94rGI+fzWXmHAWCcUIVn78bl9V7Xorb9/Q8AeE9DEwJgRc3/VZmL1LFty 6QJEy4IDtFdPMzcHtF1qryAA8sOc12kHMMaR0MqOY1xKrEFfruHTRKHOps9tnzxXCXVg sLutrfZ4i38/VnRr27/0WMMT2J3Gru5z4616fEeQwLTefzOQEtQ+mlFPyneGZgT/47dU PBrvXX10Mjx2YKafCfQyr0RqN3B3XugW+Jq8Yq1Df3acVnNbgkgnVFFMURv4Hc6X71pn a8btcg0iGvskADdMd8qKbJxOZ1/xxdu++P6MlRhtNsd/prV9wv9X3Xs8ijhQDAETre4c LbdA==
X-Gm-Message-State: APjAAAX2afNGDm77GhcTJPfm4gOK0Bf8cXU50Uil6YZWSTfD1vsHywis xQhHZr/rIEGWsVUQWzewkqGZ1thwe45e3IzYsynU1t74
X-Google-Smtp-Source: APXvYqy9rGV3C9zu4sz3hmgoMokxeIMX6gL3q7kUwD8KOjGYi0pQHIa4AvUZX5WFeaFHgWGy0fJ2iu/TPfVKdem9vv8=
X-Received: by 2002:a67:c419:: with SMTP id c25mr47296662vsk.136.1560783705788; Mon, 17 Jun 2019 08:01:45 -0700 (PDT)
MIME-Version: 1.0
References: <CAAZdMadKgUkAwnYQ7MmSR46qQZTh8+FF5BuKmc1r33SMyF91sQ@mail.gmail.com> <c2ceb9ab-b988-fe85-1ec9-400ebe9f96fe@gmail.com>
In-Reply-To: <c2ceb9ab-b988-fe85-1ec9-400ebe9f96fe@gmail.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Mon, 17 Jun 2019 17:01:34 +0200
Message-ID: <CALiegfnaKiy2jPn13REtoDv884Ujg34huO0uPDYurvR5H9E2Gg@mail.gmail.com>
To: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
Cc: dispatch@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/R-YnK1lKsxrU9extnMFx8sEMXQY>
Subject: Re: [dispatch] Dispatching WebTransport
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Jun 2019 15:01:50 -0000

On Mon, 17 Jun 2019 at 16:52, Sergio Garcia Murillo
<sergio.garcia.murillo@gmail.com> wrote:
>
> From the draft:
>
>    WebTransport [OVERVIEW] is a protocol framework that enables clients
>    constrained by the Web security model to communicate with a remote
>    server using a secure multiplexed transport.
>
>
> Although while I agree with your analysis regarding current webrtc dc and sctp status, if this is a pure client-to-server transport, why is webrtc mentioned in the background at all? shouldn't this be a replacement of websockets and NOT of the webrtc datachannels?

I assume WebRTC is mentioned there because currently it's the only way
to have P2P data messaging in the Web. With QUIC + RTCIceTransport we
have RTCQuicTransport, which can be used for P2P data messaging
between browsers without depending on a WebRTC PeerConnection.

So if I'm not wrong, WebTransport will provide:

1) QuicTransport, which is a QUIC based communication between the
browser and a server. It may use streaming or datagram based messaging
(if QUIC-datagram spec becomes real). It does not use ICE at all and.

2) RTCQuicTransport, which is a QuicTransport created with a
RTCIceTransport, so suitable for two browsers to communicate in P2P
fashion. And the same: QUIC streaming or datagrams. No PeerConnection
here.

Whether SCTP can be used or not in this new model is unclear for me.
SCTP does not provide security/encryption, so SCTP packets should be
put on top of DTLS (as we do in WebRTC) or on top of QUIC (so it
should be QUIC-datagram to properly frame those packets) which does
not make any sense since it provides nothing that QUIC-datagram
already provides.

-- 
Iñaki Baz Castillo
<ibc@aliax.net>