what is the purpose of the Cleared line of the
interface statistics? if i read pfctl(8) correctly,
only tables can have their statistics cleared/zeroed
(the table command is "zero", and not "clear", perhaps
because the latter could evoke "removing all elements
of the table", although in other parts of the manpage
"flush" is used for this kind of operation)
# pfctl -vvsI -i re0
re0
Cleared: Thu Jan 1 01:00:01 1970
References: [ States: 0 Rules: 1 ]
In4/Pass: [ Packets: 59988900 Bytes: 74459951479 ]
In4/Block: [ Packets: 13991 Bytes: 1645774 ]
Out4/Pass: [ Packets: 39058098 Bytes: 5850353660 ]
Out4/Block: [ Packets: 3167 Bytes: 467994 ]
In6/Pass: [ Packets: 18 Bytes: 1152 ]
In6/Block: [ Packets: 0 Bytes: 0 ]
Out6/Pass: [ Packets: 0 Bytes: 0 ]
Out6/Block: [ Packets: 0 Bytes: 0 ]
# pfctl -F info
pf: statistics cleared
# pfctl -vvsI -i re0
re0
Cleared: Thu Jan 1 01:00:01 1970
References: [ States: 0 Rules: 1 ]
In4/Pass: [ Packets: 60374772 Bytes: 74945788280 ]
In4/Block: [ Packets: 14028 Bytes: 1647622 ]
Out4/Pass: [ Packets: 39392791 Bytes: 6029106115 ]
Out4/Block: [ Packets: 3185 Bytes: 468786 ]
In6/Pass: [ Packets: 18 Bytes: 1152 ]
In6/Block: [ Packets: 0 Bytes: 0 ]
Out6/Pass: [ Packets: 0 Bytes: 0 ]
Out6/Block: [ Packets: 0 Bytes: 0 ]
-f
--
he's teflon brain (nothing sticks).