Skip to content
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

Wishlist: Enable IPv6 for DHT / decentralized storage #50

Open
T-X opened this issue May 18, 2023 · 1 comment
Open

Wishlist: Enable IPv6 for DHT / decentralized storage #50

T-X opened this issue May 18, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@T-X
Copy link

T-X commented May 18, 2023

I really like the idea of decentralized storage! However in the settings under Network->Peers I usually only see one peer, namely "api.mtgatool.com". So that seems to make this feature quite centralized again?

At least on Linux it seems that mtgatool-desktop only listens on an IPv4 UDP socket:

$ sudo netstat -tulpen | grep mtgatool | head -n1
udp        0      0 192.168.3.47:49850      0.0.0.0:*                           1000       2225250    332303/mtgatool-des
udp        0      0 192.168.3.47:49867      0.0.0.0:*                           1000       2221187    332303/mtgatool-des 
udp        0      0 192.168.3.47:33555      0.0.0.0:*                           1000       2218923    332303/mtgatool-des 
udp        0      0 192.168.3.47:49946      0.0.0.0:*                           1000       2222378    332303/mtgatool-des
...
udp        0      0 224.0.0.251:5353        0.0.0.0:*                           1000       2223457    332303/mtgatool-des 
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1000       2202378    332210/mtgatool-des 
udp        0      0 224.0.0.251:5353        0.0.0.0:*                           1000       2220621    332303/mtgatool-des
...

So I guess all peers are currently hidden behind IPv4 NATs? It would be great if the mtgatool-desktop could exchange packets over IPv6, too. That way we should see a lot more peers.

@riQQ riQQ added the enhancement New feature or request label May 19, 2023
@T-X
Copy link
Author

T-X commented May 19, 2023

Hm, maybe this is actually a network issue on my side. I noticed that on a different WiFi network I actually do get udp6 sockets in netstat for mtgatool-desktop.

Although the WiFi network I initially tried also has working IPv6, I can ping6 and browse IPv6 websites, it might be that this Fritz!Box Wifi router filters incoming IPv6 or IPv6 UDP more strictly.

Does mtgatool-desktop only open IPv6 UDP sockets after some bidirectional connectivity check?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants