net4people / bbs

Forum for discussing Internet censorship circumvention
3.26k stars 77 forks source link

Yggdrasil: an ipv6 mesh solution for internet freedom? #105

Open gulprun opened 2 years ago

gulprun commented 2 years ago

I spotted Yggdrasil project, https://yggdrasil-network.github.io/, recently and found it's interesting and promising to be a viable solutions to many problems:

[Yggdrasil](https://yggdrasil-network.github.io/) is a peer to peer network. The system weaves itself into a mesh-network without any central administration.
Yggdrasil is currently also a so-called "overlay network". You can tie together Yggdrasil nodes via IPv4 or IPv6, public or private, and likely in future nodes can connect over more innovative networking.

This means any upgrade path is going to be much easier. The major blocker why IPv6 didn't succeed to penetrate is simply avoided with Yggdrasil.

By setting up Yggdrasil on my local network as well remote servers, I see the smoothness creating a flat mesh between my devices with easy touch, and possible to share more resources and traffic with outside peers via DHT. All the routes are based on ipv6 namespace with end-to-end encryption. Within 200::/7, we partition the network into 200::/8 and 300::/8. Each node running Yggdrasil as assigned a /128 address in 200::/8, and an optional matching /64 prefix in 300::/8. Other than the change of 1 bit for 2->3, the rest of the first 64 bits of the address and prefix are identical.

I also tested sock5 proxy(using https://github.com/rofl0r/microsocks) through such IPv6-based tunnel, and reached quite amazing experience. The pure design at IP layer assured a superior TCP-over-TCP performance - truly better than over OpenVPN or SSH forwarding.

Of course, there's way to go with the project, but seemingly helped me jump out of the box for a moment. I don't think it's designed for internet freedom, but the potential entails it so to speak.