-
Quick Setup Wireshark Development Environment Refer to https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html.
set WIRESHARK_PATH = C:\Development\wireshark
-
Setup spdm plug in development environment
Copy spdm folder to %WIRESHARK_PATH%\plugins\epan.
git clone https://github.com/jyao1/openspdm.git
Copy openspdm folder to %WIRESHARK_PATH%.
Rename %WIRESHARK_PATH%\CMakeListsCustom.txt.example to %WIRESHARK_PATH%\CMakeListsCustom.txt.
Modify """ set(CUSTOM_PLUGIN_SRC_DIR
) """ to """ set(CUSTOM_PLUGIN_SRC_DIR plugins/epan/spdm ) """
-
Build dependent library
cd %WIRESHARK_PATH%\openspdm mkdir build cd build cmake -G"NMake Makefiles" -DARCH=X64 -DTOOLCHAIN=VS2019 -DTARGET=Debug -DCRYPTO=<MbedTls|Openssl> -DTESTTYPE=WireShark .. nmake
-
Build Wireshark and plugin Refer to chapter 2.2.13 of https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html.
-
Install WinPcap and Npcap https://www.winpcap.org/install/default.htm https://nmap.org/npcap/
-
Capture SPDM communication data Excute Wireshark refer to https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html.
Choose "Adapter for loopback traffic capture" > Input "spdm" in filter frame
Wireshark start to capture data.
j
wireshark-spdm
public
1 stars
0 forks
0 issues
Commits
List of commits on branch master.Unverified
f902462dd3255f3eb926fa657619324e99bb5547Add all basic dissect functions for normal messages
committed 4 years ago
Unverified
dbcd9793f8b85351dc673cb8219005db0a207d26Update code
committed 4 years ago
Unverified
c84d43de8d390342f4b84af190f3298ffb5e8978Add initial check in.
jjyao1 committed 4 years ago
Unverified
b705d91db9d8ccbeb11c038ae4dce40c6aa5849eAdd readme.
jjyao1 committed 4 years ago