Giter VIP home page Giter VIP logo

Comments (4)

tladesignz avatar tladesignz commented on June 9, 2024 1

You might want to have a look at my attempt at restarting that project:

https://github.com/tladesignz/iCepa/tree/restart

It isn't working, yet, because of lacking DNS support, that's why I didn't move it to this repo, yet.

from icepa.

simform-solutions avatar simform-solutions commented on June 9, 2024

Hi @tladesignz ,
Thanks for your update.
Appreciated your work towards TOR!!
I just want to know thatTorController(socketHost: "127.0.0.1", port: 9050) will create TOR controller in the packetTunnelProvider class. But, When I try to connect this TorController, it gives me this error. Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused"
Do you have any idea about it?

from icepa.

tladesignz avatar tladesignz commented on June 9, 2024

I just want to know thatTorController(socketHost: "127.0.0.1", port: 9050) will create TOR controller in the packetTunnelProvider class. But, When I try to connect this TorController, it gives me this error. Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused"

The host and port you give TorController needs to be the address, Tor is listening on (typically localhost) and the configured control port. The control port is where you talk to Tor to change its configuration.

So, you need to first start Tor and configure it correctly. Then wait a little (less than a second will be enough), then start the TorController.

When that's successful, you can query the TorController for Tor's status and change its configuration.

See

https://github.com/tladesignz/iCepa/blob/21e3c75512376f66ff3f7e535a060767782e2c6a/TorVPN/BasePTProvider.swift#L41-L48

https://github.com/tladesignz/iCepa/blob/21e3c75512376f66ff3f7e535a060767782e2c6a/TorVPN/BasePTProvider.swift#L144

https://github.com/tladesignz/iCepa/blob/21e3c75512376f66ff3f7e535a060767782e2c6a/TorVPN/BasePTProvider.swift#L152

https://github.com/tladesignz/iCepa/blob/21e3c75512376f66ff3f7e535a060767782e2c6a/TorVPN/BasePTProvider.swift#L185-L187

from icepa.

tladesignz avatar tladesignz commented on June 9, 2024

To be honest: This is not a Tor support forum. If you have difficulty understanding the different concepts of Tor, I very much recommend reading all about Tor on their page: https://2019.www.torproject.org/docs/documentation.html.en

from icepa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.