Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Add torrc Override #4

Closed
JesusMcCloud opened this issue Nov 4, 2017 · 3 comments
Closed

Add torrc Override #4

JesusMcCloud opened this issue Nov 4, 2017 · 3 comments

Comments

@JesusMcCloud
Copy link
Owner

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
@ManfredKarrer
Copy link

Yes would be great to get that. We also had an issue for that feature request:
bisq-network/bisq#965

@JesusMcCloud
Copy link
Owner Author

Support added in 0.4.1

@ManfredKarrer
Copy link

Cool! Will merge it in Bisq soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants