News for hackers. Stuff that matters.
Re:Yggdrasil Network by macawfish on Saturday November 16, 2024 @12:05PM (#42157454)
Makes it hard to do hole punching I think? At any rate, direct connections currently cannot be established between multi-hop peers, traffic gets routed through peers instead. I think this has something to do with the TCP choice.
Re:Yggdrasil Network by foundry27 on Saturday November 16, 2024 @02:06PM (#42158423)
Yeaaah. TCP hole punching is goofy and unreliable, last I checked. You have to do some arcane ritual of having both peers start a three-way handshake to each others’s public endpoints simultaneously, relying on NATs to accept inbound SYN packets if they match the outgoing SYN. And nobody’s NAT devices implement simultaneous-open the same way, so all your connections just fail.

Naturally this leads to slapping even more arcane fixes on top of that, like NAT port assignment oracles to adversarial interoperate with different port allocation strategies (random, sequential, single, etc.) by analyzing patterns in previous port assignments. Networking sucks.

Re:Yggdrasil Network by beeflet on Saturday November 16, 2024 @07:30PM (#42160874)
Re:Yggdrasil Network by paulddraper on Sunday November 17, 2024 @03:03AM (#42162714)
Actuate
Re:Yggdrasil Network by ionspin on Sunday November 17, 2024 @07:01AM (#42163725)
I presume you meant to say "Accurate", but it made me think of a off-brand Picard that says "Actuate" instead of "Engage".
Re:Yggdrasil Network by gtirloni on Sunday November 17, 2024 @08:50AM (#42164180)
If the new technology referenced in the comic provides a way to securely connect, including auditing, I don't see how it applies to the hole punching hack.
Re:Yggdrasil Network by beeflet on Sunday November 17, 2024 @09:25AM (#42164331)
People (like ISPs offering routers) set up NAT, often justifying it on the basis of security. Application developers use hole-punching techniques to get past NAT (including stuff like UPnP that requires cooperation from the NAT).

The end product is:

#1 A sandboxing system that cannot reliably sandbox.

#2 A connection system that cannot reliably connect.

So now you have two problems.

Re:Yggdrasil Network by dev_hugepages on Tuesday November 19, 2024 @02:07AM (#42180739)
NAT is not a security measure but a way to save on IP space or avoid remaking a topology on network addresses changes. For actual security you need a firewall
Re:Yggdrasil Network by Karrot_Kream on Saturday November 16, 2024 @02:12PM (#42158464)
I think this is a pragmatic choice. NAT Hole Punching can be hit or miss no matter the method but doing peer routing guarantees even a client that can only initiate outbound connections can route packets. It can be slow though.

I also know there's support for other transports like QUIC but TCP is the main default.

Re:Yggdrasil Network by AyyEye on Saturday November 16, 2024 @04:56PM (#42159697)
> At any rate, direct connections currently cannot be established between multi-hop peers, traffic gets routed through peers instead. I think this has something to do with the TCP choice.

Yggdrasil is designed for physical links and multi-hop routing first and foremost. Internet peering is just a way to test/use/join the network until then.

Re:Yggdrasil Network by macawfish on Sunday November 17, 2024 @01:57AM (#42162452)
I'd love if my private nodes could peer directly so I wouldn't need to route all traffic through my budget VPs.
Re:Yggdrasil Network by wolletd on Sunday November 17, 2024 @05:20AM (#42163237)
If only there was some technology that would allow every peer to have its globally unique address, making direct connections only a matter of firewalls.

I don't know, something like IPv4, but with more addresses...

Re:Yggdrasil Network by dinosaurdynasty on Sunday November 17, 2024 @10:52AM (#42164799)
Both tailscale (partially open source) and nebula (entirely open source, you have to host the "lighthouses" which assist in NAT punching yourself) do this. (Also tinc.)

Yggdrasil is basically researching a replacement for BGP, so hole punching isn't a priority. (There is a 3rd party project that does something like this for Yggdrasil, but nebula is probably the better fully open source option.)

Re:Yggdrasil Network by AyyEye on Tuesday November 19, 2024 @05:13PM (#42188665)
On ygg as long as the nodes are reachable they can peer. If your nodes are on LAN just turn on multicast peering it's fire and forget.