{"id":3044,"date":"2012-06-28T14:44:58","date_gmt":"2012-06-28T04:44:58","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/?p=3044"},"modified":"2015-10-21T08:31:37","modified_gmt":"2015-10-20T22:31:37","slug":"tor-firefox-twitter-not-rooted-android-awesome","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2012\/06\/28\/tor-firefox-twitter-not-rooted-android-awesome\/","title":{"rendered":"Tor + Firefox + Twitter + (not rooted) Android = awesome"},"content":{"rendered":"<p><strong>Update: <\/strong>As of October 2015, you should likely install the <strong>OrFox <\/strong>browser which is from The Tor Project and is a port of the Tor Browser to Android. Installing OrBot and OrFox makes browsing through Tor on an Android device <strong>easy.<\/strong> The rest of this blog entry is left in-tact for historical record, but as of now, look at OrFox rather than this process.<\/p>\n<p>This is actually pretty simple to get going once you know how. This is a short &#8220;HOWTO use Tor on Android&#8221;<\/p>\n<p>Basic problem: I want to use Tor on my phone. If you&#8217;re wondering why, perhaps my <a href=\"http:\/\/www.flamingspork.com\/blog\/2012\/06\/25\/on-telstra-tracking-nextg-http-requests\/\">previous<\/a> <a href=\"http:\/\/www.flamingspork.com\/blog\/2012\/06\/26\/an-update-on-telstras-surveillance-of-what-you-do-online\/\">posts<\/a> <a href=\"http:\/\/www.flamingspork.com\/blog\/2012\/06\/26\/telstra-funding-censorship-in-middle-east\/\">on<\/a> <a href=\"http:\/\/www.flamingspork.com\/blog\/2012\/06\/27\/telstra-stops-tracking-still-supporting-netsweeper\/\">Telstra<\/a> and what they do to your traffic may be a good hint.<\/p>\n<p>First of all, you&#8217;re going to want to install OrBot. It&#8217;s available from the Google Play store. There is <strong>absolutely no harm<\/strong> in leaving this running all the time in the background. I have found it to have <strong>zero<\/strong> impact on battery life of my phone (the Battery thing in settings doesn&#8217;t show OrBot at all).<\/p>\n<p>With OrBot running, you now have a HTTP and SOCKS proxy available on your phone. This means you can set any app that can use a HTTP or SOCKS proxy to do their Internet access through Tor instead of directly through your Wifi or cellular network.<\/p>\n<p>The Twitter client wonderfully has built in support for using a HTTP proxy. You just need to go into the Twitter app&#8217;s Settings, click &#8220;Enable HTTP Proxy&#8221;, and set &#8220;Proxy Host&#8221; to localhost and &#8220;Proxy Port&#8221; to 8118. You are now done. You can test this by disabling OrBot and then trying to refresh your Twitter stream. If it doesn&#8217;t work, then Twitter is trying to use the (not running) Tor proxy. Re-enable OrBot to be able to use your Twitter client. This <strong>&#8220;just works&#8221;<\/strong>.<\/p>\n<p>There is pretty much no excuse not to have your phone Twitter client go through Tor. We all know that Twitter gets all sorts of legal queries for information about users. We also know that they&#8217;ve been fairly good about it, and indeed hats off to Twitter for being awesome. But&#8230; guess what? We can just ensure they don&#8217;t have any information worth handing over :)<\/p>\n<p>Next step&#8230; Web Browsing. The Firefox Beta is pretty awesome. It&#8217;s fast and usable (which is exactly what you want in a web browser). This may also work with the standard Firefox browser (I&#8217;m not sure when they&#8217;ve updated it to be on par with the Firefox Beta version I&#8217;ve been using).<\/p>\n<p>There is no place to specify proxy settings in the normal UI (I do hope Mozilla add this). But not to worry, Firefox on Android is built on the same base as Firefox on the desktop, so it does support it (there just isn&#8217;t a good UI).<\/p>\n<p>What you need to do is go to the URL bar and go to &#8220;about:config&#8221;. This shows every little thing you can tweak in Firefox (a <strong>lot<\/strong>). Luckily, there&#8217;s a search bar. Search for &#8220;proxy&#8221; and modify the following settings to the following values (the = sign means &#8220;click modify and enter the value after the =&#8221;):<\/p>\n<ul>\n<li>network.proxy.http = 127.0.0.1<\/li>\n<li>network.proxy.http_port = 8118<\/li>\n<li>network.proxy.socks = 127.0.0.1<\/li>\n<li>network.proxy.socks_port = 9050<\/li>\n<li>network.proxy.ssl = 127.0.0.1<\/li>\n<li>network.proxy.ssl_port = 8118<\/li>\n<li>network.proxy.type = 1<\/li>\n<li><strong>UPDATED:\u00c2\u00a0<\/strong>network.proxy.socks_remote_dns to \u00e2\u20ac\u0153true\u00e2\u20ac\u009d (click &#8220;toggle&#8221;)<\/li>\n<\/ul>\n<p>Then head to http:\/\/check.torproject.org to check that it&#8217;s working!<\/p>\n<p>This doesn&#8217;t provide you with all the features and benefits of using the TorButton in the desktop firefox, but it <strong>will<\/strong> stop your mobile phone provider spying on all the web sites you visit (unless they break into your phone itself).<\/p>\n<p>Luckily, Android is fairly awesome and whenever you try to open a URL it can ask you what program you want to use to do that with. Guess what? Just select the Firefox you configured with Tor to open it and you&#8217;re browsing through Tor. Brilliant and easy with no need to go and &#8220;root your phone&#8221; or anything else that may turn people off from doing so.<\/p>\n<p>Update: Thanks should also go to Fran\u00c3\u00a7ois Marier\u00c2\u00a0for his site that helped me get this right:\u00c2\u00a0<a href=\"http:\/\/feeding.cloud.geek.nz\/2012\/06\/browsing-privacy-and-ad-blocking-on.html\">http:\/\/feeding.cloud.geek.nz\/2012\/06\/browsing-privacy-and-ad-blocking-on.html<\/a><\/p>\n<p>Update: Added setting of socks_remote_dns<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Update: As of October 2015, you should likely install the OrFox browser which is from The Tor Project and is a port of the Tor Browser to Android. Installing OrBot and OrFox makes browsing through Tor on an Android device &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2012\/06\/28\/tor-firefox-twitter-not-rooted-android-awesome\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2],"tags":[448,478,220,477,479],"class_list":["post-3044","post","type-post","status-publish","format-standard","hentry","category-life-the-universe-and-everything","tag-android","tag-firefox","tag-freedom","tag-tor","tag-twitter"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-N6","jetpack-related-posts":[{"id":4007,"url":"https:\/\/www.flamingspork.com\/blog\/2015\/10\/21\/an-update-on-using-tor-on-android\/","url_meta":{"origin":3044,"position":0},"title":"An update on using Tor on Android","author":"Stewart Smith","date":"2015-10-21","format":false,"excerpt":"Back in 2012 I wrote a blog post on using Tor on Android which has proved quite popular over the years. These days, there is the OrFox browser, which is from The Tor Project and is likely the current best way to browse the web through Tor on your Android\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3054,"url":"https:\/\/www.flamingspork.com\/blog\/2012\/06\/28\/telstra-has-a-database-of-your-nextg-web-activity\/","url_meta":{"origin":3044,"position":1},"title":"Telstra has a database of your NextG web activity","author":"Stewart Smith","date":"2012-06-28","format":false,"excerpt":"So, in what must be my biggest blog day ever, Telstra posted this:\u00c2\u00a0http:\/\/exchange.telstra.com.au\/2012\/06\/28\/further-update-telstra-smart-controls-cyber-safety-tool\/ What is clear from their previous post and the pickup in the media (including ABC, Crikey and news.com.au) is that people care about this, a lot. What is also clear is that they've had to go and\u2026","rel":"","context":"In &quot;life, the universe and everything&quot;","block_context":{"text":"life, the universe and everything","link":"https:\/\/www.flamingspork.com\/blog\/category\/life-the-universe-and-everything\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3022,"url":"https:\/\/www.flamingspork.com\/blog\/2012\/06\/25\/on-telstra-tracking-nextg-http-requests\/","url_meta":{"origin":3044,"position":2},"title":"On Telstra tracking NextG HTTP requests","author":"Stewart Smith","date":"2012-06-25","format":false,"excerpt":"http:\/\/lists.ausnog.net\/pipermail\/ausnog\/2012-June\/013833.html\u00c2\u00a0and\u00c2\u00a0http:\/\/www.scmagazine.com.au\/News\/305928,telstra-says-its-not-spying-on-users.aspx\u00c2\u00a0were recently published saying that Telstra NextG users were seeing some interesting things. (Yes, there's a Whirlpool post too, but since they block requests from Tor I'm not going to link to them) Basically, on their servers they were seeing HTTP requests to the same URL as they had just\u2026","rel":"","context":"In &quot;life, the universe and everything&quot;","block_context":{"text":"life, the universe and everything","link":"https:\/\/www.flamingspork.com\/blog\/category\/life-the-universe-and-everything\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3393,"url":"https:\/\/www.flamingspork.com\/blog\/2013\/08\/09\/who-works-on-mariadb-and-mysql\/","url_meta":{"origin":3044,"position":3},"title":"Who works on MariaDB and MySQL?","author":"Stewart Smith","date":"2013-08-09","format":false,"excerpt":"Looking at the committers\/authors of patches in the bzr tree for MariaDB 5.5.31. Non Oracle Contributors: Alexander Barkov Alexey Botchkov Elena Stepanova Igor Babaev knielsen Michael Widenius sanja Sergei Golubchik Sergey Petrunya timour Vladislav Vaintroub Oracle (as they pull Oracle changes): Aditya A Akhila Maddukuri Alexander Nozdrin Anirudh Mangipudi Annamalai\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3401,"url":"https:\/\/www.flamingspork.com\/blog\/2013\/08\/16\/who-is-working-on-mysql-5-7\/","url_meta":{"origin":3044,"position":4},"title":"Who is working on MySQL 5.7?","author":"Stewart Smith","date":"2013-08-16","format":false,"excerpt":"First I find out the first commit that is in 5.7 that isn't in 5.6 (using bzr missing) and then look at the authors of all of those commits. Measuring the number of commits is a really poor metric as it does not measure the complexity of the code committed,\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3365,"url":"https:\/\/www.flamingspork.com\/blog\/2013\/07\/05\/switching-to-fedora-from-ubuntu\/","url_meta":{"origin":3044,"position":5},"title":"Switching to Fedora from Ubuntu","author":"Stewart Smith","date":"2013-07-05","format":false,"excerpt":"I've run Ubuntu on my desktop (well... and laptop) since roughly the first release back in 2004. I've upgraded along the way, with reinstalls on the laptop limited to changing CPU architecture and switching full disk encryption. Yesterday I wiped Ubuntu and installed Fedora. Previously to Ubuntu I ran Debian.\u2026","rel":"","context":"In &quot;GNOME&quot;","block_context":{"text":"GNOME","link":"https:\/\/www.flamingspork.com\/blog\/category\/gnome\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/3044","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=3044"}],"version-history":[{"count":6,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/3044\/revisions"}],"predecessor-version":[{"id":4006,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/3044\/revisions\/4006"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=3044"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=3044"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=3044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}