[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #2506 [Tor Relay]: Design and implement a more compact GeoIP file format



#2506: Design and implement a more compact GeoIP file format
-------------------------+--------------------------------------------------
 Reporter:  rransom      |          Owner:  endian7000        
     Type:  enhancement  |         Status:  needs_review      
 Priority:  normal       |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay    |        Version:                    
 Keywords:               |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------

Comment(by nickm):

 Other thoughts: elsewhere we have used the country code "??" for an
 unassigned mapping.

 We don't have a consistent internal uint8->country mapping in Tor: that
 needs to get saved too.

 Right now the db has 246 country codes; it's be nice to have a good answer
 here for what we would do if we had to go over 255.

 One possibility for making this format self-synchronizing is to reserve
 the run-length index 0 and the country code 0 such that neither
 corresponds to a run length or to a country.  There are probably better
 ways too.

 Another useful observation: there seem to be less than 32 run lengths that
 ever occur more than once.   Not sure what we can use that for, though.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2506#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs