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

Closed (moved)
Open
Opened Sep 25, 2018 by Trac@tracbot

Bootstrapping hangs with 'SocksPort 0'

Debian uses a minimal torrc on onion.debian.org (our onionbalance node) and tor from Debian backports. We recently upgraded from 0.3.3.9-1~bpo9+1 to 0.3.4.8-1~bpo9+1 and discovered that our onionbalance services were no longer working, but the backend onion services and our normal onion services were still working. The issue was that the tor daemon on onion.debian.org could not achieve bootstrap. tor 0.3.3.9 worked with the existing config, but 0.3.4.8 did not. Changing the SocksPort parameter from 0 to 6666 allowed tor 0.3.4.8 to achieve bootstrap.

The config does not contain any onion services, because those are setup by onionbalance via the tor control port.

So the issue appears to be that tor is not trying to contact the tor network unless it has a socks port or an onion service or other tor network requiring thing configured.

SocksPort 0
Log notice syslog

#HiddenServiceSingleHopMode 1
#HiddenServiceNonAnonymousMode 1


ControlPort 9051

Trac:
Username: pabs

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