Re: net-snmp fails to create entries with a zero in the OID in SnmpTargetParamsEntry

2013-11-28 Thread zhuyj
Hi, Magnus In some log, I replace nameData with the hex string of nameData. Maybe the log file can look better. The patch is in the attachment. Please check it. Best Regards! Zhu Yanjun On 11/28/2013 02:55 PM, zhuyj wrote: On 11/26/2013 02:52 PM, Magnus Fromreide wrote: On Mon, 2013-11-25 at

Re: net-snmp fails to create entries with a zero in the OID in SnmpTargetParamsEntry

2013-11-28 Thread zhuyj
Hi, Magnus In agent/mibgroup/target/snmpTargetAddrEntry.c:832 if (temp_struct-params == NULL) ... *var_len = temp_struct-paramsLen; Since params may have NUL, it is not appropriate to use params to get the length of string. Now I made a new patch in the attachment. Please check it. Thanks a

Re: bug in trapsess directive?

2013-11-28 Thread sarath azad
Hi Paul, I too have observed this that trapsess directive, was requiring the engine-id for properly sending the traps. Otherwise, though we were able to generate and send the traps from our device, but they were not able to be detected at the receiving manager. Once we gave the engine-id of

Re: possible snmpd bug using ASN_OPAQUE_U64 and subagent

2013-11-28 Thread Magnus Fromreide
On Thu, 2013-09-26 at 11:34 -0600, r...@softhome.net wrote: Please help me track down a problem I am having with snmpd and subagent using ASN_OPAQUE_U64. I am using net-snmp 5.7.2 on x86_64 Linux, Ubuntu 12.04 LTS. Thanks for reporting these problems. I think I have added a solution for