Created by Robert Gustafsson, Robin Krahl and Andreas Lindhé in DAT300 2017 at Chalmers University of Technology. Copyright belongs to the authors.
All code is published under the MIT license: https://opensource.org/licenses/MIT
These dependencies are packaged in the Debian repositories, but are also available on other platforms.
- Bro (
bro
) - Broccoli (
libbroccoli-dev
) - Tcpreplay (
tcpreplay
)
- Compile and export library path
- Start Bro
- Start the consumer (midbro_test)
- Send network traffic
The commands below assume you are in the root directory of this repository.
make
export LD_LIBRARY_PATH=$(pwd)/lib
Example: make midbro_test
sudo bro -b -C -i lo script/mid.bro Log::default_writer=Log::WRITER_NONE
./bin/midbro_test
sudo tcpreplay -i lo -M 100.0 livedata.cap