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

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



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