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

feature request: option to choice ipv4/ipv6 #6

Open
axet opened this issue Nov 11, 2019 · 4 comments
Open

feature request: option to choice ipv4/ipv6 #6

axet opened this issue Nov 11, 2019 · 4 comments

Comments

@axet
Copy link

axet commented Nov 11, 2019

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.

@adolfintel
Copy link
Member

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.

@axet
Copy link
Author

axet commented Nov 11, 2019

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...

@adolfintel
Copy link
Member

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.

@axet
Copy link
Author

axet commented Nov 11, 2019

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).

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

No branches or pull requests

2 participants