Go Back   FlashFXP Forums > > > >

Bug Reports Report bugs here. (non-beta releases only)

 
 
Thread Tools Display Modes
Old 11-17-2002, 06:08 PM   #1
rainer
Junior Member
 
Join Date: Nov 2002
Posts: 1
Arrow FlashFXP corrupting downloaded files (ProFTPd SSL/TLS server)

FlashFXP 2.0 build 902

FlashFXP is corrupting downloaded files from my ProFTPd server when the file is downloaded over a SSL or TLS connection. It downloads about 80% of the file, but the last bytes are simply gone. It doesn't happen always, but with 90% of the downloaded files. According to my experiences, very small files are not affected. Also, it happens only with DOWNLOADED files over a secure connection. Uploaded files are not affected at all. This problem also doesn't affect directory listings over SSL/TLS.

The server is running:
Linux 2.4.18
ProFTPd 1.2.7rc3

ProFTPd was compiled with:
OpenSSL 0.9.6g
mod_tls 2.0.4
(http://www.castaglia.org/proftpd/modules/mod_tls.html)

I haven't tested with other FTP clients, but this could be a problem with mod_tls ... not sure.

I tried changing the mod_tls related settings, but it didn't solve the problem. The proftpd.conf settings related to mod_tls currently are as follow:

-----------------------
TLSEngine on
TLSLog /usr/local/proftpd/etc/tls.log
TLSOptions NoCertRequest
TLSRandomSeed /usr/local/proftpd/etc/server.rnd
TLSRequired ctrl
TLSCACertificateFile /usr/local/proftpd/etc/ssl/ca.crt
TLSRSACertificateFile /usr/local/proftpd/etc/ssl/server.crt
TLSRSACertificateKeyFile /usr/local/proftpd/etc/ssl/server.key
-----------------------

FlashFXP doesn't report anything unsual when downloading the files, but when the download finishes, last bytes from the file are missing:

-----------------------
TYPE I
200 Type set to I.
PASV
227 Entering Passive Mode (< removed >).
RETR openssh-3.5p1.tar.gz
Negotiating SSL/TLS session...
150 Opening BINARY mode data connection for openssh-3.5p1.tar.gz (851486 bytes)
SSL/TLS negotiation successful...
SSL/TLS connection using cipher EDH-RSA-DES-CBC3-SHA (168 bits)
226 Transfer complete.
Transferred: openssh-3.5p1.tar.gz 831 KB in 34,48 (24,11 KBps)
Transfer queue completed
Transferred 1 file totaling 831 KB in 36,47 (24,11 KBps)
-----------------------

WinZip gives the following error when I try to open the file: "Error: unexpected end of file encountered".

The mod_tls log doesn't report anything unusual:

-----------------------
Nov 17 17:38:08 mod_tls/2.0.4[24898]: TLS/TLS-C requested, starting TLS handshake
Nov 17 17:38:10 mod_tls/2.0.4[24898]: TLSv1/SSLv3 connection accepted, using cipher EDH-RSA-DES-CBC3-SHA (168 bits)
Nov 17 17:38:16 mod_tls/2.0.4[24898]: Protection set to Private
Nov 17 17:38:17 mod_tls/2.0.4[24898]: TLSv1/SSLv3 data connection accepted, using cipher EDH-RSA-DES-CBC3-SHA (168 bits)
-----------------------

Let me know if you need any additional information.

PS: The above message is also being sent to the mod_tls author.

Regards,
Rainer
rainer is offline  
Old 11-17-2002, 11:36 PM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Could you give me a test account so I look into this matter, It would be a big help. You can contact me directly at support@flashfxp.com
bigstar is offline  
Old 11-18-2002, 03:34 PM   #3
analogwerk
Junior Member
 
Join Date: Nov 2002
Posts: 2
Default

I've almost the same configuration here:

Linux 2.4.18-6mdk
Proftpd 1.2.7rc3 with mod_tls 2.0.4 and openssl 0.9.7-beta3
FlashFXP 2.0 build 903

and no problems

here is my proftpd config:

TLSProtocol TLSv1
TLSCACertificateFile /etc/proftpd/ca.crt
TLSEngine on
TLSLog /var/log/proftpd/tls.log
TLSRequired ctrl
TLSRSACertificateFile /etc/proftpd/server.crt
TLSRSACertificateKeyfile /etc/proftpd/server.key
TLSVerifyClient off
analogwerk is offline  
Old 01-04-2004, 05:27 PM   #4
bendoin
Junior Member
 
Join Date: Jan 2004
Posts: 1
Default ProFTPd problems

Hi
I have some experience with ProFTPd and corrupted files.
In some version, I think it was 1.2.5 or something it corrupted all downloaded files, the only solution was to upgrade. But you said it didn´t happen every time and that is strange. Don´t know exactly, but I would upgrade and see what happens.
bendoin is offline  
Old 01-04-2004, 06:12 PM   #5
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

bendoin, you replied to a post that's over a year old.
if rainer still haven't fixed this problem by now, he doesn't care about fixing it.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
 

Tags
connection, file, files, mod_tls, ssl/tls

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sock problem Gip Bug Reports 1 01-26-2003 01:01 PM
site deluser Shorty Bug Reports 1 01-13-2003 09:31 AM


All times are GMT -5. The time now is 07:09 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)