[tor-bugs] #4676 [Tor Relay]: Eliminate "family" field in tor_addr_t

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Dec 8 22:19:12 UTC 2011

#4676: Eliminate "family" field in tor_addr_t
 Reporter:  nickm        |          Owner:                    
     Type:  enhancement  |         Status:  needs_review      
 Priority:  normal       |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay    |        Version:                    
 Keywords:               |         Parent:                    
   Points:               |   Actualpoints:                    
Changes (by nickm):

  * status:  new => needs_review


 See branch "short_address_rep" in my public repository for an
 implementation of this.

 One thing to consider carefully here is that parsing what looks like an
 IPv6 address can create a value that gets construed as an IPv4 address or
 for AF_UNSPEC.  (No *valid* IPv6 address will be taken for an one of
 those, but hostile input can happen.)  We must look at all our code that
 parses potential IPv6 addresses carefully, to make sure that nothing will
 break because of this.

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

More information about the tor-bugs mailing list