Re: [Masque] Updated proposed charter text

Eric Rescorla <ekr@rtfm.com> Thu, 02 April 2020 20:26 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: masque@ietfa.amsl.com
Delivered-To: masque@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 408433A175F for <masque@ietfa.amsl.com>; Thu, 2 Apr 2020 13:26:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=rtfm-com.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 Qa0NRZbFlwz6 for <masque@ietfa.amsl.com>; Thu, 2 Apr 2020 13:26:46 -0700 (PDT)
Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (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 B0CCF3A1780 for <masque@ietf.org>; Thu, 2 Apr 2020 13:26:45 -0700 (PDT)
Received: by mail-lj1-x233.google.com with SMTP id t17so4645708ljc.12 for <masque@ietf.org>; Thu, 02 Apr 2020 13:26:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BDEUInA2+jX3hrwXFapbcxhpl2F+o9ZUm8L3RUdUW0U=; b=dx32LC249PjW3JxJidOw3uPM+yngXa9gb8TfI/6iPX1yo0GA60+CiSU/97VGWfSBdO ETU84jQVVPFR/1nNr61p/Hb1fXMJ1YK6eXtMlhzXDZII+RfRo56zXM8bG3j0IoKNFLXu 1HjJzu4DE+33NBmYEoAxmUnrehDqu80sccb393tbPdbNAh9OIwDu+jXeU/fWx0PETGvy 7EalYtMUHci6rctCaVmF+Nzu3IkocuseDA4LjrMgWN2YbF3WkCXLdLUZLkFXR6DVfQl1 zOKY0VmFtP0unxLRQkYKo63+LVW9BbaPTm0rSohQDLW9vz8qqzSl6iqZIxux34H/Ddk4 vCkw==
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=BDEUInA2+jX3hrwXFapbcxhpl2F+o9ZUm8L3RUdUW0U=; b=QO89MJGkpE2xFva4lQxatPrxbR7UqG6ZQlRccRPJ82rt9nHkB5A0NILg6x8wfi2PXK peZ6ObHJvetPlhqx+tW2ULorV6UgEGEXZkFy/MkG3iRdFAdECA/C852jIMEUpZi585Wj zzPk5W/NcNR1snbSp07PU0brr4SubntKi9oFMcuGj0He9XvjJQhkhQ5XQZ7SXwB9UDHv jFJTHQUOHRTH7atOx71UKJCFuuFt/eoBXihyeFU5e6WiRiDCPctz77/SNv4yhFrbC3je Zov1QqrMiM/wqg7dPw2B9UaZUhIU2FS2BSKUfeYAXx4xcT9VEM9klx7sSqIw4UyI/Mbq Z6MQ==
X-Gm-Message-State: AGi0PubSzb92LODmSnqGnunhJm5OHmv2mvWU25v9YYXE5iEkxhqgkiOK bJGTEFzSTCI9twajYD50Q0OCSTj3t4Dlw68ILqcOBg==
X-Google-Smtp-Source: APiQypI1wBouWpG3ngH8EuwH8nRtGcBL1crMe1oQcnH4lsTLNEABNdrCTJXbweU2cC5g4AfMrI1pmaQXwdhngF6rk30=
X-Received: by 2002:a2e:9497:: with SMTP id c23mr2932075ljh.286.1585859203818; Thu, 02 Apr 2020 13:26:43 -0700 (PDT)
MIME-Version: 1.0
References: <89136f8b-70bd-40a0-b6d1-0e8a62a50ece@www.fastmail.com> <CAKKJt-dJqTYJPj0u7mZvaJKoiRX7oXeQCSyQV9xN_zkzHY-LXQ@mail.gmail.com> <48dcc4c3-0039-4de4-9028-c2059b34140c@www.fastmail.com> <CABcZeBPiT+gWCV0QZyoUNzyAgQ_5MHgi+uk7aaAQ-t0te3f5tw@mail.gmail.com> <CAKKJt-fWC_6Cy-tB=chKUaECC1wXsbzArxK27E1AuvnaUUS9Qw@mail.gmail.com> <CAHbWFkTfUBbgeEMwMP_Gshp2MH2QFQ4fvBc3EHTu7gtRXWJpxg@mail.gmail.com>
In-Reply-To: <CAHbWFkTfUBbgeEMwMP_Gshp2MH2QFQ4fvBc3EHTu7gtRXWJpxg@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 02 Apr 2020 13:26:06 -0700
Message-ID: <CABcZeBNVFKyeCo2+7yXbOB66RMSBhwjip8+hpsz+a+a6R2sUsQ@mail.gmail.com>
To: Alex Chernyakhovsky <achernya@google.com>
Cc: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>, Christopher Wood <caw@heapingbits.net>, MASQUE <masque@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000081fda405a2549eb3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/masque/u2_lJz4szzqb_rYNxu0GIoSXstw>
Subject: Re: [Masque] Updated proposed charter text
X-BeenThere: masque@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Multiplexed Application Substrate over QUIC Encryption <masque.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/masque>, <mailto:masque-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/masque/>
List-Post: <mailto:masque@ietf.org>
List-Help: <mailto:masque-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/masque>, <mailto:masque-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Apr 2020 20:26:50 -0000

On Thu, Apr 2, 2020 at 12:40 PM Alex Chernyakhovsky <achernya@google.com>
wrote:

>
>
> On Thu, Apr 2, 2020 at 11:36 AM Spencer Dawkins at IETF <
> spencerdawkins.ietf@gmail.com> wrote:
>
>> Replying to Chris via Ekr's reply to me :-)
>>
>> On Thu, Apr 2, 2020 at 9:09 AM Eric Rescorla <ekr@rtfm.com> wrote:
>>
>>> I don't think the diversity of naming here is that useful as a guide to
>>> the diversity of the use cases. For instance, 2817, which defines CONNECT
>>> uses the term both "proxy" and "tunnel" in the same sentence.
>>>
>>> "A CONNECT method requests that a proxy establish a tunnel connection on
>>> its behalf."
>>>
>>> And yet TURN, which provides a similar service, calls itself "Traversal
>>> Using Relays around NAT".
>>>
>>> As a practical matter, the TCP and UDP use cases focus on establishing
>>> an association with the server in which packets are forwarded to and from a
>>> given destination and the IP use case seems to focus on forwarding IP
>>> datagrams from the client to and from arbitrary destinations (this last
>>> might use some fleshing out, I suppose).
>>>
>>
>> This is the kind of thing I was also thinking about - not that we weren't
>> using the right terms, but that we were vague enough that people during the
>> BOF were guessing at what MASQUE would be most like (
>> https://en.wikipedia.org/wiki/Blind_men_and_an_elephant). So, yes,
>> fleshing out what we expect to happen, and not to happen, makes sense to
>> me.
>>
>> Just to start where Ekr started, do people think we're forwarding to
>> arbitrary destinations, or only to destinations that were explicitly set up?
>>
>> What does "arbitrary destinations" mean here? For QBONE, we have built
> the ability to route between networks, including setting a default that can
> be for reaching the public internet. Is that arbitrary, or is that a
> destination that was explicitly set up because a route was configured? I'm
> not sure I understand the implication of the distinction.
>

So, you have a tunnel between point A and point B.

In TCP CONNECT (and hypothetically UDP CONNECT) you set up an association
to a given destination. You then inject datagrams labelled with the
association ID and it gets routed to that destination and packets in the
return direction get labelled with the same association ID on the way to
the client. Incoming messages not coming from any association are discarded.

In a pure IP VPN, there aren't any destination associations and packets
just get routed based on the IP header in both directions, regardless of
what state has been created. Note that a TURN relay occupies a sort of
intermediate state where associations are implicitly created and destroyed.

-Ekr


> Sincerely,
> -Alex
>
> Best,
>>
>> Spencer
>>
>>
>>> -Ekr
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Apr 2, 2020 at 7:03 AM Christopher Wood <caw@heapingbits.net>
>>> wrote:
>>>
>>>> On Tue, Mar 31, 2020, at 4:34 PM, Spencer Dawkins at IETF wrote:
>>>> > Hi, Christopher,
>>>> >
>>>> > Thanks for getting this update out so quickly.
>>>> >
>>>> > I have thoughts, but wanted to start with the first couple of
>>>> paragraphs.
>>>> >
>>>> > On Tue, Mar 31, 2020 at 11:43 AM Christopher Wood <
>>>> caw@heapingbits.net> wrote:
>>>> > > Based on last week's meeting, it seems folks are generally
>>>> enthusiastic about some form of MASQUE moving forward. To help scope that
>>>> particular form, here's an update to the proposed charter.
>>>> > >
>>>> > >  ~~~
>>>> > >  Many network topologies lead to situations where transport
>>>> protocol proxying is beneficial. For example, proxying enables endpoints to
>>>> communicate when end-to-end connectivity is not possible and can apply
>>>> additional encryption where desirable (such as a VPN). Proxying can also
>>>> improve client privacy, e.g., by hiding a client's IP address from a target
>>>> server.
>>>> > >
>>>> > >  Proxying technologies such as SOCKS and HTTP(S) CONNECT exist,
>>>> albeit with their own shortcomings. For example, SOCKS signalling is not
>>>> encrypted and HTTP CONNECT is currently limited to TCP. In contrast, HTTP/3
>>>> is a viable candidate protocol for proxying arbitrary traffic, as it
>>>> provides secure connectivity, multiplexed streams, and migration for a
>>>> single connection while taking advantage of a unified congestion
>>>> controller. HTTP/3 datagrams provide for unreliable data transmission,
>>>> which enables transporting UDP and other unreliable flows via a proxy
>>>> without introducing potentially redundant or unnecessary recovery
>>>> mechanisms. Further, HTTP/3 supports an established request/response
>>>> semantic that can set up and configure flows for different services.
>>>> >
>>>> > If I remember correctly, somewhere between the audio conference and
>>>> the
>>>> > active jabber conversation, there were people who mentioned
>>>> >  * proxies
>>>> >  * relays
>>>> >  * tunnels
>>>> >  * VPNs
>>>> >  * NATs, and
>>>> >  * now that I look at the second paragraph, maybe even firewalls
>>>> > Is it possible to agree on the functionalities that this community of
>>>> > interest is thinking of, as part of the charter discussion?
>>>> >
>>>> > ISTM that if we're talking about "connect for IP", we're closer to a
>>>> > tunnel than a proxy, and I don't think that's what most of the MASQUE
>>>> > folk were thinking of.
>>>> >
>>>> > Perhaps this will fall out of the use cases people have been
>>>> collecting?
>>>>
>>>> Yep, I expect that to be the case! While the use cases in the charter
>>>> are not meant to be exhaustive, more specificity would probably help frame
>>>> the rest of the content.
>>>>
>>>> Meta question: are you looking for a specific change in the text, and
>>>> if so, what might that be?
>>>>
>>>> Best,
>>>> Chris
>>>>
>>>> --
>>>> Masque mailing list
>>>> Masque@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/masque
>>>>
>>> --
>> Masque mailing list
>> Masque@ietf.org
>> https://www.ietf.org/mailman/listinfo/masque
>>
>