/t2plugin

Crate to develop Rust plugins for Tranalyzer2

Primary LanguageRust

t2plugin

This crate allows to easily develop Rust plugins for Tranalyzer2, a network traffic analysis tool.

Documentation

https://tranalyzer.com/rustdoc/t2plugin/

Example plugin

https://github.com/Tranalyzer/rustExample

Create a new plugin

  1. Download and install Tranalyzer2.

  2. Clone the Tranalyzer2 Rust plugin template and rename it.

     cd $T2HOME
     git clone https://github.com/Tranalyzer/rustTemplate.git myPluginName
     cd myPluginName
     ./autogen.sh --rename
    
  3. Optional: change the PLUGINORDER at the top of autogen.sh.

  4. Fill the different methods of the T2Plugin trait implementation in src/lib.rs.