This is a Wireshark dissector for the block transport layer of SHV RPC as described here.
chainpack-rpc-block-dissector expects cp2cp to be in your PATH
. Alternatively, you can specify the location of cp2cp via the WIRESHARK_CP2CP_COMMAND
environmental variable (pass it to Wireshark).
cp2cp can be installed in multiple ways.
cargo install --git https://github.com/silicon-heaven/libshvproto-rs
Make sure the cargo installation prefix is in your PATH
.
If you're using Arch Linux, you can use the AUR package: https://aur.archlinux.org/packages/cp2cp-git.
Visit libshvproto-rs project Actions.
git clone https://github.com/silicon-heaven/libshvproto-rs
cd libshvproto-rs
cargo build
export WIRESHARK_CP2CP_COMMAND="$(pwd)/target/debug/cp2cp"
If you're using Arch Linux, there's an AUR package available here.
Copy the dissector script into the Wireshark plugin directory as described here.