On 27 May 2012 08:46, Jan Willamowius <j...@willamowius.de> wrote:
> The Unix implementation of the agent uses Net-SNMP and sets the OID as
> type ASN_UNSIGNED. When I look at the GET response with Wireshark, it
> decodes it as a "Gauge32" value. That made sense at first sight,
> because according to RFC 1902 Unsigned32 and Gauge32 are the same.
>
> The Windows implementation is based on Windows' SnmpAPI.lib and sets
> the OID as ASN_UNSIGNED32 and when I look at the GET response with
> Wireshark, it decodes it as "Unsigned32". That looks even better to me.
>
> How come the 2 implementations produce different results on the wire ?

First question - are they actually different,
or are they simply being reported differently?

The Net-SNMP tools support a '-d' flag, to display the raw
packet dumps.   Try sending a simple query to the two agents
using this option, and compare the two dumps.

What do they look like?

Dave

------------------------------------------------------------------------------
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to