Some questions

From: André Hallé (andre.halle_at_sympatico.ca)
Date: 06/02/03


Date: Mon, 2 Jun 2003 07:10:23 -0700

Firstly i must thanks you for the time you spent to give me some explanation
using my ftp software behind my router.
But i'm a newbie in this, and i want to simplify and understand some of the
terms you use in your mail

According to FTP protocol, to download/upload, one of PORT and PASS is
----------------------------------------------------------
What is PASS ?
----------------------------------------------------------
issued to server by the client. For example, server listens at m/TCP for
ftp.
--------------------------------------------------------
 m/TCP i don't know the meaning of m and on the base of TCP what is the ip ?
my very own ip like 64.228.93,110 for example or a local IP like
192.168.0.101 ?
---------------------------------------------------------
1. When PORT is used:
    client issues : PORT A1,A2,A3,A4,P1,P2\r\n to tell server which
IP address and port client listens for the data channel. Then server bind
(m-1)/tcp, and connects to where client tells it.

----------------------------------------------------------
PORT A1, A2, P1, P2 means all kind of ports like 21-22
or specifics ports some define like an A others defined like a P ?

What is r and what is n ? m-1 ?

----------------------------------------------------------

2. When PASS is used, which is called passive mode:
    client issues: PASS\r\n to server. Server opens a TCP port, and
sends a response which contains server'IP and the newly-opened port to
client. Client then opens a dynamic TCP port, and connects to server.

----------------------------------------------------------
Can you give me a command line used in a browser to explain me what is the
definition of PASS\r\n. Again r and n is not very clear for me.
----------------------------------------------------------

I suggest that you use a command line utilitie which tells you why fails,
what commands are issued, and what responses are received from server.

____________________________________________
Do you have some suggestion to give me on this kind of utilities ? I'm on
Windows 2000, and when you refer as command line i pretend that these are
command lines use in dos mode ?
____________________________________________

Our firewall called ITShield firewall provides powerful ftp proxy:

----------------------------------------------------------
Do i need a proxy server too to run FTP. I'm on a stand alone base, i mean
i'm not on a network. The first use of my router was to protect my PC of bad
intrusion.
----------------------------------------------------------

1. Firewall can listens on any tcp port for ftp, and redirect to any port
where the real ftp server listens;
2. You can disbale ls, put, dele, mkdir commands. You can create a
ls-disabled ftp server so that no one know what are restored on the ftp
server unless you tell him.
3. You can create a hidden directory. Everything under that directory can
not be seen.

Regards,

Ida

----------------------------------------------------------
Thanks Ida, and if you have some more moment, i would really like to have an
email from you explaining to me what's the meaning of some keys you use in
this message.

Regards

André
----------------------------------------------------------



Relevant Pages

  • RE: Cant get connected
    ... > I know their is something wrong with the way the server is set up but i ... > I have checket that IIS is installed and FTP components and the FTP ... the IP address and port parameters of the PORT command. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Two problems
    ... > Had this been plain telnet or SSH or anything but FTP it ... You could move the FTP server to port 2000 and ... FTP uses a command connection and any number of data connections. ... the server responds to a PASV command with a reply that says ...
    (comp.lang.pascal.delphi.misc)
  • Re: FTP Error 426
    ... This command tells the server to abort the previous FTP ... Out-of-band data may be used for whatever purpose an application may have for it. ...
    (bit.listserv.ibm-main)
  • 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: Some questions
    ... > using my ftp software behind my router. ... > issued to server by the client. ... When PORT is used: ... > Can you give me a command line used in a browser to explain me what is the ...
    (comp.security.firewalls)