Index | Thread | Search

From:
Nick Owens <mischief@offblast.org>
Subject:
[new] pf_exporter
To:
ports@openbsd.org
Date:
Sat, 28 Sep 2024 23:40:25 -0700

Download raw body.

Thread
hi,

i spent today doing a little work on my prometheus (sysutils/prometheus)
exporter for pf. this program exports some metrics for pf. it can
export the top level pf stats (states, searches, etc), the loginterface
stats, and the drop/transmit counts for each queue.

my personal usage of pf is pretty limited to my own home firewall, so i
can't really say this is battle tested, but i thought since i updated
it, i'd try my hand at my first ever openbsd port, so here it is :-)

there are certainly warts, like the questionable file descriptor passing
and use of the 'nobody' user in the rc.d script, but feedback is
welcome.

cheers,
nick