package
0.0.0-20250110112245-bf9615135680
Repository: https://github.com/edup2p/common.git
Documentation: pkg.go.dev

# README

Wireguard Userspace

WIP: This folder contains a WireGuardHost ran in userspace.

See this ongoing issue for more context: https://github.com/edup2p/common/issues/49.

On all platforms; The userspace wireguard implementation needs sufficient permissions to;

  • Create a network interface
  • (MacOS/Linux) Run ip/route commands.

For now, practically, this requires sudo on linux and macos, and an elevated prompt on windows (or gsudo).

(See this issue for more information about permission refinement: https://github.com/edup2p/common/issues/56)

This implementation will configure its own routing, interface, and IP address, as given by Control.

As for now, NewUsrWGHost() will create a new userspace host, which can be passed to toversok.Engine directly.

Permission errors bubble up at (*toversok.Engine).Start().

# Packages

No description provided by the author

# Functions

No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ChannelConn is a types.UDPConn based on two internal channels.
No description provided by the author
No description provided by the author
No description provided by the author