-
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
0c00e09a99843e175907023b65dabdee8403a3dfUpdate readme and fix some issue
committed 4 years ago
Unverified
3babe2126b0d56527ffe203d7489fabddd3276d3Update code to support more flags
committed 4 years ago
Unverified
aa50fc604563072fb43751dd14cda0c90ba80adaMerge branch 'master' of https://github.com/jyao1/wireshark-spdm
committed 4 years ago
Unverified
5cd61b3ffae3a6e2472601dca0ce995b52cf5640Update code to support secured message dissect
committed 4 years ago
Unverified
d56f2aa8708c910f505f46f1ce4c520713315aa5Update cpde
committed 4 years ago
Unverified
29aed973c3c889bfef02d3f5ef20b9cd431e38b2Update for dissecting all normal spdm message
committed 4 years ago