Commit Graph

232 Commits

Author SHA1 Message Date
n8fr8 e8c3fdc1ed add total display to data transfer UI 2012-09-30 18:37:37 +05:30
n8fr8 eceede30f9 Merge branch 'datastats' 2012-09-30 18:14:54 +05:30
n8fr8 bcb162b154 typo update for iptables 2012-09-30 18:14:44 +05:30
n8fr8 bfcebdaba2 small updates for datastats merge 2012-09-30 18:14:25 +05:30
Sathyanarayanan Gunasekaran 5b6e83c6f6 Total Bandwidth prep code 2012-09-30 18:03:01 +05:30
Sathyanarayanan Gunasekaran 92fbd45f4e Adding neccessary prep code for Total BW 2012-09-30 18:01:56 +05:30
Sathyanarayanan Gunasekaran d54e72e094 ENABLE_DEBUG_TOGGLE update, proper AIDL implementation
Data stats are now shown irrespective of
whether ENABLE_DEBUG_TOGGLE is toggled or not.
ITorServiceCallback.aidl has been updated to
include a new method updateBandwidth(long ,long)
to hook the data passed from the service into
the GUI.
2012-09-30 18:01:56 +05:30
Sathyanarayanan Gunasekaran 841d83b3b4 Bugfixes + improved formatting 2012-09-30 18:01:20 +05:30
Sathyanarayanan Gunasekaran e114be51d0 Improved Formatting
Now shows the data with upto 2 decimal places.
If under 2Mb, shows "xxx.xKb", else shows "xxx.xxMb"
2012-09-30 18:00:06 +05:30
Sathyanarayanan Gunasekaran a2981152a7 Traffic is shown in the main UI 2012-09-30 18:00:06 +05:30
Sathyanarayanan Gunasekaran f181f26d4e Data stats - ARRRRRRRR not working 2012-09-30 17:58:10 +05:30
patch 26464765a9 Modified iptables rules for transproxying. UDP is now blocked. Also removed some redundant rules and reordered others. I reordered by the idea that its generally easier to specifically allow traffic before your reject it.
Signed-off-by: n8fr8 <nathan@freitas.net>
2012-07-24 13:17:40 -04:00
patch c2f3f77053 Modified iptables rules for transproxying. UDP is now blocked. Also removed some redundant rules and reordered others. I reordered by the idea that its generally easier to specifically allow traffic before your reject it.
Signed-off-by: n8fr8 <nathan@freitas.net>
2012-07-24 13:16:43 -04:00
n8fr8 747fd8c46a updated notification resources 2012-07-24 13:08:18 -04:00
n8fr8 318beaabcd re-added startService() call as some devices/OS need it 2012-06-29 12:04:26 -04:00
n8fr8 080fd5e249 made transproxy app list alphabetical 2012-06-29 11:41:36 -04:00
n8fr8 c6b6cd3d66 fixed relay resolv.conf DNS error #2069 in tor trac 2012-06-28 22:50:18 -04:00
n8fr8 2d4ebe27ee fixed check for tor binary and install process 2012-06-28 22:02:09 -04:00
n8fr8 3de5d66440 attempted to address leaking bound service 2012-06-28 17:01:35 -04:00
n8fr8 eb2b7531c9 cleaned up background view, removed unused thread 2012-06-28 17:01:24 -04:00
n8fr8 ecf3c79b72 transproxy app manager reset to show all apps
attempted to 'detect' if an app had internet permissions
but that was not working
2012-06-28 17:00:41 -04:00
n8fr8 2f4bef1c53 updated binary versions for auto-upgrade 2012-06-28 00:46:44 -04:00
n8fr8 6620e144a1 updated strings; made notify on/off option work again 2012-06-27 22:44:33 -04:00
n8fr8 97a0709eb3 added background view; fixed long click; 2012-06-27 21:40:19 -04:00
n8fr8 4ae52261cf updated impl of torified apps logic 2012-06-19 20:45:25 -04:00
n8fr8 9ff5c22598 improved wizard flow on non-root devices 2012-06-19 20:45:04 -04:00
n8fr8 bf044b9390 moved Tor data directory to app_data from cache 2012-05-09 23:06:46 -04:00
Nathan Freitas d11a6c6f75 cleaned up tor control cookie file code for #5305 2012-04-08 23:22:54 -04:00
Nathan Freitas 82deb40dae fixed issue with network conn on main thread 2012-02-26 23:38:34 -05:00
Nathan Freitas 332bf93ffd added locale selection pref capability 2012-02-26 22:48:30 -05:00
Nathan Freitas 697f5aa2f1 fixed OnBoot issue with unintended service starting 2012-02-26 22:47:25 -05:00
Nathan Freitas 6a32a53d12 added new language chooser for wizard 2012-02-26 22:45:55 -05:00
Nathan Freitas 3a9a269296 updates for manually setting locales 2012-02-24 00:13:27 -05:00
Nathan Freitas b4952ea44d removed unused old wizard class 2012-02-23 14:37:46 -05:00
Nathan Freitas f255420782 Merge branch 'kensan/obfsbridge-prefs' into obfs
Conflicts:
	src/org/torproject/android/service/TorService.java
2012-02-12 13:05:19 -05:00
Nathan Freitas 48ea51ff8e cleaned up locale, set default to EN 2012-02-12 12:29:30 -05:00
Nathan Freitas 3f3e091a54 moved bridge config out of torrc into applyPrefs() 2012-02-12 12:29:11 -05:00
Adrian-Ken Rueegsegger ab4f789eff Add correct torrc entries for obfuscated bridges
The lines have the following form:

Bridge obfs2 ${IP address of bridge}
...
ClientTransportPlugin obfs2 exec ${/path/to/obfsproxy} --managed
2012-02-12 13:28:56 +01:00
Adrian-Ken Rueegsegger c21be28cf3 Add constants related to obfuscated bridges 2012-02-12 13:28:32 +01:00
Nathan Freitas 7ea8342967 added new pref string key 2012-02-12 01:25:41 -05:00
Nathan Freitas bfaf01203e tweaked bindService call 2012-02-12 01:25:33 -05:00
Nathan Freitas ebb7535b0f improved logging of cmd exec 2012-02-12 01:25:02 -05:00
Nathan Freitas 258217d031 added support for obfsproxy start/stop/kill 2012-02-12 01:24:28 -05:00
Nathan Freitas 411dcea837 added app class to handle language settings 2012-02-12 01:23:29 -05:00
Nathan Freitas 98029168fb new file for background binary check 2012-02-11 22:42:34 -05:00
Nathan Freitas 790acb8a53 updated way for checking for ROOT 2012-02-11 22:41:25 -05:00
Nathan Freitas 3ea0d1dcc1 added HOME export setting for obfsproxy 2012-02-11 22:41:10 -05:00
Nathan Freitas d22ef2b1c5 added installer for obfsproxy binary 2012-02-11 22:39:10 -05:00
Nathan Freitas 493d6e22cd cleaned up binding and logging 2012-01-25 20:09:33 -05:00
Nathan Freitas 5dae040303 support zip file raw assets 2012-01-25 20:07:15 -05:00
Nathan Freitas f1d6934ee3 cleaned up override syntax 2012-01-25 20:06:44 -05:00
Nathan Freitas 857c302247 cleaned up override settings 2012-01-25 20:06:25 -05:00
Nathan Freitas e6d65dbae9 removed whispersys stuff for now 2012-01-25 20:06:09 -05:00
Nathan Freitas bab5183818 new pref constants 2012-01-25 20:05:30 -05:00
Nathan Freitas 1e3f6bbddf opt persistent notifications & geoip not default 2012-01-25 20:04:41 -05:00
Nathan Freitas 63c4e97355 minor code format change 2012-01-25 20:03:54 -05:00
Nathan Freitas 93f242d66b solved NPE issue for null intent 2012-01-16 23:41:25 -05:00
Nathan Freitas 512f3d6dbd cleanup notifications; fixes for binary checking 2012-01-16 22:56:50 -05:00
Nathan Freitas d35fb1bda2 cleanup of binding and starting TorService 2012-01-16 22:56:26 -05:00
Nathan Freitas 9935cc8784 updated script for shell cmd logging 2012-01-16 22:54:42 -05:00
Nathan Freitas ee9e3d7c8b fixed per-app torification 2012-01-16 22:54:07 -05:00
Nathan Freitas ee2053ab83 a few more useful values 2012-01-15 10:45:32 -05:00
Nathan Freitas 2b15ff66ec more updates to limit localhost port access 2012-01-15 10:45:18 -05:00
Nathan Freitas f18654a730 improves toolbar notifications 2012-01-15 10:44:50 -05:00
Nathan Freitas 2600519c4d sets the install chmod perms to 700 properly 2012-01-15 10:43:49 -05:00
Nathan Freitas 675afee9d2 fixes issue with progress dialog display and crashes 2012-01-15 10:43:13 -05:00
Nathan Freitas f14ca9a2d9 improved root detect and binary installation 2012-01-13 19:19:04 -05:00
Nathan Freitas c23c7b5217 added multiple root-detect options 2012-01-13 19:02:55 -05:00
Nathan Freitas 8906c31dd6 with transproxy allow localport access for proxies
when transproxy all is on, or when app by app proxying is on,
access to the localhost transproxy, SOCKS, HTTP, tor DNS and
other localhost ports should be allowed for apps that want
to speak directly to tor regardless of transproxy being enabled
2012-01-13 10:58:51 -05:00
Nathan Freitas 2962f58447 improved handling of binary upgrade process 2012-01-13 10:26:56 -05:00
Nathan Freitas fbfa2d1d7a flush iptables immediately when disabled in settings 2012-01-12 21:53:42 -05:00
Nathan Freitas ce0ea902ca only load GeoIP when you need it 2012-01-12 21:53:30 -05:00
Nathan Freitas ab44b54ac2 fixed debug log issue 2012-01-12 21:08:37 -05:00
Nathan Freitas b8af143d5f cleaned up iptables binary handling 2012-01-12 20:58:21 -05:00
Nathan Freitas 331c4956d7 tweaked root request on/off preference UI 2012-01-12 15:46:54 -05:00
Nathan Freitas 2b1969fea0 small changes to naming of iptables methods 2012-01-09 00:23:54 -05:00
Nathan Freitas e206a241ab only bind service if variable currently null 2012-01-09 00:23:23 -05:00
Nathan Freitas 76fc2cd014 more string work, this time on service notifications 2011-11-14 04:18:33 -05:00
Nathan Freitas 2b8eef305c a bit more cleanup on strings for about and hidden service requests 2011-11-14 04:03:41 -05:00
Nathan Freitas 64ed05eb5a Merge branch 'fixwizard' 2011-11-14 03:25:27 -05:00
Nathan Freitas 2a92b72941 don't transproxy orweb 2011-11-13 10:39:24 -05:00
Nathan Freitas 8e199a3e9c updated strings; modified iptables clear behavior; 2011-11-12 11:56:16 -05:00
Sathyanarayanan Gunasekaran 4574c95b55 Kill wizard activities on Exit
Orbot.java's doExit() returns a
RESULT_CLOSE_ALL to the wizard activities.
The onActivityResult() is overrided
in the wizard activities to kill all
the activities if the result is
RESULT_CLOSE_ALL
2011-11-04 01:44:50 +05:30
Sathyanarayanan Gunasekaran 821b911db3 Merge branch 'master' of git://git.torproject.org/n8fr8/orbot 2011-11-04 01:21:50 +05:30
Nathan Freitas 838bd6a761 clean up of main class imports 2011-10-29 02:54:52 -04:00
Nathan Freitas ef5c506fdd updates to properly support tor-tether mode 2011-10-28 23:53:40 -04:00
Nathan Freitas 73265cec1d fixes for wizard transproxy screen 2011-10-28 13:39:14 -04:00
Nathan Freitas 28bb6c3168 binary installer now supports zipped raw files 2011-10-28 11:00:58 -04:00
Nathan Freitas adbf7be054 finalizing packages for wizard and new config options 2011-10-28 00:31:45 -04:00
Nathan Freitas a85f5b9552 new wizard interface nearly complete 2011-10-28 00:31:08 -04:00
Nathan Freitas a2d41e4f79 fixes geoip settings, and other small server config changes 2011-10-28 00:29:57 -04:00
Sathyanarayanan Gunasekaran 34ce45398f Merge branch 'master' of git://git.torproject.org/n8fr8/orbot
Conflicts:
	AUTHORS
	AndroidManifest.xml
2011-07-25 21:57:58 -04:00
Nathan Freitas 7a1c0f3224 fixed and cleaned up file path issues with binary installs and execution 2011-07-25 16:12:41 -04:00
Nathan Freitas f86897f00c moved API to IptablesManager; made version display dynamic 2011-07-25 10:51:34 -04:00
Nathan Freitas 0bfad80ca6 added support for unpacking split binary into one tor exe; supports devices with 1M raw resource limit 2011-07-25 10:50:03 -04:00
Nathan Freitas cd6c533a71 Merge branch 'wizard'
Conflicts:
	res/values/strings.xml
	src/org/torproject/android/Orbot.java
2011-07-24 17:09:30 -04:00
Sathyanarayanan Gunasekaran 3d3de96e64 Updated AUTHORS 2011-06-29 22:35:19 +05:30
Sathyanarayanan Gunasekaran d7c15dd81b Minor changes to LotsaText.java
Now shows "Introduction" screen when the
app is installed for the first time.
2011-06-28 09:20:01 +05:30
Sathyanarayanan Gunasekaran d9e0ede797 Updated Permissions
Asks for superuser privileges after user clicks
"Grant Permissions" and checks for iptables OWNER
module
2011-06-28 09:14:43 +05:30
Sathyanarayanan Gunasekaran e63c745808 Updated TorServiceUtils.checkRootAccess()
checkRootAccess() now checks if 'su' binary and
Superuser.apk exist to check if the phone has
root access
2011-06-28 09:12:52 +05:30