Troubleshooting HP-UX IPSec

Troubleshooting Scenarios

HP-UX IPSec Incorrectly Attempts toEncrypt/Authenticate Packets

Problem

IPSec is attempting to encrypt or authenticate (apply a transform) packets that should not be encrypted or authenticated.

Symptoms

Link errors (unable to connect or connection timeouts) on traffic that should not be encrypted/authenticated.

Solution

Run the following commands:

ping, linkloop (check connectivity)

ipsec_policy or ipsec_report -cacheand ipsec_report -host(determine the policy being used)

Check the configuration file.

If HP-UX IPSec is misconfigured to encrypt and/or authenticate packets that it should not and the peer system is not configured to use HP-UX IPSec encryption/authentication, you will consistently get connection errors (unable to connect or connection timed out).

Check connectivity to the remote system using /etc/ping and the linkloop utilities.

Verify which IPSec policy is being used with the ipsec_policy command and check the configuration file.

HP-UX IPSec Attempts to Encrypt/Authenticate and Fails

Problem

IPSec attempts to encrypt/authenticate packets and fails.

172

Chapter 5