Live data from Hacker News

WireGuard-rs – Official Rust implementation of WireGuard

git.zx2c4.com

21–29 of 29 posts

Re: WireGuard-rs – Official Rust implementation of WireGuard

#25
post #19
post #16

Earlier quoted context omitted.

A high density of "things that Hacker News people dislike" in a single comment - bold! (FWIW I personally really like Cloudflare and think that a lot of their hate is unjustified. Warp is probably a good place for a new-to-programming person to start, but doesn't offer any functionality that makes me want to transition away from my already-customized shell)

The Cloudflare Warp VPN is not the same as the Warp terminal.

Ah, I wasn't aware of Cloudflare's product of the same name - thanks!

Re: WireGuard-rs – Official Rust implementation of WireGuard

#26
post #18
post #7

If anyone needs one of these, there is an UNofficial implementation by Cloudflare, which is used in Warp. https://github.com/cloudflare/boringtun

I am hesitant to use this, it appears to be basically unmaintained https://github.com/cloudflare/boringtun/issues/344 https://github.com/cloudflare/boringtun/issues/407

[deleted]

Re: WireGuard-rs – Official Rust implementation of WireGuard

#27
post #13

Earlier quoted context omitted.

How do rust projects work over rust versions? Is rust stable enough from 20-24 that the project would likely remain in a state to compile on a new rust tool chain? Do "Editions" completely solve this?

Pretty much. I've had a great deal of luck rebuilding older projects. You can lock your toolchain as an added protection, but `cargo clippy --fix` is often enough to fix 90% of those. I think the only time I really struggled with a toolchain upgrade was with one of the crypto libraries that was bringing in a broken version of some SIMD code (cannot remember the exact details). For kicks I cloned and build this with R…

Thanks for the info.

Is "lock your toolchain" via rustup? It appears to be the equivalent of rbenv/pyenv/nodenv/asdf etc but part of rust.

Re: WireGuard-rs – Official Rust implementation of WireGuard

#28
post #10
post #4

Earlier quoted context omitted.

Why is that a bad thing? Maybe it just works and doesn't need further changes.

Looking at the supported platforms, it looks like the only one is Linux. The README has this to say about it though: "This will run on Linux; however YOU SHOULD NOT RUN THIS ON LINUX. Instead use the kernel module; see the installation page for instructions."

It's like git: you write it for linux, then leave it as is.

Re: WireGuard-rs – Official Rust implementation of WireGuard

#29
post #16
post #7

If anyone needs one of these, there is an UNofficial implementation by Cloudflare, which is used in Warp. https://github.com/cloudflare/boringtun

A high density of "things that Hacker News people dislike" in a single comment - bold! (FWIW I personally really like Cloudflare and think that a lot of their hate is unjustified. Warp is probably a good place for a new-to-programming person to start, but doesn't offer any functionality that makes me want to transition away from my already-customized shell)

Cloudflare is an evil company that at this point exists to a significant degree to hoover data for the US government and shelter sexual predators. Nobody should condone them or by using their technology promote their existence.
Post reply on HN