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 7080] New: Update LLDP dissector to display registered OID

Date: Fri, 13 Apr 2012 12:26:45 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7080

           Summary: Update LLDP dissector to display registered OIDs from
                    manuf and allow custom dissectors for Organizationally
                    Specific TLVs
           Product: Wireshark
           Version: SVN
          Platform: x86
        OS/Version: Debian
            Status: NEW
          Severity: Enhancement
          Priority: Medium
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: alindber@xxxxxxxxx


Alex Lindberg <alindber@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8207|                            |review_for_checkin?
              Flags|                            |

Created attachment 8207
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8207
Patch to update packet-lldp.c to incorporate listed enhancements.

Build Information:
 ./tshark -v
TShark 1.7.2 (SVN Rev 42049 from /trunk)

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 GLib 2.30.2, with libpcap, with libz 1.2.6, with POSIX
capabilities (Linux), with SMI 0.4.8, with c-ares 1.7.5, with Lua 5.1, without
Python, with GnuTLS 2.12.18, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP.

Running on Linux 3.2.0-2-686-pae, with locale en_US.UTF-8, with libpcap version
1.2.1, with libz 1.2.6.

Built using gcc 4.6.3.

--
Enhance epan/dissectors/packet-lldp.c to:

1 - display OIDs for TLVs from manuf if not known by dissector.

2 - Changed for FT_OID for display field of hf_mgn_obj_id.

3 - do a basic decode (Manufacture OID, TLV Length,SubType, data).

4 - Pass only tvb containing TLV data to TLV dissectors instead of entire tvb.

5 - Create register_dissector_table and calling routine on value
lldp.orgtlv.oui allowing for hook of custom dissectors.

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