HP-UX IPFilter Version A.03.05.14 Administrator's Guide
HP-UX IPFilter Utilities
The ipmon Utility
Chapter 5 93
The ipmon Utility
Use the ipmon utility to monitor IPFilter while it is in use.
You can use ipmon to watch the packet log, as created with the log
keyword in the IPFilter rules. ipmon can also monitor the state log, the
NAT log, or any combination of these three. You can run ipmon in the
foreground or as a daemon that logs to syslog or a file.
Syntax
ipmon
<-options>
Options
-a
Opens and reads data from all available log files. Equivalent to -o NSI.
-o [NSI]
Specifies which log file to read data from.
• N—NAT log file
• S—State log file
• I—IPFilter log file
-A
Logs the summary records created for DCA logging.
-r
Prints the summary records to the summary log file and clears the block
count for each limit entry.
-F
Flushes the packet log buffer. Output displays the number of bytes
flushed.
-n
Maps IP addresses and port numbers to host names and services
wherever possible.