Skip to content

An extensible Wireshark dissector for PTP, MTP and PTP/IP implemented in Lua

Notifications You must be signed in to change notification settings

tengelmeier/mtp-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme for MTP tools

The project contains an Wireshark plugin to deal with PTP / MTP / PTP-IP / Fuji PTP over IP in various flavors. One of the goals was to to create an easy to extend Wireshark dissector for PTP.

The toolchain implements:

  • extract the descriptions of PTP types and constants to JSON from other sources: ptp_descriptions
  • generate code for dealing with PTP data based on JSON API descriptions code_generation
  • an example of such generated code: wireshark, an wireshark dissector lua plugin that extracts much more of PTP data that the original C-based dissector plugin

The code-generation approach is influenced by

Licensing:

I hope I can explain it as simple as possible. And: IANAL. In my understanding, extracting constants from some source code produces 'derivate work'. So using one of the scripts in ptp_descriptions creates a JSON file that has the same license as the original source code. This gives the following matrix:

This means:

  • using the code-generator with your own templates to create some source based on descriptions in ptp-bsd-license will generate BSD-licensed code.
  • using the code-generator with your own templates to create some source based on descriptions in ptp-lgpl-license will generate LGPL-licensed code.
  • using the code-generator to generate an Wireshark dissector will build GPL code, regardless of the descriptions used.

About

An extensible Wireshark dissector for PTP, MTP and PTP/IP implemented in Lua

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published