Jonas Pflanzer e057cd4b1a Maintain READMEs 5 years ago
..
include 8d6ce34343 First unit tests using gtest and gmock 5 years ago
src 8d6ce34343 First unit tests using gtest and gmock 5 years ago
test b2cc3ab105 Adding more jsonCommander tests 5 years ago
CMakeLists.txt 6f0fba14c1 Make tests optional 5 years ago
README.md e057cd4b1a Maintain READMEs 5 years ago
ccats.service 356b02fb13 created deamon 5 years ago

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