Wireshark-bugs: [Wireshark-bugs] [Bug 5162] New: GTP header is exported in PDML with an incorrec

Date: Tue, 31 Aug 2010 02:58:42 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5162

           Summary: GTP header is exported in PDML with an incorrect size
           Product: Wireshark
           Version: 1.2.10
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: arbugs@xxxxxxxxx


Build Information:
Version 1.2.10 (SVN Rev 33656)

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.0, with Lua 5.1, with GnuTLS 2.8.5, with Gcrypt 1.4.5,
with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built Jul 28 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.

Built using Microsoft Visual C++ 9.0 build 30729
--
Open attached file, capture.pcap, with Wireshark and go to
File->Export->File...
and choose pdml format.

In the exported file the GTP header size is set to 58 while the correct value
is 8.

Extract:

<proto name="gtp" showname="GPRS Tunneling Protocol" size="58" pos="46">
    <field name="gtp.flags" showname="Flags: 0x30" size="1" pos="46"
show="0x30" value="30">
      ....
    </field>
    <field name="gtp.message" showname="Message Type: T-PDU (0xff)" size="1"
pos="47" show="0xff" value="ff"/>
    <field name="gtp.length" showname="Length: 50" size="2" pos="48" show="50"
value="0032"/>
    <field name="gtp.teid" showname="TEID: 0x00000010" size="4" pos="50"
show="0x00000010" value="00000010"/>
  </proto>

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