-
-
Notifications
You must be signed in to change notification settings - Fork 10
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] List IPv6 Gateway and DNS information #131
Comments
Well there's no API for retrieving those addresses as IPv6s AFAIK, and I suppose just converting them from their IPv4 versions wouldn't be of much use, or am I wrong? |
Not deep into Kotlin and Android, but shouldn't https://developer.android.com/reference/android/net/LinkProperties#getDnsServers() |
The The
192.168.1.1 is also my gateway, DNS and DHCP address shown on the widget, other than that none of those addresses is a duplicate of one featured by the widget. Can you infer how to interpret them? |
The nat64Prefix I can definitely add, I created a separate issue for that @ #144. |
Default route IPv6
Default route IPv6 for prefix 2a02:3032:2e0:5207::/64
Default route IPv6 for prefix 2a02:3032:2e0:78f3::/64
Default route IPv4:
|
So these aren't DHCP or DNS addresses but an entirely separate property? |
Also, how can you tell that
And
respectively belong together, just by their order of appearance? |
their belonging together was only based on the order of apperance. |
Okay, so they actually don't have anything to do with the original issue subject. Do you think adding them to the displayable widget properties under the name "Route" would be of value anyways? |
Basically your device has more than one IPv6 Gateway configured. So this part matched the issue title. Nevertheless, there seam to be no obvious API to get the IPv6 DNS information, if I understood you and the documentation correctly? |
Just for information:
is definitely not correct, if there isn't ipv4 at wifi interface at all. The properties Gateway, DNS, DHCP should be hidden then. Or 0.0.0.0 should be replaced by something representing nothing/empty . At the moment the app shows the correct public ipv4 ip(*). Strictly speaking - clat is an extra interface. It appears, when uplink (wifi or cellular) provides nat64. * under some circumstances you can have two different public ipv4 addresses. (one via clat interface and one directly via NAT64, but that configuration is a rarity on plat side) |
Overview
Currently the WiFi-Widget only lists the DNS, DHCP and Gateway information for IPv4.
Please also display and make it configurable for IPv6.
The text was updated successfully, but these errors were encountered: