Jonas Pflanzer 58ab6db0b1 head positive test. don't use base64 encoder 5 年之前
..
include a39ee97d3f run autoformatter with new config 5 年之前
src a39ee97d3f run autoformatter with new config 5 年之前
test 58ab6db0b1 head positive test. don't use base64 encoder 5 年之前
CMakeLists.txt 370568912e Revert partly "fixed function signature from openGetFile" 5 年之前
Daemon-Config-Reference.md a4c8d5e41b Fixing some config and user manager bugs 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