FireFTP(Mozilla) cannot LIST files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Mozilla Firefox |
Invalid
|
Medium
|
||
| vsftpd (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
Binary package hint: vsftpd
serverside ubuntu intrepid ibex:
vsftpd (2.0.7-0ubuntu1)
libgnutls-dev (2.4.1-1ubuntu0.2)
clientside: windows xp
FireFTP (Mozilla)
FireFTP is able to login via Auth TLS (best), but cannot LIST files.
Is there a configuration problem or GnuTLS implementation issue?
João Pinto (joaopinto) wrote : | #2 |
On the server install the ftp-ssl package, login to the server with:
ftp -z ssl localhost
If you can login with the plain ftp, it's a FireFTP addon problem, you should follow up from http://
Thanks
Changed in vsftpd: | |
status: | New → Incomplete |
Hi,
I now have tried standard ftp and I am experiencing the same problems, so it is not the ssl part.
I can list files and directories, but not during a file transfer. With gutsy and the same vsftpd configuration i had no problems.
Here is a filezilla log of a standard ftp session. During file transfer the LIST command results in a disconnect from
server. The file transfer however continues and is finally aborted by me.
Status: Resolving IP-Address for dom
Trace: ControlSocket.
Status: Connecting to 192.168.1.67:21...
Status: Connection established, waiting for welcome message...
Trace: CFtpControlSock
Response: 220 Welcome to Exetron's FTP service.
Trace: CFtpControlSock
Command: USER exetron
Status: Connection established, waiting for welcome message...
Trace: CFtpControlSock
Response: 331 Please specify the password.
Trace: CFtpControlSock
Command: PASS ********
Trace: CFtpControlSock
Response: 230 Login successful.
Trace: CFtpControlSock
Command: OPTS UTF8 ON
Trace: CFtpControlSock
Response: 200 Always in UTF8 mode.
Status: Connected
Trace: CFtpControlSock
Trace: CControlSocket:
Status: Retrieving directory listing...
Trace: CFtpControlSock
Trace: CFtpControlSock
Command: PWD
Trace: CFtpControlSock
Response: 257 "/"
Trace: CFtpControlSock
Trace: CControlSocket:
Trace: CFtpControlSock
Trace: CFtpControlSock
Trace: CFtpControlSock
Trace: CControlSocket:
Status: Directory listing successful
Status: Resolving IP-Address for dom
Trace: ControlSocket.
Status: Connecting to 192.168.1.67:21...
Status: Connection established, waiting for welcome message...
Trace: CFtpControlSock
Response: 220 Welcome to Exetron's FTP service.
Trace: CFtpControlSock
Command: USER exetron
Status: Connection established, waiting for welcome message...
Trace: CFtpControlSock
Response: 331 Please specify the password.
Trace: CFtpControlSock
Command: PASS ********
Trace: CFtpControlSock
Response: 230 Login successful.
Trace: CFtpControlSock
Command: OPTS UTF8 ON
Trace: CFtpControlSock
Response: 200 Always in UTF8 mode.
Status: Connected
Trace: CFtpControlSock
Trace: CControlSocket:
Trace: CFtpControlSock
Status: Starting download of /pub/linux/
Trace: CFtpControlSock
Trace: CFtpControlSock
Command: CWD /pub/linux/
Trace: CFtpControlSock
Response: 250 Directory successfully changed.
Trace: CFtpControlSock
Trace: CFtpControlSock
Command: PWD
Trace: CFtpControlSock
Response: 257 "/pub/linux/
Trace: CFtpControlSock
Trace: CControlSocket:
Trace: CFtpControlSock
Hello, i reverted back to FileZilla_
|
#7 |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.04 (hardy) Firefox/3.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.04 (hardy) Firefox/3.0.6
during the past months various FTP servers have changed their behavior how to shut down encrypted connections. this has been inspired by a change in the filezilla ftp client implementation, see http://
vsftpd since version 2.0.7 also changed the way tls connections are closed. since then fireftp, a popular ftp addon for firefox, is awfully slow. this has been reported here: https:/
since fireftp uses the mozilla framework for ssl bugzilla.
from what i've seen the problem is as follows:
# fireftp opens an encrypted connection
# command channel (e.g. authentication or noop) works fine
# when you do a directory listing or file transfer it opens a new data connection using passive ftp
# the server replies with the requested data on the new conncetion and sends a tls close notify
# fireftp simply acks this and waits for more data
# after 5 minutes the server times out and sends a fin/ack packet
# fireftp closes the connection using fin/ack and finally displays the directory / dowloads the file
this means you have to wait 5 minutes for each directory listing or file transfer!
i'll attach an decrypted wireshark screenshot of the data connection
Reproducible: Always
|
#8 |
Created attachment 362167
wireshark screenshot of the data connection
|
#9 |
Does this happen without Fireftp ?
If not: what is Fireftp doing different from the Mozilla ftp implementation ?
Example FTP URL ?
|
#10 |
(In reply to comment #2)
> Does this happen without Fireftp ?
it can't happen without fireftp since firefox only offers a standard (non ftps) client.
> If not: what is Fireftp doing different from the Mozilla ftp implementation ?
don't know, this is what the fireftp maintainer says at https:/
"FireFTP just runs off of the Mozilla APIs as far as sockets and SSL and the
like is concerned. This sounds like something that should be handled at that
level."
> Example FTP URL ?
you could try lnxnt.org, it runs vsftpd 2.0.7 and currently has tls for anonymous users enabled.
|
#11 |
We don't accept extension bugs in bugzilla unless the developer of that addon explains what he is doing. Only with this information a Gecko developer can deceide if the bug is valid. You can't expect that our developers waste their time with digging through every addon that gets reported here and 90% of such issues are bugs in the addon itself.
|
#12 |
Matthias,
I'm the developer of FireFTP. Sorry for not weighing in earlier.
The code in question is here:
http://
Basically, all FireFTP does is, when it comes to SSL sockets:
this.dataTransport = this.transportS
There isn't anything that the extension does beyond that in messing around with the socket. It seems that something underlying in Mozilla's socket code is conflicting with vsftpd patched code.
Is vsftpd at fault or is Mozilla code at fault? I'm not sure - I think a networking engineer at Mozilla might need to take a look.
FWIW, my guess is this bug should be filed under Core->Networking.
|
#13 |
Any new about that bug? I have setup a hosting server based on vsftp and I allow only TLS connections to it. So none of my clients can use fireftp....
Filezilla works nice with it....
Chuck Short (zulcss) wrote : | #6 |
Looks like a client problem.
Changed in vsftpd (Ubuntu): | |
status: | Incomplete → Won't Fix |
|
#14 |
(In reply to comment #5)
> Basically, all FireFTP does is, when it comes to SSL sockets:
> this.dataTransport = this.transportS
> this.host, this.port, proxyInfo);
Why do you force passive mode for TLS/SSL connections?
I think it may work without passive mode, may you have a try?
|
#16 |
I'm watching this bug but I'm not one who could fix this. Somebody from Mozilla needs to look into it.
|
#17 |
Hi, I have also problem with FireFtp connecting to FTP+TLS server. I can provide Mozilla team with FTP+TLS testing account and extensive debugging outputs if required.
|
#18 |
A year ago that bug was reported and documented but:
1- it is still at the UNCONFIRMED state
2- nobody at Mozilla seems to have had a look at it
When will firefox properly implement ftp over ssl/tls? Is it planned?
Changed in firefox: | |
importance: | Unknown → Medium |
status: | Unknown → New |
|
#19 |
November 2012 and this problem is still there with fireftp when using "Auth TLS(Best)"
After the 5min timeout, vsftpd outputs the following error:
522 SSL connection failed; session reuse required: see require_ssl_reuse option in vsftpd.conf man page
421 Data timeout. Reconnect. Sorry.
But I have require_
Almost a year since the last post on this bug, is there any hope of it getting fixed?
|
#20 |
My team is experiencing the same problem, which seems to render fireFTP useless.
Any idea what is keeping this from being fixed?
|
#21 |
This annoying problem still exists
We are in a period where ftp is clearly deprecated and in general, making changes to the code is riskier than letting it ride unless there is a patch and reviewer available to make a good judgment about it. So I'm going to wontfix ftp bugs related to enhancements, interop errors, etc.. We will be better off putting our energy into including a different js based ftp stack.
ignore comment 15 - this bug wasn't supposed to be in that list
Changed in firefox: | |
status: | New → Confirmed |
Bulk change to priority: https:/
FireFTP is no longer supported.
Changed in firefox: | |
status: | Confirmed → Invalid |
libgnutls-dev (2.4.1-1ubuntu0.2) is NOT installed!!!
The used openssl version is 0.9.8g-10.1ubuntu2