Open In App

What are Protobuf Search Paths in Wireshark?

Protocol Buffers define how the local and remote Wireshark processes should interact with each other. The protocol buffer chatty layer allows you to configure a proxy server and have Wireshark talk to it, which could be on your own machine or on a different one. This is sometimes useful for debugging, but there are processors in data centers that are running Wireshark as well.

In those cases, you can use the protobuf search paths value to tell them where to find the protocol buffers files they need in order to communicate with each other. If you’re trying to troubleshoot an issue with Wireshark saving data from a customer’s node application (e.g., Apache Spark, Apache Kafka, etc.).



Protocol Buffers in Wireshark:

Protocol Buffers are used for protocol negotiation and file format description. The file name of the downloaded protocol buffer code is called a “binary” and the actual binary object data is called a “byte stream”. Protocol buffers are used by many other tools, such as Drop wizard libraries and Thrift libraries. In addition to developing open-source software to use them, they’re also used by proprietary software.

Protocol Buffers were originally created by Google in 2007 to be better at describing how Java programs communicate with each other across a network. Today they are supported by Facebook and Apple, among others. You can learn more about Google’s use of Protocol Buffers here.



Protobuf Search Paths:

When Wireshark communicates with a Wireshark instance on a different computer on the same network you can specify which protocol buffers binary to use for communication by defining a protobuf search path. You’ll want to set your protobuf search paths value in your Wireshark preferences file (usually located at C:\Users\<username>\AppData\Local\Programs\Wireshark\). The default value is “wiretap”, which uses the Wireshark binaries compiled with system libraries:    

 Wireshark –version …     

Protocol Buffers Version: 2.3.0     

Application Version: 1.10.1   

 Library Version: 2.3.0

Protobuf Search Paths are “key=value” pairs, separated by a semicolon and surrounded by quotes (e.g., “path=C:\Users\<username>\AppData\Local\MyProtoshare\”).

 

 

Features: 

Save and Run Preferences:

Article Tags :