[tor-bugs] #33074 [Core Tor/Tor]: tor opens multiple ports if `ExtORPort auto` is used multiple times; only uses one of them

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 29 07:57:53 UTC 2020


#33074: tor opens multiple ports if `ExtORPort auto` is used multiple times; only
uses one of them
--------------------------+----------------------------------
 Reporter:  dcf           |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+----------------------------------

Comment (by dcf):

 Replying to [comment:1 nickm]:
 > So, I would have expected something closer to the current behavior:
 >
 >   1. Multiple `ExtORPort` lines cause Tor to open multiple ExtORPorts.
 >   2. `auto` here means more or less "open a port at an address you
 pick".

 Okay, I can appreciate that viewpoint as well. I tend to forget that torrc
 is more imperative than declarative. The handling of `ExtORPort` is
 consistent, in my testing, with that of SOCKSPort and ORPort: multiple
 line cause multiple ports to be opened, with the only error condition
 being if you use both port number `0` and something non-`0`. I can see how
 it could be useful to open up an additional ExtORPort at a static port
 number, for some kind of externally managed pluggable transport
 integration, even if that port number is not the one that gets advertised
 through `TOR_PT_EXTENDED_SERVER_PORT`.

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


More information about the tor-bugs mailing list