Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] Plugin module dissctor fails assertion

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Johannes Bauer <dfnsonfsduifb@xxxxxx>
Date: Thu, 05 Feb 2009 16:33:07 +0100

Jeff Morriss schrieb:

>> dissector_add("usb.data_flag", 0x1, sbig_handle);
>>
>> Wireshark cries out in pain:
>>
>> ERROR:packet.c:697:dissector_add: assertion failed: (sub_dissectors)
> 
> The problem, I think, is that "usb.data_flag" is not a registered 
> subdissector table.  packet-usb.c only registers 2 dissector tables:

You are exactly right - I thought I could use any expression which I
could also use within wireshark (e.g. usb.data_flag == 1). However, it
seems I cannot.

Using usb.bulk does not do the trick, however - it does not seem to
register correctly (although it does not give the above exception). When
I change the line to

dissector_add("usb.bulk", 0x1, sbig_handle);

it just does not recognize bulk trasnfers as the SBIG protocol. How do I
then use the dissector_add command to achieve what I want?

Kind regards,
Johannes

  • References:
    • [Wireshark-dev] Plugin module dissctor fails assertion
      • From: Johannes Bauer
    • Re: [Wireshark-dev] Plugin module dissctor fails assertion
      • From: Jeff Morriss
  • Prev by Date: Re: [Wireshark-dev] Plugin module dissctor fails assertion
  • Next by Date: Re: [Wireshark-dev] About when do Tap listeners get called (and report a typo in README.tapping)
  • Previous by thread: Re: [Wireshark-dev] Plugin module dissctor fails assertion
  • Next by thread: Re: [Wireshark-dev] Plugin module dissctor fails assertion
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation