| United States-English |
|
|
|
![]() |
Installing and Administering IPSec/9000 > Chapter 2 Troubleshooting IPSec/9000Advanced Troubleshooting |
|
This section provides an overview of IPSec/9000 operation and troubleshooting scenarios and hints. This subsection provides an overview of IPSec/9000 operation. This information is useful to further troubleshoot IPSec/9000 and analyze the data reported by the IPSec/9000 troubleshooting tools.
Common troubleshooting scenarios, including their symptoms and resolutions, are described below.
If you are still having problems, contact your HP representative. If IPSec/9000 is not using the IPSec policy that you expected, check for errors in the configuration file, such is incorrect IP addresses. Check the order of the IPSec policies--the order affects how IPSec/9000 selects policies (refer to "Configuration Reference, Selecting Policies" in chapter 1, Installing and Configuring IPSec/9000, for more information).
If IPSec/9000 is mis-configured to pass packets that it should authenticate or encrypt, there will be no obvious external symptoms. Check that IPSec/9000 actually established Security Associations (SAs) and is encrypting/authenticating what you want. Check for IPSec/9000 SAs using the following command: ipsec_report -sad If there are no SAs for the IP packets that you expect and no user error, IPSec/9000 is probably mis-configured and passing packets it should not. Again, verify which IPSec policy is being used with the ipsec_policy command. If IPSec/9000 is not using the IPSec policy that you expected, check for errors in the configuration file, such is incorrect IP addresses. Check the order of the IPSec policies--the order affects how IPSec/9000 selects policies (refer to "Configuration Reference, Selecting Policies" in chapter 1, Installing and Configuring IPSec/9000, for more information).
If IPSec/9000 is mis-configured to encrypt and/or authenticate packets that it should not and the peer system is not configured to use IPSec/9000 encryption/authentication, you will consistently get connection errors (unable to connect or connection timed out). Again, verify which IPSec policy is being used with the ipsec_policy command. If IPSec/9000 is not using the IPSec policy that you expected, check for errors in the configuration file, such is incorrect IP addresses. Check the order of the IPSec policies--the order affects how IPSec/9000 selects policies (refer to "Configuration Reference, Selecting Policies" in chapter 1, Installing and Configuring IPSec/9000, for more information).
If IPSec/9000 is configured to encrypt/authenticate but failing, it will appear as a connection error (unable to connect or connection timed out) to the user. If users are consistently getting connection errors for traffic that should use IPSec/9000 for encryption or authentication, check for IPSec/9000 SAs using the following command: ipsec_report -sad Check for ISAKMP SAs using the following command: ipsec_report -mad
If PFS is not enabled and there is no ISAKMP SA to the remote, the ISAKMP SA negotiation is failing. Check the ISAKMP policy with the remote configuration. Check that the Oakley Group (Diffie-Hellman group), hash, encryption and authentication fields match or are acceptable by the remote. Increase the log level to "error." ipsec_admin -auditlvl error If, for example, you receive this audit message, "MM negotiation timeout," there may be a connectivity problem with the remote. Also, if the remote system is the responder, the remote system may not respond to the local system's proposals and cause a timeout. Re-attempt to form the IPSec SAs by generating the appropriate network traffic and check the audit file: ipsec_report -audit audit_file_name (To determine the name of the current audit file, use the command: ipsec_admin -status.) Use ipsec _admin -traceon udp to enable UDP tracing and verify that the packets are being sent and received by the correct system. ISAKMP always uses UDP port 500 to receive and send ISAKMP packets.
If you are using certificate-based primary authentication (RSA signature for ISAKMP primary authentication) check that you have a certificate for the local system in /var/adm/ipsec/certs.text. This file is encoded using IS0 ASN.1 (Abstract Syntax Notation 1) and is best viewed using ipsec_mgr. Check the audit file to see if the IKE daemon is reporting any errors. The remote system's certificate may have expired or be on the Certificate Revocation List (CRL). If you receive this audit message, "No local certificate available," you may need to use ipsec_mgr to be sure that you have loaded a certificate for the local system. Try using pre-shared keys for primary authentication to see if that works. You will need to configure the same pre-shared key on both systems.
Make sure that Directory Services and the Entrust/Manager, listed in the entrust.ini file, can be reached by the local system. Make sure that there are no policy rules interfering with the traffic flow between the HP 9000 system and Directory Services and also between the HP 9000 system and the Entrust Manager. Check the IPSec/9000 GUI to be sure that the CA has been set to Entrust. Check the audit file to see if the IKE daemon is reporting any errors. The remote system's certificate may have expired or be on the Certificate Revocation List (CRL). Try using pre-shared keys for primary authentication to see if that works. You will need to configure the same pre-shared key on both systems. Contact your Entrust administrator. The Entrust administrator should check that the necessary Entrust components are running. Check that you have the Entrust Engine Library (libEntrust) installed on the local system. By default IPSec/9000 searches for this file under /usr/local/lib and SHLIB_PATH. Refer in Step 5A in chapter one for more Entrust information.
If you are using pre-shared keys for primary authentication, check that the pre-shared key value is the same on both systems. IPSec/9000 uses ASCII while other vendors may use hexadecimal. If you receive this audit message, "No preshared key for remote host," you may need to use ipsec_mgr to be sure that a pre-shared key is configured for the remote.
When responding, the non-HP-UX system must have lifetime values that fall within the HP-UX IPSec/9000 maximum and minimum ranges for the both the IPSec SA and the ISAKMP SA. If the ISAKMP SA is being established with the remote system but no IPSec SAs are created, check that the transform list contains a transform that is acceptable by the remote system. Check the lifetimes for the transform(s) and check that they are acceptable by the remote system. Check the audit file for errors logged by the IKE daemon. To verify if an ISAKMP SA is being established, increase the log level to "error." ipsec_admin -auditlvl error Generate traffic to form an IPSec SA and check the audit file: ipsec_report -audit audit_file_name (To determine the name of the current audit file, use the command ipsec_admin -status.) Check which IPSec policy is being used for the IP packets using the ipsec_policy utility (described above). If, for example, you receive this audit message, "QM negotiation timeout, mess ID," there may be a transform proposal mismatch. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||