This project is a plugin for wireshark that will dissect Solace SMF protocol.
Note: Wireshark SMF Plugin is currently supported on Wireshark 4.0.x, 4.2.x, 4.4.x, and 4.6.x
- Install Wireshark.
- Download the corresponding zip file for your platform (Click on "Releases" and in the releases page, click on "Assets" to see the downloadable contents).
- Unzip the folder and place the .dll (Windows) or .so (Mac/Linux) file in the Wireshark plugin folder, under
epan. The plugin folder path varies for each OS.
Personal Plugin Folder (version specific, use the wireshark major.minor):
%APPDATA%\Wireshark\plugins\4.6\epan
Global Plugin Folder (version specific, use the wireshark major.minor):
C:\Program Files\Wireshark\plugins\4.6\epan
Personal Plugin Folder:
~/.local/lib/wireshark/plugins/4.6/epan
Personal Plugin Directory:
~/.local/lib/wireshark/plugins/4-6/epan
Important
If you get an error message saying library load disallowed by system policy when lauching wireshark, you must run this command to allow the plugin to load:
sudo xattr -d com.apple.quarantine ~/.local/lib/wireshark/plugins/4-6/epan/smf.soSee Wireshark Documentation on Plugin Folders for more information on installing plugins.
- Open Wireshark
- Navigate to
Help>About Wireshark - Under the
Folderstab, you can find the location for global and personal folders - After installing the plugin, verify that the plugin is loaded by searching
smfunder thePluginstab
Note
If you plan to submit changes, create a fork first and clone from the fork.
- Install the dependencies
# ubuntu
sudo apt install cmake gcc git ninja-build wireshark-dev
# fedora
sudo dnf install cmake gcc git ninja wireshark-devel
# arch linux
sudo pacman -Syu cmake gcc git ninja wireshark-cli- Clone the repo
git clone https://github.com/SolaceLabs/wireshark-smf-plugin
# or
git clone <your-fork>/wireshark-smf-plugin- Enter the repo
cd wireshark-smf-plugin- Configure cmake
# optionally add "-DCMAKE_EXPORT_COMPILE_COMMANDS=1" to export the "compile_commands.json"
cmake -G Ninja -B build- (optional) If you chose to export the compile commands, you can copy them from build or create a symbolic link
ln -s build/compile_commands.json- Build the plugin
cmake --build buildYou can then find the plugin at build/smf.so.
Note
On Windows, you must use the Visual Studio Developer Command Prompt when running the cmake commands.
- Install the dependencies
# windows
choco install -y visualstudio2022community visualstudio2022-workload-nativedesktop cmake git ninja 7zip
# ubuntu
sudo apt install build-essential bison cmake curl flex git ninja-build libc-ares-dev libgcrypt20-dev libglib2.0-dev libxml2-dev zlib1g-dev
# fedora
sudo dnf install bison cmake curl flex gcc gcc-c++ git ninja-build c-ares-devel glib2-devel libgcrypt-devel libxml2-devel zlib-devel
# arch linux
sudo pacman -Syu c-ares cmake flex gcc git ninja python- Clone the repo
git clone https://github.com/SolaceLabs/wireshark-smf-plugin
# or
git clone <your-fork>/wireshark-smf-plugin- Enter the repo
cd wireshark-smf-plugin- Configure cmake
# optionally add "-DCMAKE_EXPORT_COMPILE_COMMANDS=1" to export the "compile_commands.json"
# you must specific a major / minor version
cmake -G Ninja -B build -DPLUGIN_VERSION_MAJOR=4 -DPLUGIN_VERSION_MINOR=6- (optional) If you chose to export the compile commands, you can copy them from build or create a symbolic link
ln -s build/compile_commands.json- Build the plugin
cmake --build buildYou can then find the plugin at build/smf.so or build/smf.dll.
TODO: Build out-of-tree. See github workflow for working steps.
As this plugin is designed for use in Wireshark, the MAJOR.MINOR match the Wireshark versions. I.E. SMF Plugin 4.0.x indicates support for all patches of Wireshark 4.0.
The PATCH version of the plugin differentiates versions of the SMF Plugin. As long as the MAJOR.MINOR of the plugin match the corresponding MAJOR.MINOR Wireshark version, then they are compatible.
This is not an officially supported Solace product.
For more information try these resources:
- Ask the Solace Community
- The Solace Developer Portal website at: https://solace.dev
Contributions are encouraged! Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
See the list of contributors who participated in this project.
Wireshark SMF Plugin is licensed under the GNU GPLv2. See the LICENSE file for details.
There is no warranty, expressed or implied, associated with this product. Use at your own risk.