Opened 18 years ago

Last modified 11 years ago

#1221 closed Bug report

http://ip.filezilla-project.org/ip.php returns 127.0.0.1

Reported by: fakeman70 Owned by: Tim Kosse
Priority: normal Component: FileZilla Server
Keywords: Cc: fakeman70, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

Change History (5)

comment:1 by Tim Kosse, 18 years ago

It's to prevent misuse. FileZilla is able to get the correct IP address from the script.

comment:2 by fakeman70, 18 years ago

Hmm, thats how I noticed the problem, FileZilla Server was issueing the address 127.0.0.1 to clients, so I tried manual address entry in FileZilla Server, and that worked. Then i tested the ip.php inside Internet Explorer and found where my problem came from. Issued then a bug report.
When using "http://ip.filezilla-project.org/ip.php" the result is this inside the client:

"Response: 200 Type set to A
Command: PASV
Response: 227 Entering Passive Mode (127,0,0,1,233,6)
Command: LIST
Error: Transfer channel can't be opened. Reason: No connection could be made because the target machine actively refused it.
Error: Could not retrieve directory listing
Status: Disconnected from server"

but using a manually entered ipadress i get this instead:

"Command: PWD
Response: 257 "/" is current directory.
Command: TYPE A
Response: 200 Type set to A
Command: PASV
Response: 227 Entering Passive Mode (my,real,ip,address,233,6)
Command: LIST
Response: 150 Connection accepted
Status: SSL connection established
Response: 226 Transfer OK
Status: Directory listing successful"

and everything works.

comment:3 by Tim Kosse, 18 years ago

What version of FileZilla Server are you using?

comment:4 by fakeman70, 18 years ago

0.9.19.0 according to the version tab when looking at the properties of the EXE file. I have recompiled that version to try include a feature that sends logs to a syslog server in realtime, but because i don't really know C(the syslog code base) nor C++, i don't even know if it's done in a optimal way, but it works.

comment:5 by Tim Kosse, 18 years ago

What a waste of time, 0.9.19 is outdated.

Note: See TracTickets for help on using tickets.