lemonshark allows to use Wireshark as a library.
liblemonshark
offers an FFI friendly C-API and bindings for C# (.NET) and Python.
See Examples
folder for some examples.
Building liblemonshark
on Windows requires Git, Python, CMake and Visual Studio 2022 and a number of Python packages.
Run build.py
within a x64 Native Tools Command Prompt for VS 2022
.
Building liblemonshark
on Linux requires several tools Git, Python, CMake, gcc and number of Python packages.
In addition to that Wireshark itself has a number of dependencies. On debian based systems these can be installed with a script provided called debian-setup.sh in the Wireshark repo.
Having all dependencies installed run build.py
.
Contributions are welcome.
Copyright (c) 2024 DevAM