Jonas Pflanzer 039dca2c4a Fix put, get files miss bytes Bug 4 năm trước cách đây
..
include 039dca2c4a Fix put, get files miss bytes Bug 4 năm trước cách đây
src 039dca2c4a Fix put, get files miss bytes Bug 4 năm trước cách đây
test a4c8d5e41b Fixing some config and user manager bugs 4 năm trước cách đây
CMakeLists.txt 7c25df7615 Own folder for tests in build directory 4 năm trước cách đây
Daemon-Config-Reference.md a4c8d5e41b Fixing some config and user manager bugs 4 năm trước cách đây
README.md e057cd4b1a Maintain READMEs 4 năm trước cách đây
ccats.service 356b02fb13 created deamon 4 năm trước cách đây

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