-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPv6 #148
Comments
+1 |
The problem is the torrent trackers only support ipv4 addresses, so need to find an alternative solution to store ipv6 (and tor) addresses. |
I'm currently only using v4, but it looks like there is a BitTornado option to support v6 |
I am working on something to make this easier: #520. Please check it out. Also, dumping BitTorrent trackers would be great in so many ways. |
any progress? |
It's not on short-term plans yet. (next 6 month) |
IAB Statement on IPv6 (7 November 2016):
|
Another vote for IPv6 support. Reason: using ZeroNet on top of cjdns/Hyperboria which is an IPv6-only transport layer. |
@HelloZeroNet : ""It's not on short-term plans yet. (next 6 month)"" |
+1 for IPv6 support.. main reason is for CJDNS support. |
I'm also interested in IPV6 support, to let ZeroNet run on cjdns/hyperboria. I might take a crack at it a bit later, but I honestly have no idea how involved it'd be. I'd personally be up for no trackers and just having bootstrap nodes/peer exchange if the issue is that trackers aren't ipv6. IIRC, as it stands zeronet can work even if you remove the trackers from the code, because it stores peer info. So it shouldn't be too difficult to migrate. |
@HelloZeroNet Please, add some labels on this issue, it's important issue. |
I'm not sure about the situation when this comment was made, but isn't it true that we now have the ZeroNet bootstrap protocol? Is it possible that IPv6 support could be added to this protocol like how it was done for Tor hosts? |
Yes, with ZeroNet bootstrap protocol It's no longer a problem. |
is it possible to add ipv6 support for web ui first? |
I think the webui should work if you start it with |
Is this ready yet? How soon can we run it over cjdns? What all needs to be done? |
Here are the ipv6 tracker. Can it help? |
Yes, it can: were you able to find more? |
Ok. I found these now. Hope can help you. |
@HelloZeroNet @shortcutme |
@DaniellMesquita well ZeroNet can already run over IPv4 mesh networks. To run over IPv6, last I checked it just needed to support the address format, and add in some IPv6 trackers (which some people listed above). Shouldn't take long, but it's a matter of actually doing it. |
How? And which networks?
With IPv6, ZeroNet can support CJDNS/Hyperboria mesh networks. |
Reference: hyperboria/todo#2 |
@DaniellMesquita ZeroNet works on anything with IPv4 support. Just follow the bootstrapping instructions to set up a ZN-based tracker on your mesh. That's it. As for what mesh networks are ipv4.... I don't really know, sorry. I've been waiting on ipv6 support so I can use it with cjdns and hyperboria.
Indeed. That's why I'm eager for it. |
@April93 |
Any progress on this yet? @DaniellMesquita I'm able to connect to cjdns, but I don't have anyone routing through me. |
Here's a public cjdns peer:
|
Why I find three ipv6 tracker in the Shared trackers in my vps. |
If needing more CJDNS peers, here's mine:
IP: Note: Why I need to provide an fixed IP address? That makes it centralized |
To notice, I'm moving to Yggdrasil, so I'll report how it is working through ZeroNet. |
You need an ip address to peer in cjdns just as you need an ip address to peer in zeronet. The method used to label your peer in cjdns doesn't need to be centralized. Ideally you'd have many peers, not just one.
I'm not sure how you'd run both on your machine at once. Perhaps just run them? I don't know. For ZN once generic ipv6 support is in, then afaik yggdrasil should work fine as well. |
Yggdrasil and cjdns runs fine side by side. I'm not sure how to make ZeroNet use them, though. |
@DaniellMesquita,
Because otherwise peers won't know how to connect to your node and peer with it. If you didn't have any peers, your node would be just like a remote island that nobody knows exists. You need at least one peer. |
I think there is some mix up over the "fixed ip address" thing. The fixed ip address is referring to the IPv6 connectivity check built into ZeroNet. Personally I think it needs to be removed, or set to a configurable value because clearnet, cjdns, yggdrasil will all require separate values. |
I have been trying to debug exactly why ZeroNet will not share IPv6 peers when running on cjdns/yggdrasil. It appears to have something to do with the tracker exchange. I have one ZN node seeding a few zites, and here is the data it shares with the tracker..
The only anomalies I can spot is the IP address contains the |
Actually it doesn't matter if that IP is alive or not, because the function does not connects to it. (it's an UDP socket) It only used to test if the client's network stack has the ability to create a route towards to it. |
I have modified the AnnounceShare to work with ipv6 addresses and support multiple ips in Rev3815 and added multiple public_ip support that is also configurable on /Config. |
ZN seems to be accepting the cjdns ip fine now (setting the config option). Trying to connect to my own machine as a tracker still isn't working. With the cjdns ip it stays at 0%, while with the default 0:0:0etc one it fluctuates but ultimately fails. Not sure if I'm doing something wrong with the bootstrapping or i just need to connect to someone else. |
I just pulled down the latest revision and it hasn't really resolved anything for me. I can get my multi-homed node to register itself onto my external tracker, however the cjdns only node queries the tracker and finds no valid peers for 1HeLL0... So not sure why it finds no valid peers, when the tracker clearly has valid peers. Will keep debugging. |
If your node querying is cjdns-only and can't find peers, then the problem is that others aren't using cjdns, yeah? If you share your tracker others can help test :) |
Perhaps my external tracker is broken (i.e. doesn't work well with ZeroNet). I now have a ZeroNet node on yggdrasil. And I am able to connect to it from a ygg only node, and it appears to be working. So to make this work I had to comment out the Obviously it will only download the zites that I am seeding, which is ZeroSites, ZeroUp, ZeroName, GIF Time, ZeroHello, ZeroBlog and ZeroNet documentation. The UI is not able to render the IPv6 tracker correctly, it cuts it off at the first semi colon. But not a big issue. Also something Ipv6 related is stopping the /Stats page from rendering too. |
It looks like the ipv6 you provided isn't a cjdns ip, so cjdns peers can't connect to it. I don't know about yggdrasil or native ipv6 as I don't have either of those. The zerohello page definitely cuts off the text of the ipv6 addresses, but it clearly still functions (being detected elsewhere fine). I don't think that impairs anything other than visuals. |
Yeah, that address is a yggdrasil address. Try this CJDNS address |
@April93 I suggest you to try Yggdrasil, and you can run it alongside CJDNS. I'll push the new commits and do feedback about if the @andrewheadricke's CJDNS tracker is working. |
I did other improvements to IPv6 in the past days:
Maybe we can close this isssue now? |
For some reason my
|
@andrewheadricke What OS are you using? |
Ubuntu Linux. Gevent 1.3.6 |
Thanks, I can confirm the error with gevent 1.3.6 |
I updated to gevent 1.4.0 and it seems the same problem exists. |
@andrewheadricke Fixed in Rev3831: c2b879c |
Working well now, thanks. I feel there are still a few small issues with IPv6 support, but technically its working and I have a 24/7 tracker online on Yggdrasil at I vote this issue can be closed :) |
Yeah it's working great. This can be closed now. |
Please support IPv6.
The text was updated successfully, but these errors were encountered: