Configuring AT-TLS policies in the Policy Agent

The Policy Agent component is responsible for implementing policy decisions that control network security and traffic prioritization for the z/OS environment. When initiated, the Policy Agent reads the configuration files, parses the policies, and stores the policy definitions in the TCP/IP stack, which then operates based on the policies. When the policy rule is true, one set of actions is initiated; when it is false, a different set of actions is initiated.

The Policy Agent main configuration file points to other policy files that contain specific policies for TCP/IP images. It can contain a TcpImage statement that identifies the z/OS UNIX file or MVS data set that contains the policy to be received by a stack. On its end, the TCP/IP image policy file can contain a TTLSConfig statement that identifies the z/OS UNIX file or MVS data set that contains the AT-TLS policy.

Types of configuration files

There are several types of configuration files:

Rule conditions for a connection

Within the AT-TLS policy file, a TTLSRule statement defines a set of conditions that are compared against the connection being checked. When a match is found, policy look-up stops, and the connection is assigned the actions associated with the rule.

The rule conditions apply to connect parameters as follows:

Direction and at least one other condition must be specified. The TTLSRule statement can reference up to three action statements. In a simple implementation for AT-TLS, these configuration statements should be defined:

StepsTo start the Policy Agent

  1. You can start the Policy Agent, which runs as a UNIX process, using one of two methods:

    • From the z/OS shell, where its executable resides in /usr/lpp/tcpip/sbin, or

    • As a started task using the PAGENT command on an MVS console. You can find a sample started task procedure for PAGENT in TCPIP.SEZAINST(EZAPAGSP).

    NoteTo start Policy Agent from z/OS, you need security product authorization definition (for RACF or any other product).

Policy Agent search order for configuration file information

The Policy Agent search order for accessing the main configuration file (PAGENT.CONF information) is:

  1. File or data set specified with the -c startup option

  2. File or data set specified with the PAGENT_CONFIG_FILE environment variable

  3. The etc/pagent.conf file

Policy Agent environment variables

These environment variables are used to tailor the Policy Agent to a particular installation:

You might also need to define these: