Page MenuHomePhabricator

Display a URL for an organization associated with an ASN in the IPInfo popup
Open, LowPublic

Description

Given an ASN or an organization name, display a URL for the organization in the IPInfo popup, as depicted:

No map.png (272×403 px, 14 KB)

MaxMind provide both the ASN and the organization name: https://dev.maxmind.com/geoip/geoip2/geolite2-asn-csv-database/

Event Timeline

Without giving an example (and exposing my IP address) the hostname sometimes contains the IP address which would seem to be contradictory to the goals of IP masking. Alternatively, we could provide the top-level domain (TLD) of the host which I imagine would be sufficient?

Without giving an example (and exposing my IP address) the hostname sometimes contains the IP address which would seem to be contradictory to the goals of IP masking. Alternatively, we could provide the top-level domain (TLD) of the host which I imagine would be sufficient?

For @Prtksxna and my sake, could you elaborate on what the TLD is? I agree that displaying anything that contains the IP address is definitely contradictory of our goals. Is there also a possibility of us selectively displaying hostnames only when they don't contain IPs?

It might be sensible to block this task on T261372: Replace mock data returned from API endpoint with live data so that we know what data are available first

It might be sensible to block this task on T261372: Replace mock data returned from API endpoint with live data so that we know what data are available first

That's a good point. Let's hold off on this task for now.

For @Prtksxna and my sake, could you elaborate on what the TLD is? I agree that displaying anything that contains the IP address is definitely contradictory of our goals. Is there also a possibility of us selectively displaying hostnames only when they don't contain IPs?

127-0-0-1.res.bhn.net

is an example hostname from my ISP. Since there is no way to know that the hostname contains the IP address, the only "safe" way to do it would be to only show the SLD & TLD, in this case:

bhn.net

For @Prtksxna and my sake, could you elaborate on what the TLD is? I agree that displaying anything that contains the IP address is definitely contradictory of our goals. Is there also a possibility of us selectively displaying hostnames only when they don't contain IPs?

127-0-0-1.res.bhn.net

is an example hostname from my ISP. Since there is no way to know that the hostname contains the IP address, the only "safe" way to do it would be to only show the SLD & TLD, in this case:

bhn.net

Got it. Thanks.