GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pulsar-client-cpp/wireshark at main · apache/pulsar-client-cpp

Expand file tree

/

wireshark

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

wireshark

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
CMakeLists.txt
CMakeLists.txt
 
 
README.md
README.md
 
 
pulsar-dissector-example.jpg
pulsar-dissector-example.jpg
 
 
pulsarDissector.cc
pulsarDissector.cc
 
 
wireshark-plugins.jpg
wireshark-plugins.jpg
 
 

README.md

Outline

Pulsar Wireshark dissector

The Pulsar Wireshark dissector allows to automatically decode the Pulsar binary protocol and visualize useful debug information (linking requests with responses, latency stats, etc.)

There is also a dissector written in Lua, which only supports Wireshark before 4.0.

To install the Wireshark, see the official documents for details.

How to use

Install dependencies

  • macOS
$ brew install pkg-config wireshark protobuf
  • Ubuntu
$ sudo apt install protobuf-compiler libprotobuf-dev wireshark-dev

Build from source

Run the following commands in this subdirectory.

cmake -B build
cmake --build build

Then the pulsar-dissector.so plugin will be created under the build-wireshark directory.

NOTE:

If cmake -B build cannot find the WIRESHARK_INCLUDE_PATH, you have to provide the path manually by adding the -DWIRESHARK_INCLUDE_PATH=/path/to/wireshark/include option.

Copy to the plugin directory

  1. Run the Wireshark and click the menu Help - About Wireshark - Plugins, and then you can find the plugin directory. For example, it's /usr/lib/x86_64-linux-gnu/wireshark/plugins/3.2/epan on Ubuntu 20.04. Then, copy the dissector into that directory:

  2. Copy the dissector into that directory.

sudo cp ./build/pulsar-dissector.so /usr/lib/x86_64-linux-gnu/wireshark/plugins/3.2/epan/

To verify whether it has been loaded successfully, restart the Wireshark and then you can see the plugin in the plugin list:

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.