[tor-bugs] #3742 [Tor Client]: auto ports are always chosen as port 94

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Aug 15 23:37:16 UTC 2011


#3742: auto ports are always chosen as port 94
------------------------+---------------------------------------------------
 Reporter:  Sebastian   |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 With the proposal 171 implementation, we also added a bug inside
 retry_listener_ports(): When we call tor_addr_to_sockaddr(), the second
 argument is a uint16_t, but we stick an int into it. When this int has the
 value of CFG_AUTO_PORT, it gets truncated to 94 - and port 94 can
 typically not be opened without root.

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


More information about the tor-bugs mailing list