Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #6799

Closed (moved)
Open
Opened Sep 10, 2012 by Roger Dingledine@arma

Don't expire unused relay-to-relay TLS conns so quickly

In git commit 67b38d506 we changed conn timeouts so relays would close idle conns (that is, conns without any circs on them) after 3 minutes rather than 15 minutes.

We made the change because of the "clients holding their dir-fetching conns open for a long time, filling up descriptor lists and memory and knocking over relays" fun: http://archives.seul.org/tor/relays/Apr-2010/msg00073.html

But it would appear that we made worse the problem that Torscan exploits. We don't need to be so aggressive about closing connections to/from other relays (besides, they weren't the problem before).

There's a downside here, which is that we end up using more file descriptors on relays. But if most links are used already, we don't use many more. And if most links aren't used already, the Torscan problems are worse.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.2.5.x-final
Milestone
Tor: 0.2.5.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#6799