Clearing up the confusion...

Anthony Burow wrote:
> 
> FYI, the dos version (win95, 98, etc) are started in "active" mode and then
> if available are switched to PASV mode
> at the users command prior to any transfers.  PASV mode is not required in
> order to start a session but is required
> when transferring and information back to the client..  ie directory
> listings and files.

*cough* excuse me? As far as I know (and have learned the hard way
long ago), win95/98 command line FTP has no understanding of 
PASV mode FTP. It only supports PORT.

There is however a port of nc-ftp to windows that supports PASV
mode on the command line.

> Your browsers ftp is a PASV mode browser and if the PASV mode capability is
> detected on the FTP server, so you are in all
> likelyhood using passive ftp.

Ah, but this is no longer true as IE5 defaults to PORT. You'll have
to switch to "View FTP as a web page" to get PASV (which ofcourse
goes fly in the face of all current RFC recommendations, but I'm
not surprised, considering where it came from).

> Some FTP clients use port 21 as the source that's why you got through with
> those clients.  It is likely that those clients are
> running in passive mode.

Eh, no. FTP clients do NOT use port 21 as source port. They use
high ports. Most FTP servers however use source port 20 when initiating 
an active mode data connection back to the client (destination port >= 1024).

/Mike

-- 
Mikael Olsson, EnterNet Sweden AB, Box 393, S-891 28 �RNSK�LDSVIK
Phone: +46 (0)660 29 92 00         Direct: +46 (0)660 29 92 05
Mobile: +46 (0)70 66 77 636        Fax: +46 (0)660 122 50
WWW: http://www.enternet.se/       E-mail: [EMAIL PROTECTED]
-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to