Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Reported :)
martin

I was searching for this compression bug and found this topic. Does anybody know if and when it will be fixed? (Somebody reported it to Putty developers?)

I haven't reported it. Of course, you are welcome to do so :-)
Guest

I was searching for this compression bug and found this topic. Does anybody know if and when it will be fixed? (Somebody reported it to Putty developers?)
popeman

:idea: aha, got it. There is a new compression method in OpenSSH called "delayed" (instead of "yes" or "no") that compresses nothing until after the user is authenticated. This way zlib vulnerabilities can't be used against an otherwise secure computer. I'm guessing neither putty nor winscp supports this yet, it's very new...

Anyway, the default setting is now "delayed" instead of "yes". You might want to point this out to the putty guys...
martin

It seems that neither PuTTY has succeeded with compression. Are you sure you have it enabled on the server-side?
popeman

Here's WinSCP's log
. 2006-04-04 18:03:45.554 --------------------------------------------------------------------------

. 2006-04-04 18:03:45.554 WinSCP Version 3.7.6 (Build 306) (OS 5.1.2600 Service Pack 2)
. 2006-04-04 18:03:45.554 Login time: Tuesday, April 04, 2006 6:03:45 PM
. 2006-04-04 18:03:45.554 --------------------------------------------------------------------------
. 2006-04-04 18:03:45.554 Session name: proxied
. 2006-04-04 18:03:45.554 Host name: ---------- (Port: 22)
. 2006-04-04 18:03:45.554 User name: ------- (Password: No, Key file: No)
. 2006-04-04 18:03:45.554 Transfer Protocol: SFTP (SCP)
. 2006-04-04 18:03:45.554 SSH protocol version: 2; Compression: Yes
. 2006-04-04 18:03:45.554 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2006-04-04 18:03:45.554 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2006-04-04 18:03:45.554 Ping type: N, Ping interval: 30 sec; Timeout: 15 sec
. 2006-04-04 18:03:45.554 SSH Bugs: -,-,-,-,-,-,-,-
. 2006-04-04 18:03:45.554 SFTP Bugs: -,-,-
. 2006-04-04 18:03:45.554 Proxy: SOCKS5
. 2006-04-04 18:03:45.554 HostName: ------------------ (Port: 1080); Username: ; Passwd: No
. 2006-04-04 18:03:45.554 Return code variable: Autodetect; Lookup user groups: Yes
. 2006-04-04 18:03:45.554 Shell: default, EOL: 0
. 2006-04-04 18:03:45.554 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2006-04-04 18:03:45.554 Cache directory changes: Yes, Permanent: Yes
. 2006-04-04 18:03:45.554 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2006-04-04 18:03:45.554 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2006-04-04 18:03:45.554 --------------------------------------------------------------------------
. 2006-04-04 18:03:45.594 Looking up host "-------------------"
. 2006-04-04 18:03:45.795 Connecting to 172.17.10.1 port 1080
. 2006-04-04 18:03:45.805 Waiting for the server to continue with the initialisation
. 2006-04-04 18:03:45.805 Waiting for the server to continue with the initialisation
. 2006-04-04 18:03:45.985 Waiting for the server to continue with the initialisation
. 2006-04-04 18:03:46.285 Server version: SSH-2.0-OpenSSH_4.3p2-hpn
. 2006-04-04 18:03:46.285 We claim version: SSH-2.0-WinSCP_release_3.7.6
. 2006-04-04 18:03:46.295 Using SSH protocol version 2
. 2006-04-04 18:03:46.305 Waiting for the server to continue with the initialisation
. 2006-04-04 18:03:46.486 Doing Diffie-Hellman group exchange
. 2006-04-04 18:03:46.496 Waiting for the server to continue with the initialisation
. 2006-04-04 18:03:46.886 Doing Diffie-Hellman key exchange
. 2006-04-04 18:03:47.056 Waiting for the server to continue with the initialisation
. 2006-04-04 18:03:47.467 Host key fingerprint is:
. 2006-04-04 18:03:47.477 ssh-rsa 1024 ------------------------------
. 2006-04-04 18:03:47.487 Initialised AES-256 client->server encryption
. 2006-04-04 18:03:47.497 Initialised HMAC-SHA1 client->server MAC algorithm
. 2006-04-04 18:03:47.507 Initialised AES-256 server->client encryption
. 2006-04-04 18:03:47.517 Initialised HMAC-SHA1 server->client MAC algorithm
. 2006-04-04 18:03:47.527 Waiting for the server to continue with the initialisation
! 2006-04-04 18:03:47.968 Using username "------------".
. 2006-04-04 18:03:47.978 Waiting for the server to continue with the initialisation
. 2006-04-04 18:03:48.348 Pageant is running. Requesting keys.
. 2006-04-04 18:03:48.358 Pageant has 0 SSH-2 keys
. 2006-04-04 18:03:48.378 Waiting for the server to continue with the initialisation
! 2006-04-04 18:03:48.619 Using keyboard-interactive authentication.
. 2006-04-04 18:03:48.629 Password:  prompt from server
. 2006-04-04 18:03:48.639 Asking user for response.
. 2006-04-04 18:03:52.164 Waiting for the server to continue with the initialisation
. 2006-04-04 18:03:52.705 Waiting for the server to continue with the initialisation
. 2006-04-04 18:03:52.885 Access granted
. 2006-04-04 18:03:52.895 Waiting for the server to continue with the initialisation
. 2006-04-04 18:03:53.205 Opened channel for session
. 2006-04-04 18:03:53.215 Waiting for the server to continue with the initialisation
. 2006-04-04 18:03:53.496 Started a shell/command
. 2006-04-04 18:03:53.506 --------------------------------------------------------------------------
. 2006-04-04 18:03:53.526 Using SFTP protocol.
. 2006-04-04 18:03:53.536 Doing startup conversation with host.
> 2006-04-04 18:03:53.556 Type: SSH_FXP_INIT, Size: 5, Number: -1
. 2006-04-04 18:03:53.566 Sent 9 bytes
. 2006-04-04 18:03:53.586 There are 0 bytes remaining in the send buffer
. 2006-04-04 18:03:53.606 Waiting for another 4 bytes
. 2006-04-04 18:03:53.876 Received 4 bytes
. 2006-04-04 18:03:53.886 Received 5 bytes
< 2006-04-04 18:03:53.906 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2006-04-04 18:03:53.926 SFTP version 3 negotiated.
. 2006-04-04 18:03:53.946 We believe the server has signed timestamps bug
. 2006-04-04 18:03:53.966 We will use UTF-8 strings for status messages only
. 2006-04-04 18:03:53.976 Limiting packet size to OpenSSH limit of 262148 bytes
. 2006-04-04 18:03:53.996 Getting current directory name.
. 2006-04-04 18:03:54.016 Getting real path for '.'
> 2006-04-04 18:03:54.036 Type: SSH_FXP_REALPATH, Size: 10, Number: 1552
. 2006-04-04 18:03:54.057 Sent 14 bytes
. 2006-04-04 18:03:54.077 There are 0 bytes remaining in the send buffer
. 2006-04-04 18:03:54.097 Waiting for another 4 bytes
. 2006-04-04 18:03:54.327 Received 4 bytes
. 2006-04-04 18:03:54.347 Received 47 bytes
< 2006-04-04 18:03:54.367 Type: SSH_FXP_NAME, Size: 47, Number: 1552
. 2006-04-04 18:03:54.387 Real path is '--------'
. 2006-04-04 18:03:54.407 Listing directory "------------".
> 2006-04-04 18:03:54.427 Type: SSH_FXP_OPENDIR, Size: 22, Number: 1803
. 2006-04-04 18:03:54.447 Sent 26 bytes
. 2006-04-04 18:03:54.477 There are 0 bytes remaining in the send buffer
. 2006-04-04 18:03:54.497 Waiting for another 4 bytes
. 2006-04-04 18:03:54.788 Received 4 bytes
. 2006-04-04 18:03:54.808 Received 13 bytes
< 2006-04-04 18:03:54.828 Type: SSH_FXP_HANDLE, Size: 13, Number: 1803
> 2006-04-04 18:03:54.858 Type: SSH_FXP_READDIR, Size: 13, Number: 2060
. 2006-04-04 18:03:54.878 Sent 17 bytes
. 2006-04-04 18:03:54.908 There are 0 bytes remaining in the send buffer
. 2006-04-04 18:03:54.928 Waiting for another 4 bytes
. 2006-04-04 18:03:55.308 Waiting for another 4 bytes
. 2006-04-04 18:03:55.489 Waiting for another 4 bytes
. 2006-04-04 18:03:55.689 Waiting for another 4 bytes
. 2006-04-04 18:03:55.739 Waiting for another 4 bytes
. 2006-04-04 18:03:55.759 Waiting for another 4 bytes
. 2006-04-04 18:03:55.899 Waiting for another 4 bytes
. 2006-04-04 18:03:56.079 Waiting for another 4 bytes
. 2006-04-04 18:03:56.099 Waiting for another 4 bytes
. 2006-04-04 18:03:56.200 Received 4 bytes
. 2006-04-04 18:03:56.220 Received 11653 bytes
< 2006-04-04 18:03:56.250 Type: SSH_FXP_NAME, Size: 11653, Number: 2060
> 2006-04-04 18:03:56.270 Type: SSH_FXP_READDIR, Size: 13, Number: 2316
. 2006-04-04 18:03:56.300 Sent 17 bytes
. 2006-04-04 18:03:56.320 There are 0 bytes remaining in the send buffer
. 2006-04-04 18:03:56.350 Waiting for another 4 bytes
. 2006-04-04 18:03:56.620 Waiting for another 4 bytes
. 2006-04-04 18:03:56.670 Waiting for another 4 bytes
. 2006-04-04 18:03:56.700 Waiting for another 4 bytes
. 2006-04-04 18:03:56.800 Received 4 bytes
. 2006-04-04 18:03:56.820 Received 5551 bytes
< 2006-04-04 18:03:56.851 Type: SSH_FXP_NAME, Size: 5551, Number: 2316
> 2006-04-04 18:03:56.881 Type: SSH_FXP_READDIR, Size: 13, Number: 2572
. 2006-04-04 18:03:56.911 Sent 17 bytes
. 2006-04-04 18:03:56.931 There are 0 bytes remaining in the send buffer
. 2006-04-04 18:03:56.971 Waiting for another 4 bytes
. 2006-04-04 18:03:57.211 Received 4 bytes
. 2006-04-04 18:03:57.251 Received 28 bytes
< 2006-04-04 18:03:57.281 Type: SSH_FXP_STATUS, Size: 28, Number: 2572
< 2006-04-04 18:03:57.311 Status/error code: 1
> 2006-04-04 18:03:57.341 Type: SSH_FXP_CLOSE, Size: 13, Number: 2820
. 2006-04-04 18:03:57.371 Sent 17 bytes
. 2006-04-04 18:03:57.401 There are 0 bytes remaining in the send buffer
. 2006-04-04 18:03:57.431 Startup conversation with host finished.
. 2006-04-04 18:03:57.612 Session upkeep
. 2006-04-04 18:03:57.642 Detected incoming data while idle
. 2006-04-04 18:03:58.132 Session upkeep
. 2006-04-04 18:03:58.633 Session upkeep
. 2006-04-04 18:03:59.134 Session upkeep
. 2006-04-04 18:03:59.635 Session upkeep
. 2006-04-04 18:04:00.135 Session upkeep
. 2006-04-04 18:04:00.636 Session upkeep
. 2006-04-04 18:04:01.137 Session upkeep
. 2006-04-04 18:04:01.637 Session upkeep
. 2006-04-04 18:04:02.148 Session upkeep
. 2006-04-04 18:04:02.649 Session upkeep
. 2006-04-04 18:04:03.150 Session upkeep
. 2006-04-04 18:04:03.650 Session upkeep
. 2006-04-04 18:04:04.381 Session upkeep
. 2006-04-04 18:04:04.652 Session upkeep
. 2006-04-04 18:04:05.152 Session upkeep
. 2006-04-04 18:04:05.653 Session upkeep
. 2006-04-04 18:04:05.934 Closing connection.


here's putty's log:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2006.04.04 18:10:21 =~=~=~=~=~=~=~=~=~=~=~=

Event Log: Writing new session log (SSH packets mode) to file: C:\Documents and Settings\-------\Desktop\putty.log
Event Log: Looking up host "--------------"
Event Log: Connecting to 172.17.10.1 port 1080
Event Log: Server version: SSH-2.0-OpenSSH_4.3p2-hpn
Event Log: We claim version: SSH-2.0-PuTTY_Release_0.58
Event Log: Using SSH protocol version 2
Incoming packet type 20 / 0x14 (SSH2_MSG_KEXINIT)
Outgoing packet type 20 / 0x14 (SSH2_MSG_KEXINIT)
Event Log: Doing Diffie-Hellman group exchange
Outgoing packet type 30 / 0x1e (SSH2_MSG_KEX_DH_GEX_REQUEST)
Incoming packet type 31 / 0x1f (SSH2_MSG_KEX_DH_GEX_GROUP)
Event Log: Doing Diffie-Hellman key exchange
Outgoing packet type 32 / 0x20 (SSH2_MSG_KEX_DH_GEX_INIT)
Incoming packet type 33 / 0x21 (SSH2_MSG_KEX_DH_GEX_REPLY)
Event Log: Host key fingerprint is:
Event Log: ssh-rsa 1024 ------------------------
Outgoing packet type 21 / 0x15 (SSH2_MSG_NEWKEYS)
Event Log: Initialised AES-256 client->server encryption
Event Log: Initialised HMAC-SHA1 client->server MAC algorithm
Incoming packet type 21 / 0x15 (SSH2_MSG_NEWKEYS)
Event Log: Initialised AES-256 server->client encryption
Event Log: Initialised HMAC-SHA1 server->client MAC algorithm
Outgoing packet type 5 / 0x05 (SSH2_MSG_SERVICE_REQUEST)
Incoming packet type 6 / 0x06 (SSH2_MSG_SERVICE_ACCEPT)
Outgoing packet type 50 / 0x32 (SSH2_MSG_USERAUTH_REQUEST)
Incoming packet type 51 / 0x33 (SSH2_MSG_USERAUTH_FAILURE)
Event Log: Pageant is running. Requesting keys.
Event Log: Pageant has 1 SSH-2 keys
Event Log: Trying Pageant key #0
Outgoing packet type 50 / 0x32 (SSH2_MSG_USERAUTH_REQUEST)
Incoming packet type 60 / 0x3c (SSH2_MSG_USERAUTH_PK_OK)
Event Log: Sending Pageant's response
Outgoing packet type 50 / 0x32 (SSH2_MSG_USERAUTH_REQUEST)
Incoming packet type 52 / 0x34 (SSH2_MSG_USERAUTH_SUCCESS)
Event Log: Access granted
Outgoing packet type 90 / 0x5a (SSH2_MSG_CHANNEL_OPEN)
Incoming packet type 91 / 0x5b (SSH2_MSG_CHANNEL_OPEN_CONFIRMATION)
Event Log: Opened channel for session
Event Log: Local port 5500 SOCKS dynamic forwarding
Outgoing packet type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)
Incoming packet type 99 / 0x63 (SSH2_MSG_CHANNEL_SUCCESS)
Event Log: Allocated pty (ospeed 38400bps, ispeed 38400bps)
Outgoing packet type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)
Incoming packet type 93 / 0x5d (SSH2_MSG_CHANNEL_WINDOW_ADJUST)
Incoming packet type 99 / 0x63 (SSH2_MSG_CHANNEL_SUCCESS)
  00000000  00 00 01 00                                      ....
Event Log: Started a shell/command
Incoming packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
  00000000  00 00 01 00                                      ....
  (81 bytes omitted)
Incoming packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
  00000000  00 00 01 00                                      ....
  (27 bytes omitted)
Incoming packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
  00000000  00 00 01 00                                      ....
  (46 bytes omitted)
martin

Re: compression mysteriously disabled

Can you post a log file?
popeman

compression mysteriously disabled

I just updated my server to OpenSSH-4.3_p2-hpn and now WinSCP release 3.7.6 refuses to enable compression. Interestingly, PuTTY release 0.58 seems to connect with compression. Or at least it's failing very quitely.

Is there any way for me to check more exactly what is happening? I've already saved the packet logs from putty, if there's somewhere in there I should look...