hackers  

[freeipdb-hackers] ip address scheme

Joshua Kuo
Fri, 04 Apr 2003 14:29:18 -0800

hi all:

i have installed FreeIPdb-0.1.4 and used it to keep track of some
address space. i am curious in how FreeIPdb handles the ip address
space.

i.e. how is the script keeping track of which /27 belongs to which /24?

i am impressed with how space-efficient the database is, but all i could
really figure out from looking at the database structure is that it's
using a left-child and right-child. i try to dig into admin.cgi but my
poor perl skills get in the way of me understanding the code.

if possible, could someone explain to me a little on how this is setup,
and perhaps add the comments into the code itself so it would be easier
to read?

-Josh