Transfer fails after key re-exchange

Advertisement

guest1234
Guest

Transfer fails after key re-exchange

Hi,
I'm using winscp to transfer files through SFTP to proftpd with mod_sftp using command line and the newest version of winscp. Server has re-key option configured. Transfer goes ok until server initiates key re-exchange:

. 2012-12-10 05:37:39.514 Server initiated key re-exchange
. 2012-12-10 05:37:39.514 Doing Diffie-Hellman group exchange
. 2012-12-10 05:37:44.311 Doing Diffie-Hellman key exchange with hash SHA-1
. 2012-12-10 05:37:44.858 Verifying host key rsa2 ...
. 2012-12-10 05:37:44.858 Host key matches cached key
. 2012-12-10 05:37:44.858 Initialised AES-256 SDCTR client->server encryption
. 2012-12-10 05:37:44.858 Initialised HMAC-SHA1 client->server MAC algorithm
. 2012-12-10 05:38:03.545 Initialised AES-256 SDCTR server->client encryption
. 2012-12-10 05:38:03.545 Initialised HMAC-SHA1 server->client MAC algorithm
. 2012-12-10 05:38:18.592 Waiting for dispatching send buffer timed out, asking user what to do.
. 2012-12-10 05:38:18.592 Asking user:
. 2012-12-10 05:38:18.592 Host is not communicating for 15 seconds.
. 2012-12-10 05:38:18.592 
. 2012-12-10 05:38:18.592 Wait for another 15 seconds? ()
< 2012-12-10 05:38:18.592 Script: Host is not communicating for more than 15 seconds. Still waiting...
< 2012-12-10 05:38:18.592 Note: If the problem repeats, try turning off 'Optimize connection buffer size'.
< 2012-12-10 05:38:18.592 Warning: Aborting this operation will close connection!
. 2012-12-10 05:39:36.140 Attempt to close connection due to fatal exception:
* 2012-12-10 05:39:36.140 Terminated by user.
. 2012-12-10 05:39:36.140 Closing connection.
. 2012-12-10 05:39:36.140 Sending special code: 12
. 2012-12-10 05:39:36.140 Sent EOF message
. 2012-12-10 05:39:36.172 Connection was lost, asking what to do.
. 2012-12-10 05:39:36.172 Asking user:
. 2012-12-10 05:39:36.172 Terminated by user. ()
< 2012-12-10 05:39:36.172 Script: Terminated by user.

When I disable SendBuf message is different but effect is the same:

. 2012-12-12 12:26:10.031 Server initiated key re-exchange
. 2012-12-12 12:26:10.031 Doing Diffie-Hellman group exchange
. 2012-12-12 12:26:10.952 Doing Diffie-Hellman key exchange with hash SHA-1
. 2012-12-12 12:26:11.638 Verifying host key rsa2 ...
90:03:af:05:19:63:d5:a2:84:9d:9f:36:b8:c4:10:96
. 2012-12-12 12:26:11.638 Host key matches cached key
. 2012-12-12 12:26:11.638 Initialised AES-256 SDCTR client->server encryption
. 2012-12-12 12:26:11.638 Initialised HMAC-SHA1 client->server MAC algorithm
. 2012-12-12 12:26:26.677 Incoming packet was garbled on decryption
. 2012-12-12 12:26:26.677 Fatal error while disposing the SFTP queue.
. 2012-12-12 12:26:26.677 Connection was lost, asking what to do.
. 2012-12-12 12:26:26.677 Asking user:
. 2012-12-12 12:26:26.677 Incoming packet was garbled on decryption ()
< 2012-12-12 12:26:26.692 Script: Incoming packet was garbled on decryption
. 2012-12-12 12:26:33.088 Connection was lost, asking what to do.
. 2012-12-12 12:26:33.088 Asking user:
. 2012-12-12 12:26:33.088 Invalid access to memory ()
< 2012-12-12 12:26:33.088 Script: Invalid access to memory

I've checked version 3.8.2 and it doesn't have this problem. Other clients like Linux sftp e.g doesn't have this problem too.

Appreciate your help.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Thanks for your report.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.

Reply with quote

Advertisement

You can post new topics in this forum