Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 1996 22:00:03 +0200 (MET DST)
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        ports@FreeBSD.ORG (FreeBSD's ports list)
Subject:   Re: How to avoid passive mode ftp?
Message-ID:  <199604142000.WAA01214@keltia.freenix.fr>
In-Reply-To: <199604141212.OAA04771@uriah.heep.sax.de> from J Wunsch at "Apr 14, 96 02:12:14 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
It seems that J Wunsch said:
> I think it's not only that it was ``high range'', but i'm pretty sure
> that the port on my side was the *server* port.

Wait a minute. I  must have missed something...  How  can the port  on your
side be the *server* port ?

By my definitions, we have

Active FTP is (HR = high range port, UNP = unprivilegied port):

    client                                        server
     UNP ---------------------------------------> 21
    send a PORT with port # (1)
 The port in (1) <------------------------------- 20

The port in (1) will be a HR if the client is a FreeBSD standard ftp/ncftp.

and passive FTP:

    client                                         server
     UNP #1 --------------------------------------> 21
     send a PASV
                                             Answer with port # (2)
     UNP #2 --------------------------------------> The port in (2)

The port in (2) will be a HR if the server is a FreeBSD standard ftpd.
-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 2.2-CURRENT #11: Tue Apr  9 20:14:48 MET DST 1996



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604142000.WAA01214>