CFTNET - Network resources

You can use the CFTNET command to define a network access resource. The available CFTNET network is:

The example below is not an actual Transfer CFT command. It lists the parameters which are common to all the network access methods.

The CFTNET TYPE = xxx commands are explained in the following Network resources topics.

Related topics

Command parameters

Parameters Description

CALL

Call direction possible through this network resource.

CLASS

Logical class for the physical link.

ID

Network resource identifier.

MAXCNX 

Maximum number of simultaneous connections that Transfer CFT will accept to establish on this network resource.

TYPE 

Defines the type of network resource.

Defining TCP/IP

This topic describes how to define the TCP/IP network resources object. The CFTNET object for the TCP/IP type allows CFT to identify itself to the TCP/IP access method Internet resource.

There can only be one resource for the TCP/IP type. However, you can define a proxy type remote resource, linked to the local resource, that allows access to another network.

Some parameters are common to all the CFTNET objects. These additional parameters are not explained in this topic, but can be found in the generic Defining network resources topic.

TYPE =  TCP

Description

Use this command to identify itself to the TCP/IP access method - Internet resource.

Parameters

CLASS

Class associated with this network resource.

This concept is used to group resources of the same type, so that they can be used indifferently to establish connections with partners.

HIGHPORT

Defines the upper limit for the range of outgoing ports (value included).

HOST 

IP address of the local resource.

LOWPORT

Defines the lower limit for the range of outgoing ports, value included.

MAXCNX

The maximum number of simultaneous connections that Transfer CFT accepts to establish on a given network resource.

CALL

Call direction possible through this network resource.

Example

CFTNET     MODE          =     CREATE,

     ID          =     TCP00,

     TYPE          =     TCP,

     HOST          =     localhost,

     MAXCNX     =     6,

     CALL          =     INOUT

Defines a resource on the "LOCALHOST" node, which corresponds to the TCP/IP declaration of the local node. 6 simultaneous connections may be opened. This resource accepts connections in both directions.

Defining remote TCP

Access to a telecommunications network is defined by a CFTNET object. Generally speaking, the resource used to access this network is local to the system. A proxy is used to access a telecommunications network via another network. It is considered to be a remote resource. This section describes how to define the remote TCP network resource.

Access to a telecommunications network via another network, remote access,  is defined by a:

  • CFTNET object describing access to the first network via a local resource
  • CFTNET object describing access to the second network via a remote resource - in this case, a proxy

The CFTNET object parameters vary, depending on whether the resource is local or remote. For a local resource, the parameters remain unchanged. For a remote resource, the parameters depend on the type of resource.

The HOST parameter is used only for incoming calls. For each CFTPROT protocol definition on a CFTNET TCP/IP resource, only TCP connection requests from interfaces matching the HOST parameter, and also matching the bound port number, are accepted.

The keyword INADDR_ANY that is assigned to the CFTNET card HOST parameter has a specific meaning. TCP connection request from all interfaces and matching the bound port number are accepted.

Description

Use this command to access to a telecommunications network via another network.

Parameters

CLASS

Class associated with this network resource.

ID

Identifier of the network accessed via a proxy.

TYPE = TCP

The type of network accessed via a proxy.

INET

Identifier of the CFTNET command defining access to the first network.

PROTOCOL 

The proxy dialog protocol. Transfer CFT supports SOCKS4 and SOCKS5.

HOST 

Addresses of the proxies in the first network, with up to four proxies in the same first network.

PORT 

Listening port of the proxy/proxies in the first network.

MAXCNX

Maximum number of concurrent connections that Transfer CFT will establish with the proxy/proxies.

USER

User name transmitted in the connection request addressed to the proxy.

This parameter is case-sensitive. By default, it is set to the value of the user name in which Transfer CFT is being run.

For an example and proxy details, see Transfers via a Proxy and SOCKS protocol .

Related Links