Jonas Pflanzer 5389331718 Fancy Cmake dependencies 5 tahun lalu
..
include b55c4601d4 Merge branch '29-us20-1-signup-command-server' into develop 5 tahun lalu
src 5389331718 Fancy Cmake dependencies 5 tahun lalu
test 5389331718 Fancy Cmake dependencies 5 tahun lalu
CMakeLists.txt 5389331718 Fancy Cmake dependencies 5 tahun lalu
Daemon-Config-Reference.md a4c8d5e41b Fixing some config and user manager bugs 5 tahun lalu
README.md e057cd4b1a Maintain READMEs 5 tahun lalu
ccats.service 356b02fb13 created deamon 5 tahun lalu

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