etingof / snmpfwd

SNMP Proxy Forwarder
http://snmplabs.com/snmpfwd/
BSD 2-Clause "Simplified" License
67 stars 18 forks source link

GETBULK support at the oidfilter plugin #14

Closed etingof closed 7 years ago

etingof commented 7 years ago

This MR introduces GETBULK command support to the oidfilter plugin.

It turned out that depending on the filtering rules, GETBULK operation may be more or less efficient. For example, when filtering rules allow only many single and not adjacent OIDs, GETBULK renders extremely inefficient.

The oidfilter code tries to address that case by "linearizing" some of the "repeaters" into "non-repeaters".