Re: [tsvwg] [saag] 3rd WGLC (limited-scope): draft-ietf-tsvwg-transport-encrypt-15, closes 29 June 2020

Colin Perkins <csp@csperkins.org> Wed, 01 July 2020 09:58 UTC

Return-Path: <csp@csperkins.org>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 946313A0D43; Wed, 1 Jul 2020 02:58:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, HTML_MESSAGE=0.001, 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=csperkins.org
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 OSlbLXL2olog; Wed, 1 Jul 2020 02:58:00 -0700 (PDT)
Received: from haggis.mythic-beasts.com (haggis.mythic-beasts.com [IPv6:2a00:1098:0:86:1000:0:2:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 523DF3A0D42; Wed, 1 Jul 2020 02:58:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=csperkins.org; s=mythic-beasts-k1; h=To:Date:Subject:From; bh=wdFbj1zO/0301A3qTxa9rbiMhcPJZGzqLS8SPO/dffE=; b=hmTAQ6Uk2YkO/jGgj5RUhb+JHb F31SUseft7+AwcNinsHUDb0lcETbT2pPB8ztgqsdIR9BoXCrKZMPijN3vIaDqButsAKMO6Bfe6DX8 pe6AagoIbm5fEnIShc4y9pLqbfGPtwvAz6V8gmoi13cx3Hxgb4NLSl04DdiJ0EnmLgYMBAAsEbWno reHExwcsy5xMBlENak6W4+xWXxhIBVhtkbFZSA5KDct7lmdktTRRGyR7/Pw55sVVzmxn+XXfKTYVz 53NcxZAnDPkLuTvkwx0utCaxm/Ti3277LcUDRNy9BnFWbnD86Hph1uVAZ1PZtni7XQuF8G5ot4sF3 sXiGzAMQ==;
Received: from [81.187.2.149] (port=48839 helo=[192.168.0.80]) by haggis.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from <csp@csperkins.org>) id 1jqZV7-0001s7-Vr; Wed, 01 Jul 2020 10:57:58 +0100
From: Colin Perkins <csp@csperkins.org>
Message-Id: <CDFF00F2-A2DA-44D3-9F16-A233422EB071@csperkins.org>
Content-Type: multipart/alternative; boundary="Apple-Mail=_6375E09E-1002-4D53-B8AF-87253427E200"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\))
Date: Wed, 01 Jul 2020 10:57:54 +0100
In-Reply-To: <CABcZeBM9A1RxOiHGZdBznTb7zzArG5GTQs=bhNtBy90tSXs3Pg@mail.gmail.com>
Cc: "Black, David" <David.Black@dell.com>, int-area <int-area@ietf.org>, "tsvwg@ietf.org" <tsvwg@ietf.org>, IETF SAAG <saag@ietf.org>
To: Eric Rescorla <ekr@rtfm.com>
References: <MN2PR19MB40450EE357BEECD723AB06F183820@MN2PR19MB4045.namprd19.prod.outlook.com> <CABcZeBM9A1RxOiHGZdBznTb7zzArG5GTQs=bhNtBy90tSXs3Pg@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.104.14)
X-BlackCat-Spam-Score: 14
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/IoMti3lCO_yz1QJCjAws_N2E0i0>
Subject: Re: [tsvwg] [saag] 3rd WGLC (limited-scope): draft-ietf-tsvwg-transport-encrypt-15, closes 29 June 2020
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jul 2020 09:58:04 -0000


> On 30 Jun 2020, at 01:59, Eric Rescorla <ekr@rtfm.com> wrote:
> 
> > 
> > This 3rd WGLC is limited to the following two topics:
> >  
> > 
> >     Whether or not to proceed with a request for RFC publication
> > 
> > of the draft.   The decision on whether or not to proceed will
> > be based on rough consensus of the WG, see RFC 7282.
> > During the 2nd WGLC, Eric Rescorla and David Schinazi expressed
> > strong views that this draft should not be published –  those
> > concerns have not been resolved and are carried forward to
> > this WGLC.  This email message was an attempt to summarize
> > those concerns:
> > 
> > https://mailarchive.ietf.org/arch/msg/tsvwg/i4qyY1HRqKwm0Jme9UtEb6DyhXU/ <https://mailarchive.ietf.org/arch/msg/tsvwg/i4qyY1HRqKwm0Jme9UtEb6DyhXU/>
> > 
> > Further explanation from both Eric Rescorla and David Schinazi
> > is welcome and encouraged to ensure that their concerns are
> > clearly understood.
> 
> Well, I'll try again, but I'm not sure that I can do better than
> I have before.
> 
> For reasons that are laid out in RFC 7258, the trend in protocol
> design in IETF is towards encrypting more and more.

I agree, but also note that RFC 7258 is clear that some network monitoring can be beneficial and that “an appropriate balance” has to be found between mitigating pervasive monitoring and supporting network management. This draft is intended to highlight issues to be considered by transport protocol designers, to help them find that balance.

And, to be clear, if transport protocol designers consider the issues and decide that all the metadata in their transport protocol must be encrypted, that’s fine. We're not pushing for a particular outcome; rather that the issues be considered and discussed when making a decision on what to encrypt.

> The last two
> transport protocols that were designed and widely deployed (SCTP over
> DTLS and QUIC) both encrypt the vast majority of the protocol
> metadata. This document advertises itself as "considerations"
> for design of such protocols:
> 
>    The transport protocols developed for the Internet are used across a
>    wide range of paths across network segments with many different
>    regulatory, commercial, and engineering considerations.  This
>    document considers some of the costs and changes to network
>    management and research that are implied by widespread use of
>    transport protocols that encrypt their transport header information.
>    It reviews the implications of developing transport protocols that
>    use end-to-end encryption to provide confidentiality of their
>    transport layer headers, and considers the effect of such changes on
>    transport protocol design, transport protocol evolution, and network
>    operations.  It also considers some anticipated implications on
>    application evolution.  This provides considerations relating to the
>    design of transport protocols and features where the transport
>    protocol encrypts some or all of their header information.
> 
> However, as I said above, the new transport protocols that are
> actually being designed already feature metadata encryption and as far
> as I can tell, there is no prospective protocol new transport protocol
> design project for which these issues might be live.

The issues highlighted in the draft were certainly considered in the design of QUIC, especially in the discussions around the spin bit and operational aspects. I cannot envisage that they won’t also be considered in the design of future transports.

> In that context,
> it's hard not to read this document with its long litany of practices
> which are impacted by metadata encryption as a critique of the
> decisions by SCTP/DTLS and QUIC to encrypt most of the metadata.

I tend to regard critiques of protocol design as a good thing, but then we maybe have a different interpretations of that term. Certainly there are implications of the decision to encrypt transport metadata. There are benefits to it, but also costs. It’s important to understand both, to make an informed judgement on what to encrypt.

> This impression is reinforced by the description of the actual
> practices themselves, which focuses almost entirely on practices
> which appear to be benignly motivated (e.g., performance monitoring,
> troubleshooting, etc.) However, we also know that metadata is widely
> used for practices in which the network operator is adversarial
> to the user, for instance:
> 
> - Blocking traffic based on TCP port, IP address, SNI, etc.
> 
> - Performance-based traffic class discrimination
> 
> - Monitoring the user's behavior via indicia like the ones above
>   or via traffic analysis (see [0])
> 
> Yes, I understand that the authors explicitly disclaim judgement on
> these practices, and the document does briefly touch on the general
> idea, though the "concerns...have been voiced" tends to minimize those
> concerns [1] but the selection of practices to focus on is extremely
> telling. Focusing on the downsides of encryption for (at least
> arguably well-meaning) network players while mostly ignoring the large
> class of non-benign behaviors which encryption is intended to protect
> against has the effect of overemphasizing the costs of encryption to
> those players and minimizing the benefits to the endpoints whom it is
> intended to protect.

Different communities have different interpretations on what’s the neutral point of view phrasing here, but I'm comfortable with further highlighting malicious uses of transport metadata in the draft. We’d tried to mostly do this by reference, since such things have been widely discussed in the past, but perhaps that’s not sufficient.

> To be maximally clear: I don't object to this document existing
> and I don't think that the opinions implicit in it are ones that
> should not be expressed. I merely don't think that it should be
> published as an IETF Consensus document.
> 
> -Ekr
> 
> [0] https://tools.ietf.org/html/draft-wood-pearg-website-fingerprinting-00#section-5 <https://tools.ietf.org/html/draft-wood-pearg-website-fingerprinting-00#section-5>
> [1]    Another motivation stems from increased concerns about privacy and
>       surveillance.  Users value the ability to protect their identity
>       and location, and defend against analysis of the traffic.
>       Revelations about the use of pervasive surveillance [RFC7624]
>       have, to some extent, eroded trust in the service offered by
>       network operators and have led to an increased use of encryption
>       to avoid unwanted eavesdropping on communications.  Concerns have
>       also been voiced about the addition of information to packets by
>       third parties to provide analytics, customisation, advertising,
>       cross-site tracking of users, to bill the customer, or to
>       selectively allow or block content.  Whatever the reasons, the
>       IETF is designing protocols that include transport header
>       encryption (e.g., QUIC [I-D.ietf-quic-transport]) to supplement
>       the already widespread payload encryption, and to further limit
>       exposure of transport metadata to the network.
>   
> 
> 
> 
> 
> 
> 
> 
> 



-- 
Colin Perkins
https://csperkins.org/