Saturday, September 28, 2024

[new] pf_exporter

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

No comments:

Post a Comment