I'd welcome feedback on how the statistics should be presented.
There are a lot more of them, as you can see below...
Darren
# ipfstat
0 input bad packets
0 input IPv6 packets
0 input packets blocked
3504 input packets passed
2241 input packets not matched
0 input packets counted
0 input packets short
0 input packets logged and blocked
0 input packets logged and passed
0 input packets logged
0 input log failures
0 input fragment state kept
0 input fragment state lost
0 input packet state kept
0 input packet state lost
0 input invalid source
1263 input cache hits
2241 input cache misses
0 input pullups succeeded
0 input pullups failed
0 input TCP checksum failures
0 output bad packets
0 output IPv6 packets
0 output packets blocked
3063 output packets passed
1138 output packets not matched
0 output packets counted
0 output packets short
0 output packets logged and blocked
0 output packets logged and passed
0 output packets logged
0 output log failures
0 output fragment state kept
0 output fragment state lost
0 output packet state kept
0 output packet state lost
0 output invalid source
1925 output cache hits
1138 output cache misses
0 output pullups succeeded
0 output pullups failed
0 output TCP checksum failures
0 ICMP replies sent
0 TCP RSTs sent
0 fastroute successes
0 fastroute failures
1152 IPF Ticks
0 Packet log flags set:
none
# ipnat -s
0 proxy fail in
0 bad nat in
0 bad nat new in
0 bad next addr in
0 bucket max in
0 clone nomem in
0 decap bad in
0 decap fail in
0 decap pullup in
0 divert dup in
0 divert exist in
0 drop in
0 encap dup in
0 encap pullup in
0 exhausted in
0 icmp address in
0 icmp basic in
2 inuse in
0 icmp mbuf wrong size in
0 icmp header unmatched in
0 icmp rebuild failures in
0 icmp short in
0 icmp packet size wrong in
0 IFP address fetch failures in
31 packets untranslated in
0 NAT insert failures in
2 NAT lookup misses in
31 NAT lookup nowild in
0 new ifpaddr failed in
0 memory requests failed in
0 table max reached in
3369 packets translated in
0 finalised failed in
0 search wraps in
0 null translations in
0 translation exists in
0 no memory in
100% hash efficiency in
0.10% bucket usage in
0 minimal length in
1 maximal length in
1.000 average length in
0 proxy fail out
0 bad nat out
0 bad nat new out
0 bad next addr out
0 bucket max out
0 clone nomem out
0 decap bad out
0 decap fail out
0 decap pullup out
0 divert dup out
0 divert exist out
0 drop out
0 encap dup out
0 encap pullup out
0 exhausted out
0 icmp address out
0 icmp basic out
2 inuse out
0 icmp mbuf wrong size out
0 icmp header unmatched out
0 icmp rebuild failures out
0 icmp short out
0 icmp packet size wrong out
0 IFP address fetch failures out
12 packets untranslated out
0 NAT insert failures out
2 NAT lookup misses out
14 NAT lookup nowild out
0 new ifpaddr failed out
0 memory requests failed out
0 table max reached out
2946 packets translated out
0 finalised failed out
0 search wraps out
0 null translations out
0 translation exists out
0 no memory out
100% hash efficiency out
0.10% bucket usage out
0 minimal length out
1 maximal length out
1.000 average length out
2 log successes
0 log failures
2 added
0 expired
0 wilds