I wrote the following php script to help myself comply with US law regarding export of encryption software:
http://24.5.29.77:10080/encryption/index.phps
It uses a perl script that querries whois to attempt to get the country that an IP address is coming from.
That's not terribly accurate (it thinks my IP address is in the Netherlands- because that's where @home apparently registered that block) and its incredibly slow, because after the file is requested by the user, my server has to make a whois request and get a response before it can continue.
I have been looking for a database I can install on my server that I can querry, instead of having to use whois. Only ones I find are big $$$ commercial subscriptions.
Anyhow, this got me thinking- this would be a good application for distributed computing-
different computers run traceroute on various IP addresses to try to get the actual country location of the IP address, and send the results to a central system which inserts them into a database.
Obviously, not every IP in the world would need to be in the database- it would be pretty easy to figure out what subnets have been subdivided and what have not.
This database could then be made freely available either to those who run the client to help continuously map the internet (and it is a continual process as subnets sometimes move) or (preferably) free for anyone.
The applications such a database could have are huge-
detection of fraud, providing prices to customers in proper currency, compliance with law regarding who can download what, etc.
Is a distributed mapping of the internet project already in place?
If not, any takers?
http://24.5.29.77:10080/encryption/index.phps
It uses a perl script that querries whois to attempt to get the country that an IP address is coming from.
That's not terribly accurate (it thinks my IP address is in the Netherlands- because that's where @home apparently registered that block) and its incredibly slow, because after the file is requested by the user, my server has to make a whois request and get a response before it can continue.
I have been looking for a database I can install on my server that I can querry, instead of having to use whois. Only ones I find are big $$$ commercial subscriptions.
Anyhow, this got me thinking- this would be a good application for distributed computing-
different computers run traceroute on various IP addresses to try to get the actual country location of the IP address, and send the results to a central system which inserts them into a database.
Obviously, not every IP in the world would need to be in the database- it would be pretty easy to figure out what subnets have been subdivided and what have not.
This database could then be made freely available either to those who run the client to help continuously map the internet (and it is a continual process as subnets sometimes move) or (preferably) free for anyone.
The applications such a database could have are huge-
detection of fraud, providing prices to customers in proper currency, compliance with law regarding who can download what, etc.
Is a distributed mapping of the internet project already in place?
If not, any takers?