Wireshark-bugs: [Wireshark-bugs] [Bug 5179] New: GTPv2: IMSI is decoded improperly

Date: Fri, 3 Sep 2010 08:08:27 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5179

           Summary: GTPv2: IMSI is decoded improperly
           Product: Wireshark
           Version: 1.4.0
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: shmelev@xxxxxxx


Created an attachment (id=5121)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=5121)
GTPv2 Create Session Request (wrong IMSI)

Build Information:
Version 1.4.0 (SVN Rev 34005 from /trunk-1.4)

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.16.6, (32-bit) with GLib 2.22.4, with WinPcap (version
unknown), with libz 1.2.3, without POSIX capabilities, without libpcre, with
SMI
0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.8.5, with
Gcrypt 1.4.5, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Aug
29 2010), with AirPcap.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1.2
(packet.dll version 4.1.0.2001), based on libpcap version 1.0 branch 1_0_rel0b
(20091008), GnuTLS 2.8.5, Gcrypt 1.4.5, without AirPcap.

--
According to TS 29272, ch. 8.3., IMSI should be encoded in TBCD format in the
following way:


8   7   6   5   4   3   2   1(bits)
Number digit 2    Number digit 1
Number digit 4    Number digit 3
…    …
Number digit m    Number digit m-1




However, from the attached log it may be seen that the Wireshark believes that
the digits are located in the different way:

8   7   6   5   4   3   2   1(bits)
Number digit 1    Number digit 2
Number digit 3    Number digit 4
…    …
Number digit m-1Number digit m


Provided IMSI is 123456789056789
Wireshak shows it as 214365870965879

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