Wireshark-bugs: [Wireshark-bugs] [Bug 5851] New: Add not handled IDs to BitTorrent dissector

Date: Tue, 19 Apr 2011 14:22:11 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5851

           Summary: Add not handled IDs to BitTorrent dissector
           Product: Wireshark
           Version: SVN
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: georgmueller@xxxxxxx


Created an attachment (id=6191)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=6191)
patch to handle message id 9 and 20

Build Information:
wireshark 1.5.2 (SVN Rev 36721 from /trunk)

Copyright 1998-2011 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 (64-bit) with GTK+ 2.22.0, with GLib 2.26.1, with libpcap 1.1.1, with
libz 1.2.3.4, with POSIX capabilities (Linux), without libpcre, without SMI,
without c-ares, without ADNS, without Lua, without Python, with GnuTLS 2.8.6,
with Gcrypt 1.4.5, with MIT Kerberos, with GeoIP, without PortAudio, without
AirPcap.

Running on Linux 2.6.37-02063706-generic, with libpcap version 1.1.1, with libz
1.2.3.4, GnuTLS 2.8.6, Gcrypt 1.4.5.

Built using gcc 4.4.5.

--
The BitTorrent dissector fails on certain traces with not handled message IDs.

ID=9: port
see http://wiki.theory.org/BitTorrentSpecification

ID=20: extended message
see http://www.bittorrent.org/beps/bep_0010.html

The attached patch implements handling the two message IDs. It does not handle
the content of the extended message.

I have no traces to show the messages, but I will try to generate some, if
required.

Without the patch, wireshark fails to analyse subsequent bittorrent messages.

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