Troubleshooting HP-UX IPSec

Troubleshooting Procedures

audit _level can be alert, error, warning, informative, or debug. A selected audit level includes all the lower audit levels.

audit_directory is the fully-qualified path name for the audit directory.

max_size is the maximum size for each audit file, in kilobytes. The range is 1 - 4294967294.

Configuring Startup Audit Parameters

To set the audit parameters used every time HP-UX IPSec starts, modify the startup record in the configuration database by entering a command similar to the following:

ipsec_config add startup [-autoboot ONOFF][-auditlvlaudit_level] [-auditdiraudit_directory]

[-maxsize max_size] ...

audit _level can be alert, error, warning, informative, or debug. A selected audit level includes all the lower audit levels.

audit_directory is the fully-qualified path name for the audit directory.

max_size is the maximum size for each audit file, in kilobytes. The range is 1 - 4294967294.

When you modify startup parameters in the configuration database, the changes do not take effect until the next time HP-UX IPSec starts.

The startup configuration object includes other operating parameters. Any parameters you do not specify are re-set to the default values, including the autoboot flag, which determines if HP-UX IPSec starts automatically at system startup time. To configure HP-UX IPSec to start automatically at system startup time, include the option -autoboot ON in the ipsec_config add startup command.

Viewing Audit Files

You must use the ipsec_report utility to view audit files.

First, determine the current audit file:

ipsec_admin -status

Then use the -auditoption of ipsec_report to display the file:

166

Chapter 5