Jonas Pflanzer 327e03c0e6 Merge branch 'us12' into develop 5 年之前
..
include 9cae9fb136 merged develop into us12 5 年之前
src 327e03c0e6 Merge branch 'us12' into develop 5 年之前
test 327e03c0e6 Merge branch 'us12' into develop 5 年之前
CMakeLists.txt 7c25df7615 Own folder for tests in build directory 5 年之前
README.md e057cd4b1a Maintain READMEs 5 年之前
ccats.service 356b02fb13 created deamon 5 年之前

README.md

Daemon

Build

mkdir build
cd build
cmake ..
make

Tests

To build tests just set the ENABLE_TESTS variable to true and rebuild the program.

cmake .. -DENABLE_TESTS=true
make

Run

Currently the first argument is the network interface for the sniffer.

bin/ccats lo

Tests

make test

Installation

After building the program copy executable:

sudo cp bin/ccats /usr/bin

Copy service file:

sudo cp ccats.service /etc/systemd/system/

Enable and start service with:

sudo systemctl enable ccats.service

and start it

sudo systemctl start ccats.service