Back to Brpc

Overview

docs/en/wireshark_baidu_std.md

1.16.01.5 KB
Original Source

中文版

Overview

wireshark_baidu_std.lua is a Wireshark Lua dissector written for baidu_std protocol, including the streaming_rpc protocol.

Example for the Echo request:

Example for the Echo response:

How to use

  1. Put wireshark_baidu_std.lua under "Personal Lua Plugins";
  2. And put options.proto, streaming_rpc_meta.proto and baidu_rpc_meta.proto in protobuf directory under "Personal configuration", create if not exist;
  3. Set Protobuf Search Paths for Protobuf official library include directory(e.g. /opt/homebrew/opt/protobuf/include), see Wireshark Protobuf for more details.
  4. Optional, turn on Dissect Protobuf fields as Wireshark fields if you want to use related baidu_std fields for filtering:

The "Personal Lua Plugins" and "Personal configuration" folders above can be found under the Folders page of About Wireshark, for macOS: