ConnectPro powered by Wavelink

Host Service

A host service entry defines the connections between the ConnectPro server and the host(s). Use the following format to create a host service entry in the ConnectPro configuration:

hostservice [hostservicename]
connect [ipaddr:port]
ssh [on | off]
ssh-verify [on | off]
timeout [min]
reconnect-string [reconnect-string]
reconnect-buffer [size]
undeliverable [Discard | Abort]
codeset [ASCII | EBCDIC]
stationid-template {regular expression]
translate-tohost [tablename]
translate-fromhost [tablename]

The following table contains detailed information about each parameter in the host service entry.

Parameter

Description

hostservice
[hostservicname]

Specify a name for the host service. The name is used in the ConnectPro user interface and log file. There is a 64 character maximum. This is a required parameter.

connect [ipaddr:port]

Specify the IP address and port of a target host. This is the interface and port number on which the proxy server should connect to the host service, where [ipaddr] is the IP address of the interface and [port] is the port number on that interface.

A DNS name may be used in place of the IP address, but it must be followed by a colon and the port number. Example: app.host.com:1235

This is a required parameter.

ssh [on | off]

Specify either on or off to determine whether ConnectPro uses SSH encryption for the proxy-host session.

ssh-verify [on | off]

Specify either on or off to determine whether to allow Client-host connections when the public key does not match the expected key.

If off is specified, the Client-host connection will be allowed and warning messages will be sent to the Client.

timeout [min]

Specify the amount of time before ConnectPro terminates the proxy-host session. Specify a value of 0 to allow sessions to remain open indefinitely.

This time begins once the Client-proxy connection closes (after the Client timeout expires).

This parameter is optional and will default to 15m.

reconnect-string [string]

A reconnect string requests the last screen data that the host had before the mobile device disconnected. Input a reconnect string or use one you defined in the ConnectPro configuration file. The reconnect string in the host profile takes precedence over the reconnect string in the ConnectPro configuration file.

Requirements for connect strings depend upon the application, but the strings are required in 5250 and 3270 environments. For more information on reconnect strings, see Configuring Reconnect Strings.

reconnect-buffer [size]

Specify a value to determine the maximum amount of host-to-Client data (in bytes) that will be saved when a Client reestablishes a connection with ConnectPro.

This option is only available if no reconnect-string is specified.

undeliverable [DISCARD | ABORT]

Specify either DISCARD or ABORT for sessions with a host connection, but no current Client connection. DISCARD will delete unsolicited outbound data sent by the host application. ABORT will terminate the host connection.

This parameter is optional and will default to DISCARD.

codeset [ASCII | EBCDIC]

Specify ASCII or EBCDIC to determine how ConnectPro searches the application data for a station ID and how it presents capture file records.

Select EBCDIC when using 5250 and the stationid-template.

This parameter defaults to ASCII.

stationid-template [regular expression]

Specify the stationid-template.

The stationid-template extracts the workstation ID from the initial outbound screen buffer of an IBM AS/400 Telnet server session and presents the ID in the active session list, alongside the Client IP address. The search pattern must be in the form of a regular expression containing a single tagged expression.

Example: Display [ .]+:\s+(.+?)[ ]

This is an optional parameter and configured only with the 5250.

translate-tohost [tablename]

ConnectPro provides a simple byte-replacement mechanism for the inbound data stream. To use this feature, you must define one or more mapping tables and reference the tables through the translate-tohost keywords.

For more information, see Translating Table Statements.

This parameter is optional and defaults to No translation.

translate-fromhost [tablename]

Specify the mapping tables for the outbound data stream.

ConnectPro provides a simple byte-replacement mechanism for the outbound data stream. For more information, see Translating Table Statements.

This parameter is optional and defaults to No translation.


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other