I propose adding a “lookup” button next to most IP addresses in user fields that are visible to admins:
Clicking the lookup button would pop up a dynamically queried box that shows a spinner, which will populate with additional lookup info about that IP as the data arrives, e.g.
We can start simple with just the top 3 here:
Geolocation info for this IP, with Google Maps link
reverse DNS lookup info for this IP
lookup other accounts sharing this IP
query server logs for this IP
query flags filed against this IP
etc, whatever else it makes sense to query or show for an IP
This way if you have a sketchy user, you can verify where they’re coming from.
Yes, sure the last IP. But if you’d query for the GEO-Data of the IP, lets say a day later, when the user clicks on it, most services will give you the geoposition of it right now (not where it has been when we registered it). I was just wondering whether we want to take that into account, query at the time of registration for the data or whether there are services that keep a record we can look up at.
IP locations don’t change that frequently, and even less frequently at the country level, so looking up the current geolocation details is probably going to be OK.
To get this up and running quickly you could use the http://ipinfo.io API, which gives you a bunch of different details:
Nobody is working on this, feel free to give it a shot. Also any bugs, bugs are our top priority at the moment. (hence I am slowing down on PR review work)