A small tool receiving TZSP encapsulated data and forwarding it to a local tap interface. Very usefull for IDS systems.
On linux simply do:
gcc -o tzsptap -Wall tzsptap.c
On FreeBSD do:
cc -o tzsptap -Wall tzsptap.c
To run the tool check the usage:
# ./tzsptap
No listen address given.
Usage: ./tzsptap [-v] -l address [-p port]
-v : Be verbose
-l address : the IP address to listen on
-p port : the port to listen on [default: 37008]
-h : Print this help
You need to supply at least the address the tool shall listen on.