Re: Compression and zstd licensing update

Eric Rescorla <ekr@rtfm.com> Mon, 02 October 2017 14:54 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 45B85134688 for <quic@ietfa.amsl.com>; Mon, 2 Oct 2017 07:54:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 stqJlGF-Ug5S for <quic@ietfa.amsl.com>; Mon, 2 Oct 2017 07:54:05 -0700 (PDT)
Received: from mail-yw0-x233.google.com (mail-yw0-x233.google.com [IPv6:2607:f8b0:4002:c05::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 BE746134683 for <quic@ietf.org>; Mon, 2 Oct 2017 07:54:05 -0700 (PDT)
Received: by mail-yw0-x233.google.com with SMTP id u205so3834287ywa.5 for <quic@ietf.org>; Mon, 02 Oct 2017 07:54:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6BCPcAHhrNR+JkhTGVcWhZ5flDSGckF7fKUtJlcuMLE=; b=nsKrmGLDw2ETWg6rglUCYJ4lMMwbIZeA3TQdJXCNbUDBgoQyRDHkxiyM+3GSCgFn0u 6kRSvinEKenLtc1ExAtGeoceHS7dzXDPsXEglWpnl/KF2XdkCHcifYwl29szrFZ3q0FN Ng0zGalTdblE2bG12BHq7wyQDOc5RFSF9n7nRFOTAHnYdmUM19/hrA1USOnMj3wFRX1K hYmhnI3fQ3sQsLO0Rdaq2ovrv11zp6J2hv/mTSc251v2R55GVPNWJgvTIYLTQJQIjYGc uiziXo/KSJZAX7Xx0NM3zW8A7WRgrPNoJqPFq4aGAEtCsBagJUhytXaK6o2NPIY/e2b5 TW7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6BCPcAHhrNR+JkhTGVcWhZ5flDSGckF7fKUtJlcuMLE=; b=NVgglKw2eFfVvMcX31pt5NbJ2MOvtqdmRIOYE/i3UI0MzBrVW+u8+JCXlqW9blp265 VSS7U5gsltW6Z/u2jwLaAastV6c9lFYvVHcxKZdzSTKk9Xrkn5iIH2gI4NI7qoeKGDZA 0m6GBnEbTLyc3csc/q8eiUkglPKbF4lItT/3rfg1hKeabTM1e6zr3ZVXVpaqoeEew0f1 GsG2KBSsxJ/ZrpbEbMMlPl48sRDUq3oehqFHqxWUFcKE83nKH7xaiQj7AG/SxNC5AAWa bFqudu9ALvNdEvDBDB2S6uI8i25D08ZFkw8YNmNJaJlYL761WzpHZ16x9a6RZ7Dokx5Z Rt8g==
X-Gm-Message-State: AHPjjUhUL05ilnQnAHI5OusmHepb4hqLUbUCvnZkqC37eFlycytW+Aog 57gJfry1mypXGpi/SgnAOoeINH9Mp2HnqZVd+wlB6xQK
X-Google-Smtp-Source: AOwi7QBkE3U+ZAVhKDN97V+2jwnES5qA7Syo5hTcK8Q2gN22401qcHWGQTlvK9pIl42CEr0BET4KZvgNnWDSxrvjSKY=
X-Received: by 10.129.198.13 with SMTP id l13mr12623196ywi.457.1506956044945; Mon, 02 Oct 2017 07:54:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.75.194 with HTTP; Mon, 2 Oct 2017 07:53:24 -0700 (PDT)
In-Reply-To: <CAN1APddm+vU4JsMBJLCoGiyOhjPBnFP=d2DeSzm983+GY0nYMg@mail.gmail.com>
References: <CAN1APddm+vU4JsMBJLCoGiyOhjPBnFP=d2DeSzm983+GY0nYMg@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Mon, 02 Oct 2017 07:53:24 -0700
Message-ID: <CABcZeBNfHRss-q6vT7jUx0q5T1c_qhasXpSJXLk5TqnPZYANng@mail.gmail.com>
Subject: Re: Compression and zstd licensing update
To: Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>
Cc: IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c1a5d5ac061c5055a918b84"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/V-DTxVUeeES0KnfRpeDYQbgWMDI>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Oct 2017 14:54:08 -0000

I would not be in favor of including any compression of the plaintext in
QUIC. We already know that compression + encryption is dangerous, which is
why we removed it from TLS 1.3.

-Ekr


On Mon, Oct 2, 2017 at 2:20 AM, Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>
wrote:

> FYI:
>
> I have just gotten confirmation by the author that Facebooks zstd
> compression library is now a pure BSD license without PATENTS protection
> claims which Facebook also removed from ReactJS and graphQL.
>
> This means that zstd it could be a viable compression technology, for
> example in QUIC/HTTP - though I haven’t followed the HTTP efforts closely.
>
> zstd appears to have the best tradeoff in terms of
> cost/bandwidth/computation effort while I personally would use LZ4 for some
> performance critical applications to due raw speed where bandwidth is
> sufficient.
>
>
>
> Kind Regards,
> Mikkel Fahnøe Jørgensen
>
>