EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SFTP upload fails with certain file types

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#32766
Posted: 03/25/2015 13:30:56
by Rafael Hernandez (Standard support level)
Joined: 02/04/2015
Posts: 21

I am currently evaluating the SFTP portion of SecureBlackbox (Java Version) and currently have my own working version of the sample Sftp Server. I am testing the upload functionality and have hit a snag writing certain types of files using client SSH-2.0-OpenSSH_6.7. I can successfully write certain types of files like ascii text and UTF-8 Unicode text but when I try to write zip archives, xml files etc I get the following error:Invalid MAC and then get disconnected. Doing some debugging I managed to get error code 105 from the TElSSHErrorEvent. The interesting part is that I do not experience this issue in FileZilla. All files are successfully uploaded. I have attempted the suggestions described in this article without any success: https://www.eldos.com/security/articles/6478.php?page=all

Please provide guidance. Thanks.
#32768
Posted: 03/25/2015 13:51:42
by Eugene Mayevski (EldoS Corp.)

Thank you for the report.

What exactly build number of SecureBlackbox are you using? The latest version is 12.0.268 (build 267 is ok as well).


Sincerely yours
Eugene Mayevski
#32770
Posted: 03/25/2015 14:52:31
by Rafael Hernandez (Standard support level)
Joined: 02/04/2015
Posts: 21

I am currently evaluating version 12.0.264. I will try the latest build and post the results. Thanks.
#32772
Posted: 03/25/2015 17:05:47
by Rafael Hernandez (Standard support level)
Joined: 02/04/2015
Posts: 21

I tried v12.0.268 and unfortunately got the same result.
#32775
Posted: 03/26/2015 03:28:35
by Vsevolod Ievgiienko (EldoS Corp.)

Hello.

I recommend you to check our SFTP server sample without any modifications. Does the same problem occurs with it?
#32788
Posted: 03/26/2015 11:55:12
by Rafael Hernandez (Standard support level)
Joined: 02/04/2015
Posts: 21

Yes, I just reproduced it with the latest SampleServer. This is the complete message:

Received disconnect from 127.0.0.1: 6: Invalid MAC

I also verified that with the latest sample server, FileZilla has no issues. Please advise on the next steps to see if there is a workaround or resolution. This is an important issue for us in our consideration process. Thanks.
#32790
Posted: 03/26/2015 13:17:45
by Eugene Mayevski (EldoS Corp.)

I am a bit lost. You said that you got an error and that with FileZilla there's no error. So when does the error happen? Does it happen only with some specific client?


Sincerely yours
Eugene Mayevski
#32792
Posted: 03/26/2015 13:48:46
by Rafael Hernandez (Standard support level)
Joined: 02/04/2015
Posts: 21

Thanks for the reply. As mentioned previously, I am using client SSH-2.0-OpenSSH_6.7 as my client and using that is when the issue manifests. FileZilla is just to compare results of another client but my main concern is OpenSSH. Thanks.
#32793
Posted: 03/26/2015 14:01:35
by Eugene Mayevski (EldoS Corp.)

Thank you for the clarification.

OpenSSH is known to do things differently from the standard (that's the official position of its authors) so it's no wonder that it fails.

We will try to reproduce the issue and let you know the outcome. I expect to have some results by Monday or Tuesday.


Sincerely yours
Eugene Mayevski
#32794
Posted: 03/26/2015 14:07:34
by Rafael Hernandez (Standard support level)
Joined: 02/04/2015
Posts: 21

Thanks. I look forward to hearing from you.
Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.

Reply

Statistics

Topic viewed 836 times

Number of guests: 2, 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!