ipfstat(8)

NAME
ipfstat - reports on packet filter statistics and filter list

SYNOPSIS
ipfstat [-hIiovd:]

DESCRIPTION

ipfstat examines /dev/kmem using the symbols _fr_flags, _frstats, _filterin, and _filterout. To run and work, it needs to be able to read both /dev/kmem and the kernel itself. The kernel name defaults to /vmunix.

The default behaviour of ipfstat is to retrieve and display the accumulated statistics which have been accumulated over time as the kernel has put packets through the filter.

OPTIONS

-a  display the accounting filter list and show bytes counted against each rule.

-d  use a device other than /dev/ipl for interfacing with the kernel.

-f  show fragment state information (statistics) and held state information (in the kernel) if any is present.

-h  show per-rule the number of times each one scores a "hit". For use in combination with -i.

-i  display the filter list used for the input side of the kernel IP processing.

-I  swap between retrieving "inactive"/"active" filter list details. For use in combination with -i.

-o  display the filter list used for the output side of the kernel IP processing.

-s  show packet/flow state information (statistics) and held state information (in the kernel) if any is present.

-v  turn verbose mode on. Displays more debugging information.

SYNOPSIS
The role of ipfstat is to display current kernel statistics gathered as a result of applying the filters in place (if any) to packets going in and out of the kernel. This is the default operation when no command line parameters are present.

When supplied with either -i or -o, it will retrieve and display the appropriate list of filter rules currently installed and in use by the kernel.

FILES
/dev/kmem /vmunix

SEE ALSO
ipf(1), ipfstat(1)

BUGS
none known.