4 ms·
What does this mean? “We’ve gone a step beyond that: every time you run flyctl, our lovable, sprawling CLI, it conjures a TCP/IP stack out of thin air, with it
by mdavid626 3y ago
What does this mean?
“We’ve gone a step beyond that: every time you run flyctl, our lovable, sprawling CLI, it conjures a TCP/IP stack out of thin air, with its own IPv6 address, and speaks directly to Fly Machines running on our networks.”
- makeworld 3y agoThey're saying Wireguard is used.
- Spivak 3y agoMore than that. They're saying that they're running a userspace implementation of both the tcp/ip stack and wireguard. Your machine isn't a peer to the wireguard tunnel, only flyctl is.
- dementik 3y agoOf course, your machine can be a peer also. You can create peers to your organization with `flyctl wireguard create`.
- carl_dr 3y agoBut that isn’t the case for all of the other uses of flyctl. You can’t make connections with other processes over the same connection flyctl makes when it’s doing stuff. That is what GP is saying.
- zrail 3y agoThey wrote a blog post all about it: https://fly.io/blog/our-user-mode-wireguard-year/ https://fly.io/blog/our-user-mode-wireguard-year/
- ape4 3y agoIts hard for me to think of a sprawling CLI that I love.
- freedomben 3y agoThis basically means they are using userspace Wireguard, such as the go implementation. That is as opposed to the in-kernel wireguard. The reason to mention conjuring a TCP IP stack out of thin air, is that most of the time the operating system is providing the tcpip stack as part of the kernel. With wireguard go, the tcpip stack is running in user space, meaning it can be created in a normal user space process such as the flyctl command line interface. This is indeed quite magical for people who have been around for many years as a usable in-process userspace tcpip stack is a relatively new and a novel thing.
- cchance 3y agoI always felt weird about this, i still cant really wrap my head around userspace tcpip stacks, it just feels... weird
- _JamesA_ 3y agoThere was a time that's all we had when using Windows [1]. It was weird. [1]: https://retrocomputing.stackexchange.com/questions/5891/how-did-microsoft-take-over-winsocks-windows-sockets https://retrocomputing.stackexchange.com/questions/5891/how-...