Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
T
Tor
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,071
    • Issues 1,071
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 38
    • Merge Requests 38
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • 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.

  • The Tor Project
  • Core
  • Tor
  • Issues
  • #40205

Closed
Open
Opened Nov 25, 2020 by s7r@s7r🏁

Our IPv6 Autodiscovery breaks AssumeReachable 1 torrc option

When last changed our IP autodiscovery code and added IPv6 support, we broke AssumeReachable 1

AssumeReachable 1 tells Tor to skip self reachability tests. However, in the latest alpha, a Tor running with this torrc option, if it also has a working IPv6 address that is not configured in any way in torrc (as Address or ORPort) will guess the IPv6 address soon after start:

Guessed our IP address as [public_IPv6_addr] (source: METHOD=INTERFACE).

and immediately trigger self reachability tests including on the IPv4 address:

Now checking whether IPv4 ORPort <public_IPv4_addr>:9001 is reachable... (this may take up to 20 minutes -- look for log messages indicating success)

This has a negative effect, especially on relays or bridges running on localhost / private lan with AssumeReachable 1 and PublishServerDescriptor 0 torrc options.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: tpo/core/tor#40205