[Ssh] Re: Deprecation of Compression - Scope

Damien Miller <djm@mindrot.org> Tue, 13 October 2026 04:22 UTC

Received: from train.compute.dc.uq.edu.au (train.compute.dc.uq.edu.au [130.102.189.35]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.ietf.org (Postfix) with ESMTPS id BB84546 for <ssh@ietf.org>; Tue, 13 Oct 2026 04:22:39 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=none; spf=pass (mx.ietf.org: domain of djm@mindrot.org designates 130.102.189.35 as permitted sender) smtp.mailfrom=djm@mindrot.org; dmarc=none
Received: from smtp2.compute.dc.uq.edu.au (smtp2.compute.dc.uq.edu.au [10.208.138.89]) by train.compute.dc.uq.edu.au (8.14.5/8.14.5) with ESMTP id 69D4MObf087284; Tue, 13 Oct 2026 14:22:24 +1000
Received: from mailhub.eait.uq.edu.au (hazel.eait.uq.edu.au [130.102.60.17]) by smtp2.compute.dc.uq.edu.au (8.14.5/8.14.5) with ESMTP id 69D4MO2m025139 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Oct 2026 14:22:24 +1000
Received: from haru.mindrot.org (haru.mindrot.org [130.102.96.5]) by mailhub.eait.uq.edu.au (8.15.1/8.15.1) with ESMTPS id 69D4MNGF010718 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 13 Oct 2026 14:22:24 +1000 (AEST)
Received: from localhost (localhost [127.0.0.1]) by haru.mindrot.org (OpenSMTPD) with ESMTP id 441ad916; Tue, 13 Oct 2026 15:22:23 +1100 (AEDT)
Date: Tue, 13 Oct 2026 15:22:23 +1100
From: Damien Miller <djm@mindrot.org>
To: "Salz, Rich" <rsalz@akamai.com>
In-Reply-To: < MN2PR17MB40313575627CC11E72BCE0FCCD9F2%MN2PR17MB4031.namprd17.prod.outlook.com@mailhub.eait.uq.edu.au>
Message-ID: <b41ab6dd-73d3-e60a-84d2-ba025a897f5e@mindrot.org>
References: <7ef638d5-ab87-4978-bf3c-0725d9fa5795@ruhr-uni-bochum.de> <87h5irrmms.fsf@josefsson.org> < MN2PR17MB40313575627CC11E72BCE0FCCD9F2%MN2PR17MB4031.namprd17.prod.outlook.com@mailhub.eait.uq.edu.au>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="0-1406439568-1791865343=:69293"
x-ms-reactions: disallow
X-Scanned-By: MIMEDefang 2.75 on 130.102.60.17
X-Spamd-Bar: -------------------
Message-ID-Hash: SOQ3ABDYJRIQB6YQDBG53Q2TZE6G3VXG
X-Message-ID-Hash: SOQ3ABDYJRIQB6YQDBG53Q2TZE6G3VXG
X-MailFrom: djm@mindrot.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ssh.ietf.org-0; header-match-ssh.ietf.org-1; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Fabian Bäumer <fabian.baeumer@ruhr-uni-bochum.de>, "ssh@ietf.org" <ssh@ietf.org>
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [Ssh] Re: Deprecation of Compression - Scope
List-Id: "The SSH mail list will allow discussions on improving aspects of the Secure Shell (SSH) protocol." <ssh.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ssh/sdzN77qtuwaNBdfKD7iigsyhm2k>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ssh>
List-Help: <mailto:ssh-request@ietf.org?subject=help>
List-Owner: <mailto:ssh-owner@ietf.org>
List-Post: <mailto:ssh@ietf.org>
List-Subscribe: <mailto:ssh-join@ietf.org>
List-Unsubscribe: <mailto:ssh-leave@ietf.org>

On Mon, 12 Oct 2026, Salz, Rich via Ssh wrote:

> On 10/12/26, 4:59 PM, "Simon Josefsson via Ssh" <ssh@ietf.org> wrote:
>  *  Compression has more or less disappeared from TLS for somewhat similar
>  *  reasons, therefor I would lean towards the same conclusion for SSH.
>  *  Futher, option (2) allows implementer to remove more code, which reduces
>  *  overall complexity.
> 
> I agree, for the same reasons.

I also agree. I don't think transport layer compression can ever be
made simultaneously safe and effective and I support its deprecation.

AFAIK safer compression can be effectively added at the application
layer or with wrapper tools (for forwardings, etc).

I did do some prototyping towards channel-layer compression in SSH and
decided that it's not trivial.

-d