[tor-bugs] #3948 [Tor Client]: "fooport auto" should be able to get a hint, and should try to pick a consistent port

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Sep 7 03:17:15 UTC 2011


#3948: "fooport auto" should be able to get a hint, and should try to pick a
consistent port
-------------------------+--------------------------------------------------
 Reporter:  arma         |          Owner:                    
     Type:  enhancement  |         Status:  new               
 Priority:  major        |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client   |        Version:                    
 Keywords:               |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------
 In #3945 we learned that "socksport auto" (as implemented in #3076) on
 Windows is confusing users who use external applications that expect Tor
 to be listening on port 9050. The "fix" was to disable using auto ports in
 the TBB 0.2.2 Windows bundles.

 A better answer to this issue is to

 A) teach Tor how to remember which port it used last time, and try that
 one first; and

 B) seed it with our favorite port, e.g. by setting another config option
 like "SocksPortPreferred 9050". Maybe it would try both the preferred port
 and the one it picked last time, in some order. My first thought is that
 it should try the previous one first, and fall back to the configured
 preference before falling back to a random high-numbered port.

 If we want to get fancier, we could make the prefered list be a 'schedule'
 of ports to try, e.g. for ORPortPreferred it could be "443,80".

 Picking a more normal port should also help the Comodo firewall users in
 #3941 who are being blocked from reaching their high-numbered port.

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


More information about the tor-bugs mailing list