Go Back   The macosxhints Forums > OS X Help Requests > UNIX - Newcomers



Reply
 
Thread Tools Rate Thread Display Modes
Old 05-27-2003, 08:23 AM   #21
gatorparrots
Major Leaguer
 
Join Date: Dec 2002
Posts: 441
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
gatorparrots is offline   Reply With Quote
Old 05-27-2003, 08:28 AM   #22
kerim
Major Leaguer
 
Join Date: Jan 2002
Posts: 311
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.
kerim is offline   Reply With Quote
Old 05-27-2003, 12:04 PM   #23
breen
Major Leaguer
 
Join Date: Jan 2003
Location: Bay Area
Posts: 327
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
breen is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 06:15 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.