You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
Currently, there is no way to override values in the default torrc.
An easy way to provide overrides and additional default configs needs to be implemented.
Simply pushing configuration directives through the Tor control connection is not the way to go, as the defaults need to be set prior to starting tor.
A simple way would be to just implement something like Tor.setDefaultConfig(property: String, value: String) to add value to the torrc file.
In addition, Tor.setTorrc(configuration: String) and Tor.setTorrc(torrc: File) should be implemented to provide a full torrc.
In both cases, the following configuration directives must not be overridden:
AvoidDiskWrites 1
PidFile pid
RunAsDaemon 1
SOCKSPort auto
The text was updated successfully, but these errors were encountered:
Currently, there is no way to override values in the default torrc.
An easy way to provide overrides and additional default configs needs to be implemented.
Simply pushing configuration directives through the Tor control connection is not the way to go, as the defaults need to be set prior to starting tor.
A simple way would be to just implement something like
Tor.setDefaultConfig(property: String, value: String)
to add value to the torrc file.In addition,
Tor.setTorrc(configuration: String)
andTor.setTorrc(torrc: File)
should be implemented to provide a full torrc.In both cases, the following configuration directives must not be overridden:
The text was updated successfully, but these errors were encountered: