I have an AWS server with availability in EU West (Paris).
IP: 35.180.120.0
Public DNS of server: ec2-35-180-120-0.eu-west-3.compute.amazonaws.com
When using visual Traceroute, the final country shows USA not France.
There also seems to be a large number of hops.
Test results: https://www.monitis.com/traceroute/index.jsp?url=quickbus.com&testId=2439438
Any ideas Why?
IP geolocation is hard. This is simply a mistake since hops 13 through 25 are clearly not in the US.
But whatever IP geolocation service monitis is using simply returns a wrong location. It's probably returning a US location because these IPs belong to Amazon and Amazon itself is registered in the US.
If you want better geolocation, use a service like db-ip. They're pretty good.
Also, Mat is right. The fact that the locations are approximate are clearly written in the fine print in the screenshot you posted.
Related
I am looking to pull first win information (time first win is available) for a summoner in League of Legends; I can't seem to find a way to pull this specific info anywhere in RIOT games API and I went through the full API reference. Am I missing something?
There doesn't seem to be an endpoint for this currently. However, here is something related: First Win App on Google Play. Presumably the developer there worked out a way to calculate it - my guess is you could do the same. You'd need to get a players IP gains from wins (not sure how you'd account for IP boosts of any sort), and find the last match in their match history with a significant IP gain (pick something greater than the max you can expect in a normal game, maybe 200?).
I want to geolocate people from there IP. I know there are services online with an API.
I want to know if there is any way to calculate this data on my own (In other words, is there any way to manually map 192.168.0.1 to (say) New York)?
First, "calculate" is not the right word for it. There is nothing to calculate, it is simple mapping of IP to location. First, you would have to map IP blocks to ISPs. Then get the location of the ISPs. Manually. This is a huge task, and you need to constantly update the list, especially with IPv6 fast growing.
I see no reason to do the job yourself. There are APIs, use them. Maxmind does a great job at providing accurate information such as country, region, ISP name.
MaxMind's free GeoLite databases are probably your best bet.
I have a list of about 20k addresses in the US, and I would like to determine each one's census tract. I found a tool online that does this here, but making 20,000 requests and screenscraping the output seems like the wrong way to do.
One idea I had was to use some open source library like this to search the shapefiles provided here. However, it seems like someone should have written a utility to do something like
Geocoder.census_tract_of_address("200 N State Chicago IL 60601")
Does anyone know of such a thing? How best should I attack this problem?
You can geocode your address to get latitude and longitude from one of the many geocoding services out there (try Google, Yahoo, or OpenStreetMap).
Then you can look up the census tract using:
http://askgeo.com
(Full disclosure: I run that site.)
It is a commercial solution where you can purchase access to the Web API, or purchase the Java Library to do your queries on your own system.
Alternately, if you geocode your address you can use the Data.gov service to retrieve the census geography ID by coordinates: this will return the ID that is used by all the other Data.gov webservices.
Take a look at https://www.temboo.com/library/Library/DataGov/GetCensusIDByCoordinates/
I live in city X, but when i try to get my location via ip all the "find location by ip" websites point to city Y. Some ads "Hang tonight with girls in city X" they precisely know my location. How this is possible? Exists some kind of data, a database with ips which those ads site have?
There is no such thing as precise location from an IP... the quality of any such service never reaches 100%... as you write there are several different databases out there - each with some very good and rather weak spots... some databases are updates regularly, some aren't etc.
Those ads use databases which just happen to have their weak spots somewhere where you don't live...
I have never come across any such service that told my city correctly (although it is not small)... they are off by 20-400 miles sometimes even claiming that I am in a very small city far away...
Mostly you can tell the country correctly... although even that can be fooled by proxy/VPN/anonymizer...
For some insight see:
http://www.private.org.il/IP2geo.html
http://ipaddressextensions.codeplex.com/
http://software77.net/geo-ip/
http://jquery-howto.blogspot.com/2009/04/get-geographical-location-geolocation.html
A rather special and different case is this:
One rather precise way to tell the location is when you use a device (usually mobile phone)... these have several sources available (like tower locations, like GPS)... another point are the databases Google and Apple build by using anonymized from phones... they basically aggregate data regarding tower, GPS and WLAN HotSpot/access points reachable... this way they can (with a small margin of error) tell from the WLAN data (like MAC address) the location...
i've been using ec2 to crate ssh tunnels to test the rendering of our site from different geographical regions. I now need a node in canada - which ec2 doesn't support. Are there any well known (preferably free) SSH Shell providers in canada i could use for this?
thanks
rich
Canada is a very big place.
People in Vancouver will get similar results to US west coast, those in Toronto or Montreal will get east coast results, and geoip will often kick in and clock or enable content for anywhere in Canada.
You could try OVH.ca. They're a French company, and have a big data centre on the outskirts of Montreal, Quebec, in a city called BHS (Beauharnois, QC).
They generally have cheap dedicated servers, starting at 29 CAD/month; be advised that BHS only seems to have one big fibre pipe running into it, which gets damaged every now and then, and during the time that it's damaged, the most you'd be getting from them is something along the lines of 10kbps or less. Otherwise, I have no problem getting 200'000 kbps (and above) from them.