Wireshark-bugs: [Wireshark-bugs] [Bug 4112] New: SNMP version is displayed wrong under "Info" co

Date: Fri, 9 Oct 2009 15:11:47 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4112

           Summary: SNMP version is displayed wrong under "Info" column for
                    an SNMPv1 trap
           Product: Wireshark
           Version: 1.2.2
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: csadi@xxxxxxxxxxx
                CC: csadi@xxxxxxxxxxx


Build Information:
Version 1.2.2 (SVN Rev 29910)

Copyright 1998-2009 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.16.2, with GLib 2.20.3, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with c-ares 1.6.0, with Lua 5.1, with GnuTLS 2.8.1, with Gcrypt 1.4.4, with MIT
Kerberos, with GeoIP, with PortAudio V19-devel (built Sep 14 2009), with
AirPcap.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1
beta5
(packet.dll version 4.1.0.1452), based on libpcap version 1.0.0, GnuTLS 2.8.1,
Gcrypt 1.4.4, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 30729

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

Check the man page and http://www.wireshark.org for more information.
--
When a SNMPv1 trap is captured, under the Info column, the packet is displayed
as SNMPV2.

When the packet is expanded, the version is shown correctly.

Sample packet is as below - this is an SNMPV1 trap that gets displayed as
SNMPv2 under the Info column

0000  00 15 58 7e b2 75 00 10  db ff 20 50 08 00 45 00   ..X~.u.. .. P..E.
0010  01 70 7a 4d 00 00 7d 11  cf 95 ac 1c 50 ca ac 1c   .pzM..}. ....P...
0020  49 97 04 12 00 a2 01 5c  52 0a 30 82 01 50 02 01   I......\ R.0..P..
0030  00 04 07 70 72 69 76 61  74 65 a4 82 01 40 06 07   ...priva te...@..
0040  2b 06 01 04 01 96 63 40  04 0a 00 01 01 02 01 06   +.....c@ ........
0050  02 01 01 43 04 00 8d f3  df 30 82 01 21 30 1b 06   ...C.... .0..!0..
0060  09 2b 06 01 04 01 96 63  03 01 04 0e 4e 4e 47 30   .+.....c ....NNG0
0070  30 30 37 34 35 30 30 37  32 31 30 1c 06 09 2b 06   00745007 210...+.
0080  01 04 01 96 63 03 02 04  0f 31 32 37 30 41 50 50   ....c... .1270APP
0090  4c 49 41 4e 43 45 36 31  30 12 06 09 2b 06 01 04   LIANCE61 0...+...
00a0  01 96 63 03 03 04 05 4e  65 69 48 4d 30 11 06 09   ..c....N eiHM0...
00b0  2b 06 01 04 01 96 63 03  04 04 04 49 6e 66 6f 30   +.....c. ...Info0
00c0  2c 06 09 2b 06 01 04 01  96 63 03 05 04 1f 53 74   ,..+.... .c....St
00d0  65 65 6c 2d 42 65 6c 74  65 64 20 52 61 64 69 75   eel-Belt ed Radiu
00e0  73 20 49 6e 66 6f 72 6d  61 74 69 6f 6e 30 2a 06   s Inform ation0*.
00f0  09 2b 06 01 04 01 96 63  03 06 04 1d 46 72 69 20   .+.....c ....Fri 
0100  4f 63 74 20 30 39 20 32  30 30 39 20 31 37 3a 35   Oct 09 2 009 17:5
0110  36 3a 35 35 20 20 47 4d  54 30 0e 06 09 2b 06 01   6:55  GM T0...+..
0120  04 01 96 63 03 07 04 01  00 30 53 06 09 2b 06 01   ...c.... .0S..+..
0130  04 01 96 63 03 08 04 46  54 68 65 20 53 74 65 65   ...c...F The Stee
0140  6c 2d 42 65 6c 74 65 64  20 52 61 64 69 75 73 20   l-Belted  Radius 
0150  47 6c 6f 62 61 6c 20 45  6e 74 65 72 70 72 69 73   Global E nterpris
0160  65 20 45 64 69 74 69 6f  6e 20 73 65 72 76 69 63   e Editio n servic
0170  65 20 77 61 73 20 73 74  6f 70 70 65 64 2e         e was st opped.


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