[tor-bugs] #18640 [Core Tor/Tor]: Use smarter algorithms to handle socket exhaustion

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 30 10:49:15 UTC 2016


#18640: Use smarter algorithms to handle socket exhaustion
----------------------------------------+----------------------------------
 Reporter:  nickm                       |          Owner:  andrea
     Type:  enhancement                 |         Status:  needs_review
 Priority:  Medium                      |      Milestone:  Tor:
Component:  Core Tor/Tor                |  0.2.9.x-final
 Severity:  Normal                      |        Version:
 Keywords:  tor-dos, TorCoreTeam201606  |     Resolution:
Parent ID:  #17293                      |  Actual Points:
 Reviewer:                              |         Points:  3
                                        |        Sponsor:  SponsorU-can
----------------------------------------+----------------------------------

Comment (by andrea):

 Right, thanks.  I already saw n_socket_open and queried it in a bunch of
 places where I call the OOS handler in connection.c.  Fresh version of
 plumbing without the redundant config variable in my
 ticket18640_v2_plumbing branch.

 For a handling heuristic, I'm thinking something like sort open orconns by
 number of circuits and kill the ones carrying the fewest until we're down
 to the target.

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


More information about the tor-bugs mailing list