Wireshark-bugs: [Wireshark-bugs] [Bug 6890] New: DVB-CI: use circuits to keep track of sessions

Date: Wed, 29 Feb 2012 13:59:51 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6890

           Summary: DVB-CI: use circuits to keep track of sessions
           Product: Wireshark
           Version: SVN
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: wireshark@xxxxxxxxx


Created attachment 7929
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7929
use circuit to track a DVB-CI session

Build Information:
TShark 1.7.1 (SVN Rev 41247 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 (64-bit) with GLib 2.24.2, with libpcap, with libz 1.2.3.4, without
POSIX capabilities, without SMI, without c-ares, without ADNS, without Lua,
without Python, with GnuTLS 2.8.6, with Gcrypt 1.4.5, with MIT Kerberos,
without
GeoIP.

Running on Linux 2.6.32-5-amd64, with locale en_US.UTF-8, with libpcap version
1.1.1, with libz 1.2.3.4.

Built using gcc 4.4.5.

--
Dear all,

the attached patch for the DVB-CI dissector creates a circuit for each DVB-CI
session, using the session number as circuit id.

The DVB-CI session commands are

open_session_request(resource_id)
session_opened(resource_id, newly assigned session number)
payload transfer(session_number, payload data)
close session(session_number)

For now, the circuit will store the resource id and make it available (as a
generated item) to subsequent packets that contain only the session number.
Doing this, the resource id (which is like a tcp/udp port) can be used for
filtering.

When I'm reading the resource id from the circuit (and not from a tvbuff of the
packet), I'm using 
proto_tree_add_uint_format(tree, hf_dvbci_..., tvb==NULL, offset==0, len==0,
...)
to add a filterable item to the tree that is not refering to a tvbuff. 

Thanks for your review and for merging the patch.

Best regards,

   Martin

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