Skip to content

Latest commit

 

History

History

wireshark

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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"