~arx10/procustodibus-agent

synchronizes your WireGuard settings with Pro Custodibus
version 1.1.2
fix parsing of wg show fwmark in hex format
version 1.1.1

clone

read-only
https://git.sr.ht/~arx10/procustodibus-agent
read/write
git@git.sr.ht:~arx10/procustodibus-agent

You can also use your local clone with git send-email.

#Pro Custodibus Agent

Pro Custodibus is a service that makes WireGuard VPNs easy to deploy and manage. You run the Pro Custodibus agent on your own internal hosts, and the agent monitors and synchronizes your hosts' WireGuard settings with the remote Pro Custodibus service.

#Installing

Requires python 3.6 or newer and libsodium. Installer script can install requirements, plus the agent itself, on most linuxes. Install from source like the following:

./install.sh --install

Or run it like the following to see more options:

./install.sh --help

See the Installer Documentation for full details.

#Development

#Set up dev env

  1. Create a virtualenv with pyenv:
pyenv virtualenv 3.6.13 procustodibus-agent
  1. Activate the virtualenv:
pyenv local procustodibus-agent 3.6.13 3.7.10 3.8.8 3.9.2
  1. Install tox:
pip install tox
  1. Install pre-commit and pre-push hooks:
tox -e pre-commit install
tox -e pre-commit install -- -t pre-push

#Dev tasks

List all tox tasks you can run:

tox -av

Run unit tests in watch mode:

tox -e watch

Run all (docker-based) installer tests:

docker-compose -f test_install/docker-compose.yml build --pull
tox -e py36 test_install

Manually run pre-push hook on all version-controlled files:

tox -e pre-commit run -- -a --hook-stage push

#Resources

#License

The MIT License