#wireguard #bindings #safe #networking #wrapper #access

wgbind

Wireguard bindings and wrapper around bindings for safe access - WIP

8 releases

0.2.2 Nov 10, 2023
0.2.1 Nov 9, 2023
0.1.4 Nov 8, 2023

#1735 in Network programming

Download history 9/week @ 2024-02-24 13/week @ 2024-03-09 1/week @ 2024-03-16 27/week @ 2024-03-30 97/week @ 2024-04-20

124 downloads per month

MIT license

120KB
2.5K SLoC

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

This is an early work in progress project. please do not expect an stable api anytime soon


lib.rs:

Wrapper around the wireguard c library originating from Jason A. Donenfeld Jason@zx2c4.com

Provides an abstraction around the c ffi bindings. This should allow to invoke Wireguard function within safe rust code. Be aware to run these methods the programm requires the priviliges to change your network settings. Most likely root rights! otherwise calling the methods will fail.

The same is true if you attempt to run any tests.

Dependencies

~0–2MB
~41K SLoC