-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Public IPv6 Address #961
Comments
Glances uses online services to grab the external IP address:
Can you try this on your system and check if one of them return the IPv6 address ? |
Sure, here are the results:
Looks like jsonip is the only one returning IPv6. |
Can you copy/paste the result of the http://jsonip.com/ site ? |
Here ya go, masked the address a bit tho :) |
Ok i will have a look but for the moment Glances use the first (fastest) public IP address returned by one of the online services. I can add a tag (and an option in the configuration file) to force the use of jsonip but if the service is not available, no public IP addresses will be displayed... |
Perhaps a config option to only display ipv4? You can regex check the reply of each, and if you don't get a match, you don't return a value. I imagine this will become a more and more relevant issue as public ipv6 addresses become more common. Thanks! |
I'm happy to see the public IP address making it's way into these releases (especially in the export for v2.8).
However, I have an external ipv6 AND ipv4 address. Can we show both of these or allow us to choose which one displayed and exported?
Thanks!
The text was updated successfully, but these errors were encountered: