Hi All,
Can you please help me out with the below query.
I am using the net-snmp-5.4.2.1 package and polling a few devices.
I have a case where in the OID length is > 128 subidentifiers. i.e breaking
the sub identifier length rule in http://tools.ietf.org/html/rfc2578
But I would still like to process the above requests.
>From the documentation I see MAX_OID_LEN is the one limiting the same.
I have tried modifying the values for this in library/asn1.h file to an
arbitrary value say 5000 or redefining the value in the C Code.
But the above doesn't seem to process the request for OID>128 sub ids.
Do I need to make any changes in the Net-snmp package to tackle this change
or am I missing any re-compilation part. Please advice.
I could find below code section in net-snmp/snmplib/asn1.c
if (0 != length) { ERROR_MSG("OID length exceeds buffer size"); return
NULL; }
Will commenting this and recompiling help or what should be the step to
basically increase the OID Length to 5000 or remove this restriction
altogether.
Thanks for your time.
Thanks, Stavan
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users