[tor-bugs] #13590 [Tor]: Extend HiddenServicePort VIRTPORT semantics

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 27 17:39:53 UTC 2014


#13590: Extend HiddenServicePort VIRTPORT semantics
-------------------------+------------------------------------
 Reporter:  grarpamp     |          Owner:
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:  Tor: 0.2.6.x-final
Component:  Tor          |        Version:  Tor: 0.2.5.10
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
-------------------------+------------------------------------
 Instead of 65535 separate HiddenServicePort lines, map all ports with just
 '*' as VIRTPORT.
 VIRTPORT should also support ranges of such lateral mappings using '-'
 dash and ',' comma strings: 4-1367,5000-5010,7777,54321-60123
 This is not intended to have knowledge of kernel's current port
 availability/use, but for convenience when user already knows they will be
 free.
 Tor could map these on startup reservation (possibly looping on ones it
 can't bind right away), or map on inbound demand (with possiblity of same
 loop).
 May also need HiddenServicePort VIRTPORT exclude, to exclude known ports
 list in use for other local purposes, such as 22,80,443,9050,9051 etc if
 doing so is more efficient/secure with such '*' or range maps.

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


More information about the tor-bugs mailing list