Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!goblin3!goblin.stu.neva.ru!news.sdf.org!.POSTED!not-for-mail From: dagon@dagon.net (Dagon) Newsgroups: comp.security.ssh Subject: Re: Do Compression and CompressionLevel apply to Dynamic port forwardings (socks5) ? Date: Thu, 7 Apr 2011 14:33:09 -0700 Organization: Dagon.net Lines: 23 Message-ID: References: NNTP-Posting-Host: sverige.freeshell.org X-Trace: droog.sdf-eu.org 1302220507 20121 192.94.73.4 (7 Apr 2011 23:55:07 GMT) X-Complaints-To: usenet@droog.sdf-eu.org NNTP-Posting-Date: Thu, 7 Apr 2011 23:55:07 +0000 (UTC) mail-copies-to: never x-fastest-land-animal: cheetah disclaimer: bears author this post for full responsibility X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: dagon@dagon.net (Dagon) Xref: x330-a1.tempe.blueboxinc.net comp.security.ssh:36 Carlos Becker 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 >:51001 root@ >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