• 0 Posts
  • 10 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle
  • It’s a three way handshake to establish a connection. People use similar protocols to computers.

    How are you? = SYN

    I’m good thanks, how are you? = SYN+ACK

    I’m good thanks. = ACK

    What you’re really saying with that SYN message is: “Can you hear and understand me, and are you ready and willing to talk?”

    By using “how are you?” to synchronise, you’re also inviting the other person to establish some context for the quality of the connection/conversation. They can acknowledge with something like “not bad, a bit tired. How are you?” to indicate they’re not intending to have a lively spirited conversion, or “kinda pissed actually! You?” To indicate they want to vent or the standard “I’m good thanks, you?” to show they’re ready to talk.

    Where people sometimes mess it up and make things awkward is when they break the protocol.

    “How are you?” =SYN

    “Well I had a big argument with my wife and now I’m grumpy and sad because blah blah…” =content. No clear ACK and no returned SYN.

    Is a bit rude because you’re sharing a bunch of content without establishing the connection and checking in with the other person first.

    If you want to talk about your marital problems, it should go more like:

    “How are you?” SYN

    “Not great, what about you?” SYN+ACK

    “Oh I’m okay.” ACK “What’s the matter?”

    “Well I had a big argument with my wife this morning blah blah.”

    Giving them the “what about you?” SYN+ACK Allows them the opportunity to bail on conversations they don’t want to have or to indicate to you if they’re in a good place to hear your problems or to show they might have something of their own to tell you about.

    It’s also on you to listen to their responses and the context to figure what is appropriate to talk about/what the actual message content should be. At work it might be appropriate to reply with an “It’s okay, have you seen the new widget on the sprocket encabulator? It’ll need some calibration” or whatever you do for work.


  • Totally agree on all points!

    My only issue was with the assertion that OP could comfortably do away with the certs/https. They said they were already using certs in the post and I wanted to dispel the idea that they arguably might not need them anymore in favour of just using headscale as though one is a replacement for the other.


  • Tailscale isn’t an exposed service. Headscale is

    Absolutely! And it’s a great system that I thoroughly recommend. The attack surface is very small but not non-existent. There have been RCE using things like DNS rebinding(CVE-2022-41924) etc. in the past and, although I’m not suggesting that it’s in any way vulnerable to that kind of thing now, or that it even affected most users we don’t know what will happen in future. Trusting a single point of failure with no defence in depth is not ideal.

    it’s more work and may not always be worth the effort

    I don’t really buy this. Certs have been free and easy to deploy for a long time now. It’s not much more effort than setting up whatever service you want to run as well as head/tailscale, and whatever other fun services you’re running. Especially when stuff like caddy exists.

    I recommended SmallStep+Caddy.

    Yes! Do this if you don’t want to get your certs signed for some reason. I’m only advocating against not using certs at all.

    Are you suggesting that these attack techniques are effective against zero trust tunnels

    No I’m talking about defence in depth. If Tailscale is compromised (or totally bypassed by someone war driving your WiFi or something) then all those services are free to be impersonated by a threat actor pivoting into the local network after an initial compromise. Don’t assume that something is perfectly safe just because it’s airgapped, let alone available via tunnel.

    I feel like it’s a bit like leaving all your doors unlocked because there’s a big padlock on the fence. If someone has a way to jump the fence or break the lock you don’t want them to have free reign after that point.


  • there’s an argument that HTTPS isn’t really required…

    Talescale is awesome but you gotta remember that Talescale itself is one of those services (Yikes). Like all applications it’s potentially susceptible to vulnerabilities and exploits so don’t fall into the trap of thinking that anything in your private network is safe because it’s only available through the VPN. “Defence in depth” is a thing and you have nothing to lose from treating your services as though they were public and having multiple layers of security.

    The other thing to keep in mind is that HTTPS is not just about encryption/confidentiality but also about authenticity/integrity/non-repudiation. A cert tells you that you are actually connecting to the service that you think you are and it’s not being impersonated by a man in the middle/DNS hijack/ARP poison, etc.

    If you’re going to the effort of hosting your own services anyway, might as well go to the effort of securing them too.




  • I think the idea is that there are potentially alignment issues in LLMs because it’s not clear what concepts map to what activations. That makes it difficult to see what they’re really “thinking” about when they generate text. Eg. if they’re being misleading or are incorrectly associating concepts that shouldn’t be connected etc.

    The idea here is to use some mechanistic interpretability stuff to see what text activates what neurons in an LLM and then crowd source the meanings behind that and see if that’s something you could use to look up some context from an ai. Sort of trying to make a “Wikipedia of AI mind reading”

    Dunno how practical it is or how effective that approach is but it’s an interesting idea.


  • Yeah, that’s what they’re for. Having multiple accounts separated and not interfering with each other. So you can have eg. three different tabs of Gmail open or office or whatever in the same window with different accounts logged in. Each tab with a different colour. Great for separating work stuff from personal stuff or isolating bank logins etc.

    Sounds like the same thing as you’re describing in chrome (though I haven’t tried the chrome implementation)