2 releases (1 stable)

1.5.0 Sep 17, 2021
1.5.0-beta.4 Sep 15, 2021

#969 in Unix APIs

41 downloads per month

LGPL-2.1-or-later

75KB
2K SLoC

Rust 1.5K SLoC // 0.0% comments C 375 SLoC // 0.0% comments

wireguard-control

A high-level control library to get and set configurations for WireGuard interfaces.

It's a heavily-modified fork of K900's wgctrl-rs, and was made for innernet.

Currently supports:

  • Linux kernel WireGuard implementation
  • Userspace WireGuard implementations (tested against wireguard-go on macOS and Linux)

Versioning is held in lockstep with innernet, although this may change in the future.

Dependencies

~0.2–1.4MB
~28K SLoC