Topic "Transfer fails after key re-exchange"

Author Message
guest1234

Guest


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:

Code:
. 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:

Code:
. 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.
fakemail324
[View user's profile]

Joined: 2013-01-08
Posts: 1
Hi, do you have any ideas? It looks like WinSCP bug.
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26889
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.
Advertisements

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License