tree: 0b854ba59e066d9d6e8ae1c5e435258bfd56c5d5 [path history] [tgz]
  1. pulsar.lua
  2. README.md
wireshark/README.md

Note: This Lua script may cause a crash in the newest version of Wireshark, see #18439. Make sure the version of Wireshark is earlier than v4.0.0.

How to use

Step 1: prepare PulsarApi.proto file

You need to put PulsarApi.proto to a separate path.

  1. Open your Wireshark.

  2. Go to Edit > Preferences > Protocols > ProtoBuf > Protobuf, and then search paths.

  3. Add the path of PulsarApi.proto.

  4. Check Dissect Protobuf fields as Wireshark fields box. When this box is checked, you can use pbf.pulsar.proto to visit fields in protobuf package.

Step 2: add pulsar.lua to plugins

  1. Open Wireshark.

  2. Go to About Wireshark > Folders > Personal Lua Plugins > Plugin Path.

  3. Add pulsar.lua to this path.

Step 3: start to use

This plugin registers a Pulsar protocol automatically in 6650. You can use this Wireshark filter string to find out Pulsar packages (ignore ping/pong):

tcp.port eq 6650 and pulsar and pbf.pulsar.proto.BaseCommand.type ne "ping" and pbf.pulsar.proto.BaseCommand.type ne "pong"