TE
ТехЭхо
ГлавнаяТоп за 24 часаНовейшиеЛучшиеВопросыПоказатьВакансии
GitHubTwitter
Главная

ТехЭхо

Платформа технологических новостей, созданная с использованием Next.js, предоставляющая глобальные технологические новости и обсуждения.

GitHubTwitter

Главная

ГлавнаяНовейшиеЛучшиеВопросыПоказатьВакансии

Ресурсы

HackerNews APIОригинальный HackerNewsNext.js

© 2025 ТехЭхо. Все права защищены.

Mycoria is an open and secure overlay network that connects all participants

310 балловавтор: doenerоколо 17 часов назад

26 comments

dhaaviоколо 16 часов назад
Author here - thanks for the post!<p>A little more background info for my fellow HN people:<p>I&#x27;ve spent that last 8 years building privacy technology at Safing as Co-Founder&#x2F;CTO. The biggest technological achievement there was undoubtedly the SPN (previously called Port17&#x2F;Gate17): A privacy network (ie. a layer-5 proxy), fitting in the niche between VPNs and Tor. Impossible to misconfigure, good speeds and way superior privacy to VPNs using onion encryption and decoupled authentication&#x2F;authorization. Funnily enough, this (decoupled auth) is what was later implemented by Apple Private Relay and Google One VPN.<p>SPN worked great for the most part, but scaling was hard. With the decision to make it a layer-5 proxy for decreased metadata and improved privacy, this meant that also traffic and congestion control had to be re-implemented - no easy feat, and still causing issues.<p>Meanwhile, I have followed and read a lot about cjdns and Yggdrasil over the past few years and was intrigued by their ideas how to do networking.<p>After some interesting talks in November 2023, I was at the point where I just wanted to know how far I would get - with all the experience and knowledge I had up to that point - implementing a scalable layer-3 mesh network, that still allowed for some privacy and full security. I spent most evenings of a couple months building it and was surprised how well it went.<p>Sadly, after a decent MVP and a first friend using it in small scale production, I did not have the time to work on it further.<p>But I am currently starting a new project, where I will make good use of it, so it will see quite some more development in the coming years!<p>So, Mycoria works, at least on small scale for now, but is more or less MVP.<p>Thanks for reading, I hope you have fun poking around and trying it out!<p>I am also happy to answer any questions you have here!
评论 #43924021 未加载
评论 #43926503 未加载
评论 #43924146 未加载
评论 #43924024 未加载
评论 #43924023 未加载
评论 #43923765 未加载
评论 #43923864 未加载
评论 #43924302 未加载
评论 #43927488 未加载
mattlondonоколо 12 часов назад
I love these sort of things generally from a technical perspective (I kinda have these fun day-dreams of a cadre of cool nerds and geeks setting up their own commune-networks against all odds in some distant future where they just have basic infrastructure etc)...<p>But ultimately I always feel uneasy and reluctant to get involved in general decentralized type things as I feel like I&#x27;ll just be facilitating people sharing&#x2F;distributing kiddie porn.<p>At least with Tailscale things are &quot;private&quot;, but with this it feels like I would be part of the wider network. Will I be using my nodes to help route CP traffic?
评论 #43924807 未加载
评论 #43929015 未加载
评论 #43924867 未加载
namecastоколо 10 часов назад
This is very cool @dhaavi! Can definitely see where you&#x27;ve taken lessons learned from cjdns and yggdrassil.<p>I hate to nitpick but this project looks promising enough - and the new project you mentioned interesting enough - that I feel the need to. From your FAQ:<p>&gt; First, there is some structure to the router IPs. While there are special purpose prefixes, most IPs will be in a geo-marked prefix. Every country (+ States in the US) has their own prefix within Mycoria. This means that on the global level, Mycoria routers in the same country share the same prefix. These prefixes are also (tendentially) similar to nearby countries.<p>Second, within a country prefix, Mycoria uses address-distance routing. This means that packets are sent in the direction of the &quot;address-nearest&quot; other router known. While this is not the most efficient way to route packets, it does work quite well with some additional steps - especially if confined to a smaller geographic region, as Mycoria is doing.<p>My commentary: One of the unfortunate lessons we learned from the IPv4 internet and management of IANA IPs by the different RIRs (and the subsequent tagging of IPv4 blocks with geographic information) is that layer-8 folks love the idea of layering policy on top of geographic tags. (E.g.: Maxmind says your address is in Pakistan, and according to Pakistani law content offered by another address is verboten, ergo you are blocked.)<p>Geographic awareness built in to network prefixes may be used against your users in ways that you&#x27;d prefer to avoid. Or perhaps it&#x27;s an acceptable tradeoff for you - it&#x27;s easy to envision scenarios where &#x27;the juice is worth the squeeze&#x27; and users derive enough benefit from geo-aware prefixes to accept the drawbacks. If it&#x27;s the former, I&#x27;d recommend investigating moving from geo-aware prefixes (&quot;I&#x27;m within X miles of other people in this jurisdiction&quot;) to latency-aware prefixes (&quot;I&#x27;m within X ms of other people within this prefix&quot;).<p>(Steelmanning my own recommendation - it&#x27;s possible that anyone trying to implement layer 8 policies on top of geographical-aware prefixes will just willfuly misinterpret latency-aware prefixes as being close enough to them, which would mean a lot of wasted effort for nothing).<p>Anyway, just my two cents. Again, very cool project, looking forward to seeing what you build on top of it!
评论 #43925494 未加载
ramaroоколо 16 часов назад
This looks really interesting and great job on the docs! I need to give it a shot but the first question that comes to mind is if mycoria exposes the full node in the network, requiring the use of a firewall to restrict access to ports, etc? Asking because this is something that is required in yggdrasil: <a href="https:&#x2F;&#x2F;yggdrasil-network.github.io&#x2F;faq.html#will-my-machine-be-exposed-to-other-users-of-the-network" rel="nofollow">https:&#x2F;&#x2F;yggdrasil-network.github.io&#x2F;faq.html#will-my-machine...</a>
评论 #43923768 未加载
theknarfоколо 11 часов назад
How does this compare to Veilid (<a href="https:&#x2F;&#x2F;veilid.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;veilid.com&#x2F;</a>)?
评论 #43925455 未加载
csande17около 9 часов назад
I might be totally missing something here, but does Mycoria attempt to prevent network participants from learning the public-Internet IP address corresponding to a Mycoria router ID?<p>The &quot;iana&quot; field in the configuration kind of suggests that this is not a goal, and this system is basically Tailscale but with IPv6 and a global namespace. But if this is the case, I don&#x27;t really understand the emphasis on &quot;routing&quot;, since pretty much every Internet host can reach pretty much every other Internet host directly using NAT traversal techniques (like BitTorrent does).<p>If you are trying to hide public-Internet IP addresses (like Tor hidden services do), the routing scheme still doesn&#x27;t make a ton of sense to me, because presumably you wouldn&#x27;t want to leak data by picking routes with a deterministic or latency-dependent strategy.
doenerоколо 17 часов назад
Via <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43923287">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43923287</a>
areyourllySorryоколо 2 часов назад
not saying you shouldn&#x27;t build things, but maybe your efforts would be more useful if you were contributing to already existing networks like i2p
评论 #43931284 未加载
thenthenthenоколо 15 часов назад
(How) does this deal with DNS poisoning like the GFW ?( <a href="https:&#x2F;&#x2F;dl.acm.org&#x2F;doi&#x2F;10.1145&#x2F;2994620.2994636" rel="nofollow">https:&#x2F;&#x2F;dl.acm.org&#x2F;doi&#x2F;10.1145&#x2F;2994620.2994636</a> )
评论 #43924283 未加载
elia_42около 14 часов назад
Very interesting. I really enjoyed reading how you handled scalable routing with geo-localised prefixes and with the distance between addresses for packets within the same country code.
评论 #43924340 未加载
krunckоколо 7 часов назад
There are so many projects like this but how many have had an outside audit of their code? Yay, it&#x27;s got encryption and stuff! But how well has it been implemented?
OsrsNeedsf2Pоколо 14 часов назад
What is the average latency of this? I was running a game server on I2P for fun (since I was getting ~100ms ping vs 600ms on Tor) but I&#x27;m curious if this can do better
评论 #43925526 未加载
tornadofartоколо 16 часов назад
Looks interesting.<p>What I understood: it is basically overlaying privacy and net neutrality on the internet.<p>I am therefore restricted to communicating with other users of mycoria and can&#x27;t access &quot;the whole Internet&quot; via mycoria.<p>Am I correct?<p>What isn&#x27;t clear for end users, IMO:<p>- What&#x27;s the primary use case it was built for? Are there applications using it for chatting &#x2F; exchanging data &#x2F; whatever?<p>- what&#x27;s the difference to similar projects like, say, yggdrasil?<p>- what&#x27;s the difference to using a VPN?
评论 #43923750 未加载
dmos62около 10 часов назад
Impressive. I like ZeroTier, would you consider Mycoria a dropin replacement?
评论 #43925465 未加载
dgrr19около 14 часов назад
Is this like tailscale?
评论 #43924212 未加载
eqvinoxоколо 12 часов назад
&gt; No spooking: Everthing is authenticated<p>This does generally mean no anonymity (and limited privacy)…
评论 #43925519 未加载
评论 #43925166 未加载
9devоколо 15 часов назад
Have you seen Reticulum[0] yet? How much overlap does the Mycoria networking layer have with it?<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;markqvist&#x2F;Reticulum">https:&#x2F;&#x2F;github.com&#x2F;markqvist&#x2F;Reticulum</a>
评论 #43924356 未加载
attila-lendvaiоколо 15 часов назад
also, how does this compare to something like <a href="https:&#x2F;&#x2F;ethswarm.org" rel="nofollow">https:&#x2F;&#x2F;ethswarm.org</a> ?
评论 #43923855 未加载
TeeMassiveоколо 3 часов назад
I&#x27;m not that experienced in VPNs and other distributed services. Can I use this to access my self-hosted servers at home and access them from the outside; without having a VPN or a reverse-proxy? Or, &quot;explain like I&#x27;m 5&quot; version, can I use this to host my Minecraft server at home and play with my friend?
sebstefanоколо 14 часов назад
&gt; Every Mycoria Router has an ID. For example:<p>&gt; fd1f:2cf7:903:b50b:e4cb:5c4c:270e:360c<p>&gt; This does not merely look like an IPv6 address, it is one. But it&#x27;s also more than that: These addresses are generated by first creating a public&#x2F;private key pair and then hashing the public key. This means, this IPv6 address is also the fingerprint of the public key of the router<p>&gt; This way you can distribute both the Mycoria address of a router and its public key with a single data point: An IPv6 address.<p>What?<p>* Then how does a computer figure out how to ping that?<p>* You say it&#x27;s distributing both the address and the public key with a single data point, but you&#x27;re hashing it. So, you can restore the public key from the IP if you already know the public key, does everyone store every public key that&#x27;s currently in use? Are there central stores somewhere that are eventually consistent?
评论 #43924222 未加载
attila-lendvaiоколо 15 часов назад
is this something like libp2p, but comes bundled with some tools to be a standalone thing?<p>a rationale&#x2F;comparison section on the front page would be nice.
评论 #43923910 未加载
ilakshоколо 15 часов назад
How does this compare to tinc?
评论 #43925270 未加载
eabeezxjcоколо 10 часов назад
reticulum.network
goodpointоколо 14 часов назад
Does it do onion routing like Tor? Does it protect from traffic correlation or timing attacks?
评论 #43924576 未加载
TeeMassiveоколо 5 часов назад
This reminds me of my old university days where we would setup a Minecraft server and make it accessible through Hamachi (which has enshitified and therefore never really took off beyond those simple use cases).<p>Semi-public authorized access networking really is the future of a more private but more distributed Internet in the age of state sponsored hackers and IoT DDoS bot farms.
immibisоколо 11 часов назад
Yet another one. How is it different from Yggdrasil and Reticulum?