Skip to content

AlexBreedveld/ctcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pipeline status GitLab Pages

cTCP

A simple TCP listener/server written in C++.

Description:

Useful for pinging servers that share the same public IP address. Precompiled for x86_64 and aarch64 systems.

Dependencies:

jq, unzip.

Installation (Debian-based distros):

  • Run the installer (as root):
wget 'https://git.al3xdev.com/al3xdev/ctcp/-/snippets/1/raw/main/download.sh' -O ./ctcp-install.sh && sudo bash ./ctcp-install.sh

Upgrade:

wget 'https://git.al3xdev.com/al3xdev/ctcp/-/snippets/1/raw/main/upgrade.sh' -O ./ctcp-install.sh && sudo bash ./ctcp-install.sh

Uninstall:

wget 'https://git.al3xdev.com/al3xdev/ctcp/-/snippets/1/raw/main/uninstall.sh' -O ./ctcp-uninstall.sh && sudo bash ./ctcp-uninstall.sh

Usage:

systemctl status/start/stop/restart ctcp.service

Configuration:

Edit the JSON file at: /etc/ctcp/ctcp.json

Fork of: https://github.com/kashimAstro/SimpleNetwork