Skip to content

Commit

Permalink
glances_ip.py plugin relies on low rating / malicious site domain #1975
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Dec 27, 2021
1 parent c22037d commit 0d61df5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions glances/plugins/glances_ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@
# - json: service return a JSON (True) or string (False)
# - key: key of the IP address in the JSON structure
urls = [
('https://ip.42.pl/raw', False, None),
# glances_ip.py plugin relies on low rating / malicious site domain #1975
# ('https://ip.42.pl/raw', False, None),
('https://httpbin.org/ip', True, 'origin'),
('https://jsonip.com', True, 'ip'),
('https://api.ipify.org/?format=json', True, 'ip'),
('https://ipv4.jsonip.com', True, 'ip'),
]


Expand Down

0 comments on commit 0d61df5

Please sign in to comment.