Before You Begin
You have completed How to Set Up a Log File for IP Filter.
You must become an administrator who is assigned the IP Filter Management rights profile. For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
To view a log file, type the following command, using the appropriate option:
# ipmon -o [S|N|I] filename
Displays the state log file.
Displays the NAT log file.
Displays the normal IP log file.
# ipmon -o SNI filename
# pkill ipmon # ipmon -a filename
For more information about viewing log files, see the ipmon(1M) man page.
The following example shows the output from /var/ipmon.log.
# ipmon -o SNI /var/ipmon.log 02/09/2012 15:27:20.606626 net0 @0:1 p 129.146.157.149 -> 129.146.157.145 PR icmp len 20 84 icmp echo/0 IN
or
# pkill ipmon # ipmon -aD /var/ipmon.log 02/09/2012 15:27:20.606626 net0 @0:1 p 129.146.157.149 -> 129.146.157.145 PR icmp len 20 84 icmp echo/0 IN