Closed Bug 70444 Opened 25 years ago Closed 24 years ago

[RFE] support for FTP servers that cant do passive transfers

Categories

(Core Graveyard :: Networking: FTP, enhancement)

x86
Other
enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 73427
Future

People

(Reporter: hramrach, Assigned: bbaetz)

References

Details

(Keywords: helpwanted, qawanted)

Attachments

(2 files)

I'm unable to login when FTP server requies password. Using Mozilla 0.8 on Windows98 and 0.7 on Linux. This may depend on the type of FTP server as all FTP servers I use probably run on Novell. To reproduce: 1) type ftp://yourname@ftpserver.somewhere as the location an hit enter 2) password dialog appears -> enter your password Result: mozilla locks and does'n repaint (on Windows). After some time eventually a dialog appears that login failed or nothing happens and mozilla happily continues with previous page. Sometimes I get impatient (when waiting more than ten seconds for the browser to react in any way) and kill the browser. Expected: other browser windows should be usable while connecting, the listing of files on the server should appear after a few seconds.
With linux build 2001-02-27-21 I see no freeze (likely due to the recent ftp networking changes), but I also get no file listing. The proper home directory is shown in the url bar and the throbber is throbbing... hitting Esc or Stop leaves me with a blank ftp screen.
With 2001-02-28-21 I get the same except the throbber stops as soon as I enter the password. I don't get an empty page after entering the password. The previous page is still displayed(but it is blank when I open a separate window for testing this).
With 0.8.1 (win NT 4.0 SP 5) I get the same problem. After entering the password the old page is displayed and the throbber is throbbing ...
with 2001-04-24-21 I get "Command not understood" dialog when trying to log in to a FTP server.
I forgot to mention I tested on Linux.
Marking NEW based on confirmation.
Status: UNCONFIRMED → NEW
Ever confirmed: true
This works for me. I tried both a local ftp server which requires an logon, as well as an internal server. Please try again with today's build and reopen if is bug still present.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
The same with 2001-05-01-21 on Linux: Command not understood. It works with localhost but doesn't work with remote NetWare server..
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
what ftp server are you trying to connect to? barbora.ms.mff.cuni.cz does not have anonymous users so I can really do anything with it.
a) It's about connecting to non-anonymous account. Anonymous access seems to work well. b) I can't give you access to that server (barbora). Is there anyone who could test with another NetWare server (I beleive it's NW5). c) There probably is some bug in Mozilla's networking (or it's incompatible with a common bug found on some servers). I checked with another FTP client that the server is working correctly.
Summary: Unable to login to ftp server → Unable to login to NetWare NW5 ftp server non-anonymous
Target Milestone: --- → mozilla0.9.1
20001-05-06-20 Win Now I get message "Connection refused" even before I am asked for password. milada.troja.mff.cuni.cz details (another NW server, I'm currently near enough to get exact info): NetWare Version: Novell NetWare 4.11 OS Revision: August 22, 1996 FTP Server for NW 3.1x, 4.xx (v1.10), (c) 1994 HellSoft.
Summary: Unable to login to NetWare NW5 ftp server non-anonymous → Unable to login to NetWare NW4 ftp server non-anonymous
With 2001-05-08-20 Win98 it's impossible to get listing of ftp://wuarchive.wustl.edu while ftp://wuarchive.wustl.edu/ works fine (note the slash - you have to specify a dir). There's a particularly broken server at watsun.cc.columbia.edu. I didn't get the listing with most clients, but I found a particularly broken client (WinQVT/Net v3.9)which displayed it. I don't think it's Mozilla's problem when it doesn't display listings from this server, it just would be a nice feature.
On ftp://simtel.net/ you don't get any listing even with the slash, but ftp://simtel.net/pub/ works. ftp://wuarchive.wustl.edu seems to work now.
hranrach, please lets not confuse bugs. I don't think the last problem regarding loading ftp://simtelnet.net is the same as this. The simtelnet server is just not sending ANY data on the data connection when we request a LIST of /.
Keywords: qawanted
Whiteboard: need a NetWare NW4 ftp server
Keywords: helpwanted
Target Milestone: mozilla0.9.1 → Future
If someone does not get control of a server of this type, then we need to do some kind of trace of this session or perform further isolation. hramrach, if I give you an account on my ftp proxy server, can you try to connect via it?
If it wasn't clear enough: OK, could try that but possibly need some additional info about using ftp proxy account with Mozilla.
reassigning to bbaetz@cs.mcgill.ca.
Assignee: dougt → bbaetz
Status: REOPENED → NEW
Blocks: 101002
reporter, is this still the case on a current build?
With 0.9.4 the main problem persists: I cant login to our NW4 FTP server. It forbids anonymous access. If I try as anonymous (ftp://barbora.ms.mff.cuni.cz) I get "Login fialed, check password" in a dialog. If I try as myself (ftp://msuc8339@barbora.ms.mff.cuni.cz) I am prompted for password, and get "Command not understood" in a dialog. I should get either Login Failed or directory listing.
Can you try a recent nightly? (today's won't submit forms, so don't delete your old browser...) The fix for bug 99233 may have helped - it fixed lots of other wierd, impossible ftp failures :)
QA Contact: tever → benc
we need to figure this out. Can someone who has ftp access to a server of this type paste in the results of ftp via linecommand? +makingtest - we need to put this on the list of servers to test.
Summary: Unable to login to NetWare NW4 ftp server non-anonymous → ftp - Unable to login to NetWare NW4 ftp server
I didn't try the new patch but I tried a ftp client capable of communication debugging. From the output in attachment it is obvious that the server sends bogus 502 response from which most clients can recover.
Looked at two similar bugs (99233 & 92582). Suggest integrated database of FTP server bugs (similar to browser bug database in Apache sample config) :-)
I'm working on aggregating the ftp bugs into something like the way PAC is organized. Each type of connectivity problem is a bug, then individual sites will be linked into them more cleanly, so the bugzilla searches are more readable.
Well, I tried tcpdump and it seems this (NW4) server doesnt support passive mode. Am I right (output will be attached)? Is there any possibility that Mozilla will support active(?non-passive or what) mode in near future?
Summary: ftp - Unable to login to NetWare NW4 ftp server → [RFE] support for FTP servers that cant do passive transfers
Whiteboard: need a NetWare NW4 ftp server
Attached file end of tcpdump output
all "[RFE]Port (Active)" bugs are marked wontfix. (bug 73427) See http://cr.yp.to/ftp/security.html for security problems with active transfer
Depends on: 73427
Hmm, I know that FTP is unsafe and I considered this server unsafe once I discovered the only way to get files ot and from there is over FTP. But it is the only way and the admin refuses to even upgrade the server to a newer one (I even doubt that any compatible exists). So the question is if I can use Mozilla or if I have to switch to another client which supports this unasfe PORT command. It is over a relatively private network anyway - the server is located one floor below the client;-) The solution I would like would be to selectively enable PORT for selected servers (like cookie servers), warning the user about the security issues. The reason for this bug to live for so long before the real problem was discovered is that mozilla doesnt generate very descripticve error messages and until recently I was not able to see the real communication with the server. This issue I reported as bug 119870
this should be duped against bug 73427
*** This bug has been marked as a duplicate of 73427 ***
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
No longer depends on: 73427
VERIFIED: same problem. cleared URL b/c it says "connection refused" when I try it.
Status: RESOLVED → VERIFIED
[RFE] is deprecated in favor of severity: enhancement. They have the same meaning.
Severity: normal → enhancement
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: