Skip to content

a-shiomaneki/packet_vmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packet_vmt.lua

About

packet_vmt.lua is a Wireshark Plugin in Lua [1] for Virtual Motion Tracker [2] packet dissection. This plugin is developed as port-independent (heuristic) dissector [3] based on packet-osc.c [4].

How it works

under construction

Setting up

1. Place the configuration file

Place packet_vmt.lua in src folder to your Wireshark's user script folder [3]. Usualy the folder is C:\Users\<Your_User_ID>\AppData\Roaming.

The below PowerShell command can help you to place the script in this folder.

Copy-Item ./src/packet_vmt.lua $env:APPDATA/Wireshark/plugins

After this placement, you should reload the script folder by (Analyze->Reload Lua Plugins; Ctrl-Shift-L) button.

2. Check your enviroment

A python script test_packet_vmt.py in test folder can generate VMT messages which cover all type of VMT for a test. You can check your environment with this test script. test_packet_vmt.py requires three args options which are the IP address of the driver working on, VMT driver listening port number, and VMT manager listening port. Usualy, the driver and manager port numbers are 39570 and 39571 each other. If you are using Visual Studio Code, launch.json is useful to lunch this test script on Python mode. When you use this file, you should modify IP address and port numbers for your enviroment.

How to use

under construction

References

[1]Lua, https://wiki.wireshark.org/Lua
[2]VMT - Virtual Motion Tracker, https://github.com/gpsnmeajp/VirtualMotionTracker
[3]B.4. Plugin folders, https://www.wireshark.org/docs/wsug_html_chunked/ChPluginFolders.html
[4]Creating port-independent (heuristic) Wireshark dissectors in Lua, https://mika-s.github.io/wireshark/lua/dissector/2018/12/30/creating-port-independent-wireshark-dissectors-in-lua.html
[5]packet-osc.c, https://gitlab.com/wireshark/wireshark/-/blob/master/epan/dissectors/packet-osc.c

License

Copyright (c) 2021, A.Shiomaneki

This program is released under the MIT License. See LICENSE for the troposphere full license text.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published