DragonFly users List (threaded) for 2008-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: FTP vs Firefox
Justin C. Sherrill wrote:
On Sun, June 8, 2008 9:23 pm, Sdavtaker wrote:
The firefox ftp://user@ip opens the log window, i insert my nick and
pass waits for a minute or 2 and fails.
You mentioned the FTP server is back on a private IP. If I recall how
this works correctly, the server is trying passive FTP and redirecting the
data flow to a separate, higher port. Login works normally, which is why
you get the dialog for username/password, but the equivalent of a 'ls' is
what Firefox is doing and why it never loads the page. The directory
listing data is what goes out over the data connection that the FTP server
is trying to express on that higher port. That higher port is probably
blocked.
Whatever device is handling the gateway for your private network and doing
the port map back to the original system needs to be set to handle the
random higher port assignment - I don't recall what you wrote is being
used, but look up passive vs. active FTP and there should be something
documented.
Actually the ports got no problem at all, since i can download files and
navigate the directories fine (if using filezilla).
Anyway filezilla shows a msg tell what was wrong, the server replied
with a ip that it doesnt have (at least looking from this side of the
router)
Filezilla msg when start a download:
Response: 227 Entering Passive Mode (192,168,0,100,192,7)
Status: Server sent passive reply with unroutable address. Using
server address instead.
192.168.0.100 is the internal ip of the ftpd. the router is in DMZ so
it just foward all ports to that pc.
The server should reply with the public ip in the PORT msg, but i didnt
find how to do that, i think it can be done with the ftpd.conf advertize
keyword, but ftpd..conf is not readed (i think). I put it in
/etc/ftpd.conf and /usr/pkg/etc/ftpd.conf
Any idea?
Sdav
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]