[tor-bugs] #4950 [Tor Relay]: SO_REUSEADDR set too late on outbound socket if OutboundBindAddress is set

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Jan 23 20:20:14 UTC 2012


#4950: SO_REUSEADDR set too late on outbound socket if OutboundBindAddress is set
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  normal     |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay  |        Version:                    
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------
 We started setting SO_REUSEADDR on outbound sockets in #2850 (and it's
 unclear if it helped but maybe it did), but we screwed up the order of
 operations such that we bind() before setting the socket option if you
 have the OutboundBindAddress config option set.

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


More information about the tor-bugs mailing list