port_range_conf

The port_range_conf table defines the available port range configuration(s) for this iProcess Engine, for use with a firewall.

Note 

In pre-10.4 iProcess Engine versions this information was defined in the RNGMODE parameter of the SWDIR\etc\staffcfg file.

Structure

The port_range_conf table has the following structure:

TABLE port_range_conf (
port_range_id INTEGER NOT NULL,
range_mode SMALLINT NOT NULL,
range_size INTEGER NOT NULL,
port_start INTEGER NOT NULL,
rpc_start INTEGER NOT NULL)

Column

Description

port_range_id

Unique ID of this particular port range configuration.

range_mode

Mode used by this port range configuration. One of the following values:

0  No Port or RPC ranging. A process uses the next available port number assigned by the operating system, and an RPC number based on the process ID.
1  Port ranging. A process uses a port number allocated from within the defined range, and an RPC number based on the process ID.
2  RPC ranging. A process uses the next available port number assigned by the operating system, and an RPC number allocated from within the defined range.
3  Port and RPC ranging. A process uses both a port number and an RPC number allocated from within the defined ranges.

range_size

The number of port and RPC numbers allowed in the port number and RPC number ranges.

port_start

The first number in the defined range of port numbers. (The last number = port_start + range_size.)

rpc_start

The first number in the defined range of RPC numbers. (The last number = rpc_start + range_size.)

Primary Key

The following primary key is defined for this table.

Key Name

Column(s)

pk_port_range_conf

port_range_id

Foreign Keys

None.

Indexes

None.

Table Activity

The port_range_conf table contains one row per defined port range configuration.

Rows are added, updated and deleted in the following situations.

A row is...

When...

added

a user defines a new port range configuration using the SWDIR\util\swadm utility.

updated

a user changes an existing port range configuration, that is, either mode, range size or starting port/RPC number is changed, using the SWDIR\util\swadm utility.

deleted

a user deletes an existing port range configuration using the SWDIR\util\swadm utility.