1. Bendik
  2. streamzero

Overview

HTTPS SSH
streamzero: A tool to produce TCP streams with specific traffic patterns

Prerequisites: cmake, (libssl-dev libssl0.9.8 if SHA calulcation is required)

To build:  enter streamzero/build
        run: "cmake .."
        run: make

To enable setting the RDB socket option from streamzero, run cmake with
case, use: cmake .. -DWITH_RDB=True

This requires an updated /usr/include/linux/tcp.h containing a definition of TCP_THIN_RDB such as
#define TCP_THIN_RDB          25

Support for SHA calulcation is automatic with linking to ssl if library is found. If this check fails (even if it's installed (unlikely))
you can force linking with -DWITH_HASH_SUPPORT. You need libssl/dev-libssl? on Ubuntu.

Compile with debug info -g3
cmake .. -DCMAKE_BUILD_TYPE=Debug

streamzero_srv:    server app
streamzero_client: client app

When installing custom kernel, the kernel headers must also be installed:
make headers_install INSTALL_HDR_PATH="/usr/

To build without cmake:

gcc -lm -o streamzero_srv streamzero_srv.c
gcc -lm -o streamzero_client streamzero_client.c

Known issues:
* Hash verification with UDP does not work.