The only changes made to the default configuration are these:
- 1) SSL/TLS support is enabled and a certificate is generated.
2) 1 user ("test") is created, with 1 shared folder (home), containing two directories, download and upload.
Something similar happens in CoreFTP, but not in FileZilla. It also doesn't happen (at all) on non-SSL connections (port 21). During my tests, I've made local connections, but it's the same when other people try to connect to me. There is no router and no firewall.ERROR:> SSL: Error in negotiating SSL connection. The server could be rejecting your certificate.
ERROR:> Failed to establish data socket.
Here's the complete log from CuteFTP Pro:
It doesn't visibly change directory to 'download', though it claims that it "is current directory".STATUS:> Getting listing ""...
STATUS:> Resolving host name localhost...
STATUS:> Host name localhost resolved: ip = 127.0.0.1.
STATUS:> Connecting to FTP server localhost:990 (ip = 127.0.0.1)...
STATUS:> Socket connected. Waiting for welcome message...
STATUS:> Initializing SSL module.
STATUS:> Connected. Exchanging encryption keys...
STATUS:> SSL Connect time: 297 ms.
STATUS:> SSL encrypted session established.
220-FileZilla Server version 0.9.10 beta
220-written by Tim Kosse (Tim.Kosse@gmx.de)
220 Please visit http://sourceforge.net/projects/filezilla/
STATUS:> Connected. Authenticating...
COMMAND:> USER test
331 Password required for test
COMMAND:> PASS *****
230 Logged on
STATUS:> Login successful.
COMMAND:> PWD
257 "/" is current directory.
STATUS:> Home directory: /
COMMAND:> FEAT
211-Features:
MDTM
REST STREAM
SIZE
MLST type*;size*;modify*;
211 End
STATUS:> This site supports features.
STATUS:> This site supports SIZE.
STATUS:> This site can resume broken downloads.
COMMAND:> REST 0
350 Rest supported. Restarting at 0
COMMAND:> PBSZ 0
200 PBSZ=0
COMMAND:> PROT P
200 Protection level set to P
COMMAND:> PASV
227 Entering Passive Mode (127,0,0,1,5,74)
COMMAND:> LIST
STATUS:> Connecting FTP data socket 127.0.0.1:1354...
150 Connection accepted
STATUS:> Connected. Exchanging encryption keys...
STATUS:> SSL Connect time: 31 ms.
STATUS:> SSL encrypted session established.
226 Transfer OK
STATUS:> Directory listing completed.
STATUS:> Getting listing "/download"...
COMMAND:> CWD /download
250 CWD successful. "/download" is current directory.
STATUS:> PWD skipped. Current folder: "/download".
COMMAND:> PASV
227 Entering Passive Mode (127,0,0,1,5,76)
COMMAND:> LIST
STATUS:> Connecting FTP data socket 127.0.0.1:1356...
150 Connection accepted
STATUS:> Connected. Exchanging encryption keys...
ERROR:> SSL: Error in negotiating SSL connection. The server could be rejecting your certificate.
ERROR:> Failed to establish data socket.
226 Transfer OK
COMMAND:> PWD
257 "/download" is current directory.
COMMAND:> PWD
257 "/download" is current directory.
COMMAND:> PASV
227 Entering Passive Mode (127,0,0,1,5,81)
COMMAND:> LIST
STATUS:> Connecting FTP data socket 127.0.0.1:1361...
150 Connection accepted
STATUS:> Connected. Exchanging encryption keys...
ERROR:> SSL: Error in negotiating SSL connection. The server could be rejecting your certificate.
ERROR:> Failed to establish data socket.
226 Transfer OK
COMMAND:> REST 0
350 Rest supported. Restarting at 0
ERROR:> Control connection closed.
Here's the corresponding log from FZ Server:
Any ideas?(000004) 07-10-2005 21:50:19 - (not logged in) (127.0.0.1)> Connected, sending welcome message...
(000004) 07-10-2005 21:50:19 - (not logged in) (127.0.0.1)> 220-FileZilla Server version 0.9.10 beta
(000004) 07-10-2005 21:50:19 - (not logged in) (127.0.0.1)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000004) 07-10-2005 21:50:19 - (not logged in) (127.0.0.1)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000004) 07-10-2005 21:50:19 - (not logged in) (127.0.0.1)> SSL connection established
(000004) 07-10-2005 21:50:20 - (not logged in) (127.0.0.1)> USER test
(000004) 07-10-2005 21:50:20 - (not logged in) (127.0.0.1)> 331 Password required for test
(000004) 07-10-2005 21:50:20 - (not logged in) (127.0.0.1)> PASS
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> 230 Logged on
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> PWD
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> 257 "/" is current directory.
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> FEAT
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> 211-Features:
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> MDTM
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> REST STREAM
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> SIZE
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> MLST type*;size*;modify*;
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> 211 End
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> REST 0
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> 350 Rest supported. Restarting at 0
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> PBSZ 0
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> 200 PBSZ=0
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> PROT P
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> 200 Protection level set to P
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> PASV
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> 227 Entering Passive Mode (127,0,0,1,5,74)
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> LIST
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> 150 Connection accepted
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> SSL connection for data connection established
(000004) 07-10-2005 21:50:20 - test (127.0.0.1)> 226 Transfer OK
(000004) 07-10-2005 21:50:24 - test (127.0.0.1)> CWD /download
(000004) 07-10-2005 21:50:24 - test (127.0.0.1)> 250 CWD successful. "/download" is current directory.
(000004) 07-10-2005 21:50:24 - test (127.0.0.1)> PASV
(000004) 07-10-2005 21:50:24 - test (127.0.0.1)> 227 Entering Passive Mode (127,0,0,1,5,76)
(000004) 07-10-2005 21:50:24 - test (127.0.0.1)> LIST
(000004) 07-10-2005 21:50:24 - test (127.0.0.1)> 150 Connection accepted
(000004) 07-10-2005 21:50:24 - test (127.0.0.1)> 226 Transfer OK
(000004) 07-10-2005 21:50:54 - test (127.0.0.1)> PWD
(000004) 07-10-2005 21:50:54 - test (127.0.0.1)> 257 "/download" is current directory.
(000004) 07-10-2005 21:51:19 - test (127.0.0.1)> PWD
(000004) 07-10-2005 21:51:19 - test (127.0.0.1)> 257 "/download" is current directory.
(000004) 07-10-2005 21:51:38 - test (127.0.0.1)> PASV
(000004) 07-10-2005 21:51:38 - test (127.0.0.1)> 227 Entering Passive Mode (127,0,0,1,5,81)
(000004) 07-10-2005 21:51:38 - test (127.0.0.1)> LIST
(000004) 07-10-2005 21:51:38 - test (127.0.0.1)> 150 Connection accepted
(000004) 07-10-2005 21:51:38 - test (127.0.0.1)> 226 Transfer OK
(000004) 07-10-2005 21:52:02 - test (127.0.0.1)> REST 0
(000004) 07-10-2005 21:52:02 - test (127.0.0.1)> 350 Rest supported. Restarting at 0
(000004) 07-10-2005 21:52:21 - test (127.0.0.1)> 421 No-transfer-time exceeded. Closing control connection.
(000004) 07-10-2005 21:52:21 - test (127.0.0.1)> disconnected.