Printing rule numbers with ipfstat
Tagged:  •    •    •  

The FreeBSD manual about ipmon(8) has flaw which is a bit annoying. This post is just a quick reminder for me in order to report it, so that it can be fixed.

The man page of ipmon(8) describes the fields which are printed in its output. One of these fields has the following texts:

4. The group and rule number of the rule, e.g., @0:17. These can be viewed with ipfstat -n.

However, the ipfstat call is wrong. It doesn't print any rule numbers, but

ipfstat -on

does.