Back to Brpc

介绍

docs/cn/wireshark_baidu_std.md

1.16.01.5 KB
Original Source

English version

介绍

wireshark_baidu_std.lua 是针对 baidu_std 协议的 Wireshark 解析插件,同时支持 streaming_rpc 协议的解析。

请求包的解析示例:

响应包的解析示例:

使用方式

  1. wireshark_baidu_std.lua 放到 "Personal Lua Plugins" 目录下;
  2. options.protostreaming_rpc_meta.proto 以及 baidu_rpc_meta.proto 放到 "Personal configuration" 目录下的 protobuf 目录中,目录如不存在可以手动创建;
  3. 参考 Wireshark Protobuf 配置 Protobuf 系统 proto 文件路经,如:/opt/homebrew/opt/protobuf/include
  4. 可选,如需想使用相关字段进行过滤,可打开如下选项:

上面提到的 "Personal Lua Plugins" 以及 "Personal configuration" 目录可查看 About WiresharkFolders 页面,相关目录是平台相关的,macOS 下如: