Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6853] New: Support for switching USB CCID PC_to_RDR_XfrBlo

Date: Mon, 20 Feb 2012 12:52:16 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6853

           Summary: Support for switching USB CCID PC_to_RDR_XfrBlock
                    payload dissectors
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: tyson.key@xxxxxxxxx


Created attachment 7862
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7862
An SVN diff containing an initial implementation of this functionality

Build Information:
Version 1.7.1 (SVN Rev 40969 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.24.6, with Cairo 1.10.2, with Pango 1.29.3, with
GLib 2.30.0, with libpcap, with libz 1.2.3.4, with POSIX capabilities (Linux),
with SMI 0.4.8, without c-ares, with ADNS, with Lua 5.1, without Python, with
GnuTLS 2.10.5, with Gcrypt 1.5.0, without Kerberos, without GeoIP, without
PortAudio, without AirPcap.

Running on Linux 3.0.0-14-generic, with locale en_GB.UTF-8, with libpcap
version
1.3.0-PRE-GIT_2011_12_28, with libz 1.2.3.4, GnuTLS 2.10.5, Gcrypt 1.5.0.

Built using gcc 4.6.1.

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

Check the man page and http://www.wireshark.org for more information.
--
The attached patch contains a rough initial attempt at adding support for
switching between dissecting USB CCID PC_to_RDR_XfrBlock payloads using either
the plain Data or GSM SIM dissectors.

The approach that I've taken is based upon that used in the I2C dissector, and
this code seems to be functional - although it could probably do with
optimisation; and it seems that some GSM SIM packets are marked as being
malformed for some unknown reason.

Please feel free to suggest alternative methods, and enhancements.

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