[tor-bugs] #10470 [- Select a component]: Cannot DirPort more than once (despite man page's claim)

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 23 01:15:22 UTC 2013


#10470: Cannot DirPort more than once (despite man page's claim)
----------------------------------+---------------------
 Reporter:  cypherpunks           |          Owner:
     Type:  defect                |         Status:  new
 Priority:  normal                |      Milestone:
Component:  - Select a component  |        Version:
 Keywords:                        |  Actual Points:
Parent ID:                        |         Points:
----------------------------------+---------------------
 {{{
        DirPort [address:]PORT|auto [flags]
            If this option is nonzero, advertise the directory service on
 this port. Set it to "auto" to have Tor pick a port for you. This option
 **can** occur more
            than once. (Default: 0)

                The same flags are supported here as are supported by
 ORPort.
 }}}
 {{{
  [ARM_NOTICE] Tor control port closed
  [ARM_WARN] Unable to load torrc (unable to query the torrc location)
  [ERR] Reading config failed--see warnings above. For usage, try -h.
  [WARN] Failed to parse/validate config: Misconfigured server ports
  [WARN] Can't advertise more than one DirPort.
 }}}
 {{{
 DirPort 1111
 DirPort 2222 # Causes failure
 }}}
 {{{
 Tor version 0.2.4.18-rc (git-4f3b3874bcecd02a).
 }}}

 The man page claims it is OK to have multiple DirPort instances, much like
 ORPort but for DirPort, this is incorrect. Sadly, the reload lead to my
 relay abruptly cutting out and needing a full start up again (wasn't just
 a warning).

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


More information about the tor-bugs mailing list