Top
Best
New

Posted by km 4 days ago

GotaTun – Mullvad's WireGuard Implementation in Rust(mullvad.net)
625 points | 131 commentspage 2
mintflow 4 days ago|
For the similar reason I do not using any go based proxy code in my MintFlow app, and use rust to implement some proxy protocols.

But my app’s wireguard is natively implemented by fdio vpp plugin, so it’s based on C.

Bigpet 4 days ago|
I would not have guessed that iOS allows enough access to APIs to implement anything vpp-based. Very cool to see. I also enjoyed working with vpp (for the brief 6 months that I had with it).
mintflow 4 days ago||
I was thinking that's hard, but I noticed that vpp get ported to FreeBSD using epoll shim library, and I learnt apple Darwin use some some userland of FreeBSD to do POSIX compatibility, then after some tests and hacking, most related to minor POSIX API adaptation such as mmap and one major coroutine need add some assembly code, and it work! But I think most disappointed to me is that apple do lack some vectorized network IO unless do some kernel extension or other sort non standard ways.
yablak 1 day ago||
Hope tailscale adopts this
alias_neo 4 days ago||
Is there any way to switch to this implementation for generic WireGuard users?

I tried downloading their Android app, but it's not generally usable for people who host our own WireGuard, which is fair enough.

wasmitnetzen 4 days ago|
The github repo is linked in the post which has build instructions: https://github.com/mullvad/gotatun
apitman 4 days ago||
I would love to see more root cause analysis data on the crashes they were seeing with wireguard-go. I wonder if it was bugs in the library itself, or the FFI.
01HNNWZ0MV43FF 4 days ago|
Yeah I'm surprised by that. I thought Wireguard was so simple and wireguard-go was so popular that it wouldn't crash. It's just UDP packets.
coppsilgold 4 days ago||
Can you use DAITA with just gotatun (on linux) or do you require the Mullvad daemon?
stronglikedan 4 days ago||
Now that's how you name things!
ballpug 4 days ago||
[dead]
huflungdung 4 days ago||
[dead]
cboyardee 4 days ago||
[dead]
jpxfrd3232 4 days ago|
[flagged]
More comments...