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

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



#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:                    
-------------------------+--------------------------------------------------

Comment(by rransom):

 {{{
 00:19 < wanoskarnet> re branch "short_address_rep": any explicitly non
 inited tor_addr_t structs will have AF_INET6 family, that hides exist
 family related bugs.
 }}}

 The all-zero IPv6 address is used as `in6addr_any` by the IPv6 code, so if
 we use that as a special âuninitializedâ value of `tor_addr_t`, we'll have
 to do some careful fiddling to be able to specify `in6addr_any` in certain
 inputs and pass it to networking functions.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4676#comment:2>
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