Skip to content

Make Tor ports configurable at runtime

Sebastian requested to merge dynamic-tor-ports into master

Instead of using hard-coded values 59050 and 59051 for the Tor socks and control ports, provide them via a TorPorts interface. This makes it possible to pass the ports to a TorPortsImpl in modules. Hence it is possible to configure the Tor port for different types of builds or via command line options in case of briar headless or other clients using the core code.

Merge request reports