Re: Passive sftp?



On Wed, Mar 05, 2008 at 09:03:07AM -0800, Bob Rasmussen wrote:
In the FTP protocol, "passive" means that only one connection is
established, originating in the client. All trafic goes over this
connection. (In non-passive FTP, the server opens a second channel back to
the client.)

Actually, passive mode FTP does use a second channel for data transfers,
but it's opened in the opposite direction from the channel used in active
mode. That is, the FTP server selects a "random" TCP port number, tells
it to the client, and then the client initiates the connection to that port.

Active mode works as you said: the client picks a "random" TCP port number,
listens on it, and tells the FTP server to connect to it. This breaks
rather spectacularly when the client is firewalled preventing incoming
connections, or behind a NAT, etc.



Relevant Pages

  • Re: FTP Server setup... Im so close!
    ... > I have installed the Internet Information Services, etc, and have the FTP ... Your external client is trying to use Passive Mode. ... Since your server is behind NAT, ...
    (microsoft.public.windowsxp.network_web)
  • Re: Microsoft FTP Server problem on W2K?
    ... I have technical responsibility for this FTP implementation, ... Since PASV voids PORT, the client side ... connect to the server from" isn't implied by the text of the RFC. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Configure ISA to allow ISA Server to make external FTP Connect
    ... your Server name and select properties, Installation mode is listed at the ... client, as well as being all three at the same time. ... This means that the workstation has the proxy server details ... Enter the name 'FTP Access', press next twice, from the drop down box ...
    (microsoft.public.isa.configuration)
  • RE: SBS 2003 Premium: how to allow FTP .EXE downloads
    ... Disable the problematic client XP firewall, ... click to check the "Hide All Microsoft Services" ... Is the FTP server on SBS? ... Download the file from the following URL: ...
    (microsoft.public.windows.server.sbs)
  • Re: Telnet/ftp problems SBS2000
    ... | through the server to get internet access everything works. ... | client uses an internet backup company to backup his really vital data, ... I understand that you cannot use ftp service to ... the connection can be established ...
    (microsoft.public.windows.server.sbs)