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

Closed (moved)
Open
Opened Dec 13, 2014 by s7r@s7r🏁

Self-test reachability test - Listen address from ORPort is ignored, it uses default address unless specified via Address argument

Tor: 0.2.5.10 OS: Debian Wheezy 64 bit Installation: apt-get from deb.torproject.org

Configuration of server (one gigabit network card): em0: IP1 em0:0 IP2 em0:1 IP3 em0:2 IP4 em0:3 IP5

I tried to run multiple Tor instances to saturate the CPU of the server. I configured instances with different pid, datadirecotry and logfile as manual recommends, and specified the different IP as follows in each config file:

tor1.cfg ORPort IP1:port DirPort IP1:port OutboundBindAddress IP1

tor2.cfg ORPort IP2:port DirPort IP2:port OutboundBindAddress IP2

etc. so on

The first Tor instance started just fine, but the following ones didn't publish server descriptor because self reachability test did not pass. Why? They were all thinking they should be reachable on IP1 (def spend a huge amount of time on this.ault IP, em0 interface). Obviously that IP did not had the requried ports open for the additonal Tor instances so the test could not possibly pass.

Fix: I have added in each config file: Address IP1 Address IP2 and so on

After that it did the self reachability test on the correct IP address, and it passed of course, so server descriptor was published.

Tor should know to prase the IP address from ORPort and/or DirPort and make tests on that, obviously that's the address where the port should be open. Caution at -noadvertise and -nolisten options when this bug is inspected.

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