Displaying 1 result from an estimated 1 matches for "oid_compare".
2006 Jan 21
2
snmp-ups hacking
...which means that if you enter an incomplete Object ID (OID) the SNMP
library will "help" you and recurse down the tree until it finds
something suitable. Obviously, the library might recurse too far and
return something completely different. In order to protect from this,
the function oid_compare() is present to filter out those cases. To
make things worse, it seems to recurse onto next item if you provide
it with a complete OID.
As you might have guessed, this is not exactly foolproof. For example,
instead of returning the number of output phases in our APC Silcon UPS
it recurses a bi...