tags:

views:

820

answers:

5

We are implementing an IP based geolocation service, and we need to find some IP's from various markets (LA, NY etc) to fully test the service.

Does anybody know of a directory where we could find what IP ranges are used where?

EDIT: We have already implemented the system, it uses a 3rd party DB and a webservice. We just want some IP's from known markets to verify its working properly.

I'm going to see if I can get what I need from the free maxmind database.

+2  A: 

Not sure if cost is a factor but there are a few open source databases knocking about. This one claims 99.3% accuracy on its free version with 99.8% for its paid version. They've also got a Free & Open Source City Database (76% accuracy at city level).

They're both available as CSV-based databases so you can easily take a known location and get an IP range for ISPs in the area.

The tougher part is getting access to a computer in that IP range.

Oli
Not sure why I'm being voted down. You can use the maxmind databases in both directions!
Oli
Me neither, have a +1. Great suggestion, I might use this for my idea for geolocation.
Anders
He was downvoted because prior to edit, he answered the wrong question :)
FlySwat
To avoid the "getting access to a computer in that IP range" requirement you can setup an apache http proxy and forward requests from your external interface to your local interface, via a interface configured with the IP address you need to simulate.
stian
+3  A: 

Try looking for sites providing lists of anonymizers. They usually list the countries for the anonymizer sites. Then either use the IP provided or do a lookup on the anonymizer name.

Also try searching for lists of anonymous proxies.

We trawled the logs for our huge web site and built up a test collection.

Sorry I can't pass it on. )-:

cheers,

Rob

Rob Wells
A: 

You could try using an automation tool, such as AutoIT, to fire off a series of IP addresses at a whois database service such as arin or RIPE, and harvest the addressed responses, probably just varying the first two parts of the IP.

Shane MacLaughlin
+1  A: 

Many open source projects have worldwide mirrors; you can find a country-indexed list of Debian mirrors and kernel.org mirrors. (Note that kernel.org specifically has many mirrors per country; there are eleven United States mirrors, which are located in different regions of the country and would give different information.)

Commodore Jaeger
+2  A: 

maybe this database will be useful for you: http://www.hostip.info/dl/index.html it's a collection of ip adresses with countries and cities.