Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock openssh 1:7.4p1-11, which contains a one-line patch for
compression statistics. This fell through the cracks, but is apparently
a significant issue for some users tracking data transfers. It was a
regression in OpenSSH 6.8 (i.e. since jessie).
diff -Nru openssh-7.4p1/debian/.git-dpm openssh-7.4p1/debian/.git-dpm
--- openssh-7.4p1/debian/.git-dpm 2017-03-30 11:18:22.000000000 +0100
+++ openssh-7.4p1/debian/.git-dpm 2017-06-06 15:02:30.000000000 +0100
@@ -1,6 +1,6 @@
# see git-dpm(1) from git-dpm package
-904bc482ad87648a2c799c441dc6a8449f24e15a
-904bc482ad87648a2c799c441dc6a8449f24e15a
+a93e5207256eff3a51db335c5a12b3ad2291f686
+a93e5207256eff3a51db335c5a12b3ad2291f686
971a7653746a6972b907dfe0ce139c06e4a6f482
971a7653746a6972b907dfe0ce139c06e4a6f482
openssh_7.4p1.orig.tar.gz
diff -Nru openssh-7.4p1/debian/changelog openssh-7.4p1/debian/changelog
--- openssh-7.4p1/debian/changelog 2017-03-30 11:19:04.000000000 +0100
+++ openssh-7.4p1/debian/changelog 2017-06-06 15:03:48.000000000 +0100
@@ -1,3 +1,10 @@
+openssh (1:7.4p1-11) unstable; urgency=medium
+
+ * Fix incoming compression statistics (thanks, Russell Coker; closes:
+ #797964).
+
+ -- Colin Watson <cjwatson@debian.org> Tue, 06 Jun 2017 15:03:48 +0100
+
openssh (1:7.4p1-10) unstable; urgency=medium
* Move privilege separation directory and PID file from /var/run/ to /run/
diff -Nru openssh-7.4p1/debian/patches/fix-incoming-compression-statistics.patch openssh-7.4p1/debian/patches/fix-incoming-compression-statistics.patch
--- openssh-7.4p1/debian/patches/fix-incoming-compression-statistics.patch 1970-01-01 01:00:00.000000000 +0100
+++ openssh-7.4p1/debian/patches/fix-incoming-compression-statistics.patch 2017-06-06 15:02:30.000000000 +0100
@@ -0,0 +1,27 @@
+From a93e5207256eff3a51db335c5a12b3ad2291f686 Mon Sep 17 00:00:00 2001
+From: Russell Coker <russell@coker.com.au>
+Date: Tue, 6 Jun 2017 15:00:20 +0100
+Subject: Fix incoming compression statistics
+
+Bug-Debian: https://bugs.debian.org/797964
+Forwarded: https://lists.mindrot.org/pipermail/openssh-unix-dev/2017-June/036077.html
+Last-Update: 2017-06-06
+
+Patch-Name: fix-incoming-compression-statistics.patch
+---
+ packet.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/packet.c b/packet.c
+index ad1f6b49..afcde6f3 100644
+--- a/packet.c
++++ b/packet.c
+@@ -587,7 +587,7 @@ ssh_packet_close(struct ssh *ssh)
+ deflateEnd(stream);
+ }
+ if (state->compression_in_started) {
+- z_streamp stream = &state->compression_out_stream;
++ z_streamp stream = &state->compression_in_stream;
+ debug("compress incoming: "
+ "raw data %llu, compressed %llu, factor %.2f",
+ (unsigned long long)stream->total_out,
diff -Nru openssh-7.4p1/debian/patches/series openssh-7.4p1/debian/patches/series
--- openssh-7.4p1/debian/patches/series 2017-03-30 11:18:21.000000000 +0100
+++ openssh-7.4p1/debian/patches/series 2017-06-06 15:02:30.000000000 +0100
@@ -34,3 +34,4 @@
ssh-keyscan-hash-port.patch
ssh-keygen-null-deref.patch
unbreak-unix-forwarding-for-root.patch
+fix-incoming-compression-statistics.patch
unblock openssh/1:7.4p1-11
Thanks,
--
Colin Watson [cjwatson@debian.org]
Attachment:
signature.asc
Description: Digital signature