| United States-English |
|
|
|
![]() |
HP-UX IPSec version A.01.06 Administrator's Guide: HP-UX 11i Version 2 > Chapter 5 Troubleshooting HP-UX
IPSecTroubleshooting Hints |
|
Procedures to obtain basic troubleshooting information are shown below. These procedures include a status check using the ipsec_admin and ipsec_report commands, isolating upper-layer problems, checking the policy configuration, and configuring HP-UX IPSec auditing. HP-UX IPSec has five main modules:
The following command verifies the status of these modules: ipsec_admin -status This command sends status check messages to the IPSec daemons and checks kernel parameters to see if the kernel IPSec components are enabled. You can also use the following command to get status information: ipsec_report -all This command will show some HP-UX IPSec activity even if there is no peer system running HP-UX IPSec. It will:
If you are unsure whether an application problem is being caused by HP-UX IPSec, you can still enable layer 4 (TCP, UDP, IGMP) tracing. This will capture outbound data packets before they are encrypted by HP-UX IPSec and inbound packets after they are decrypted by HP-UX IPSec. Because layer 4 tracing provides a possible security breach, it is disabled when HP-UX IPSec is started and can only be enabled using the ipsec_admin utility, which requires root capability and the HP-UX IPSec administrator password. To enable layer 4 tracing, use the following command: ipsec_admin -traceon [ tcp | udp | igmp | all ] Tracing output will go to /var/adm/ipsec/nettl.TRC0 and /var/adm/ipsec/nettl.TRC1 if nettl tracing is not already enabled. If it is, the trace files will be those already in use by nettl. You can use the ipsec_policy command to check which IPSec policy will be used for a given outbound packet. For example, on system 15.1.1.1, first determine which policy would be used for outbound telnet requests to 15.2.2.2. Use the following command: ipsec_policy -sa 15.1.1.1 -sp 1024 -da 15.2.2.2 -dp 23 Next, determine which policy would be used for inbound telnet requests to 15.1.1.1 from system 15.2.2.2. Use the following command: ipsec_policy -sa 15.1.1.1 -sp 23 -da 15.2.2.2 -dp 1024 Note that since ipsec_policy can only be used for outbound packets, the source IP address (-sa) in both examples is the address of the system on which the administrator is executing ipsec_policy (15.1.1.1). Refer to the ipsec_policy(1M) man page.
Follow the steps below to record HP-UX IPSec audit trail security activity.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||