Sander, Paul b7bcb8f431 Resolve "US26.1: Delete command (Server)" 5 лет назад
..
include b7bcb8f431 Resolve "US26.1: Delete command (Server)" 5 лет назад
src b7bcb8f431 Resolve "US26.1: Delete command (Server)" 5 лет назад
test b7bcb8f431 Resolve "US26.1: Delete command (Server)" 5 лет назад
CMakeLists.txt 370568912e Revert partly "fixed function signature from openGetFile" 5 лет назад
Daemon-Config-Reference.md b7bcb8f431 Resolve "US26.1: Delete command (Server)" 5 лет назад
README.md e057cd4b1a Maintain READMEs 5 лет назад
ccats.service 356b02fb13 created deamon 5 лет назад
createsslfiles.sh e2ab8c089f implement very basic ssl, todo allow server to run without ssl and get ssl fully running (broken right now, complains about no shared cipher) 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