protobuf-wireshark


Auto-generate Wireshark/Ethereal dissector plugins for Protocol Buffer messages

Goal

View UDP packets containing messages packed using Google Protocol Buffers in Wireshark (or Ethereal).

Approach

If the .proto file is not available, a generic wireshark dissector plugin displays messages as "field id: value" pairs.

If the .proto file is available, a custom wireshark dissector plugin displays messages as "field name: value" pairs.

The wireshark dissectors simply use the unpacking code present in the base libprotobuf and that generated by protoc (when the .proto file is available).

Detailed information can be found in the README.

Screenshot

The following screenshot shows how packets containing addressbook messages (from the example in Google Protocol Buffers package) are displayed in Wireshark.

http://protobuf-wireshark.googlecode.com/files/Wireshark-addressbook-screenshot.png

TODO

  1. Your suggestions are highly welcome

Project Information

Labels:
wireshark protocolbuffers protobuf