I never could get Nix working but maybe someone will

-11 points

*but relies on IPFS.

Useless.

permalink
report
reply
1 point

It relies on libp2p not ipfs. ipfs uses libp2p as its transport

permalink
report
parent
reply
13 points

Tell me what I’m misunderstanding here.

permalink
report
parent
reply

So I dug into the source code a bit to see how it’s used. It turns out that IPFS might actually optional, as per the log line on https://github.com/hyprspace/hyprspace/blob/master/p2p/node.go#L213 (“Getting additional peers from IPFS API”)

The list of required bootstrap peers is hardcoded in the same file, but a few lines above, specifically at https://github.com/hyprspace/hyprspace/blob/master/p2p/node.go#L181

I say might be because - while the required bootstrap peers include a bunch of ones based on bootstrap.libp2p.io - there is a long list of hardcoded ip addresses and I don’t recognize any of them.

So those might be libp2p.io ip addresses, but they might also be IPFS ip addresses, or even belong to someone else altogether. (Edit: There are WHOIS tools online like https://lookup.icann.org/en that can be used to look these up and figure out who they belong to if you are really curious, but I can’t be bothered to do that right now.)

In any case, it looks like the way this works is that from a peer, libp2p tries to look up additional peers, and so on. So at most IPFS would be used as a way to get a listing, but once the desired peer is found, IPFS is cut out of the picture for that particular connection and NAT hole punching is used to establish a direct connection between peers instead (as per the linked wikipedia article, https://en.wikipedia.org/wiki/Hole_punching_(networking )

permalink
report
parent
reply
25 points

“A Lightweight VPN Built on top of IPFS + Libp2p”

Seems like both at a glance

permalink
report
parent
reply
17 points

Why is it useless?

permalink
report
parent
reply
-22 points
*

Lol. You checked on IPFS lately? Different times. Different world.

permalink
report
parent
reply
27 points

Do you have more information? Haven’t looked into it for a while. What happened?

permalink
report
parent
reply
22 points

Is IPFS something your family and friends check on regularly? I don’t even know what it is.

Considering your reluctance to give any information about your assertion that such a project using it becomes useless, I’m not sure you know what it is either :P

permalink
report
parent
reply
2 points

I sure wonder how this is supposed to function, any explanation anywhere, like a diagram or something?

permalink
report
parent
reply
2 points
*

What about Tailscale? I know it’s Proprietary software, but still.

permalink
report
reply
12 points

Tailscale… is not that good. The underlying wireguard is robust, but tailscale control plane is completely proprietary, as well as their DERP servers that it too often uses completely needlessly. They can also block you off from downloading it, updating, or logging in, if you happen to be in a wrong country.

I’m myself looking for an alternative to it, but having trouble finding something I could share with non tech savvy friends while not being as complex on my end as, say, open/strongswan ais. Any suggestions welcome.

permalink
report
parent
reply
3 points
permalink
report
parent
reply
7 points

Have you considered having Headscale on a cheap VPS? We are actually doing that and it is pretty capable. IIRC, you can configure not to use the tailscale servers at all, and use your own public VPS for coordination. Bonus point, tailscale hired the Headscale developer and maintainer, and they are allowed to work on Headscale while on their payroll. The team looks very much into FOSS.

permalink
report
parent
reply
2 points

Yep. That’s the number one contender. Well right after overriding default DERP’s with my own VPS machines. I’ll definitely try it out over some weekend.

One of my other concerns with this and other solutions suggested is the reliance on wireguard which can be subject to fingerprinting and censorship. Do you happen to know if it’d be possible to swap out Headscale’s implementation of wireguard to amnezia? I’ll have to do my homework anyway, but who knows, maybe there are some pitfalls to avoid.

permalink
report
parent
reply
1 point
*

Headscale worked for me, but I get the non-tech saavy friends part doesn’t quite jive with it as a solution.

Still, anyone wanna ditch Tailscale and only use it for hosting sites across proxies? Headscale is great.

permalink
report
parent
reply
1 point

Yeah I don’t understand how this is different than headscale, but I’m very much not savvy on the pipes and tubes that make the Internet go round. Can anyone explain?

permalink
report
parent
reply
6 points

I use zerotier personally

permalink
report
parent
reply
11 points

Tailscale is actually a lot more open than you think. The agents are all foss and there is a self hostable version.

permalink
report
parent
reply
0 points

Isn’t that same as Tor?

permalink
report
reply
2 points

Not in the least

permalink
report
parent
reply
-1 points
Removed by mod
permalink
report
reply
2 points

Sounds relatively similar to Yggdrasil

permalink
report
reply
1 point

Not quite

permalink
report
parent
reply
1 point

What are some key differences?

permalink
report
parent
reply
3 points

It uses libp2p

I’ve never used Yggdrasil but it looks like a standalone project. It also appears have a smaller team and a little less funding but don’t know for sure.

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 3.7K

    Monthly active users

  • 2K

    Posts

  • 23K

    Comments