>>I think this will depend on whether you are using "active" or
"passive"
>>ftp. With "active" ftp, all data connections are originated from the
>>__server__ to the client, using port 20 on the server. There are no
>>ephemeral ports used. Ephemeral ports are only used for "passive" ftp
>>transfers. That's where an ephermeral port is allocated by the ftp
>>server, which listens on that port, and connected to by the client. Or
>>do I have that backwards again??
>
>Nope, you have it correct.  When using active ftp the server is really 
>the client and the client is really the sever for the actual data 
>transfer connection.  The sever always uses port 20 as the source port 
>and the client side uses ephemeral ports. 

But in passive mode both sides are using ephemeral ports, right? Isn't
passive mode more often used in todays firewalled environments?


Peter Hunkeler
CREDIT SUISSE

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to