2

I am looking for a wireshark plugin for google protocol buffer. And I found this GPB Wireshark plugin http://code.google.com/p/protobuf-wireshark/

Apparently only UDP….Is there a GPB plugin for wireshark that works for TCP?

4

2 回答 2

2

您可以改用 Wireshark 附带的 Protobuf 解析器。从 Wireshark 3.2.0 开始,现在可以配置 *.proto 文件以更精确地解析序列化的 Protobuf 数据(例如 gRPC)。

从该版本开始支持基于 UDP 端口解析 Protobuf 数据。您还可以编写一个简单的解析器来调用 TCP 的 Protobuf 解析器,方法是通过 C 中的 'data' 参数或 lua 中的 pinfo.private["pb_msg_type"] 传递消息类型。

您可以从发行说明 ( https://www.wireshark.org/docs/relnotes/wireshark-3.2.0.html ) 中获得详细信息。在您自己的解析器中调用 Protobuf 解析器的详细信息在https://www.wireshark.org/docs/wsug_html_chunked/ChProtobufUDPMessageTypes.html上。

于 2020-03-20T15:02:05.843 回答
-1

该插件仅支持wireshark 10.0.2。

于 2014-01-28T14:09:14.410 回答