2 ms·
We use netstack. It's great. https://pkg.go.dev/inet.af/netstack https://pkg.go.dev/inet.af/netstack I could try to give you reasons we use it but the truth is
by tptacek 5y ago
We use netstack. It's great. https://pkg.go.dev/inet.af/netstack https://pkg.go.dev/inet.af/netstack
I could try to give you reasons we use it but the truth is that I mentioned something about wanting a user-mode TCP and Jason Donenfeld said netstack was there, and then got it to work.
We don't do any system call hijacking! Don't have to. Go abstracts Dialers and Listeners, and the WireGuard part itself is just a vanilla UDP protocol spoken over a PacketConn.