We have moved to a new Sailfish OS Forum. Please start new discussions there.
21

One-Click TOR Autoproxy to anonymize *all* the data traffic!

asked 2014-08-06 17:55:18 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2014-08-06 21:26:29 +0300

epimeteo77 gravatar image

When for various reason you are travelling or working in countries under embargo, some web sites or services are unreachable (e.g. all USA web sites) or for other situations an anonimizer thru a proxy is the best solution. While it is possible to install TOR and modify the network manager to set up a proxy to the same machine to the 9150 port, will be very useful a "switch" or a button that automatically route all the traffic generated from the device to the tor gw...

edit retag flag offensive close delete

Comments

I really hope there will be such an app in the Jolla store in the near future, it's a really great idea! Would be nice if it was in the browser settings. This way you could switch it from there. It kind of belongs to the browser settings.

lhorga ( 2014-08-07 18:23:26 +0300 )edit

Add a proxy directly configurable on the driver interface would be an unique and awesome feature...

epimeteo77 ( 2014-08-07 19:36:33 +0300 )edit

If you are pushing all traffic through a TOR connection you are not really anonym (it sure helps with blocked websites).

You are anonym, but you give (whoever listens) so much information about you, they may be able to deanonymize you really quick. For example the browser, if some script is fingerprinting (or even simple with a cookie) your browser with and without tor, you are deanonymized. If you log in to facebook, they got you. If your weather application ask for weather in Eibergen and Schwerin, they got you. Your phone have a lot of traffic. TOR traffic should be really restrictive and non-TOR traffic blocked.

Hangman ( 2017-11-15 19:36:58 +0300 )edit

3 Answers

Sort by » oldest newest most voted
8

answered 2014-08-06 20:31:06 +0300

Nieldk gravatar image

It will anonomize the Jolla web browser, by modifying the proxy configuration of the sailfish browser when turned on, to proxy thru localhost port 9050 (socks) When you disable tor, it will restore the default sailfish browser confiuguration. So, no, my package will by default only anonomize the sailfish browser (all traffic, including if you use the browser to access https/http/ftp and so on). There is in the network configuration settings for Jolla an option to configure proxy settings, and this SHOULD make all traffic using tor as proxy, however, those settings do not function yet on our Jolla. I hope, Jolla will listen, and enable this proxy functionality in coming updates. Until then, You have to use other means to torify all traffic (on openrepos there is the transparent redsocks proxy that you can use).

Clicking the icon on the desktop will toggle tor on/off and toggle the proxy settings of sailfish browser.

Current state is shown as desktop icon changes between red and green onion, indicating wheter you have enabled tor.

edit flag offensive delete publish link more

Comments

It's important to proxy all generic system traffic like Sailfish OS updates. There are many tech activist types whose Sailfish phone would become a target for exploitation via OS updates, etc. merely because they use a Sailfish phone from an IP address that "the global adversary" has marked as a selector.

nyarlathotep ( 2015-03-22 17:26:54 +0300 )edit
1

did not revert to default when i stopped the TOR service, for Sailfish X

DarkTuring ( 2017-11-15 05:44:20 +0300 )edit
2

answered 2014-08-06 18:00:00 +0300

ApB gravatar image

I think @Nieldk implemented it somehow like this in his openrepos package. I seem to recall there was an on of switch of some sort.

https://openrepos.net/content/nieldk/tor

edit flag offensive delete publish link more

Comments

Really useful, thanks for sharing.

magullo ( 2014-08-06 18:20:53 +0300 )edit

Yeah, you get a Tor icon in the launcher, which shows the current state of Tor (off/on). You can tap it to change the state (it'll produce a 'Loading' app cover, but that disappears again after a few seconds).

nthn ( 2014-08-06 19:05:40 +0300 )edit

thank you very much, I'll test it asap, but it will route actually all traffic?

epimeteo77 ( 2014-08-06 19:24:36 +0300 )edit

...or only http?

epimeteo77 ( 2014-08-06 19:26:45 +0300 )edit

Good question, I wouldn't know, you'll have to ask @Nieldk.

nthn ( 2014-08-06 20:00:32 +0300 )edit
0

answered 2017-11-15 05:42:40 +0300

DarkTuring gravatar image

SFOS about:config

Once all proxy options are turned (by hand) the sailfish browser half way turns back to normal functionality, while still routing IPs through the TOR network weirdly enough, especially given all settings are off, and my TOR packages and applet i uninstalled.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2014-08-06 17:55:18 +0300

Seen: 2,509 times

Last updated: Nov 15 '17