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
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

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
  • #2178

Closed (moved)
Open
Opened Nov 11, 2010 by Nick Mathewson@nickm🐙

We launch dummy descriptor fetches more often than needed

Right now, we have code in update_router_descriptor_downloads() to launch a fetch for authority.z if we want to learn our IP from a directory fetch. We do this if:

  • We're a server
  • We don't have the Address option set
  • At least 20 minutes have passed since we last launched a router descriptor download
  • At least 20 minutes have passed since we last launched a

Per discussion in bug #652 (moved), we could be even more quiet about launching these fetches. We could also require that

  • At least 20 minutes have passed since we last launched any appropriate directory op.
  • At least 20 minutes have passed since we got a new incoming connection on what we think our IP is.
  • At least 20 minutes have passed since we got confirmation of our current IP in a NETINFO cell

We could also make the "20 minutes" value configurable by a networkstatus parameter.

This is a minor issue, since the current behavior is inelegant, but not actually hurting anything.

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