Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#5547 closed Bug report (invalid)

SSL Explicit Connection - Ignores Passive Mode Settings

Reported by: Matthew1471! Owned by:
Priority: high Component: FileZilla Server
Keywords: filezilla, encryption, port, NAT, IP, host, ports, passive, active Cc:
Component version: Operating system type: Windows
Operating system version: Windows Server 2003

Description

Hello!

FileZilla Server 0.9.36

Listen Port: 21
IP Bindings: *
Passive mode settings: Tried Default, Use the following IP (hostname), Use the following IP (IP address), Retrieve external IP address from.
Don't use external IP for local connections : True
Use custom port range: 5000 - 5010

Client set to "SSL Explicit Encryption" port 21.

Client connects:

(000007)22/08/2010 12:25:39 - user (xx.xx.xxx.xx)> 200 Protection level set to P
(000007)22/08/2010 12:25:39 - user (xx.xx.xxx.xx)> PWD
(000007)22/08/2010 12:25:39 - user (xx.xx.xxx.xx)> 257 "/" is current directory.
(000007)22/08/2010 12:25:39 - user (xx.xx.xxx.xx)> TYPE A
(000007)22/08/2010 12:25:39 - user (xx.xx.xxx.xx)> 200 Type set to A
(000007)22/08/2010 12:25:39 - user (xx.xx.xxx.xx)> PORT 192,168,1,2,41,63
(000007)22/08/2010 12:25:39 - user (xx.xx.xxx.xx)> 200 Port command successful
(000007)22/08/2010 12:25:40 - user (xx.xx.xxx.xx)> LIST -a
(000007)22/08/2010 12:25:40 - user (xx.xx.xxx.xx)> 150 Opening data channel for directory list.
(000007)22/08/2010 12:25:50 - user (xx.xx.xxx.xx)> 425 Can't open data connection.
(000007)22/08/2010 12:25:50 - user (xx.xx.xxx.xx)> TYPE A
(000007)22/08/2010 12:25:50 - user (xx.xx.xxx.xx)> 200 Type set to A
(000007)22/08/2010 12:25:50 - user (xx.xx.xxx.xx)> PORT 192,168,1,2,41,74
(000007)22/08/2010 12:25:50 - user (xx.xx.xxx.xx)> 200 Port command successful
(000007)22/08/2010 12:25:50 - user (xx.xx.xxx.xx)> LIST
(000007)22/08/2010 12:25:50 - user (xx.xx.xxx.xx)> 150 Opening data channel for directory list.
(000007)22/08/2010 12:26:01 - user (xx.xx.xxx.xx)> 425 Can't open data connection.

Client reports:

Error listing directory '/'.

"The server cannot open connection in active mode. If the problem persists, consider switching to passive mode.
Could not retrieve directory listing
Can't open data connection."

If client explicitly requests passive, connection proceeds as normal and directory listing is displayed.

From the log it appears the client is being given the IP 192.168.1.2 to connect to (the server's internal IP), despite FileZilla Server being told it should use the external IP. Manipulating the Passive Mode IP settings makes no difference.

Installed Visual C++ 2010 Express and also installed the source from the installer and could not find Gftp project or the readme.txt, the source therefore appears incomplete. Is the source on SVN?

Change History (1)

comment:1 by Matthew1471!, 14 years ago

Resolution: invalid
Status: newclosed

Sorry realised I was being an idiot and did not realise how FTP PASV actually worked.

Note: See TracTickets for help on using tickets.