 |
» |
|
|
 |
NAME ipsec_policy is the IPSec/9000 policy
tester program. SYNOPSIS /usr/sbin/ipsec_policy [-sa src_ip_addr] DESCRIPTION ipsec_policy is an utility program which
allows the Security Administrator to query an active Security Policy
data base kept by the policy daemon to determine which IPSec Policy
and ISAKMP policy will be used for an outbound IP packet based on
an association or 5-tuple entered by the Security Administrator.
The association consists of a source IP address, source port number,
destination IP address, destination port number, and network protocol.
The association can either be entered on the command line or ipsec_policy can
prompt the user for the elements if no elements are entered. If
a command line contains fewer than five elements, then the elements
not entered will be defaulted. ipsec_policy requires the optional IPSec/9000
software. ipsec_policy can only be run by
the root user and is protected by the IPSec/9000 password. The
IPSec/9000 password must be entered from the keyboard (it cannot be
redirected from a file). OPTIONS - -sa src_ip_addr
Specifies the source IP address (src_ip_addr)
of the association. src_ip_addr must be entered
in dot notation. Because ipsec_policy determines
which IPSec policy is used for outbound packets, the source address should
be an address for an interface on the local system. If omitted,
any IP address is assumed.
- -sp src_port
Specifies the source port number (src_port)
of the association. src_port must be an unsigned
number in the range from 1 to 65535. If omitted, any port number is
assumed. If you are making a query for an outbound client-server application
where the client port number can be any user-space port, such as telnet,
you may want to specify a dummy user-space
port number for the source port such as 1024.
- -da dst_ip_addr
Specifies the destination IP address (dst_ip_addr)
of the association. dst_ip_addr must be entered
in dot notation. If omitted, any IP address is assumed. If you are making a query for an outbound client-server application
where the client port number can be any user-space port (such as telnet),
you may want to specify a "dummy" user-space port
number for the destination port such as 1024.
- -dp dst_port
Specifies the destination IP address (dst_port)
of the association. dst_port must be an unsigned
number in the range from 1 to 65535. If omitted, any port number is
assumed. If you are making a query for an outbound client-server application
where the client port number can be any user-space port, such as telnet,
you may want to specify a dummy user-space
port number for the source port such as 1024.
- -p network_protocol
Specifies the network_protocol of the
association. Valid values for network_protocol are
TCP, UDP, ICMP, or IGMP. If omitted, any network protocol is assumed.
EXAMPLES
|