by woah · 10y ago · 0 comments
You can't, because such a plugin would have to have a-priori knowledge of the schema in use.
https://code.google.com/archive/p/protobuf-wireshark/
Sure, you don't know the NAME of the field, but you can see the ID of it.
Additionally, Protobuf is not good at encoding raw bytes - according to their own words.
> The fact that Protobuf is not self describing makes it unsuitable as a network protocol message format
Which is demonstrably untrue, as many companies (Google being the obvious example) have built huge networks on nothing but protobufs. It also is very close to saying that protobufs cannot be used for network applications.
Also, since Protobuf is not good at encoding raw bytes (their words, not ours) we find it unsuitable as a general purpose encoding for messages in a network protocol, where we expect a lot of raw bytes to be exchanged (files, video frames, VoIP frames etc.).