News for hackers. Stuff that matters.
Re:Yggdrasil – Early-stage implementation of an end-to-end e... by foxpurple on Monday June 21, 2021 @06:06AM (#27577764)
Can anyone explain what this means? What does it let me do?
Re:Yggdrasil – Early-stage implementation of an end-to-end e... by neilalexander on Monday June 21, 2021 @06:43AM (#27577940)
Yggdrasil builds a multi-hop IPv6 overlay network using peer-to-peer connections. You can string a whole bunch of nodes together using whatever means (cables, wireless or TCP peerings over the internet or any other network) and you get a full-mesh network where everyone can reach everyone else.

It's designed to be as minimal-configuration as possible and scalable in a way that many other mesh routing protocols aren't.

Re:Yggdrasil – Early-stage implementation of an end-to-end e... by heythere22 on Monday June 21, 2021 @11:16AM (#27579991)
How does it compare to Zerotier? They seem to be in the same market
Re:Yggdrasil – Early-stage implementation of an end-to-end e... by rjmalagon on Monday June 21, 2021 @11:57AM (#27580416)
Quite different. ZT is centralized config, direct peer to peer, automatic key exchange, virtual switch.

YG is decentralized, direct peer to peer and multi hop routing, manual key exchange for direct peering, virtual internet (each node is a router to another nodes)

ZT (and Tailscale) requires a central node coordinator for automatic config and peer key exchanges, peers directly to each node to create a flat virtual network, not multi hop routing, between two peers you need a reachable IP or port mapping (supports UPNP) by one of them (fixed in config there are private TCP relays when carrier NAT/double NAT/ restrictive firewalls are in place, very slow), Uses UDP for the links, mimics a virtual switch and support custom IPV4 / IPV6, good for virtual private networks.

YG (and CJDNS) is kinda an overlay public network, is fully decentralized, it supports automatic routing between nodes to mimic a virtual Internet, each node is a router too, needs to register each key for every direct peer node connection (config needs peer key, reachable ip and port, but supports automatic key exchange for local networks), YG uses TCP for the links, support self-healing routing, every peer has an IPV6 address derived by its public key.

ZT (and Tailscale) can mimic a mesh network and node routing because supports bridge nodes between networks (routing between virtual switches), but is not self-healing and somewhat heavy work to config. ZT is fully open source, can be config with your own node coordinator and discovery helpers (Controllers and Moons in ZT), not easy. Only Taislcale client is open source, can't be config with your own node coordinators for free.

You can mix ZT and YG, weird side effects warranted but works. (Edited post - some grammar fixes)

Re:Yggdrasil – Early-stage implementation of an end-to-end e... by number6 on Monday June 21, 2021 @07:32AM (#27578181)
So it's a kind of VPN?
Re:Yggdrasil – Early-stage implementation of an end-to-end e... by FuriouslyAdrift on Monday June 21, 2021 @08:04AM (#27578344)
It's an overlay network (a software defined network that runs on top of another network... like you internet service providers network).

It's closer to bittorent than a VPN. It has end-to-end encryption and each node (the app that runs on your PC) distributes routes to each other (similar to how routing works on the Internet between large networks). It appears to be a flat spanning-tree style network.

They mention that it is using similar code and ideas as the cjdns project.

Re:Yggdrasil – Early-stage implementation of an end-to-end e... by y04nn on Monday June 21, 2021 @08:29AM (#27578498)
This page [1] has answered most of the questions I has on the project.

[1] https://yggdrasil-network.github.io/about.html

Re:Yggdrasil – Early-stage implementation of an end-to-end e... by abra0 on Monday June 21, 2021 @08:13AM (#27578392)
Do I understand correctly that it does not do hole-punching, and e.g. unlike with a VPN a host behind NAT will not be able to accept incoming connections?
Re:Yggdrasil – Early-stage implementation of an end-to-end e... by Sleepytime on Monday June 21, 2021 @09:29AM (#27578940)
This is correct in the sense of peering, however hosts behind a NAT can simply connect to any other host on the network such as a pubic peer and then they can accept incoming connections over the yggdrasil network.

I use yggdrasil for NAT hole punching my VPN, for example.

Re:Yggdrasil – Early-stage implementation of an end-to-end e... by fretn on Monday June 21, 2021 @08:20AM (#27578438)
can it be a bit compared to what tailscale does for ipv4 ?
Re:Yggdrasil – Early-stage implementation of an end-to-end e... by Sleepytime on Monday June 21, 2021 @09:47AM (#27579119)
I haven't used tailscale so... I think so? Tailscale is pretty light on the details, and even their docs say that they have been reluctant to describe how it works.

>People often ask us for an overview of how Tailscale works. We’ve been putting off answering that, because we kept changing it!

Yggdrasil is fully peer to peer and doesn't require a central coordinator like tailscale does. Ygg is closer to a global network than a private one. You can make a private network, but if any peers on the network peer to the global net then your whole network is now peered. this should be handled at the firewall level, or with an overlay VPN.

Re:Yggdrasil – Early-stage implementation of an end-to-end e... by dsr_ on Monday June 21, 2021 @08:04AM (#27578348)
No, it's a kind of virtual public network.
Re:Yggdrasil – Early-stage implementation of an end-to-end e... by loloquwowndueo on Monday June 21, 2021 @08:47AM (#27578609)
So not a kind of VPN, but a kind of VPN? :)
Re:Yggdrasil – Early-stage implementation of an end-to-end e... by apetresc on Monday June 21, 2021 @09:48AM (#27579124)
The "P" in VPN usually stands for "Private", not "Public".
Re:Yggdrasil – Early-stage implementation of an end-to-end e... by nickik on Monday June 21, 2021 @10:56AM (#27579781)
I think that was the joke.
Re:Yggdrasil – Early-stage implementation of an end-to-end e... by Forbo on Monday June 21, 2021 @10:16PM (#27587238)
You joke, but unfortunately this was the poor wording that GNUnet chose to use. https://docs.gnunet.org/handbook/gnunet.html#First-steps-_00...

I still facepalm whenever I think about this.

Re:Yggdrasil – Early-stage implementation of an end-to-end e... by fragileone on Monday June 21, 2021 @01:45PM (#27581608)
A mesh VPN, or kinda a mesh TOR really.