#24797: Add an option that makes Tor use fewer connections -------------------------------------------------+------------------------- Reporter: teor | Owner: neel Type: enhancement | Status: | assigned Priority: Medium | Milestone: Tor: | unspecified Component: Core Tor/Tor | Version: Severity: Normal | Resolution: Keywords: tor-relay, tor-dos, | Actual Points: 034-triage-20180328, 034-removed-20180328 | Parent ID: | Points: 1 Reviewer: | Sponsor: -------------------------------------------------+-------------------------
Comment (by neel): I am still interested in this ticket. I noticed the following options in `connection_check_oos()`: {{{ get_options()->ConnLimit_high_thresh get_options()->ConnLimit_ get_options()->ConnLimit_low_thresh }}} It seems that the threshold is determined from these values. Should I modify these values directly should my proposed option (connection limit) be set, and calculates a threshold based on the set value rather than the number of file descriptors? Or should I add new values to the `or_options_t` structure, fill them if my proposed option is set, and make `connection_check_oos()` use the new options instead if the proposed option is set. I prefer the former as it is far simpler, since the latter adds some complexity but the latter is also less destructive. Which approach do you prefer? -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24797#comment:12> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs