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

Connect with orbot #1129

Closed
herotux opened this issue Feb 20, 2018 · 13 comments
Closed

Connect with orbot #1129

herotux opened this issue Feb 20, 2018 · 13 comments
Labels
feature request Issue is related to a feature in the app

Comments

@herotux
Copy link

herotux commented Feb 20, 2018

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

@theScrabi
Copy link
Member

theScrabi commented Feb 21, 2018

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.
Whats the status about this? Can we use it?

@ghost
Copy link

ghost commented Feb 21, 2018

@theScrabi: We'll have to manually add code for supporting SOCKS proxies to the Downloader (OkHttp supports them), but AFAIK Universal Image Loader and ExoPlayer don't support SOCKS proxies. We could fork them to add support for SOCKS proxies, but I don't want to do that.

@theScrabi
Copy link
Member

@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.

@ghost
Copy link

ghost commented Feb 21, 2018

@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.

@theScrabi
Copy link
Member

Well you can always use vpn even without root, this is already supported by NewPipe.

@eighthave
Copy link
Contributor

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.

@ghost
Copy link

ghost commented Feb 22, 2018

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?

@karyogamy
Copy link
Contributor

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.

@eighthave
Copy link
Contributor

eighthave commented Feb 22, 2018 via email

@eighthave
Copy link
Contributor

eighthave commented Feb 22, 2018 via email

@stale
Copy link

stale bot commented Dec 1, 2018

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.

@stale stale bot added the stale label Dec 1, 2018
@Stypox Stypox added the feature request Issue is related to a feature in the app label Jul 18, 2019
@TobiGr TobiGr removed the stale label Jul 19, 2019
@JJohnGreenSr
Copy link

Any update? Watching my favorite PeerTube vids over Tor would be amazing!

@xmha97
Copy link

xmha97 commented Nov 6, 2020

Duplicate: #992

@Stypox Stypox closed this as completed Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issue is related to a feature in the app
Projects
None yet
Development

No branches or pull requests

8 participants