[tor-bugs] #5053 [Tor Bridge]: Fix IPv6 implementation for bridge statistics

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Feb 13 03:33:10 UTC 2012


#5053: Fix IPv6 implementation for bridge statistics
------------------------+---------------------------------------------------
 Reporter:  karsten     |          Owner:                    
     Type:  defect      |         Status:  needs_revision    
 Priority:  major       |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Bridge  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------

Comment(by nickm):

 Replying to [comment:10 arma]:
 > Replying to [comment:9 nickm]:
 > > I think that the return value for geop_get_country_by_addr() is wrong:
 -1 means "we have no geoip file loaded", not "country unknown."  The
 unknown country is 0, right?
 >
 > Well, we don't have any geoip information about ipv6 addresses loaded.
 So I think it could count as ambiguous.

 If we want to count ipv6 as "??", then the answer must be "unknown
 country".  If we return -1, then we won't count it.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5053#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list