Wireshark-bugs: [Wireshark-bugs] [Bug 7154] New: patch: dissector for ISIS-SPB MT-Port-Cap TLV a

Date: Thu, 19 Apr 2012 15:47:58 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7154

           Summary: patch: dissector for ISIS-SPB MT-Port-Cap TLV and
                    sub-TLVs
           Product: Wireshark
           Version: SVN
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: oss.2nerds.com@xxxxxxxxx


oss.2nerds.com@xxxxxxxxx changed:

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

Created attachment 8279
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8279
Dissector for the ISIS-SPB MT-Port-Cap TLV and sub-TLVs.

Build Information:
wireshark 1.7.2 (SVN Rev 42143 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 GTK+ 2.14.4, with Cairo 1.8.0, with Pango 1.22.2, with
GLib 2.18.2, with libpcap, with libz 1.2.3.3, without POSIX capabilities,
without SMI, without c-ares, without ADNS, without Lua, without Python, with
GnuTLS 2.4.1, with Gcrypt 1.4.1, with MIT Kerberos, without GeoIP, without
PortAudio, with AirPcap.

Running on Linux 2.6.27-16-server, with locale en_US.UTF-8, with libpcap
version
0.9.8, with libz 1.2.3.3, GnuTLS 2.4.1, Gcrypt 1.4.1, without AirPcap.

Built using gcc 4.3.2.

--
IEEE P802.1aq/D3.6 and the corresponding IETF draft
(http://tools.ietf.org/html/draft-ietf-isis-ieee-aq-05) defines a series of new
ISIS TLVs for the shortest-path-bridging protocol.

The attached patch file contains a simple dissector for one such TLV (the
MT-Port-Cap TLV) and several corresponding sub-TLVs (mcid, aux_mcid, digest,
and b-vid).  The digest sub-TLV dissector has not been exercised because no
suitable capture files are available (the digest sub-TLV seems not to be widely
implemented at this point in time).

Note that the codepoints mentioned in the IETF draft have changed.  The
IANA-assigned codepoints are further described in these pages:

http://www.ietf.org/mail-archive/web/spb-isis/current/msg00007.html
http://www.iana.org/assignments/isis-tlv-codepoints/isis-tlv-codepoints.xml#tlv-143

With the exception of the digest sub-TLV, the patched code has endured basic
fuzz testing.  (i.e. "tools/fuzz-test.sh -p 10000 input.pcap")

The web form apparently allows only one file attachment at bug-creation time,
so I will later attempt to attach a pcap file containing sample ISIS P2P Hello
frames which exercise the dissector.

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