utopicnarwhal / utopic_tor_onion_proxy

Flutter Plugin for Android, based on Android binary that start Tor Onion Proxy on random local socket.
https://pub.dev/packages/utopic_tor_onion_proxy
Apache License 2.0
12 stars 4 forks source link

How to get the onion address after connecting to tor #1

Closed be-thomas closed 3 years ago

be-thomas commented 3 years ago

I want to get the onion address after connecting to tor.

Also, any possibility for iOS support? Btw, thanks, for building this.

utopicnarwhal commented 3 years ago

It's the hardest thing to do. To use Tor Onion Proxy we should to send our requests through SOCKS4a proxy that Tor starts on random port. I've created the issue about it https://github.com/dart-lang/sdk/issues/42920 So I've modified dart http client implementation for my project so it can use socks4a proxies. You can check this out here: https://github.com/utopicnarwhal/flibusta-mobile/blob/master/lib/services/http_client/dio_http_client_adapters/my_http_impl.dart I didn't have an iOS device when I wrote this, now I have but I'm too busy. Furthermore, I don't know how to use Swift and it's libraries at all.

I'm glad when somebody use my package.