"fooport auto" should be able to get a hint
|Reported by:||arma||Owned by:|
|Keywords:||tor-client 026-triaged-1||Cc:||erinn, alan.hamlett@…, tor+trac@…|
|Actual Points:||Parent ID:|
Description (last modified by arma)
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 (#3511)
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.
Change History (12)
comment:3 Changed 4 years ago by arma
- Description modified (diff)
- Summary changed from "fooport auto" should be able to get a hint, and should try to pick a consistent port to "fooport auto" should be able to get a hint
comment:4 Changed 4 years ago by nickm
- Milestone changed from Tor: 0.2.3.x-final to Tor: 0.2.4.x-final
comment:8 Changed 2 years ago by nickm
- Milestone changed from Tor: 0.2.4.x-final to Tor: 0.2.5.x-final
comment:9 Changed 16 months ago by nickm
- Milestone changed from Tor: 0.2.5.x-final to Tor: 0.2.6.x-final