Re: Why do i need to use passive transfers?
From: Bargepole (jbhur@hotmail.com)Date: 12/17/01
- Previous message: janus: "Re: Why do i need to use passive transfers?"
- In reply to: janus: "Re: Why do i need to use passive transfers?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Bargepole" <jbhur@hotmail.com> Date: Mon, 17 Dec 2001 18:26:12 GMT
When an FTP server operates in PORT mode ("normal"), it tries to establish a
data connection from its TCP port 20 to a port specified by the FTP client
in the PORT command, usually >1023. The FTP server in PORT mode does not try
to connect to the client's TCP port 20, it connects from its own TCP port 20
to a client's specified ephemeral port.
The reason why PASV mode works so often behind a firewall is that the
firewall is configured to allow any initiating outbound connections. An FTP
client connecting to an FTP server in PASV mode establishes both the control
and data connections, while a server operating in PORT mode needs to
establish the data connection with the client. It's that attempt, from the
server to client to open a data connection, that is often denied.
"janus" <janus_REMOVE_@netcourrier.fr> wrote in message
news:3c1e3456$0$24743$7a628cd7@news.club-internet.fr...
> in normal mode, when you have to download a file, you own PC becomes a
> server and is waiting for connection from the FTP server to your local 20
> port. Thus most firewall will forbid incoming connexion on a "privileged"
> port number (you are not running a FTP server). In PASV mode, it is your
FTP
> client that connects to the FTP server using any port other 1024
(outgoing),
> so it can be allowed to pass through firewall.
>
> hope i was clear.... ;o)
>
> regards
>
> "Rickard Maltesson" <rickard@it.rmgroup.se> a écrit dans le message news:
> 9vk9t1$kqj$1@yggdrasil.utfors.se...
> > Hi, i have a watchguard firewall and a ftp server, when i try toaccess
the
> > ftp server without passive transfers it will not connect, does anyone
know
> > why i need to use passive transfers and what to do about it.
> >
> > Regards
> > Rickard M
> >
> >
>
>
- Next message: Nou Dadoun: "Researching VoIP Security / Looking for IPSec Toolkits for embedded systems"
- Previous message: janus: "Re: Why do i need to use passive transfers?"
- In reply to: janus: "Re: Why do i need to use passive transfers?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|