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

First pass at having TorChat2 running with an external tor instance. #26

Open
wants to merge 1 commit into
base: torchat2
Choose a base branch
from

Conversation

DrDub
Copy link

@DrDub DrDub commented Dec 9, 2012

(This is part of the solution for Issue #12, running TorChat pidgin
plugin under TAILS.)

It uses two configuration options:

"StandaloneTor" : 1,
"HiddenServiceName" : "the-hidden-service-name"

(The hidden service name is the content of the hostname file for the
hidden service without the .onion extension)

The tor instance has to include the following entries:

HiddenServiceDir /path/to/hidden-service-folder/
HiddenServicePort 11009 127.0.0.1:11009
LongLivedPorts 11009
SocksListenAddress 127.0.0.1:11109

What is missing: being able to specify the ports for the hidden service
and socks ports in the UI and maybe some script to create the hidden
service first time it is being run.

I tested this running under pidgin 2.10.6-2, tor 0.2.3.25-1 and torchat
0.9.9.550-2.

(This is part of the solution for Issue prof7bit#12, running TorChat pidgin
plugin under TAILS.)

It uses two configuration options:

  "StandaloneTor" : 1,
  "HiddenServiceName" : "the-hidden-service-name"

(The hidden service name is the content of the hostname file for the
hidden service without the .onion extension)

The tor instance has to include the following entries:

HiddenServiceDir /path/to/hidden-service-folder/
HiddenServicePort 11009 127.0.0.1:11009
LongLivedPorts 11009
SocksListenAddress 127.0.0.1:11109

What is missing: being able to specify the ports for the hidden service
and socks ports in the UI and maybe some script to create the hidden
service first time it is being run.

I tested this running under pidgin 2.10.6-2, tor 0.2.3.25-1 and torchat
0.9.9.550-2.
@prof7bit
Copy link
Owner

looks ok at first sight (sorry for long delay). I have not forgotten your pull request, I am just busy with the android port (and other things also) at the moment. I will come back to it, I promise :-)

@adrelanos
Copy link

Will this patch also work, if Tor is running on separate machine in the local network?

@DrDub
Copy link
Author

DrDub commented Dec 3, 2013

Hi!

No, it won't.
I didn't feel comfortable adding more entries to the configuration file without discussing it with you.
If you accept this patch, I can send you a second one allowing for a remote Tor process.

@DrDub
Copy link
Author

DrDub commented Nov 3, 2016

Ping.

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

Successfully merging this pull request may close these issues.

3 participants