Page 1 of 1

Unable to display listing on FTPS server

Posted: 18 Jan 2013, 08:39
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

Re: Unable to display listing on FTPS server

Posted: 08 Mar 2013, 14:02
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.