I don't understand the numbers in reports like this, which I regularly receive from the daily security run:
gdweber.org pf denied packets:
+block drop in log (all) all [ Evaluations: 124538 Packets: 15317
Bytes: 792984 States: 0 ]
Why is the number of evaluations different from, and always greater than, the number of packets? Isn't each packet evaluated? Is 792,984 the number of bytes in the 15,317 packets, or is it the number of bytes in the 124,538 evaluations?
I understand that this report is about the action of the rule
block in log(all) all
which is in /etc/pf.conf. This rule blocks and logs all incoming packets by default; subsequent rules allow some incoming packets to pass.
I'm running FreeBSD 14.3-RELEASE-p7:
FreeBSD gdweber.org 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 GENERIC amd64
root@gdweber:/etc # freebsd-version
14.3-RELEASE-p7
root@gdweber:/etc # uname -a
I have read Daily security mail reports pf denied packets: how to inspect them? but did not find it relevant to my question.
gdweber.org pf denied packets:
+block drop in log (all) all [ Evaluations: 124538 Packets: 15317
Bytes: 792984 States: 0 ]
Why is the number of evaluations different from, and always greater than, the number of packets? Isn't each packet evaluated? Is 792,984 the number of bytes in the 15,317 packets, or is it the number of bytes in the 124,538 evaluations?
I understand that this report is about the action of the rule
block in log(all) all
which is in /etc/pf.conf. This rule blocks and logs all incoming packets by default; subsequent rules allow some incoming packets to pass.
I'm running FreeBSD 14.3-RELEASE-p7:
FreeBSD gdweber.org 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 GENERIC amd64
root@gdweber:/etc # freebsd-version
14.3-RELEASE-p7
root@gdweber:/etc # uname -a
I have read Daily security mail reports pf denied packets: how to inspect them? but did not find it relevant to my question.