by infomaniac on 6/5/24, 4:13 PM with 129 comments
by dpeckett on 6/5/24, 6:38 PM
I've actually been hacking on a similar FOSS project lately, with a focus on building what I'm calling a layer 3 service mesh for the edge. More or less came out of my learned hatred for managing mTLS at scale and my dislike for shoving everything through a L7 proxy (insane protocol complexity, weird bugs, and you still have the issue of authenticating you are actually talking to the proxy you expect).
Last week I got the first release of the userspace router shipped, worth taking a look if you want to play around with a completely userspace and unprivileged WireGuard compatible VPN server.
https://github.com/noisysockets/nsh/blob/main/docs/router.md
by zxt_tzx on 6/6/24, 4:33 AM
Unlike, say, GitHub Codespaces, running something like this on your own infra means your incentives and Coder.com's are aligned, i.e. both of you want to reduce your cloud costs (as opposed to, say, GitHub running on Azure gives them an opportunity and incentive to mark up on Azure cloud costs).
by wmf on 6/5/24, 5:41 PM
But exfiltrating data with a userspace VPN is totally fine?
I'm also wondering why not use TLS.
by parhamn on 6/5/24, 6:32 PM
by raggi on 6/6/24, 12:17 AM
by pantalaimon on 6/5/24, 6:11 PM
by jiveturkey on 6/6/24, 6:09 PM
> we’d need a way for the TCP packets to get from the operating system back into Coder for encryption.
yes, this is commonly done via OpenSSL for example.
> This is called a TUN device in unix-style operating systems and creating one requires elevated permissions
waitasec, wut? sure you could use a TUN device I guess, but assuming some kind of multi-tenant separation is an underlying assumption they didn't mention in their intro, couldn't you also use cgroup'd containers? sorry if I'm not fluent in the terminology.
i'm struggling to understand the constraints that push them towards gVisor. simply needing to do encryption doesn't seem like justification. i'm sure they have very good reasons, but needing to satisfy a financial regulator seems orthogonal at best. i would just like to understand those reasons.
by nynx on 6/5/24, 6:18 PM
by convolvatron on 6/5/24, 6:03 PM
by andrewstuart on 6/5/24, 6:27 PM
by andrewstuart on 6/5/24, 6:28 PM
by jijji on 6/5/24, 6:06 PM
by yencabulator on 6/6/24, 5:04 PM