Tutorial: Building Tranalyzer2 and the Plugins

Introduction

Tranalyzer2 and the plugins can be independently built. Note that if t2_aliases was not installed, t2build must be replaced with /path/to/tranalyzer/autogen.sh.

Building Tranalyzer2 and the Default Plugins

$ t2build
...
$

Building Tranalyzer2

$ t2build tranalyzer2
...
$

Building All the Plugins

$ t2build -a
...
$

Building Specific Plugins

$ t2build pluginName1 pluginName2
...
$

Rebuilding Tranalyzer2 and the Current Plugins

$ t2build -R
...
$

Building Specific Plugins from a File

$ vi myplugins.txt
basicFlow
tcpFlags
txtSink
$ t2build -b myplugins.txt
...
$

Unloading a Plugin

$ t2build -u pluginName1 pluginName2
...
$

Emptying the Plugin Folder

$ t2build -e
Are you sure you want to empty the plugin folder '/home/user/.tranalyzer/plugins' (y/N)? y
Plugin folder emptied
$

Listing the Plugins Currently Active

$ t2build -l
basicFlow
basicStats
connStat
icmpDecode
macRecorder
portClassifier
protoStats
tcpFlags
tcpStates
txtSink
$

Getting Help with t2build

$ t2build --help
...
$