Commit Graph

169 Commits

Author SHA1 Message Date
Nathan Freitas 9097b79a7e Move OrbotVPNService to a Manager and consolidate services
This allows for the VPN service to be set in the foreground with the TorService
and reduce the chance to be killed due to lack of memory
2016-03-09 14:43:01 -05:00
Nathan Freitas 4892f93531 DNS lookup through pdnsd should loop back into Tor DNS port
While the TCP query to Google DNS before provided more robust DNS services,
it could still leak outside the VPN service based on platform version
and other circumstances. By using PDNSD as a proxy back into Tor's limited DNS
service, we ensure DNS does not leak.
2016-03-07 13:52:52 -05:00
Nathan Freitas c235e3ed6b tweak the string about bridges a little bit 2016-01-25 22:12:31 -05:00
Nathan Freitas cf1a644c19 add support for loading default bridges from asset file 2016-01-25 12:50:03 -05:00
Nathan Freitas 0669addd49 re-add appcompat, update to latest, move to Android 23 to build
- this is required for latest appcompat, and to address the bug
with the white-on-white spinner popup error
2016-01-25 11:28:33 -05:00
Nathan Freitas c05d8e7b43 remove appcompat, and just support support-v4 2016-01-25 10:43:34 -05:00
Nathan Freitas 52acf68ed4 move "World" string to resource 2016-01-07 01:06:43 -05:00
Nathan Freitas f441736cd9 update OpenSSL string to show 1.0.1q 2016-01-04 01:46:55 -05:00
Nathan Freitas f1fcec3d45 add support for PDNSD DNS Daemon for VPN DNS resolution
Tor's DNS port doesn't work well with the VPN mode, so we
will use PDSND to resolve DNS over Tor using OpenDNS. This is
a hack/solution that we learned from SocksDroid.
2016-01-04 01:38:36 -05:00
Nathan Freitas 8d8fe0ceb4 updates to improve VPN support 2015-12-30 13:21:33 -05:00
Nathan Freitas 02612366ca change this to "browser button" 2015-12-16 10:52:18 -05:00
Nathan Freitas 3462cbd46e small updates to icon and strings 2015-12-16 10:40:48 -05:00
Nathan Freitas 534c2fb36d update style, icons and graphics 2015-12-16 09:59:00 -05:00
Hans-Christoph Steiner ac8329c7f2 create a new pref: "Allow Background Starts"
This lets the user disable the new ACTION_START Intent, in case they have
more sensitive needs.
2015-06-10 18:02:43 -04:00
Hans-Christoph Steiner 6ac9a2cee6 use context.stopService() to shutdown TorService instead of custom message
Since running stopService() automatically triggers Service.onDestroy(),
there is a nice way to hook in and run the shutdown procedure.  This
provides an obvious point of entry as well as simplifying the shutdown
procedure.
2015-06-09 22:01:52 -04:00
Hans-Christoph Steiner fd23da5237 purge troublesome half-disabled Wizard, rename menu to "Get Apps..."
When clicking on "Wizard" from the menu, then clicking back, it gets stuck
in a strange back stack purgatory, and then randomly changes the language.
So purge the wizard stuff for now, and add back the parts that are still
needed once that is all figured out.

This also simplifies the refactoring of the Intent handling.
2015-06-09 21:48:54 -04:00
Hans-Christoph Steiner d43a6cd2b2 switch language/locale preference to use Languages utility class
The Languages utility class merges the techniques from ChatSecure and
Courier.  It fetches the supported locales from the APK itself, and fetches
the native names of the languages from the system.
2015-06-05 15:19:57 -04:00
Hans-Christoph Steiner 2f1ad74538 put up error notification if Orbot cannot kill a process
There are a couple of different times when Orbot will be unable to kill the
running processes.  One example is when Orbot is running, then uninstalled,
then installed again.

closes #5254 https://dev.guardianproject.info/issues/5254
2015-06-04 17:50:25 -04:00
Hans-Christoph Steiner 7787a3f427 run ./fix-translations 2015-06-04 13:40:24 -04:00
Hans-Christoph Steiner e58a15ebd7 Promo Apps: choose "all apps" URL based on which app store is installed
Since most people using devices without Google Play will be in China, where
Google is generally blocked, instead direct people to f-droid.org unless
they have Google Play installed.
2015-06-04 13:40:24 -04:00
Hans-Christoph Steiner 545afe7f6d Promo Apps: use Play or FDroid links, fallback to https://f-droid.org
This automatically detects whether Google Play or FDroid is installed, if
so, clicking the promo app button will take the user straight to the
install page.  If neither is installed, then the user is taken to the page
for that app on https://f-droid.org
2015-06-04 13:32:58 -04:00
Hans-Christoph Steiner 0e6ba61ac0 remove Firefox ProxyMob recommendation, ProxyMob is no longer supported 2015-06-04 13:32:26 -04:00
Nathan Freitas b941a1c7d5 show warning about bridge limits on Intel x86/ATOM devices 2015-04-13 08:36:01 -04:00
Nathan Freitas 9974654c08 fix for setting root and transproxy preferences 2015-04-09 01:28:38 -04:00
Nathan Freitas f37b935529 modifications to bridge setup strings 2015-04-03 22:37:26 -04:00
Nathan Freitas 6fd6a5a859 tune first-time experience (No more wizard!) 2015-04-03 13:01:29 -04:00
Nathan Freitas 75426bb9e2 Improve VPN service support - fix network switching handling
We now refresh the VPN and tun2socks interfaces when the network
type switches, and we do so in a way that does not cause traffic to leak.
The new interface is established before we close the old one.
2015-04-03 12:27:59 -04:00
Nathan Freitas 39ce7f1b22 improved clean-up, shutdown of Tun2Socks and VPN service 2015-04-03 00:20:30 -04:00
Nathan Freitas 9d83a5bb44 update app vpn warning 2015-04-02 23:37:35 -04:00
Nathan Freitas 84932594ce new helper activities for Apps and Bridge setup 2015-04-02 23:11:23 -04:00
Nathan Freitas 6a7c593353 a little bit of code re-org and new package for wizard 2015-03-28 00:39:58 -04:00
Nathan Freitas 6d05e27793 Improve Bridge and VPN support, working in tandem
You can use Bridges with VPN "App Mode" proxying
On Pre-Lollipop this uses a local loop back SOCKS server to flag outbound sockets as not for the VPN network
On Lollipop+ this uses the "disallow app" feature to set anything in the Orbot process to not be sent through the VPN
2015-03-17 13:04:20 -04:00
Nathan Freitas fb9a6c9994 support for sharing/display bridge config as QR code
this is needed for sharing of bridge data between people in the
same physical space, or by easily sharing it through chat or other
private messaging system
2015-02-23 13:00:46 -05:00
Nathan Freitas 0fc3805997 update new colors 2015-02-23 12:28:52 -05:00
Nathan Freitas 035ab8e895 add more strings for translation 2015-02-23 12:28:43 -05:00
Nathan Freitas 70d6203fdb layout changes for a modern, cleaner (purple!) look 2015-02-15 01:22:15 -05:00
Nathan Freitas a1ba41ce0b add a bridge toggle button 2015-02-14 02:30:02 -05:00
Nathan Freitas d6d3c5dd79 return app name to Orbot 2015-02-02 16:19:05 -05:00
Nathan Freitas a78e458a43 Merge branch 'ony-dev' into v15-dev 2015-02-02 13:43:54 -05:00
Nathan Freitas 48f40b3494 update resources for new design 2015-02-02 11:26:43 -05:00
SandroB 21b75b4c56 vpn changes 2015-01-20 15:47:24 +01:00
Nathan Freitas d5823e3059 updates to layout to make it cleaner 2014-11-28 23:52:57 -05:00
Nathan Freitas 2d98a29d82 temporarily use udpgw-client to make DNS and UDP tunneling to work 2014-10-24 01:14:54 -04:00
Nathan Freitas dbbd8292c2 Merge branch 'master' of https://github.com/freckles-the-pirate/orbot into freckles-the-pirate-master 2014-09-30 23:34:08 -04:00
Nathan Freitas 93614ddd61 update english versions strings 2014-09-14 16:15:55 -04:00
Nathan Freitas 313c92f863 add warning about restarting Orbot after settings changes 2014-09-06 01:02:38 -04:00
Jordan 1229da66cb Merge branch 'master' of https://git.torproject.org/orbot 2014-09-01 19:27:17 -07:00
Nathan Freitas 186e74b5dc add new transproxy flush pref and strings 2014-08-21 09:47:51 -04:00
Jordan 59b333984d Add buttons to filter application selection. 2014-08-13 17:23:33 -07:00
Nathan Freitas ade6172145 enable transproxy refresh feature, default off 2014-08-11 11:18:46 -04:00