Rust implementation status

sopium sopium at mysterious.site
Tue Mar 14 17:29:12 CET 2017


Hi Sascha and folks,

 ---- On Sun, 05 Mar 2017 20:42:00 +0900 Sascha Grunert <saschagrunert at icloud.com> wrote ---- 
 > Hey folks, 
 >  
 > I want to call for participation of the Rust userspace implementation of WireGuard. The template for the initial implementation was this: https://www.wireguard.io/xplatform/ and can be found here: https://git.zx2c4.com/wireguard-rs/. 
 >  
 > What works for now: 
 >  
 > - A main working executable (`cargo run -- -h`) which parses the command line parameters via the `clap` crate 
 > - General debug and tracing support via the `log` crate 
 > - Daemonizing support 
 > - The wireguard library which creates a local socket and waits for incoming connections (reference implementation) 
 >
 > [...]

I have kept an eye on this. It seems that you were mostly working
on the `xplatform` stuff, and haven't started on the actual
implementation of the protocol yet. My code has (partly)
implemented the protocol, but lacks the `xplatform` ui. So it
seems like a perfect time to merge efforts. What do you think?

And to all who are interested in userspace WG impls, in
particular Rust impls, I have adjusted the goal of my project to
“to write a secure, compatible, cross-platform and reasonably
fast user-space implementation of WireGuard in Rust”. I am also
committed to finishing and maintaining it. There is a big TODO
list, and contribution is welcome!

For those not closely following this thread, the project is at:

  https://github.com/sopium/titun/tree/wg

Regards,
Sopium




More information about the WireGuard mailing list