[tor-bugs] #6471 [Metrics Utilities]: Design file format and Python library for multiple GeoIP or AS databases
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sun Aug 12 12:23:50 UTC 2012
#6471: Design file format and Python library for multiple GeoIP or AS databases
-------------------------------+--------------------------------------------
Reporter: karsten | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Metrics Utilities | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------------+--------------------------------------------
Comment(by gsathya):
Replying to [comment:2 karsten]:
> Hmm. How about a third approach: write a library that a) reads
unmodified database files to memory, maybe together with a mapping file
containing dates when these files became valid, and b) resolves IP
addresses and dates to country codes or ASes. We wouldn't want to
memorize the full file contents, but only the relevant information for
looking up an IP address and date. But we can still wonder about a
compact file format for that later on.
This means we'll have to store multiple GeoIP database files. Is this a
good idea? wouldn't it be better to have a single file?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6471#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list