RE: net-snmp5.7.3 non-compliance to RFC2578 on integer overflows for few trap types

2017-06-27 Thread Madhusudhana R
Hi Bill, I am glad for your reply. But need some more clarification. The integer value greater than UINT32_MAX is fed to netsnmp in the form of char array and also GAUGE itself defines any value greater than UINT32_MAX will remain at UINT32_MAX which means we can still provide a large value th

Net-snmp : IF-MIB, TCP-MIB; UDP-MIB etc not working - How to debug through debug token?

2017-06-27 Thread Murali Karicheri via Net-snmp-coders
All, I was able to have net-snmp agent (snmpd) respond to network related MIB queries with v4.4.y kernel and corresponding file system with net-snmp installed. When I migrate to a v4.9.y kernel and a corresponding file system, I see that snmpd is only responding to system MIB queries, but not to a

Re: net-snmp5.7.3 non-compliance to RFC2578 on integer overflows for few trap types

2017-06-27 Thread Bill Fenner
Madhu, How are you supplying the values to net-snmp? Many of these can be explained by net-snmp's internal representation (e.g., using "uint32" for non-negative types, so supplying -1 turns into UINT32_MAX inside C, without any explicit behavior on net-snmp's part. A lot of these limitations are