Ethereal-users: Re: [Ethereal-users] SNMP packet tree

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Fri, 6 Apr 2001 13:18:58 -0700 (PDT)
> I recently installed the latest version of tethereal and i've noticed that the 
> SNMP packet tree is truncated when compared to the previous version e.g. PDU 
> type, Error status and object identifiers are not listed.

See previous reply.  It sounds as if the UCD SNMP library, for whatever
reason, is failing to read the MIB files; without the MIB files, the
library cannot interpret OIDs and the like.

However, the MIBs are (not surprisingly) *NOT* used to interpret PDU
types; those are interpreted by a table compiled into the SNMP
dissector, and that table still has a list of PDU types:

	static const value_string pdu_types[] = {
	        { SNMP_MSG_GET,         "GET" },
	        { SNMP_MSG_GETNEXT,     "GET-NEXT" },
	        { SNMP_MSG_SET,         "SET" },
	        { SNMP_MSG_RESPONSE,    "RESPONSE" },
	        { SNMP_MSG_TRAP,        "TRAP-V1" },
	        { SNMP_MSG_GETBULK,     "GETBULK" },
	        { SNMP_MSG_INFORM,      "INFORM" },
	        { SNMP_MSG_TRAP2,       "TRAP-V2" },
	        { SNMP_MSG_REPORT,      "REPORT" },
	        { 0,                    NULL }
	};

Are Ethereal and Tethereal now displaying "Unknown PDU type" rather
than, say, "GET" for a GET packet?