Summary: | snmp_pf: add support for retrieving ALTQ counters | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Timmons C. Player <timmons> | ||||
Component: | bin | Assignee: | Philip Paeps <philip> | ||||
Status: | Open --- | ||||||
Severity: | Affects Some People | CC: | Alexander88207, philip | ||||
Priority: | --- | ||||||
Version: | 10.0-STABLE | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
I perpetrated snmp_pf, once upon a time. This patch looks sane. I'll do some more testing and commit it. batch change of PRs untouched in 2018 marked "in progress" back to open. 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? 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? (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. |
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.