Re: To understand the increase in size of buffer in agentx_parse() in net-snmp-5.8

2019-04-25 Thread Bart Van Assche
On 4/25/19 8:00 AM, Vijay, Anjali wrote: I recently started working with net-snmp-5.8. I had a query over a change that was made to agentx_parse() in agent/mibgroup/agentx/protocol.c. I noticed that the buf

Re: Authentication failed for user

2019-04-25 Thread Simon Chamlian
the source of the error is in: net-snmp-5.8/snmplib/snmpusm.c /* * Check the authentication credentials of the message. */ if (secLevel == SNMP_SEC_LEVEL_AUTHNOPRIV || secLevel == SNMP_SEC_LEVEL_AUTHPRIV) { if (sc_check_keyed_hash(user->authProtocol, user->au

Authentication failed for user

2019-04-25 Thread Simon Chamlian
Hi, I am issuing an inform, (*which works fine* as I get the inform) but getting the following error: snmpinform -v 3 -r 1 -t 1 -u "User" -a MD5 -A "UserPass" -l authNoPriv 172.27.37.222 "" DCI-MIB::DCITrapCritical DCI-MIB::NEID s "NE_Identif" *Authentication failed for User* Any reason why I

To understand the increase in size of buffer in agentx_parse() in net-snmp-5.8

2019-04-25 Thread Vijay, Anjali
Hi, I recently started working with net-snmp-5.8. I had a query over a change that was made to agentx_parse() in agent/mibgroup/agentx/protocol.c. I noticed that the buffer of SNMP_MAX_MSG_SIZE (1472) in net-snmp-5.7.3 has been replaced with the size 65536 in net-snmp-5.8. u_char buffer[65536