The IOP Wireshark Plugin allows deeps inspection into IOP messages. This is done by auto-generated LUA script from JSIDL files. JSIDL stands for JAUS Service Interface Definition Language and contains also message definitions used to generate wireshark dissectors.
This package contains no JSIDL files. You can find such files in JausToolsSet or ROS/IOP Bridge. Without JSIDL files only the IOP header will be parsed.
We use PyXB-X to generate python code for XMLSchema of JSIDL. Install dependencies:
pip install PyXB-XClone this repository to your preferred destination.
git clone https://github.com/fkie/iop_wireshark_pluginIf you use it with ROS put this repository into ROS workspace and call
colcon build --packages-up-to fkie_iop_wireshark_pluginUse setup.py to install the code:
cd iop_wireshark_plugin/fkie_iop_wireshark_plugin
pip install . --break-system-packagesThe executable iop_create_dissector.py is now located in ~/.local/bin.
Note: to remove installed files call
pip uninstall fkie_iop_wireshark_plugin --break-system-packagesRun iop_create_dissector.py to generate the Lua script.
In ROS environment you can do it by
ros2 run fkie_iop_wireshark_plugin iop_create_dissector.pyotherwise
python3 ~/.local/bin/iop_create_dissector.pyIf no path for JSIDL files is given the script tries to find the fkie_iop_builder ROS package from ROS/IOP Bridge. If path not found only dissector for IOP header will be generated. You can change this path with --input_path.
By default, the plugin is written to the file ~/.local/lib/wireshark/plugins/fkie_iop.lua. You can change it by --output_path.
You can exclude subfolder from parsing if they contain different versions of the same message, e.g.
rosrun fkie_iop_wireshark_plugin iop_create_dissector.py --exclude urn.jaus.jss.core-v1.0Type iop into filter line in wireshark to display only IOP messages.
You can also filter for specific messages by ID or name, e.g.
iop.message_name == "QueryIdentification"
See Wireshark - Display Filter Expression window for other filter options.
