News for hackers. Stuff that matters.
Re:Tor is a great sysadmin tool (2020) by azalemeth on Tuesday August 31, 2021 @02:03PM (#28371378)
That requires having another publicly accessible box, or trusting ZeroTier though, doesn't it? The onion approach does not.
Re:Tor is a great sysadmin tool (2020) by novok on Tuesday August 31, 2021 @02:48PM (#28371940)
ZeroTier, Tailscale and such are OSS and have been independently security & crypto audited. I don't know if tailscale has been audited, but since they are a more popular tool I bet they probably are too. They're actually really good tools and would probably be more reliable than tor tbh, I would recommend looking into them.
Re:Tor is a great sysadmin tool (2020) by Nullabillity on Tuesday August 31, 2021 @03:29PM (#28372401)
> ZeroTier, Tailscale and such are OSS and have been independently security & crypto audited.

Both rely on their centralized coordinator servers which can mess with your routes (and thus your traffic) however they please.

ZeroTier has a published (but not OSS) coordinator, but their documentation pushes you towards their SaaS. Tailscale's coordinator is SaaS-only, unless something has changed very recently.

Re:Tor is a great sysadmin tool (2020) by nine_k on Tuesday August 31, 2021 @04:00PM (#28372806)
This is fair.

Their client node software is audited though, and the contents of your packets are not accessible to the router. This is why the amount of the possible meddling is limited to a DoS, AFAICT.

Who audits the Tor nodes that do onion routing is anyone's guess; I suppose ZeroTier is no worse than them.

Re:Tor is a great sysadmin tool (2020) by Nullabillity on Wednesday September 01, 2021 @05:24AM (#28377817)
> Their client node software is audited though, and the contents of your packets are not accessible to the router. This is why the amount of the possible meddling is limited to a DoS, AFAICT.

Normally the coordinator just forwards the keys from your peers, and so doesn't see the contents (the traffic doesn't pass through it, and even if it did it didn't have the key).

However, that assumes that the coordinator is being truthful with the network topology that it sends you. It could send you any topology that it wants to! This means that it could start MITMing whenever it wants to by telling you that $SERVER_IP's peer is now actually $COORDINATOR_KEY at $COORDINATOR_IP.

Theoretically you could defend against this by, say, running a cronjob that validates that the Wireguard keys are unchanged. But at that point you're not really gaining much compared to just using wg-quick.

Tor is different, because the .onion domain name inherently encodes the public key of the site you're connecting to. There is no way to change the key without also changing the URLs that people connect to!

Re:Tor is a great sysadmin tool (2020) by lacrosse_tannin on Tuesday August 31, 2021 @04:16PM (#28373014)
zerotier adhoc networks are controllerless, though ipv6 only.

The client can be set to not allow routes/addresses from a controller.

The client and controller are licensed BSL.

Re:Tor is a great sysadmin tool (2020) by nine_k on Tuesday August 31, 2021 @05:13PM (#28373735)
Does this require addresses of nodes to be globally routable? (With such addresses you can as well connect directly.)
Re:Tor is a great sysadmin tool (2020) by Nullabillity on Wednesday September 01, 2021 @05:13AM (#28377746)
Ad-hoc networks don't seem particularly useful here. From their documentation:

> Keep in mind that these networks are public and anyone in the entire world can join them. Care must be taken to avoid exposing vulnerable services or sharing unwanted files or other resources.

Re:Tor is a great sysadmin tool (2020) by lacrosse_tannin on Tuesday August 31, 2021 @04:30PM (#28373199)
you _could_ use your other device (the one you're connecting from) as the controller. whomst amongst us doesn't have a 3rd machine or VPS?
Re:Tor is a great sysadmin tool (2020) by a1369209993 on Tuesday August 31, 2021 @06:16PM (#28374351)
Your other device doesn't have a public IP address either.
Re:Tor is a great sysadmin tool (2020) by lacrosse_tannin on Wednesday September 01, 2021 @06:41PM (#28386421)
Doesn't need one!