IPFSTAT(8)              OpenBSD System Manager's Manual             IPFSTAT(8)

NAME
     ipfstat - reports on packet filter statistics and filter lists

SYNOPSIS
     ipfstat [-aAfhIinosv] [-d device] [-M core]

DESCRIPTION
     By default, ipfstat displays current kernel statistics gathered as a re-
     sult of applying the filters in place (if any) to packets going through
     the kernel.

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

     The options are as follows:

     -a      Display the accounting filter list and show bytes counted against
             each rule.  Used with -i or -o.

     -A      Display packet authentication statistics.

     -d device
             Use device instead of /dev/ipl for interfacing with the kernel.

     -f      Show fragment state information (statistics) and held state in-
             formation (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 or -o.

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

     -I      Swap between retrieving ``inactive'' and ``active'' filter list
             details. For use in combination with -h.

     -n      Show the rule number for each rule as it is printed.

     -M core
             Extract values associated with the name list from the specified
             core instead of the default /dev/kmem.

     -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.

FILES
     /dev/kmem     default kernel memory
     /dev/ipl      IP packet logging pseudo-device
     /dev/ipstate  IP filter state device

SEE ALSO
     ipftest(1),  ipf(4),  ipl(4),  ipnat(4),  ipf(5),  ipnat(5),  ipf(8),
     ipmon(8),  ipnat(8),

     http://coombs.anu.edu.au/ipfilter/

BUGS
     If you find any, please send email to me at darrenr@pobox.com.


OpenBSD 2.6                      June 13, 1999                               2
