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] X11/GLX dissector

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


From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 06 Aug 2006 23:59:51 -0700

Max Lapan wrote:

I'm intending to implement dissector for GLX protocol which is an
extension of X11. Could you give an advise how to better implement it
-- as a separate plugin or a patch to existing X11 dissector?

As a separate dissector, regardless of whether it's a plugin or builtin dissector.

The best way to do it, in theory, would be to have the X11 dissector export a dissector table for extensions.

Unfortunately, the only identifier for an extension that's global, rather than, at least in theory, per-session (or per X server) is the name of the extension, which is used only in the QueryExtension request; that request returns a major opcode for the extension, used in requests for that extension, but there's no guarantee that queries with the same name will return the same major opcode in all requests.

How were you proposing to recognize GLX requests (especially if your network capture doesn't include the QueryExtension request)?

  • Follow-Ups:
    • Re: [Wireshark-dev] X11/GLX dissector
      • From: Max Lapan
  • References:
    • [Wireshark-dev] X11/GLX dissector
      • From: Max Lapan
  • Prev by Date: [Wireshark-dev] X11/GLX dissector
  • Next by Date: Re: [Wireshark-dev] wireshark-0.99.2 and OpenBSD 3.9
  • Previous by thread: [Wireshark-dev] X11/GLX dissector
  • Next by thread: Re: [Wireshark-dev] X11/GLX dissector
  • Index(es):
    • Date
    • Thread

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