Re: Active FTP PORT command - port number
- From: Barry Margolin <barmar@xxxxxxxxxxxx>
- Date: Sun, 28 Jan 2007 09:42:26 -0500
In article <1169954472.299107.148130@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
allab@xxxxxxxxxxxx wrote:
Hello All,
The PORT request has a parameter in the form
h1,h2,h3,h4,p1,p2
meaning that the client is listening for connections on TCP port
p1*256+p2 at IP address h1.h2.h3.h4.
Where p1 and p2 numbers are coming from? Are there any ftp
configuration files?
The FTP server normally asks the stack to find an unused port number and
bind the socket to it. It will change from connection to connection.
--
Barry Margolin, barmar@xxxxxxxxxxxx
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
.
- Follow-Ups:
- Re: Active FTP PORT command - port number
- From: allab
- Re: Active FTP PORT command - port number
- References:
- Active FTP PORT command - port number
- From: allab
- Active FTP PORT command - port number
- Prev by Date: Re: tar file names
- Next by Date: Re: Active FTP PORT command - port number
- Previous by thread: Active FTP PORT command - port number
- Next by thread: Re: Active FTP PORT command - port number
- Index(es):
Relevant Pages
|