ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 7050] New: Lack of support for multiple sub-TLV of sub-tlv

Date: Mon, 9 Apr 2012 09:13:47 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7050

           Summary: Lack of support for multiple sub-TLV of sub-tlv for
                    Vendor-Specific -> WiMAX TLV -> WiMAX sub-tlv ->WiMAX
                    sub-tlv ..........
           Product: Wireshark
           Version: 1.6.7
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: martynion@xxxxxxxxx


Build Information:
Version 1.6.7 (SVN Rev 41973 from /trunk-1.6)

Copyright 1998-2012 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 (32-bit) with GTK+ 2.24.10, with GLib 2.28.8, with WinPcap (version
unknown), with libz 1.2.5, 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.12.18,
with Gcrypt 1.4.6, with MIT Kerberos, with GeoIP, with PortAudio V19-devel
(built Apr  6 2012), with AirPcap.

Running on Windows XP Service Pack 2, 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.12.18, Gcrypt 1.4.6, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 21022

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

Check the man page and http://www.wireshark.org for more information.
--
In WMF 1.5 the Packet-Flow-Descriptor-V2 is compond from TLV clasifier which is
 set of nested TLVs describing IP classifiers with another sub-sets of nested
TLVs and Wireshak is not able to decode it. 

This is the structure:

26/84 Packet-Flow-Descriptor-V2
          1 PacketDataFlowID 
          2 ServiceDataFlowID
          .
          .
          9 Classifier    length 2+Variable
               1 ClassifierID
               2 Priority
               .
               .
               5 Source-Specification length 2+Variable
                    1  IPAddress
                    2  IPAddressRange

I had tried to define the follwoing in the dictionary.wimax and it is not
working:

BEGIN-TLV WiMAX-Packet-Flow-Descriptor
ATTRIBUTE    WiMAX-Packet-Data-Flow-Id        1    short
.
.
ATTRIBUTE    Classifier                      11    tlv

BEGIN-TLV Alvarion-Classifier
ATTRIBUTE    WiMAX-ClassifierID        1 byte
ATTRIBUTE    WiMAX-Classifier-Priority     2 byte
ATTRIBUTE       WiMAX-Classifier-Protocol  3    byte
ATTRIBUTE       WiMAX-Classifier-Direction    4    byte

VALUE   WiMAX-Classifier-Direction         Reserved-0              0
VALUE   WiMAX-Classifier-Direction                     IN                     
1
VALUE   WiMAX-Classifier-Direction                     OUT                    
2
VALUE   WiMAX-Classifier-Direction                     Bi-Directional         
3
VALUE   WiMAX-Classifier-Direction                     FF                     
4

ATTRIBUTE       WiMAX-VLAN-ID    10    short
END-TLV     Classifier


END-TLV    WiMAX-Packet-Flow-Descriptor

Is there a way to have the suport for this in wireshark also?

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