source: TI05-delivery/trunk/src/bbftp-client-3.2.0/doc/ports @ 773

Subversion URL:
Revision 773, 1.4 KB checked in by spascoe, 14 years ago (diff)

Initial import of bbftp source

2    Control connection
4   In the standard mode, the control connection is initiated by the
5   client. The connection is required on port 5021 on the server side.
6   This port can be changed at compile-time (#define CONTROLPORT in
7   includes/config.h) or/and at run-time (option -w). If the server port
8   is not the default one (5021), a client which want to connect to this
9   server must specify the port (option -w).
10   In the SSH mode, the server listens on port std+1 (ie 5022 by
11   default). It cannot be changed at run-time.
13    Data connection
15   Whereas the FTP protocol implements one data connection only, BBFTP
16   opens multiple data connections depending on the number of streams
17   required (client option -p and server option -m).
18     * Passive mode (client 3 against server 3 only)
19       The server listens on ephemeral ports which are sent to the
20       client. These ports can be chosen in a range defined at
21       compile-time or at run-time.
22     * Non-passive mode (other configurations)
23       The server initiates the data connection(s) after the client has
24       sent him its private IP address and the listening port(s).
25       This(these) port(s) is(are) ephemeral ports (>1023). (it is
26       possible to define a range of ports when starting the client using
27       the -D option) The server can then establish the connection(s) to
28       the specified port(s) from its port std-1 (ie 5020 by default).
Note: See TracBrowser for help on using the repository browser.