[tor-bugs] #5852 [BridgeDB]: WebResource.getBridgeRequestAnswer() is unhappy about IPv6 addresses

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon May 14 11:12:17 UTC 2012


#5852: WebResource.getBridgeRequestAnswer() is unhappy about IPv6 addresses
----------------------+-----------------------------------------------------
 Reporter:  ln5       |          Owner:  aagbsn  
     Type:  defect    |         Status:  accepted
 Priority:  normal    |      Milestone:          
Component:  BridgeDB  |        Version:          
 Keywords:            |         Parent:          
   Points:            |   Actualpoints:          
----------------------+-----------------------------------------------------
Changes (by aagbsn):

  * status:  new => accepted
  * owner:  => aagbsn


Comment:

 This is occurring because the X-Forwarded-For header contains an ipv6
 address, and the currently deployed BridgeDB does not expect or understand
 IPv6 addresses.

 The patch(es) to fix this lives in my bridgedb repository, in the
 4297-ipv6-bridges-* branches.

 is_valid_ip() is extended,, as well as the area mapper for ipv6 clients
 (see Dist.py uniformMap()).

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


More information about the tor-bugs mailing list