PDA

View Full Version : Errors in SSL transfers


Pehu
10-19-2003, 03:18 PM
My problem is with SSL transfers. A friend of mine, a flashfxp user as well, has similar problems:

- All goes well, connection established etc. Downloads nicely.

- When you have downloaded like 30 RAR or ZIP files, 1-2 of them are actually shorter than the originals. The missing length is not much, maybe few bytes up to couple of kilobytes. This of course, creates a problem when the whole archive gets broken. Realoding those files works thou.

We are both using the latest FlashFXP software (2.1 build 924) and Windows XP SP1.

The settings for SSL are:

"AUTH SSL"
+ "AUTH TLS secure File Listing"
+ "AUTH TLS Secure File transfers"

The Server at the other end is presumably lundftpd3.01 + TLS.

Do you have any idea why some transfers are missing bytes (no errors given either)... and what to do with it. The server works well for all other users, except me and my friend, who are using FlashFXP.

Yours,

Pekka

darkone
10-19-2003, 05:26 PM
I wonder if server is performing SSL_shutdown() properly.. I remember encountering similar problems back in the days I was playing with openssl.

It's unlikely to be client problem, as client simply does SSL_read() until it receives error SSL_ERROR_ZERO_RETURN. At this point, it has already decrypted everything, and performs socket closure. My guess is that server is using sockets in non-blocking mode, and does not check return value from SSL_shutdown().