The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   UNIX - Newcomers (http://hintsforums.macworld.com/forumdisplay.php?f=15)
-   -   Setting up FTP users with Sharepoints (http://hintsforums.macworld.com/showthread.php?t=12104)

gatorparrots 05-27-2003 08:23 AM

In my example in the other thread, I showed the flag to send to pure-ftpd in order to specify a passive port range:
Quote:

-p 40000:50000 specifies the port range for passive connections
Then, open that port range on your firewall & router.

More background about passive vs. active FTP here:
http://slacksite.com/other/ftp.html

kerim 05-27-2003 08:28 AM

Thanks. I had stupidly deleted that line of your setup because I didn't understand its purpose!

The link is very informative:

Quote:

FTP is a TCP based service exclusively. There is no UDP component to FTP. FTP is an unusual service in that it utilizes two ports, a 'data' port and a 'command' port (also known as the control port). Traditionally these are port 21 for the command port and port 20 for the data port. The confusion begins however, when we find that depending on the mode, the data port is not always on port 20.
So I see I don't need to open UDP on my firewall for FTP - just TCP.

breen 05-27-2003 12:04 PM

Quote:

Originally posted by gatorparrots
More background about passive vs. active FTP here:
http://slacksite.com/other/ftp.html
Very good -- thanks for the link.
Another one that I like to refer people to -- helpful because it does some hands-on demos that make things really clear -- is:
http://www.freefire.org/articles/ftpexample.php3

Breen


All times are GMT -5. The time now is 10:23 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.