Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: add support for ControlSocket #13

Open
nusenu opened this issue Oct 1, 2016 · 5 comments
Open

feature request: add support for ControlSocket #13

nusenu opened this issue Oct 1, 2016 · 5 comments

Comments

@nusenu
Copy link

nusenu commented Oct 1, 2016

I'm filing this here as a github issue so I get notifications if there are any updates on this. I mentioned this previously on the tor-relays ML [1].

Rationale:
In ansible-relayor [2] I support ControlSocket only (no controlPort) for simplicity (no TCP port required, no password handling, just filesystem permissions).

It would be great if theonionbox would support ControlSocket to connect to tor.

[1] https://lists.torproject.org/pipermail/tor-relays/2016-September/010409.html
[2] https://github.com/nusenu/ansible-relayor

@diffusae
Copy link

diffusae commented Jan 3, 2017

Yes, I also would appreciate this. ControlSockets are better to handle.
Thanks in advance

@ralphwetzel
Copy link
Owner

Hi!
Beginning with the v3.2 releases the Box has the capability to connect to a relay via a Control Socket. You may configure this in the config file.
Be aware that this still requires a password for login. I'll simplify this with one of the next releases.
Best regards, Ralph

@diffusae
Copy link

diffusae commented Jan 4, 2017

Hi!

Sorry, didn't see the config file or the variable is missing in the default file. I tried it first with tor_control_port, but that didn't work. Thanks a lot for your work. I looks great and the webserver also have a low CPU usage. Better than everything I've used before.

Regards,

@diffusae
Copy link

diffusae commented Jan 4, 2017

How do I configure multiple instances in this config file?


[TorRelays]
#Define the number of relays to monitor
#Defaults to 1 if not defined!
tor_count = 2

Thanks a lot!

@ralphwetzel
Copy link
Owner

This is - as stated in the config file - not yet implemented:

# Not yet implemented:

[TorRelays]
# Define the number of relays to monitor
# Defaults to 1 if not defined!
# tor_count = 2

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

No branches or pull requests

3 participants