On Sunday 14 April 2002 10:53 am, Tony Earnshaw wrote:

> When I do a directory listing, sunsite.dk ("Welcome to PureFTPd 1.0.10",
> twin SPARC Sun Enterprise E3500) tries to open an LS connection from
> ports 2 & 3. O.k., so I open high ports for established connections and
> all works well.
>
> My question is: What are ports 2 & 3 on the FTP server for? Why would
> PureFTPD want to use ports 2 & 3? They're not listed in /etc/services

/etc/services lists destination ports, not source ports.

A machine can use whatever source port it likes for contacting a server - 
it's the destination port number which determines what the service is.

I'll agree, using source ports 2 and 3 seems pretty odd to me, but there's no 
reason why sunsite.dk can't use them if it wants to....


Antony.

Reply via email to