Jonas Pflanzer 22fd34e7c6 Link to bcrypt instead of liblibbcrypt.a.a | %!s(int64=4) %!d(string=hai) anos | |
---|---|---|
.. | ||
include | %!s(int64=4) %!d(string=hai) anos | |
src | %!s(int64=4) %!d(string=hai) anos | |
test | %!s(int64=4) %!d(string=hai) anos | |
CMakeLists.txt | %!s(int64=4) %!d(string=hai) anos | |
CovertProtocol.md | %!s(int64=4) %!d(string=hai) anos | |
Daemon-Config-Reference.md | %!s(int64=4) %!d(string=hai) anos | |
README.md | %!s(int64=5) %!d(string=hai) anos | |
ccats.service | %!s(int64=5) %!d(string=hai) anos | |
createsslfiles.sh | %!s(int64=5) %!d(string=hai) anos |
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