Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.security.ssh > #36

Re: Do Compression and CompressionLevel apply to Dynamic port forwardings (socks5) ?

From dagon@dagon.net (Dagon)
Newsgroups comp.security.ssh
Subject Re: Do Compression and CompressionLevel apply to Dynamic port forwardings (socks5) ?
Date 2011-04-07 14:33 -0700
Organization Dagon.net
Message-ID <l5n178-rtm.ln1@dagon.net> (permalink)
References <ink88s$cc7$2@hoshi.visyn.net>

Show all headers | View raw


Carlos Becker  <f0877e61f2f879f5a1244afbbc63a01c@2013.temporarily.de> wrote:
>Version: OpenSSH_5.3p1 Debian-3ubuntu6, OpenSSL 0.9.8k 25 Mar 2009
>I would like to use socks5 with compression on a slow WAN line.
>I use this command : ssh -p 51001 -C -o "CompressionLevel 9" -g -D
><ip-of-this-machine>:51001 root@<remote-machine>

>Generally this works but I notice there is no difference in speed 
>if I use CompressionLevel 1 compared tho CompressionLevel 9.

On what data?  Measured how?  Do you see a difference with compression off
entirely on large amounts of compressible data?  Ssh uses the same compression
as gzip, and for a lot of types of data there's a fairly small change (<10%)
between levels 1 and 9.  

>man ssh is not 100% specific if this also applies to dynamic port forwarding:
>     -C      Requests compression of all data (including stdin, stdout,
>             stderr, and data for forwarded X11 and TCP connections).
>Does compression work with Dynamic port forwarding at all ?

"all data" is pretty clear IMO.  This compresses everything across the wire,
not just some streams.  
--
Mark Rafn    dagon@dagon.net    <http://www.dagon.net/>  

Back to comp.security.ssh | Previous | NextPrevious in thread | Find similar


Thread

Do Compression and CompressionLevel apply to Dynamic port forwardings (socks5) ? Carlos Becker <f0877e61f2f879f5a1244afbbc63a01c@2013.temporarily.de> - 2011-04-07 13:47 +0200
  Re: Do Compression and CompressionLevel apply to Dynamic port forwardings (socks5) ? Simon Tatham <anakin@pobox.com> - 2011-04-07 13:17 +0100
  Re: Do Compression and CompressionLevel apply to Dynamic port forwardings (socks5) ? dagon@dagon.net (Dagon) - 2011-04-07 14:33 -0700

csiph-web