Solved

proftpd/internet explorer 'getting contents of folder' timeout error

Posted on 2004-05-03
3
2,414 Views
Last Modified: 2010-05-18
When someone tries to connect to my ftp server using internet explorer it times out with 'getting contents of folder'

using the ftp command from dos doesn't show any problems (proftpd asks for username and password and allows the user to log in and use any available ftp commands).  Only change that has been made since the time it worked is putting the ftpserver behind a linksys router.  From the router, ports 20 and 21(tcp and udp) are forwarded to the ftpserver.

The proftp logs show successful connections and nothing more.
0
Comment
Question by:Albert1809
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
Comment Utility
That sounds like IE trying to use PASV mode and ProFTPD & your Linksys aren't configured to allow that. What you'll want to do is to configure ProFTPD to use a limited range of the ephemeral TCP ports, say 50000-65535, and configure the Linksys to forward that port range to your FTP server. To limit ProFTPD's PASV port range you'll need to include something like:

PassivePorts 50000 65535

in the global section.
0
 
LVL 1

Author Comment

by:Albert1809
Comment Utility
jlevie,

Your suggestion combined with the addition of 'MasqueradeAddress xxx.xxx.xxx.xxx' into proftpd.conf (http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-NAT.txt) worked.

Thanks for your help.
0
 

Expert Comment

by:Robert137
Comment Utility
So I added this to my proftpd.conf file, then changed the firewall.

# Restrict the range of ports from which the server will select when sent the
# PASV command from a client. Use IANA-registered ephemeral port range of
# 49152-65534
PassivePorts 49152 65534
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now