Davide-sd / ip_address

Plasma 5/6 widget to quickly show the public IP address and related informations.
GNU General Public License v2.0
21 stars 13 forks source link

Feature request: IPv6 and filter #7

Open sachaz opened 4 years ago

sachaz commented 4 years ago

Hi & thanks for this tool !

The IP is only in v4, it's time to v6 ;) A filter who change the color of the icon could be usefull for exemple: I set ipv4/v6 or network filters if I it is not the right public ip the icon becomes red Could be usefull to see if our VPN is down or we change a network.

Regards

Davide-sd commented 4 years ago

Thank you for the suggestion! I will definitely try to implement it next month! :)

sachaz commented 4 years ago

<3

Davide-sd commented 4 years ago

Hello @sachaz ,

So I've spent a few hours improving the widget (still have to commit the changes).

Since I don't have an IPv6, would you be able to take a screenshot at ipinfo.io so that I can see what I should modify to implement it?

Thank you...

sachaz commented 4 years ago

Hola,

ipinfo.io doesn't handle the IPv6 :(

$ host ipinfo.io
ipinfo.io has address 216.239.38.21
ipinfo.io has address 216.239.34.21
ipinfo.io has address 216.239.36.21
ipinfo.io has address 216.239.32.21
ipinfo.io mail is handled by 10 alt3.aspmx.l.google.com.
ipinfo.io mail is handled by 1 aspmx.l.google.com.
ipinfo.io mail is handled by 5 alt1.aspmx.l.google.com.
ipinfo.io mail is handled by 5 alt2.aspmx.l.google.com.
ipinfo.io mail is handled by 10 alt4.aspmx.l.google.com.

ifconfig.co does :)

Sacha.