Page 1 of 1

How Does IP tracing work?

PostPosted: Fri Jun 09, 2006 3:19 am
by deane034
This Project is Fantastic. It Gave my a quite close proximation of my location, earlier i thought you could only trace someone only to it's ISP and judge the country by where the IP is located.

Im very much curious to as to know how thir project works. As in from what i understand You guys keep a database with IPs and Relevant Cities. Can you elaborate more, and for Dynamic IPs, does ISP's usually give a certain set of Block of IPs to different cities or can they allocate IPs at random without giving any prominence to the City?

can someone please explain how this works basically, thanks :)

PostPosted: Sun Jun 11, 2006 7:15 am
by robocoder
As Brad posted elsewhere, the database was initially primed with the whois information (e.g., ISP's country). Data contributions and traceroute regexes (i.e., guessing location from hostname) are filling in the blanks, mapping cities to /24 blocks.

If the /24 block containing your IP has a city assigned, then that's what a basic table lookup will return.

As to how ISPs assign IP addresses...that is ISP dependent, but from what I've observed, both of the assignment methods you listed are used. Obviously, hostip can't handle the latter scenario very well with a static table.