Wireshark-bugs: [Wireshark-bugs] [Bug 2953] New: Name Resolution>SMI module feature doesn not wo

Date: Thu, 9 Oct 2008 20:55:35 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2953

           Summary: Name Resolution>SMI module feature doesn not work
           Product: Wireshark
           Version: 1.0.3
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: High
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: tcwinn@xxxxxxxxx


Build Information:
Version 1.0.3 (SVN Rev 26134)

Copyright 1998-2008 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 WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with ADNS, with Lua 5.1, with GnuTLS 2.3.8, with Gcrypt 1.4.1, with MIT
Kerberos, with PortAudio V19-devel, with AirPcap.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0.2
(packet.dll version 4.0.0.1040), based on libpcap version 0.9.5, without
AirPcap.

Built using Microsoft Visual C++ 6.0 build 8804

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
The new Edit>Preference>Name Resolution>SMI module>Edit is flaky:
1. You can select New and enter new modules. I had to enter 5 times to get it
saved properly. It seems after wireshark is restared, the new modules added are
gone:
SNMPv2-SMI
SNMPv2-TC
SNMPv2-CONF
CISCO-SMI
INET-ADDRESS-MIB
RFC1155-SMI
RFC-1212
RFC-1215
CISCO-CCM-MIB
CISCO-CDP-MIB

[I made sure the above mibs exist in c:\Program Files\Wireshark\snmp\mibs] 

/c/Documents and Settings/tcwinn/Application Data/Wireshark/smi_modules contain
the following:

bash-3.2$ pwd
/c/Documents and Settings/tcwinn/Application Data/Wireshark
bash-3.2$ cat smi_modules 
# This file is automatically generated, DO NOT MODIFY.
"IP-MIB"
"IF-MIB"
"TCP-MIB"
"UDP-MIB"
"SNMPv2-MIB"
"RFC1213-MIB"
"IPV6-ICMP-MIB"
"IPV6-MIB"
"SNMP-COMMUNITY-MIB"
"SNMP-FRAMEWORK-MIB"
"SNMP-MPD-MIB"
"SNMP-NOTIFICATION-MIB"
"SNMP-PROXY-MIB"
"SNMP-TARGET-MIB"
"SNMP-USER-BASED-SM-MIB"
"SNMP-USM-DH-OBJECTS-MIB"
"SNMP-VIEW-BASED-ACM-MIB"
"SNMPv2-SMI"
"SNMPv2-TC"
"SNMPv2-CONF"
"CISCO-SMI"
"INET-ADDRESS-MIB"
"RFC1155-SMI"
"RFC-1212"
"RFC-1215"
"CISCO-CCM-MIB"
"CISCO-CDP-MIB"


2. When I reloaded wireshark with the above saved, decodes for CISCO-CCM-MIB
never happened. And the console window (default to Always) displayed nothing.
So I have no way of knowing what's going on. So this feature is completely
broken for me!

3. The above mibs were tested to be dependencies for CISCO-CCM-MIB. I had to
revert to wireshark 0.99.5 to verify the dependency. Before that I only
specified CISCO-CCM-MIB, and wireshark 1.0.3 wouldn't even load. It gave me a
sorry message saying that encountered some unrecoverable error and aborted. I
had to delete CISCO-CCM-MIB from c:\Program Files\Wireshark\snmp\mibs for
wireshark to load. So looks like it has problem handling the dependencies!!!
0.99.5 would give me errors on the console window telling me about the missing
mibs. Thats how I found out the dependencies.


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