[tor-bugs] #29339 [Core Tor/Tor]: Bind outbound ports

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 8 23:14:49 UTC 2019


#29339: Bind outbound ports
--------------------------+----------------------------------
 Reporter:  cypherpunks   |          Owner:  (none)
     Type:  enhancement   |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |        Version:  Tor: unspecified
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+----------------------------------

Comment (by teor):

 Replying to [comment:3 nickm]:
 > Is there a way to do this in C other than to try over and over until you
 find a free port?

 I think that's basically it.

 If the range is large, we can bind to an arbitrary port, then close and
 re-bind if you don't like the OS choice.
 If the range is small, we can choose a random port, and bind specifically
 to it, and then choose another port if it fails.

 Sounds like a denial of service risk to me, either way.

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


More information about the tor-bugs mailing list