lftp-devel  

SSL connection terminated without SSL shutdown and most files truncated

Andreas Prieß
Sat, 03 Jan 2009 16:11:21 -0800

As reported (and partly fixed) in september, problems with SSL data
connecions persist in version 3.7.7 and even got worse:

For context see list mails with subject
"Bugreport: SSL connection terminated without SSL shutdown"
in september 2008 and Bugreport for Gentoo Linux:
http://bugs.gentoo.org/show_bug.cgi?id=238949

Unfortunately version 3.7.7 does not solve the problem, but introduces
another file corruption bug, as it seems:

Unter the same conditons as before, SSL connections to vsftpd, vsftpd
still reports missing shutdown of SSL connection.

When I try to mirror 6 files each around 15 MB, two things changed:
- Sometimes one or two of 6 files are transmitted correctly, without
vsftpd complaining about missing SSL shutdown. The files without an
error message are ok, but all other files are corrupted.

- With version 3.7.7 most files are corrupted even _without_ parallel
transmission! With version 3.7.4 every file has an unclean SSL shutdown,
but the files sha1 sums are ok. With version 3.7.7 most files are
corrupted. As it seems the files are truncated, missing a few hundred
bytes, so what ever happened to the SSL connection handling, now it got
worse.