On 10/23/18 6:00 AM, Mark Christiansen wrote:
Does anybody have ideas of what could be going wrong here?

I built net-SNMP 5.8 for my Windows 10 machine. I set up my snmpd.conf file as shown below where I added the same users as I have on my Linux machine called aurelius. I get the following responses when I run snmpgetnext for the two servers:

C:\Users\markw>snmpgetnext -v 3 -l authPriv -u user3 -a MD5 -A user3password -x DES -X user3encryption aurelius .1.3 SNMPv2-MIB::sysDescr.0 = STRING: Linux aurelius 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:56:26 UTC 2014 i686

C:\Users\markw>snmpgetnext -v 3 -l authPriv -u user3 -a MD5 -A user3password -x DES -X user3encryption localhost .1.3
snmpgetnext: Decryption error

The behavior of the encryption code should be consistent on Windows and Linux, at least if both have been compiled with the same encryption support (OpenSSL or internal). Adding appropriate debug flags at the agent and client side will probably provide a better insight in what's going on. Flags that probably will yield interesting information are -d and -D netsnmp_udp_parse_security,netsnmp_udp6_parse_security,netsnmp_unix_parse_security,tls,tsm.

Bart.


_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to