ipmon(8)

NAME
ipmon - monitors /dev/ipl for logged packets

SYNOPSIS
ipmon [-sfN] [<filename>]

DESCRIPTION

ipmon opens /dev/ipl for reading and awaits data to be saved from the packet filter. The binary data read from the device is reprinted in human readable for, however, IP#'s are not mapped back to hostnames, nor are ports mapped back to service names. The output goes to standard output by default or a filename, if given on the command line. Should the -s option be used, output is instead sent to syslogd(8). Messages sent via syslog have the day, month and year removed from the message, but the time (including microseconds), as recorded in the log, is still included.

OPTIONS

-s  Packet information read in will be sent through syslogd rather than saved to a file. The following levels are used:

    LOG_INFO - packets logged using the log keyword as the action rather
        than pass or block.

    LOG_NOTICE - packets logged which are also passed

    LOG_WARNING - packets logged which are also blocked

    LOG_ERR - packets which have been logged and which can be considered
        "short".

-f  Flush the current packet log buffer. The number of bytes flushed is displayed, even should the result be zero.

-N  IP addresses and port numbers will be mapped, where possible, back into hostnames and service names.

DIAGNOSTICS
ipmon expects data that it reads to be consistant with how it should be saved and will abort if it fails an assertion which detects an anomoly in the recorded data.

FILES
/dev/ipl

SEE ALSO
ipf(1), ipfstat(1)

BUGS