-
Notifications
You must be signed in to change notification settings - Fork 262
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]: ConnectionInfoDialog does not show the IPv6 Address if available #4207
Comments
…tive interface and IPv6 Address
Tested. There's a couple quirks, but no deal breakers for the 1.14.0 release (i.e., can make new issues to address these as needed). First, for the UX:
And for functionality (these are real questions on my part as I'm no expert in networking):
|
Tested some more and found one definite bug. It's possible to get an IPv6 showing in the IPv4 box even if a local IPv4 address is available. For me I did this by bringing down some interfaces (my ZeroTier ones in this case), then opened MapTool and checked the Connection Information. Looking at the PR, I see the culprit: if (!v6 && inetAddress instanceof InetAddress) {
return inetAddress.getHostAddress();
} That |
Good catches on the UX stuff.
The VPN address is the correct one to show. Other clients will need to know that IP address in order to use the Direct connection tab in the Connect To Server... dialog. Each operating system has its own techniques for determining which interfaces are provided when an application iterates over the available ones. Interfaces that are "down" will generally not be provided at all (except for apps like Having a dialog that shows all available interfaces and letting the user chose one would be good, although it's likely TMI for most users, so we should auto-select the one that makes the most sense (based on scanning each NIC for a router that can connect to the web, with the highest preference given to one with UPNP enabled). I have screen layouts for a "wizard"-style dialog that walks users through the steps of deciding how to set things up, with each step's answer used to cull the list of options for the next step.
Based on this SO answer it would seem that we don't need to present the scope ID. (It's only valid use is something MapTool would never do.) However, presenting it on the screen is likely to match how it's presented by the operating system during |
Describe the Problem
ConnectionInfoDialog only shows IPv4 information
The Solution you'd like
Add the IPv6 information of the local active interface to the ConnectionInfoDialog.
Alternatives that you've considered.
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: