Jonas Pflanzer 51bc8e5019 Clang format il y a 5 ans
..
include 9cae9fb136 merged develop into us12 il y a 5 ans
src 51bc8e5019 Clang format il y a 5 ans
test d45e06fc78 Put now requires to send amount of chunks il y a 5 ans
CMakeLists.txt 6f0fba14c1 Make tests optional il y a 5 ans
README.md e057cd4b1a Maintain READMEs il y a 5 ans
ccats.service 356b02fb13 created deamon il y a 5 ans

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