[tor-bugs] #5374 [Tor Bridge]: getsockname() to check for address change failed

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Mar 13 13:16:05 UTC 2012


#5374: getsockname() to check for address change failed
------------------------+---------------------------------------------------
 Reporter:  funkstar    |          Owner:                     
     Type:  defect      |         Status:  new                
 Priority:  major       |      Milestone:  Tor: 0.2.3.x-final 
Component:  Tor Bridge  |        Version:  Tor: 0.2.3.12-alpha
 Keywords:              |         Parent:                     
   Points:              |   Actualpoints:                     
------------------------+---------------------------------------------------

Comment(by arma):

 Sounds related to #1827 (which got merged in Tor 0.2.3.11-alpha):
 {{{
     - Try to use system facilities for enumerating local interface
       addresses, before falling back to our old approach (which was
       binding a UDP socket, and calling getsockname() on it). That
       approach was scaring OS X users whose draconian firewall
       software warned about binding to UDP sockets, regardless of
       whether packets were sent. Now we try to use getifaddrs(),
       SIOCGIFCONF, or GetAdaptersAddresses(), depending on what the
       system supports. Resolves ticket 1827.
 }}}

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


More information about the tor-bugs mailing list