Jonas Pflanzer 424382f216 Add some notes | 4 gadi atpakaļ | |
---|---|---|
.. | ||
include | 4 gadi atpakaļ | |
src | 4 gadi atpakaļ | |
test | 4 gadi atpakaļ | |
CMakeLists.txt | 4 gadi atpakaļ | |
CovertProtocol.md | 4 gadi atpakaļ | |
Daemon-Config-Reference.md | 4 gadi atpakaļ | |
README.md | 4 gadi atpakaļ | |
ccats.service | 5 gadi atpakaļ | |
createsslfiles.sh | 4 gadi atpakaļ |
mkdir build
cd build
cmake ..
make
To build tests just set the ENABLE_TESTS
variable to true and rebuild the program.
cmake .. -DENABLE_TESTS=true
make
Currently the first argument is the network interface for the sniffer.
bin/ccats lo
make test
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