Solved

Cannot connect to ProFtpd in Passive Mode

Posted on 2006-10-24
3
3,154 Views
Last Modified: 2013-12-23
I am using CoreFTP lite to connect to my FTP server in passive mode and I get something like (I am not behind a firewall):

Connect socket #660 to 66.117.23.50, port 21...
220 ProFTPD 1.2.10 Server (ProFTPD) [66.117.23.50]  
USER ftpuser
331 Password required for ftpuser.  
PASS **********  
230 User ftpuser logged in.  
SYST  
215 UNIX Type: L8  
Keep alive off...
PWD  
257 "/" is current directory.  
PASV  
227 Entering Passive Mode (66,117,23,50,238,146).  
LIST  
Connect socket #652 to 66.117.23.50, port 61074...
timeout
QUIT  

(P.S. Real IP is not being used)

However unchecking passive mode in FTP client allows FTP connections *AND* passive mode connections over SFTP (port 22) do work !

Issue is: I need to enable passive connections over plain FTP (port 21), because I am using a backup script that only works in passive mode.
0
Comment
Question by:agubaira
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:agubaira
ID: 17795895
Passive ports in proftpd are defined like this:

# Port 21 is the standard FTP port.
Port                            21
PassivePorts                    60000 65000
0
 
LVL 43

Accepted Solution

by:
ravenpl earned 250 total points
ID: 17801454
> *AND* passive mode connections over SFTP (port 22) do work !
there's no such thing - really! Even if passv command works - does nothing!
http://slacksite.com/other/ftp.html Here You have explanation how passive works, and what needs to be done on server's side firewall.
You propably have closed (on firewall from server side) all ports above 1024 (or only some are open). You need to open ports beeing used by proftpd as passive listening ports. As agubaira said - You don't have to allow every port >1024 as You can define some range for use by ftpd.
0
 

Author Comment

by:agubaira
ID: 17815546
Thanks for your help ! It was Plesk's firewall blocking those ports.

Antonio
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IPv6 and IPv4 Subnetting scheme 4 78
replacing 2811 to ISR 4331 2 46
VTP servers with 3650 switches 5 46
assignment of laptops - risks 6 85
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question