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

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Feb 9 08:12:09 UTC 2012


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

Comment(by arma):

 I wouldn't mind trying to squeeze this into 0.2.3. I agree that having
 ipv6 support for users connecting to bridges, but lacking stats, will make
 us sad later.

 Looks like the patch would be to make geoip_note_client_seen() take a
 tor_addr_t, and change clientmap_entry_t to use a tor_addr_t, and then
 change a bunch of the clientmap functions so they handle tor_addr_t rather
 than uint32_t, and change geoip_get_country_by_ip() so it returns 0 if
 it's not a v4 address? Could get messy, but not totally crazy.

 I wonder if there's a less invasive approach.

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


More information about the tor-bugs mailing list