Open axet opened 4 years ago
Hi axet, nice to meet you, I used some of your projects in the past.
I don't think android apps can manually choose a connection over another, but I'll check the documentation. Either way, the easiest way to do this is server side, you configure your server to have 2 different subdomanins like v4.yourserver.xx and v6.yourserver.xx, the first one will only have an A record, and the second one will only have an AAAA record, then you add both to the server list and let the server selector do its magic.
Nice to hear that. In perfect world we gonna need no money or government. Open-source gonna live forever.
Sure, UI may suffer, that alone may enough not to touch that. And not many users can be affected (not everyone has external IPv6 connections).
A technical solution can be simple as usual, you choice target IP, which leads which connection can be used. Manually resolving DNS name can solve the issue.
EDIT: https://rosettacode.org/wiki/DNS_query#Java
EDIT: Since we are testing local provider speed and not tunneling speeds, it may be good to test booth ipv6 and ipv4 pings and offer best option to user. For example combobox can show booth ipv4 + ipv6 options with ping values. I'm not sure what is the best UI solution yet...
Yea, that could be a good idea, I didn't think of that. I don't have an ipv6 internet connection to test it though.
You can have IPv6 for free if you have external IPv4 from Hurricane Electric https://www.he.net/. I'm using it for years, it used to be simple registration and easy tunneling. Today they might ask you a bit more information about your self, since I've heard bad guys abusing this free service (spam, floods).
I have free ipv6 connection provided by hurricane provider (swedish), my ipv4 from my local provider (russia). Ping and speed may (hehehe) vary depend on connection.