[tor-bugs] #31103 [Core Tor/Tor]: Support ORPort picking a random port that persists across restarts

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 8 23:29:00 UTC 2020


#31103: Support ORPort picking a random port that persists across restarts
-------------------------------------------------+-------------------------
 Reporter:  phw                                  |          Owner:  (none)
     Type:  enhancement                          |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  network-team-roadmap-2020Q1,         |  Actual Points:
  network-team-roadmap-2020Q2                    |
Parent ID:  #30471                               |         Points:  1
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor28-must
-------------------------------------------------+-------------------------

Comment (by teor):

 I think it would be helpful for both ORPort (relays, non-PT bridges) and
 ServerTransportListenAddr (PT bridges) to save their random ports in the
 state file.

 I also think it's important that we implement this code for all ORPorts,
 not just the IPv4 ORPort. While it's harder to scan the entire allocated
 IPv6 address space, targeted scanning is still possible.

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


More information about the tor-bugs mailing list