Bug 192325

Summary: snmp_pf: add support for retrieving ALTQ counters
Product: Base System Reporter: Timmons C. Player <timmons>
Component: binAssignee: Philip Paeps <philip>
Status: Open ---    
Severity: Affects Some People CC: Alexander88207, philip
Priority: ---    
Version: 10.0-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
This patch updates snmp_pf (both the module and the MIB) to allow retrieval of the ALTQ counters. none

Description Timmons C. Player 2014-08-02 01:28:57 UTC
Created attachment 145235 [details]
This patch updates snmp_pf (both the module and the MIB) to allow retrieval of the ALTQ counters.

The FreeBSD base system contains a snmp daemon called bsnmpd.  It implements most of its functionality via loadable modules.  The snmp_pf module is responsible for constructing the MIB for the pf packet filter.  Currently, it retrieves a description of the ALTQ queues in use by pf, however it doesn't support retrieving any statistics for those queues.
Comment 1 Philip Paeps freebsd_committer freebsd_triage 2015-03-15 01:28:45 UTC
I perpetrated snmp_pf, once upon a time.  This patch looks sane.  I'll do some more testing and commit it.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2018-05-23 10:27:56 UTC
batch change of PRs untouched in 2018 marked "in progress" back to open.
Comment 3 Philip Paeps freebsd_committer freebsd_triage 2024-02-15 11:04:52 UTC
I've not had a chance to look at this, and I've clearly lost interest in snmp_pf.  Could someone else on net@ please take a look if this is still relevant?
Comment 4 Philip Paeps freebsd_committer freebsd_triage 2024-12-25 02:37:06 UTC
It's been nearly ten years ... I guess I should take a look at this if nobody else wants to. :)  Has this patch been tried on recent -current?
Comment 5 Timmons C. Player 2024-12-27 20:12:27 UTC
(In reply to Philip Paeps from comment #4)
LOL. No, I haven't tried this patch on any recent version as I haven't used pf or ALTQ on a FreeBSD box in years. I'm totally fine with just dropping the issue.