Log in

View Full Version : Flashfxp Not Using Pasv Ip But Real Ip


Castor__
12-05-2004, 06:00 PM
here's what i have when connection to a drftpd server with flashfxp 3 and starting a transfer :

[L] PRET RETR de_grote_boze_wolf.wmv
[L] 200 OK, will use Gogo2000 for upcoming transfer
[L] PASV
[L] 227 Entering Passive Mode (172,210,XXX,XXX,247,148).
[L] Opening data connection IP: 212.254.XXX.XXX PORT: 63380
[L] Data Socket Error: Connection refused

PASV replies 172,210,XXX,XXX, but flashfxp uses 212.254.XXX.XXX (wich is the real server ip address)

i didn't check the "Site use ip masq/nat..." in the site option.

for info :
-drftp uses PRET so maybe this is a related bug
-the computer from wich i'm connecting is NATed but this shouldn't involve (i think)
-i don't use proxy

so if you have clues.. :confused:

bigstar
12-05-2004, 06:11 PM
I did some tests to try and reproduce this behavior and I was unable to.. I'm not sure why it's using the site-ip if the option is unchecked. I see no reason for it to.

BTW are you using 3.0.2 build 1045?

Castor__
12-06-2004, 03:42 PM
no 1044.. what's the problem with 1045 ?

Linkster
12-06-2004, 03:47 PM
please upgrade to build 1045 and see if the "bug" persists.

Castor__
12-06-2004, 03:52 PM
i have done.. the problem persists :/

zubov
02-18-2005, 04:08 PM
bigstar, I am one of the drftpd developers.

This is actually a problem with your client but occurs because of a misconfiguration of a drftpd server. What happens is that the main server(master) is NAT'd. The user logs into a server that thinks it's IP is 192.168.x.x. On a LIST command FlashFXP realizes that the server is misconfigured and now disregards the server as having any knowlegde about it's own IP. Now when the user requests a PASV command later in the connection, FlashFXP disregards the response by the server because it assumes it is incorrect once again. However, the server is correct because it is now returning an ip of a slave and it is the correct IP for the connection.

Hope this helps!

zubov