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

How to configure the plugin? #51

Open
robert-virkus opened this issue Sep 19, 2024 · 1 comment
Open

How to configure the plugin? #51

robert-virkus opened this issue Sep 19, 2024 · 1 comment

Comments

@robert-virkus
Copy link

Hi tor-team,
right now I can start the Tor instance on iOS but I am unable to lookup addresses such as https://icanhazip.com/ or https://check.torproject.org in the example app.

The example app has the following todo about the configuration:

SocksTCPClient.assignToHttpClient(client, [
   ProxySettings(InternetAddress.loopbackIPv4,
        Tor.instance.port,
         password:
               null), // TODO Need to get from tor config file.
]);

How can I specify such a config file and what values can I define there?

Many thanks in advance!

@sneurlax
Copy link
Collaborator

sneurlax commented Oct 3, 2024

This will be handled at a lower level: in the embedded Rust crate in the rust directory

Edit: maybe https://tpo.pages.torproject.net/core/doc/rust/arti_client/config/struct.TorClientConfig.html will help

the example should work on iOS however, do you get any pertinent error messages logged? I will try to find time to test on iOS sometime.

Edit: I will mention that we are currently using this on iOS successfully

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

2 participants