| United States-English |
|
|
|
![]() |
Installing and Administering IPSec/9000 > Chapter 2 Troubleshooting IPSec/9000Troubleshooting 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 IPSec/9000 auditing. IPSec/9000 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 IPSec/9000 activity even if there is no peer system running IPSec/9000. It will:
If you are unsure whether an application problem is being caused by IPSec/9000, you can still enable layer 4 (TCP, UDP, IGMP) tracing. This will capture outbound data packets before they are encrypted by IPSec/9000 and inbound packets after they are de-crypted by IPSec/9000. Because layer 4 tracing provides a possible security breach, it is disabled when IPSec/9000 is started and can only be enabled using the ipsec_admin utility, which requires root capability and the IPSec/9000 Administrator's 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, you first want to determine which policy would be used for outbound telnet requests to 15.2.2.2, you would use the following command: ipsec_policy -sa 15.1.1.1 -sp 1024 -da 15.2.2.2 -dp 23 -p tcp Next, to determine which policy would be used for inbound telnet requests to 15.1.1.1 from system 15.2.2.2, you could use the following command: ipsec_policy -sa 15.1.1.1 -sp 23 -da 15.2.2.2 -dp 1024 -p tcp 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 IPSec/9000 audit trail security activity.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||