NewsLab
Aug 28 13:47 UTC

Tailcat – Like netcat, but over Tailscale’s data plane (github.com)

655 points|by nderjung||126 comments|Read full story on github.com

Comments (126)

120 shown|More comments
  1. 1. cpuguy83||context
    Interesting. I thought about doing this immediately after reading their old blog[1] post on punching through NAT some time ago.

    Just a combo of never getting around to it and friends talking me out of it b/c of existing alternatives such as wormhole[2].

    [1] https://tailscale.com/blog/how-nat-traversal-works

    [2] https://github.com/magic-wormhole/magic-wormhole

  2. 2. petcat||context
    I did the homemade version of this for years just with SSH forwarding and nginx reverse proxy
  3. 3. nateguchi||context
    but without nat traversal...
  4. 4. petcat||context
    Is NAT traversal actually that big of a feature? The category of people that would use a tool like this already knows many ways to do it without NAT getting in the way.
  5. 5. 9dev||context
    Unless you have some kind of dynamic DNS with a background daemon, you'll be bothered by NAT eventually. And even then it's hardly as convenient. With Tailscale, I can sit on a rooftop bar in the Medina of Marrakech, connect my phone to the public WIFI, and access my laptop in the hotel WIFI across town. Or production infrastructure on a highly secured server somewhere on the other side of the planet. All without compromising security, and all devices involved just pick the shortest physical link to each other.

    It's really pretty cool.

  6. 6. frollogaston||context
    It's not a given that you always have some server without NAT in the way. Even if you do, it might bottleneck or add latency to the two ends trying to talk. I've been there.
  7. 7. dannyw||context
    If you ever connect over a mobile hotspot, then you need NAT traversal. And if you want something that "just works" across various network environments, you need NAT traversal.
  8. 8. gz5||context
    i like that it removes tailscale proprietary.

    if that is goal then why not go 100% open source to eliminate the ts derp control as well and get full sovereignty?

    like netbird, openziti, zerotier, etc.

  9. 9. bradfitz||context
    (Author here)

    The DERP server is already open source and tailcat can use any DERP server you run: https://github.com/tailscale/tailscale/tree/main/cmd/derper#...

    We just provide some default ones (https://tailcat.dev/derpmap.json) to get started if you're not bandwidth-sensitive. But you don't have to use them.

    Update: I added more explicit docs about this to https://github.com/tailscale/tailcat#bring-your-own-derp-rel...

  10. 10. gonzalohm||context
    Or just use wireguard directly. I get it that it's a pain in the ass to configure it, but there are plenty of open source config generators
  11. 11. bradfitz||context
    (Author here)

    WireGuard doesn't do NAT traversal. That's the main thing this adds. And this also adds a CLI tool + library to do streams over WireGuard w/o installing kernel routings, requiring root, etc.

  12. 12. mystifyingpoi||context
    > pain in the ass to configure it

    Idk? I found it pretty easy to configure by blindly following the tutorials and copy-pasting keys. The only footgun is the keepalive setting, which will screw up the tunnel if one end is behind NAT, that tripped me hard, but besides this, no issues at all.

  13. 13. zikduruqe||context
    > it's a pain in the ass to configure it

    Public/private key pairs are hard? It's no more terrible than other projects that require configs.

  14. 14. gonzalohm||context
    For me the complicated part was understanding the IP assignment for peers and how to set that up correctly
  15. 15. fodkodrasz||context
    IPSec may be a pain... but WireGuard is as simple as it gets in my opinion. Yeah, you may need to know basic IP concepts, like MTU...

    NAT traversal is a different topic, WG won't help in that, and that can actually be a pain. I guess we should be using IPv6 already, and this tool would be largely redundant already. (not completely, encrypted access to isolated networks is a valid use case)

  16. 16. derkades||context
    Even without NAT, the same hole punching techniques must be used for IPv6 since there is usually a firewall blocking inbound traffic. Only in CGNAT type scenarios where the network behind NAT is still "WAN" will be helped by IPv6.
  17. 17. jcgl||context
    This point applied to normal NAT as well as CGNAT specifically.

    And hole punching gets a lot simpler when you’re behind NAT since you don’t need any kind of rendezvous server to determine port mappings.

    In other words, IPv6 does help substantially—the same hole punching techniques are not needed.

  18. 18. aitchnyu||context
    Umm, we have a full opensource Tailscale stack now?
  19. 19. raggi||context
    always have! our darwin and windows clients are closed source, but they wrap the oss implementation in github.com/tailscale/tailscale and you can see and even use all the same hooks yourself.

    the control plane is closed source, but headscale is an open source alternative that we embrace and encourage people to use if it meets their needs/desires

  20. 20. TZubiri||context
    >"like netcat, but over Tailscale's data plane"

    Half of the Software offering nowadays seems to be selling vendor lock-in at no added value and then making a profit.

    Sure there's always some negligible added value, and then they reinvent a whole stack for their ecosystem. In the case of tailscale the added value seems to be avoiding going into your router and activating port forwarding? It looks like negative added value to me. Someone that tells you "don't do NAT traversal, just open a port" would be highly valuable, but saying no doesn't seem to be trendy, and is certainly not an easy sell.

  21. 21. bradfitz||context
    (Author here)

    There's no vendor lock-in here and no payment or account required. If Tailscale as a company fails, tailcat keeps working if you run your own DERP server. It's just open source code, not a hosted service.

  22. 22. TZubiri||context
    It's an official tailscale product no?

    Fwiw, I don't think vendor lock-in is a bad thing, but being open source doesn't mean there's no vendor-lock in. If a client builds their system on top of an open source technology, then switching away from that dependency would have a cost, even if that cost is engineering man-hours.

    If tailscale does not work out of the box with netcat, and requires a custom additional dependency to work, it raises the question that tailscale will not work out of the box with other tools like tcpdump or stunnel and apache, and I will need to install other custom dependencies like taildump, tailtunned, tailapache.

    When compared to other solutions that integrate without additional effort, installing vendor-specific dependency forks/clones means that there is an additional vendor lock-in.

  23. 23. parasyte||context
    This isn't due to tailscale not supporting or working with netcat; you can nc to an address on your tailnet just fine.

    This is using the infrastructure tailscale set up for a different purpose. Rather than requiring a tailnet or even an account anywhere, you can tailcat between any two endpoint. Tailscale is there because it runs the DERP relays which get the client's pubkey to the server, brokers the connection, and coordinates holepunching.

  24. 24. MattCruikshank||context
    ...this is a github repo. Pointing to an open source project. That is not forced to use any vendor-specific systems to function.
  25. 25. TZubiri||context
    It's a pattern that occurs in commercial software yes, but Open Source has its own version of building mirror ecosystems. Collaborating to bleeding edge issues on robust infrastructure is very hard, so junior engineers that want to collaborate in open source (often for reputation building) can do so in these mirror ecosystems, it's an added bonus if they believe that they are contributing to the bleeding edge instead of rebuilding an enantiomer tech stack.
  26. 26. MattCruikshank||context
    The author is Brad Fitzpatrick.

    He worked at Google for 12+ years. He created memcached, WebSub (PubSubHubbub), OpenID, and Perkeep (Camlistore). He's a late-stage co-founder of Tailscale.

    If he's a junior engineer, then I have no idea what a senior engineer is.

  27. 27. mystifyingpoi||context
    > In the case of tailscale the added value seems to be avoiding going into your router and activating port forwarding?

    Well, ignoring the tone... kinda yeah? I mean, if port forwarding works for you, and you have public IPv4, and you have no CGNAT, and you need a connection only between 2 hosts, then port forwarding is actually a half-decent idea. However, it's not what Tailscale excels at.

  28. 28. TZubiri||context
    > if port forwarding works for you

    > port forwarding is actually a half-decent idea

    You make it sound like both options are equally valid, and as if port-forwarding were some esoteric technology. It's not, one is good, the other is bad.

    5 years ago I had a similarly bland position, live and let live, I'd go to a client that was using a Ddns (zapto.org) for production loads serving thousands of customers. 5 Years later, I see them constantly facing SSL issues, and network issues, and even if they weren't it's still the wrong way to do things.

    We have to stand for something, get an IP address, get a domain. If you don't have either of those, raise funds, get a budget, speak to people, you can't tech your way out of some things, I know we are hackers, but sometimes the solution is not hacking. Yes we should develop the power to do things even without approval from institutions and without collaboration from the central NIC, or the domain holder, etc... But we should refrain from using that power and actually integrate with domain holders, actually get IPv4/IPv6 blocks.

    There's many reasons why you would use a ddns or similar tech, lack of budget, lack of main domain holder approval, lack of NIC approval, lack of ISP approval. In all cases, you are way better off by actually going the other way instead of using a ddns.

    1- no budget: Get a budget, a domain is like 15$/yr. a 1024 IPv4 block leased from a NIC is like 600-2500$/year, so the cost of a Host or ISP is 0.6$ to 2.5$, maybe they charge you a margin and you end up paying 5$ to 50$/yr? If this is an issue, maybe your project should die, how much is your time worth? Fund your projects accordingly, or let them die. If this is someone elses project, they cannot afford you.

    2- ISP: Call your ISP, if they can't help you access your router, or port forward or whatever, hang up, call again. If your solution is to use a ddns instead of picking up the phone, you have overtrained your hard tech skills and need to work on your soft skills. Speak to a human, you won't get very far if you never speak to humans. This is not a niche thing, we call it port-forwarding but it's how TCP and IP work in general, this is the stuff of the internet, if you can't do something as basic as that, you are never gonna make it, sorry.

    3- Domain holder: If you work for a client, and they have a domain, but you don't know who holds it, or where the passwords are. Don't jump to a ddns or buying another domain, integrate, investigate, do an inventory. At the very least buy another domain, a ddns is just cheap to the point of being unprofessional, see 1.

    There's a 4th excuse that I'll handle as well:

    4- I'm just testing, this is just a throwaway project: Even if it is, you are still underfunding your bets if you don't even have a domain and standalone non-firewalled IP, even if reusing an existing domain and host, we are talking about like 5$ per month. Imagine a professional of any class that cannot afford a tool worth 5$, even a plumber has a toolkit with a screwdriver in it.

    Even if you share a link to your project to a friend, if it says hsabhsabdsa.tailscale.net or bjsdbsajdbsa.vercel.app , you are already neutering your project. You can skip this 'phase', it's not necessary for a project to go through all phases, especially if a vendor is trying to convinve you that you should go through this phase, skip it, tell them no, build it right even for your day 1 demo, it's better than having a pre-day 1 demo that has low quality and does things wrong.

  29. 29. codruterdei||context
    A bit off topic: it’s just insane how I used to watch this guy’s http2 in Go yt video 10 years ago, and he’s still very relevant to this day! Cheers Brad!
  30. 30. cpuguy83||context
    Also created memcached, livejournal... Brad has a long list of impressive work.
  31. 31. quaintdev||context
    I wish his perkeep project was mature and stable.
  32. 32. bradfitz||context
    Same.

    But Tailscale keeps sucking me in with new stuff to do. :(

  33. 33. ethagnawl||context
    Oh, wow. I had no idea. I've gotten a ton of use out of memcached over the years. Thanks for all your efforts, Brad!
  34. 34. bradfitz||context
  35. 35. archietect||context
    It looks like a direct competitor for the recently launched bitbang-cli

    https://github.com/richlegrand/bitbang-cli

  36. 36. fulafel||context
    And IPv6.
  37. 37. rugma||context
    Wush was already doing something similar (using tailscale under the hood)

    https://github.com/coder/wush

  38. 38. MrDrMcCoy||context
    Looks like a Wireguard stunnel replacement, which is very useful!
  39. 39. megamorf||context
    So this is somewhat similar to Iroh?

    https://github.com/n0-computer/iroh

  40. 40. genpfault||context
  41. 41. Arqu||context
    https://github.com/n0-computer/pigeons offers the same but with SSH. I use it in my homelab extensivelly for access, tunneling smb, postgres and some other minor bits.
  42. 42. colinmarc||context
    I'm a big fan of iroh, but I think iroh's holepunching algorithm is at least partly based on tailscale's, so it's not 100% accurate to say iroh got there first. (Just the "as a library without a control plane" bit.)
  43. 43. tptacek||context
    This is smart. It's Magic Wormhole but for generalized connectivity, not just file transfer.
  44. 44. doomrobo||context
    Yes, though MW has the important distinction that it uses short human-readable session identifiers. This means MW supports file transfer where the out-of-band channel is just a phone call. This is also why it needs PAKE as opposed to the simpler cryptography used in tailcat
  45. 45. tptacek||context
    Not a huge lift to stick a PAKE in this protocol, though I'm dubious that it'd be much of a win. The PAKE + nameplate system in Wormhole makes a lot of sense, because you're doing one very specific thing with that system (moving a file from point A to point B). Here you're booting up servers; you're almost always going to have a non-voice channel to set up with.
  46. 46. MajesticHobo2||context
    You also don't want adversaries to be able to disrupt long-lived streams with bad password guesses, since I think part of Wormhole's security model is it will terminate the session if the other side gets it wrong.
  47. 47. ignoramous||context
    > This is also why it needs PAKE as opposed to the simpler cryptography used in tailcat

    May be my idea of simpler cryptography is incorrect, but PAKEs like CPace do seem simpler than public key primitives in Noise.

  48. 48. tptacek||context
    A PAKE is more complicated than Noise. Noise is fussy (for good reasons) but relatively simple.
  49. 49. LoganDark||context
    What's the risk of malware using this for C&C or otherwise? Hackers love communication channels that are difficult to take down individually.
  50. 50. MajesticHobo2||context
    They say it's rate-limited, so at least it probably won't scale to large botnets or similar...
  51. 51. mikepurvis||context
    I enjoy that they supply a nix install/environment, similar to the main tailscale/tailscale repo. Is nix widespread or the standard dev environment at tailscale, or is it like a 10% option and most people just use Docker or whatever?
  52. 52. bradfitz||context
    It's not our standard dev environment but some of us use Nix. We don't really use Docker much, though. Mostly just "go test" etc.
  53. 53. innocent_name||context
    How do you guys deal with nix & go cache? i hate when nix cold starts builds, tests without go cache.
  54. 54. aerzen||context
    I'd guess that there is an insignificant minority of people who strongly prefer nix over anything else.

    And it might be because it is easy to provide and maintain compared to a .deb package.

  55. 55. mikepurvis||context
    Maintaining and providing a deb is pretty easy too; the real killer for a nix flake I think it's how dirt simple it is to provide infinite testing builds for different branches.
  56. 56. aerzen||context
    Well, for .deb there is the dependency problem. Even if your deb is just a release of a project, you can only use versions of dependencies that are in debian repository. Or include it all in your .deb, which becomes hard to maintain.

    By "infinite branches" you probably mean that a nix derivation / flake is a recipe that can build any version of the project?

  57. 57. mikepurvis||context
    Yeah, Nix flakes can be a static URL path, but they inherit your VCS refs directly, so

        nix run github:tailscale/tailcat
    
    Gets you the default branch. Tailcat doesn't yet have any tags, but if you want a build of the main tailscale repo at a particular tag, it's just:

        nix build github:tailscale/tailscale/v1.102.3
    
    But because this can be any ref, you can specify an arbitrary branch or tag, so like if you're trying to get a colleague to check out your work it's as easy as:

        nix run github:tailscale/tailcat/my-fancy-branch
    
    And obviously a flake can reference other flakes with the same flexibility, so your home manager config or your company's private app flakes can transparently pull the not-yet-merged version of a change you're proposing upstream without having to make special internal "patched" releases with tortured 1.2.3~actually.1.4.6 type version numbers like in Debian. And of course that same flake reference policy applies all the way down, so you also don't need to worry about the private apt repo as a big piece of shared state that's going rev forward and break your older code branches or Dockerfiles, since each branch of your app flake has its own flake.nix and accompanying lockfile controlling which deps it is pinned to.

    It really is an awfully nice system, and shockingly modern in its sensibilities considering how old the Nix fundamentals are.

  58. 58. swozey||context
    When I was writing rust stuff a few years ago it seemed like nix was the hip cool thing all the up and coming rustaceans (mostly unemployed students trying to land faang jobs) were using. If you're not familiar with the rust community it's very different from other programming communities I've been in (python/go/ruby/etc). Almost felt like you'd be kicked out of their lunch table if you weren't using it, but I've only see it that ubiquitous there.

    A lot of them, instead of learning the usual linuxii you'll be using in containers at work dive headfirst into nix.

  59. 59. cure_42||context
    Always makes me chuckle when there's this uncountably large group of people, and someone meets a handful of them and then decides they can make broad, sweeping statements about the entire group, despite having not met 99.99...% of them XD
  60. 60. mikepurvis||context
    I suspect some of this goes the other way too, that the people who see the value in Nix and/or are willing to tolerate its idiosyncrasies in exchange for what is on offer there are are a lot of the same kinds of folks likely to take an interest in rust, ocaml, elixir/gleam, etc.
  61. 61. ronef||context
    Loving this. Honestly I keep encouraging folks to just TRY native Nix for dev environments. So easy to set up and get value on day 1 that you'd be shocked. Also models/LLMs have made lightyear strides in the last few months to help with everything around it. We've been building up Nix based skill systems into our Flox skill and it's been super meaningful both on adoption and when we need to scale it up. (disclaimer I do Flox.dev which is Nix based and we do cool Nix stuff)
  62. 62. aseipp||context
    Just yesterday I was complaining that I wanted to SSH back to my homenet while at the office, on my office (not home) tailnet. I wrote something based on Iroh to do this, but it's one shot (ie not particularly generalized). Might be able to throw it away or redesign it with some inspiration from this! Thanks.
  63. 63. bradfitz||context
    There's an example in the README how to do exactly that :)
  64. 64. codegladiator||context
    why not try out some existing project already on top of iroh ?

    I see a bunch here on awesome-iroh page

    https://github.com/n0-computer/awesome-iroh

  65. 65. dfish||context
    you could try rayfish.xyz, it is compatible with tailscale nowadays so you can run both tailscale and rayfish
  66. 66. maisem||context
    I solved this problem by building/running a custom tailscale client that connects to two tailnets at the same time (https://github.com/maisem/tailmix)
  67. 67. linsomniac||context
    I was just wondering yesterday if it'd be possible to have a tailscale client, or multiple tailscale clients in their own network namespaces, that could connect to multiple networks.

    The slightly tricky part would be managing a local NAT that blends the two networks, and also does MagicDNS to answer on those NATed IPs. If routes conflicted, I guess you'd have to pick one?

    Seems very doable though.

  68. 68. linsomniac||context
    @bradfitz: Steal this idea ^^^ ;-)
  69. 69. maisem||context
    yeah that's kinda what it does. It sets up two tsnet servers connected to two different tailnets and exposes them through a shared TUN device. It does the magic of allocating safe IPs to each host so that they don't overlap and does some leasing so that IPs aren't accidentally reassigned. It also does the MagicDNS thing so that DNS returns the "effective IP".

    I wanted it to work on macOS so couldn't rely on network namespaces.

  70. 70. linsomniac||context
    That deserves it's own top-level discussion, for sure! https://news.ycombinator.com/item?id=49457539
  71. 71. preisschild||context
    you might be able to do it via iroh's dumbpipe
  72. 72. 1970-01-01||context
    As 'cattail' is not officially taken, I have to assume they are oblivious to having a little fun.
  73. 73. kemotep||context
    Keeps with the tradition of netcat alternatives like powercat, socat, cryptcat.
  74. 74. pbohun||context
    This is so cool! I mean, we really wouldn't need it if we had 100% ipv6 (no cgnat), but this is the next best thing. I think people underestimate the innovation that could happen if we had trivial p2p.
  75. 75. ipdashc||context
    Looks dope, though I'm surprised, is Tailscale fine with their DERP servers being used by non-customers like this? (Yes, it's a Tailscale project, but doesn't require login.) I vaguely assumed there was an auth step before you could use one as a relay. They mention a rate limit, but still
  76. 76. smw||context
    Repo suggests that they're running their own (rate-limited) DERP servers.

    edit:

    Which are probably tailscale's, as it's under tailscale/ github org?

  77. 77. bradfitz||context
    Yes, it's been our CEO Avery's position for ~6.5 years now that we should run DERP servers on the internet for the public good. (rate-limited)

    But these are a separate fleet (https://tailcat.dev/derpmap.json) separate from our usual ones, and not using "tailscale.com" in DNS or SNI anywhere.

  78. 78. ipdashc||context
    Fair enough. Thank you!
  79. 79. mrsssnake||context
    Tool like this exposes big problem with the current shape of the Internet, I believe.

    Everything should be possible with just plain netcat and IP stack. Someone asks about NAT holepunching, encryption, static IDs, permissions, etc., yes this is what Internet lacks and why every P2P app reinvents it over and over again.

  80. 80. MajesticHobo2||context
    notabug wontfix; that's the end-to-end (E2E) principle in action. Bring your own all of that.
  81. 81. bradfitz||context
    One fun use case: a coworker just whipped up this Minecraft mod using tailcat as its transport: https://github.com/tailscale/tailcat-for-minecraft

    (just a cute demo, not intended for release or ongoing maintenance)

  82. 82. awakeasleep||context
    It would be amazing to have something like this for bedrock so people with consoles without online subscriptions could join a self hosted bedrock mc server
  83. 83. nullsanity||context
    They can! They just need a real computer, the real Minecraft game (Java), and then they can! it's so easy when you don't play the shitty mobile clone.
  84. 84. tucnak||context
    Why is this downvoted? Bedrock is literally dog shit clone for iPad kids. This is not even controversial, it's just fact.
  85. 85. jasonmp85||context
    You're defending a video game written in Java.
  86. 86. behringer||context
    It's almost like it should run on an iPad out of the box.
  87. 87. frollogaston||context
    Minecraft RAM Edition
  88. 88. cevn||context
    Maybe bc it completely sidesteps the question? I have a nephew who is 7yrs old who only has an iPad and i can play with him due to geysermc, which is the correct answer.
  89. 89. dannyw||context
    Yep. It's like someone asking "How can we make cycling in [city] safer?" and answering it with "Drive a car."
  90. 90. frollogaston||context
    What's wrong with using https://www.minecraft.net/en-us/download/server/bedrock ? I get that consoles require subscriptions for any kind of online connectivity, but didn't think the iPad had that limitation.
  91. 91. cevn||context
    You might be right, i set this up quite some time ago. I don’t think I saw bedrock dedicated servers before.
  92. 92. idiotsecant||context
    Yaaaa get those 9 year olds good stupid plebs can't even buy their own computer, you really gottem
  93. 93. frollogaston||context
    The irony is it's more like 35 year olds who don't care about modding realistic nuclear reactors into the game and just want to play with their kids
  94. 94. Dylan16807||context
    It has roughly the same features, much worse moddability, and better performance.

    At some point it was a weaker clone, but it developed into a very high quality clone, and has graduated into being a co-production with the Java version.

    Get a refund from wherever you got your facts.

    I'll give you half a point for "iPad kids" since that term implies a lot of incorrect things but it does run on iPads.

  95. 95. petterroea||context
    When bedrock was announced I was sure Microsoft had won the os arms race and had everything they needed to make an impenetrable monopoly:

    * They could make bedrock moddable using .net, and make it so basically every kid interested in programming learned .net

    * They could then drop the Java version and get more control over the game with it being harder to mod in un-sanctioned ways while still enabling the content most people want from mods

    * And gain a powerful platform they can use to treat Windows/Xbox players better.

    * With everyone writing .net it makes more sense to use Windows to develop, effectively reducing the number of fresh developers with posix experience. Stopping the mass exodus to posix since the 2010s MacBook air sublime text nodejs days.

    But alas. Microsoft are incompetent. Minecraft was THE tool to turn the future in their favour and they completely overlooked it.

    Bedrock exists to make more money. They don't like the Java free modding. They want a marketplace. They want to make money off all content in the game. They want to sell DLC. Make no mistake, they aren't platforming modders to make money because they are charitable. It is because they want to profit, and they can profit at scale by outsourcing the work.

    That is in my opinion why most people are against bedrock, including myself. Bedrock is capitalist Minecraft. Enshittified Minecraft, with much more enshittification potential not yet realized. Java version is the only thing protecting bedrock from not being milked further, because it is competition.

    They know most people prefer Java. Content creators mostly use Java. But it sells bedrock, and bedrock makes money. And if they can get enough people over, they can kill Java and finally milk bedrock

  96. 96. frollogaston||context
    Java edition is also proprietary, and I don't see what stops them from milking it. They did DCMA-takedown Bukkit and lock a ton of paid accounts out of the game, but nothing further. Like they could drop Mac/Linux support, and I'm surprised/relieved they didn't. Despite it being mostly Java, it does rely on some natives, but even if it didn't...
  97. 97. petterroea||context
    Its proprietary, but trivially decompileable. Sure, maybe if the game was released today they would try obfuscating better, but the thing is that modding culture had already basically torn the game apart by the time Microsoft came around. I don't think they had a choice but to accept the status quo.

    There are mods to disable unwanted Microsoft-pushed features like chat signing, for example. Microsoft doesn't want this, but it is so trivial to do with the Java edition they don't really have a choice but to either accept it or legal it.

    I am also surprised they didn't drop mac/linux support, but as long as maintaining it is free I don't think they will. They have lost a lot of market share to mac after all - that's a lot of customers to miss out on.

  98. 98. frollogaston||context
    Ok I had to look this up because last time I did MC modding was when I was in high school... It used to be obfuscated. Someone used to manually map those to human-readable names (didn't know this back then and thought the names were somehow hidden in the bytecode). But recently MS has started deliberately shipping unobfuscated builds.

    So I'm getting the feeling they actually want JE to be moddable. Which makes sense because they're already successfully pushing Bedrock on a majority who don't care about modding, especially on locked down platforms, and the remaining JE players are a different segment. But that could change just as easily as their leadership changes.

    But also just realized, if this changed, rather than locking down JE, they'd probably just kill it and maaybe release Bedrock for Mac/Linux to keep those players. Possibly not.

  99. 99. frollogaston||context
    Idk where it says this. Never played Bedrock though cause that doesn't work on Mac.
  100. 100. unleaded||context
  101. 101. freakynit||context
  102. 102. JavierFlores09||context
    none of the rust-based minecraft server have enough functionality implemented to use them for survival, maybe for some minigames but that's about it. Pumpkin has gotten far out of the many[1] but there's still lots to be done.

    1: https://dayssincelastrustmcserver.com/

  103. 103. gchamonlive||context
    These game servers are really the perfect use case for agents. Would anyone really care that much about code quality if the server works fast and reliably?
  104. 104. treszkai||context
    The number of implementations and the lack of success suggest that it is a genuinely hard problem for humans, and "agents" are not going to magically make it simpler. Unlikely that humans abandoned their projects (or failed to band together) solely because of their desire for code quality.
  105. 105. gchamonlive||context
    Software is genuinely hard for humans, and agents have made it simpler, not magically, but they cut complexity like butter.
  106. 106. frollogaston||context
    Whoa, Coral is memory-safe!
  107. 107. water-drummer||context
    Woah this is cool!

    I've been making a mesh vpn like radmin vpn or hamachi that does not need a central authority server and most importantly, can run on all major OS thanks to wireguard-go.

  108. 108. spockz||context
    How much Tailscale is this still if the transport is based on wireguard, the control plane is something new with the keys based on the wireguard keys? Genuinely confused.
  109. 109. zrail||context
    I dug into it a bit because I had the same question. The network layer here is wrapping around the Tailscale daemon's magicsock, which is the thing that does all the DERPing and NAT hole punching. Tailcat builds sort of a fake control plane that does a one way key exchange over DERP (the Meow message type) between client and server, then both sides do the normal CallMeMaybe dance to connect.
  110. 110. tomxor||context
    I think this is best described as a one-shot control plane, the single use address/key (same thing) is shared out of band, so it's far more minimal than the TS control plane.

    The examples show the concrete use cases... Basically giving you the wiregaurd + DERP quality tunnel but as a one shot point to point cli tool. Which is a nice upgrade from the alternative "in a pinch" tools.

    RE "how much tailscale" I guess it's the DERP bit + this minimal point to point control plane. Without which it's significantly more configuration to get the wiregaurd tunnel working, or impossible because of NAT, unless both machines are on the same ipv6 network.

    TS basically sell the full control plane with Auth and ACL style management etc as their product so this doesn't really compete.

  111. 111. forrestthewoods||context
    I have a really dumb ignorant question.

    What is a data plane? What is a control plane? I don’t genuinely understand what these words mean :(

  112. 112. ulimn||context
    Does this help? This is what I read on the topic a few weeks ago: https://tailscale.com/docs/concepts/control-data-planes
  113. 113. clavicle1009||context
    Netbird is the more mature version of this: fully open-source, self-sufficient, works like a charm, supports reverse proxying out-of-the-box, and much more. No reason to ever return to the Tail family.
  114. 114. runtime_terror||context
  115. 115. idoescompooters||context
    Except the public relays are paywalled...
  116. 116. ekarulf||context
    I use mosh over WebSockets to have a long lived connection to my home network.

    I bet I could simplify out the WebSocket-to-UDP proxy by leaning into tailcat's dataplane and just speak straight UDP.

  117. 117. LarsKrimi||context
    Neat idea in its core but its still tailscale underneath

    The only thing that convinces me that tailscale isn't a CIA op is how badly it works for real uses

  118. 118. stillpointlab||context
    I've spent time finally learning what tailscale is and how it works and I'm impressed. It's a rare thing in the technology world but I'm glad I finally took the time.

    I literally just figured out how tsnet fits into the picture (an in-process Go based entire network stack that gets the process to act as a node in the tailnet) and so that helps me understand this (everything in tsnet excepting the control plane). It's very impressive that they can do this in a reliable way.

  119. 119. wxw||context
    I just set up Tailscale as I've been hosting more personal apps off a small Hetzner VM and wanted a really simple personal networking solution. Works great, would recommend.
  120. 120. dannyw||context
    It's really excellent. I've been using Tailscale for a number of years, just for my home network and with a single user, and the service is excellent, and the free tier is incredibly generous.

    I'm hoping that my Mullvad subscription (through Tailscale) contributes a little bit at least. Two excellent companies.

    I like that there is Headscale as an open-source offering too. I don't use it, but the fact that it exists makes me a lot more comfortable (similar to Bitwarden etc).