EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SFTP not able to connect after upgrade to V14

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#35507
Posted: 01/11/2016 17:09:02
by Amar  (Standard support level)
Joined: 05/01/2015
Posts: 7

Hi,

Recently we upgraded the secureblackbox component from v12 to v14 and after upgrade we are not able to connect to one of the sftp clients. No code changes were made during the upgrade and it is just one client that we are seeing this happen on, the other client (20 +) are connecting just fine. This is the only client which connects on port 2222 instead of 22. Below is the code

sClient.Address = server_addr;
sClient.Username = usr;
sClient.Password = pwd;
sClient.Port = 2222;
sClient.AuthenticationTypes = SBSSHConstants.Unit.SSH_AUTH_TYPE_PASSWORD | SBSSHConstants.Unit.SSH_AUTH_TYPE_KEYBOARD & (~SBSSHConstants.Unit.SSH_AUTH_TYPE_PUBLICKEY);
sClient.Open();

Stack Trace-
at SBSimpleSftp.TElSimpleSFTPClient.DoSend(Object Sender, Byte[] Buffer)
at SBSSHCommon.TElSSHClass.DoSend(Byte[] Buffer, Int32 Size)
at SBSSHClient.TElSSHClient.SSH2SendOnTransportLayer(Int32 Size)
at SBSSHClient.TElSSHClient.SSH2SendDisconnect(Int32 ReasonCode, Byte[] Desc)
at SBSSHClient.TElSSHClient.PerformClose(Boolean Forced, String CloseReason)
at SBSSHClient.TElSSHClient.CloseByError(String ReasonLine)
at SBSSHClient.TElSSHClient.SSH2ParseTransportLayerHeader(Byte[]& Buffer, Int32 Size)
at SBSSHClient.TElSSHClient.AnalyseBuffer()
at SBSSHClient.TElSSHClient.DataAvailable()
at SBSimpleSftp.TElSimpleSFTPClient.DataAvailable()
at SBSimpleSftp.TElSimpleSFTPClient.IntMessageLoop()
at SBSimpleSftp.TElSimpleSFTPClient.DoMessageLoop()
at SBSimpleSftp.TElSimpleSFTPClient.Open()


Can you please take a look and let me know why this is failing?

regards,
#35508
Posted: 01/11/2016 17:21:04
by Eugene Mayevski (EldoS Corp.)

I’ve noticed there is no support access ticket linked to your user account on EldoS site. Support is provided to customers with the linked support access tickets. You will find your support access ticket together with all the details about how to use it in the registration e-mail that we’ve sent to you upon the purchase.


Sincerely yours
Eugene Mayevski
#35612
Posted: 01/19/2016 12:40:20
by Amar  (Standard support level)
Joined: 05/01/2015
Posts: 7

The support access ticket is linked to the account, can you please look into the issue now?
#35613
Posted: 01/19/2016 16:57:34
by Ken Ivanov (EldoS Corp.)

Thank you.

As nothing was apparently changed in your project besides SecureBlackbox version upgrade, the reason is likely to specific to the changes introduced in the upgrade itself. The most significant differences in SSHBlackbox between versions 12 and 14 are related to the sets of supported security algorithms. Specifically, SecureBlackbox 13 and 14 introduced support for a number of new encryption (AES-GCM, ChaCha20/Poly1305), key exchange (ECDH) and signature (ECDSA) algorithms. It might be that one of those algorithms is not handled correctly by the server, causing it to misbehave. Please consider switching all newer algorithms off and checking if it helps.

Ken

Reply

Statistics

Topic viewed 1951 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!