safewg

module
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2024 License: MIT

README

Safe Wireguard Interface

safewg is a pair of Go packages for controlling Wireguard from a process that doesn't have root priviledges.

The way to use is it that your process initially starts with root priviledges, then you spawn the Wireguard controller (with root priviledges), and then you spawn a copy of yourself with reduced priviledges.

The reduced-priviledge process connects to the priviledged process via a unix socket, and they communicate using a simple protocol built around Go's GOB encoder/decoder.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL