-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Connect with orbot #1129
Comments
We had that before, but we had to remove it since many data slipt through and where not send via tor. @eighthave back then you said something about making a orbot lib that could redirect all the traffic. |
@theScrabi: We'll have to manually add code for supporting SOCKS proxies to the |
@wb9688 That's the problem. However I remembered that @eighthave said something about a lib that could somehow intercept the traffic and redirect it so we would not have to take care about that which would make things much easier.. ... Maybe I'm wrong. |
@theScrabi: I think he said Orbot has an option to let everything use it transparantly, but that's only possible when you've rooted your device. I'm not 100% sure though. |
Well you can always use vpn even without root, this is already supported by NewPipe. |
The NetCipher libs provides easy methods for settng up the proxy, and getting the Orbot status. You will still need to find all the places where you are using network libs, and apply NetCipher calls. Universal Image Library works fine with NetCipher, we use both together in F-Droid. With UIL, just do the NetCipher setup in the downloader class given to UIL. I know nothing about ExoPlayer. Perhaps it makes sense to offer a Tor mode, where things that can't be forced over Tor are disabled or hidden. Downloading and searching always worked, as far as I remember. |
When #1136 is merged, it's only one line of code to use a (SOCKS or HTTP) proxy with OkHttp (and some other lines to make it a setting, but you get the point). However the actual playback won't use it then. @mauriciocolli or @karyogamy: do you know if you could set a SOCKS proxy for ExoPlayer? |
I don't have much experience with proxies, but my guess is that you would want to implement and pass in a custom data source to the Cache Factory, which is currently using the default data source implementation. |
NetCipher has simple helper methods for handling the OkHTTP3 config:
https://github.com/guardianproject/NetCipher/tree/master/sample-okhttp3/src/sample/netcipher/okhttp3
|
oops, sorry, you were talking about Exoplayer. It uses
HttpURLConnection. Maybe you could make a subclass and override
makeConnection() and getConnection(), then use the NetCipher
HttpURLConnection factory stuff.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Any update? Watching my favorite PeerTube vids over Tor would be amazing! |
Duplicate: #992 |
Please add an option to use proxy or using orbot like fdroid and orfox .
Many users live in countries like iran and govermentes block services and freedom.
Add this for freedom.thanks
The text was updated successfully, but these errors were encountered: