我的目標是擁有一個可以解析基於protobuf(UDP)的協議的插件/解析器。
我在網上找到一個自動生成的Wireshark /供協議緩衝區中的消息抓包剝離插件:https://code.google.com/archive/p/protobuf-wireshark/
當我按照ReadMe文件我跳過了「第1步:從源代碼安裝Wireshark的」,因爲我安裝了它(1.12版本。 3)。如何在Wireshark中解析protobuf包
步驟2:準備協議緩衝器 -
this step i dont understend, how do i install libprotobuf and where?
步驟3:更新Wireshark的配置文件 -
I'm not sure what is "wireshark_src_dir"
我創建了一個帶有wireshark.conf文件:
wireshark_src_dir:C:\ Program Files(x86)\ Wireshark
wireshark_install_dir:C:\程序文件(x86)\ Wireshark的
wireshark_version:1.12.3
4步:運行make_wireshark_plugin.py - 對於步驟i下載和安裝的python-3.6.0 -amd64.exe。
When i run this i get an error that: Traceback (most recent call last): File "C:\ProtoBuff\protobuff\make_wireshark_plugin.py", line 91, in f=open("configure.in","r") FileNotFoundError: [Errno 2] No such file or directory: 'configure.in'.
This file realy doesn't exists in the package i downloaded from github. Where do i get this file? do i need to create such? What is this make_wireshark_plugin.py generates?
第5步:創建原配置文件 - 所有的原配置文件需要在/ usr /共享/ Wireshark的/ protobuf的或 $ HOME/.wireshark/protobuf的。
i dont have a share folder and protobuf folder in wireshark installation path. Can i simply put the proto configuration files in the plugins folder?
也許,'libprotobuf'是包:'$容易名單libprotobuf *' –
假設libprotobuf是一個包。我在哪裏得到它?我如何安裝它? –
是的,我是一個Windows用戶 –