unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* SSHv2 doesn't actually have compression levels
@ 2019-07-30  1:58 Tobias Geerinckx-Rice
  2019-08-22 21:48 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-07-30  1:58 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 881 bytes --]

Guix,

While reading (guix scripts offload) in a (failed) attempt to get 
offloading working, the following comment caught my eye:

  ;; We rely on protocol-level compression from libssh to optimize 
  large data
  ;; transfers.  Warn if it's missing.

which means that we're not currently doing our own compression 
inside the tunnel.

This is significant, because it means that the COMPRESS-LEVEL 
field of BUILD-MACHINE is completely bogus[0], and probably always 
was - unless it once supported SSHv1, which I think we can agree 
is not something we want to support today.  Nobody's offloading 
libreoffice to that old router in the attic.

I'd like to undocument the option, and add a comment noting its 
lack of any useful effect to the code, by next week.

Kind regards,

T G-R

[0]: Take a look at OpenSSH's readconf.c, packet.c, and all calls 
to start_compression_out().

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-23 12:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-30  1:58 SSHv2 doesn't actually have compression levels Tobias Geerinckx-Rice
2019-08-22 21:48 ` Ludovic Courtès
2019-08-22 22:00   ` Tobias Geerinckx-Rice
2019-08-23 12:21     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).