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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs