Unable to display listing on FTPS server

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Unable to display listing on FTPS server

Post by Jan Rysavy »

proftpd server response:

Code: Select all

Server reply: 425 Unable to build data connection: Operation not permitted
vsftpd server response:

Code: Select all

Server reply: 522 SSL connection failed; session reuse required: see require_ssl_reuse option in vsftpd.conf man page
More about this problem:
http://scarybeastsecurity.blogspot.cz/2 ... eased.html
https://forums.proftpd.org/smf/index.php?topic=4440.0
http://winscp.net/tracker/show_bug.cgi?id=668
http://scary.beasts.org/security/CESA-2008-002.html
http://vincent.bernat.im/en/blog/2011-s ... c5077.html
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1112
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: Unable to display listing on FTPS server

Post by Petr Solin »

I have added support for reusing of SSL session from control connection for all its data connections, so problem is fixed. Some FTP servers (e.g. ftp.altap.cz) forget SSL session from their cache e.g. after five minutes, then it is not possible to reuse SSL session and so it's not possible to open any new data connection. The only solution I have found is to close control connection and open it again, its SSL session is again in server cache and it's possible to open data connections again.

This fix will be available in 3.0 beta 2, we release it this month.
Post Reply