Wireshark-bugs: [Wireshark-bugs] [Bug 4615] SNMP decoder no longer shows getNext response values
Date: Tue, 30 Mar 2010 19:16:43 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4615

--- Comment #2 from Fulko Hew <fulko.hew@xxxxxxxxx> 2010-03-30 19:16:42 PDT ---
(In reply to comment #1)
> (In reply to comment #0)
> > Build Information:
> > [root@localhost wireshark-1.3.3]# ./wireshark -v
> > wireshark 1.3.3
> > 
> > Copyright 1998-2010 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
> > This is free software; see the source for copying conditions. There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> > 
> > Compiled with GTK+ 2.12.8, with GLib 2.14.6, with libpcap 0.9-PRE-CVS, with
> > libz
> > 1.2.3, with POSIX capabilities (Linux), without libpcre, without SMI, without
>                                                            ^^^^^^^^^^^
> You have to compile Wireshark with SMI to be able to resolve OIDs to names.
> 
> In the latest versions you have to check Edit > Preferences > Name Resolution >
> Enable OID resolution as well, as it is disabled in the default configuration.
> 
> Could you please try to fix problem with the above changes?

I re-fetched the latest development release from today (March 30, 2010), and I
also built and installed libpcre and libsmi as per request.  As per the
original test (SNMP get-response for sysName), I captured the SNMP transaction
using Wireshark v1.03 and saved the file.  I then opened the file using v1.3.3
and witnessed the same problem.

v1.03 decoded the packet as:
            variable-bindings: 1 item
                1.3.6.1.2.1.1.5.0: 6C6F63616C686F73742E6C6F63616C646F6D61696E
                    Object Name: 1.3.6.1.2.1.1.5.0 (iso.3.6.1.2.1.1.5.0)
                    Value (OctetString):
6C6F63616C686F73742E6C6F63616C646F6D61696E

v1.3.3 decoded the packet as:

            variable-bindings: 1 item
                1.3.6.1.2.1.1.5.0:
                    Object Name: 1.3.6.1.2.1.1.5.0 (iso.3.6.1.2.1.1.5.0)

Note that the issue is not with respect to OID resolution, but with the missing
'value' information.

Note also that in this version, Edit > Preferences > Name Resolution > Enable
OID resolution does not exist.

For the record, this re-built version now reports:
----------------------

wireshark 1.3.3

Copyright 1998-2010 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.12.8, with GLib 2.14.6, with libpcap 0.9-PRE-CVS, with
libz
1.2.3, with POSIX capabilities (Linux), with libpcre 8.2, with SMI 0.4.8,
without c-ares, without ADNS, without Lua, without Python, with GnuTLS 1.6.3,
with Gcrypt 1.2.4, with MIT Kerberos, without GeoIP, without PortAudio, without
AirPcap, with new_packet_list.

Running on Linux 2.6.26.8-57.fc8, with libpcap version 0.9-PRE-CVS, GnuTLS
1.6.3, Gcrypt 1.2.4.

Built using gcc 4.1.2 20070925 (Red Hat 4.1.2-33).

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.