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

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