[tor-bugs] #26568 [Core Tor/Tor]: --ControlPortWriteToFile reports port 0 on --ControlPort=auto, not opened port

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jun 29 10:46:33 UTC 2018


#26568: --ControlPortWriteToFile reports port 0 on --ControlPort=auto, not opened
port
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  (none)
  karalabe               |
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:
    Component:  Core     |    Version:
  Tor/Tor                |
     Severity:  Major    |   Keywords:  auto, control, port, invalid, empty
Actual Points:           |  Parent ID:
       Points:           |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 If I start the latest tor code with `--ControlPort=auto` and
 `--ControlPortWriteToFile=/path/to/file`, then the contents of the file
 end up as `PORT=127.0.0.1:0`, which is kind of useless :)

 I guess some code got messed up lately that updates the port before
 writing it out to the control file.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26568>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list