Serious issue with passive mode FTP

Report bugs or issues with Core FTP Server here
Post Reply
Bugged
Posts: 3
Joined: Sun May 27, 2007 11:29 am

Serious issue with passive mode FTP

Post by Bugged »

I'm trying out your nice Core FTP Server product, and I just found what seems to be a serious issue with passive mode (PASV) in normal FTP server instances.

In the server (domain) setup, you can only specify an IP for the server that is directly bound to the computer's network card. In my (and many other people's) case, I'm behind a NAT (port forwarding) firewall, and in this case the server won't start if I put the external IP of the firewall there (in the logs there will be a message "The socket binding to local port failed").

So, what is the problem then you might ask? Well, it means that no user will be able to do a passive mode FTP transfer to/from the server from the internet, because for all data connections the server will state its local IP (192.168.x.x), and the client will try to access this IP for the data connection, and fail (yes, I saw that you had a special hack for detecting this situation in your Core FTP LE client, but this is not standard FTP, and most clients won't do this, and I cannot force all my users to use your FTP client).

So, what most FTP server software products do is to add an option in the config for a "Passive mode server IP address", which will be the one that is stated in the PASV mode data transfers commands from the server to the client, and I really recommend you doing this too (if you don't have any other good solution to tell me about of course, do you?).

Eagerly awaiting your reply, thanks!
Bugged
Posts: 3
Joined: Sun May 27, 2007 11:29 am

Post by Bugged »

Yes, that is exactly the problem I was referring to, and the solution I suggested! Super, thanks!
Dewnay
Posts: 1
Joined: Thu May 31, 2007 6:42 am

Post by Dewnay »

When can we expect Build 189 to be released? I just purchased the Core FTP Server and this will be a problem for me
ForumAdmin
Site Admin
Posts: 987
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

Bugged
Posts: 3
Joined: Sun May 27, 2007 11:29 am

Post by Bugged »

Super, works great, thanks for the quick fix!
Post Reply