Commit Graph

351 Commits

Author SHA1 Message Date
Nathan Freitas 5551c59e50 fixes to ensure service does not block 2014-04-17 10:16:56 -04:00
Nathan Freitas ae906d00ac use 127.0.0.1 and not localhost 2014-04-17 10:16:49 -04:00
Nathan Freitas 1ea5281f82 improve diagnostics apps 2014-04-17 10:16:25 -04:00
Nathan Freitas 2996fb2078 ensure ipv6 packets are dropped and shell cmds exit 2014-04-17 10:16:03 -04:00
Nathan Freitas 4c0d7ada8f check for evil samsung proxy app that blocks 9050 2014-04-17 10:15:15 -04:00
Nathan Freitas 37eddfcbd2 add torrcdiag file to installer 2014-04-17 10:14:57 -04:00
Nathan Freitas eab54f7af9 small fixes for service (NPE handling) and resource installer 2014-04-16 16:22:09 -04:00
Nathan Freitas e70c8aca87 add new diagnostics activity for problem childs 2014-04-16 16:21:42 -04:00
Nathan Freitas b9eeb3711b ensure Service has foreground priority so it is not killed
(and improve onBind() calls to reset state if it is killed)
2014-04-15 22:31:24 -04:00
Nathan Freitas 3824bc56e5 improving control port connection code
adding additional logging for problems with Samsungs
2014-04-15 00:47:59 -04:00
Nathan Freitas cc020f54b6 small tweaks to Tor binary startup code 2014-04-15 00:25:28 -04:00
Nathan Freitas 06d5a6fc09 improve process lookup code 2014-04-15 00:24:55 -04:00
Nathan Freitas cd8b7e45db connect to "localhost" instead of 127.0.0.1 2014-04-15 00:24:17 -04:00
Nathan Freitas 4673f04f8b update UI on rebind of service 2014-04-15 00:24:01 -04:00
Nathan Freitas c68ce2ce1e fixes for transproxy to fix DNS leaks in some cases
latest RC was leaking DNS due to updates iptables/xtables binary
and need for new iptables rules format
2014-04-15 00:22:52 -04:00
Nathan Freitas 3413b341fc fixes for getting process id of Tor process 2014-04-09 22:53:08 -04:00
Nathan Freitas 831a52a7e9 improved logging and exit code reporting for transproxy 2014-04-09 09:12:00 -04:00
Nathan Freitas f8532715c0 fix Service init/bind logic
also remove updates for background drawing to save memory
2014-04-09 09:11:38 -04:00
Nathan Freitas 8445f2e55d ensure appmgr doesn't fail on loading apps
also don't load icons to improve memory usage
2014-04-09 09:10:56 -04:00
Nathan Freitas 60a79a2ae0 more updates to install clean-up process 2014-04-08 16:09:04 -04:00
Nathan Freitas f885059b94 fix problem with UI rotation and screen update 2014-04-08 15:46:10 -04:00
Nathan Freitas bf8a92cb7a use AbsolutePath instead of Canonical; fix kill code 2014-04-08 15:33:05 -04:00
Nathan Freitas e1b1ca072e add constants for folder names 2014-04-08 15:31:15 -04:00
Nathan Freitas e8116f4542 ensure existing files are deleted before upgrade 2014-04-08 15:31:02 -04:00
Nathan Freitas b6a9b48e77 ensure existing binaries are removed before install
problems may be caused by soft links or old bins
2014-04-08 11:37:45 -04:00
Nathan Freitas ef14ac5c3e fix large icon incorrect display in alert dialogs 2014-04-08 11:37:18 -04:00
Nathan Freitas bab67b7c13 small fixes for the wizard with new UI 2014-04-08 11:36:59 -04:00
Nathan Freitas 3d1f3912ea updates for icons, backgrounds and improved drawing
code to solve issues related to outofmemory
2014-04-08 10:46:52 -04:00
Nathan Freitas c9bf8d2585 fix Shell calls so that we close() shell when done 2014-04-08 01:12:56 -04:00
Nathan Freitas e78486a41f update to support specific permissions for Service
this is an attempted fix for Samsung S3/Note3 issues
2014-04-08 01:12:35 -04:00
Nathan Freitas 917ea6e09f fix for mikeperry transproxy leak bug find
https://lists.torproject.org/pipermail/tor-talk/2014-March/032503.html
2014-04-07 23:36:10 -04:00
Nathan Freitas fc0554f9ff fix for binary version upgrade support 2014-04-07 23:35:58 -04:00
Nathan Freitas e5b70ba4ab improve shell command, root and permissions handling 2014-04-07 11:10:31 -04:00
Nathan Freitas 298f73c843 update Tor version code 2014-04-04 10:50:22 -04:00
Nathan Freitas 75d3ecb2ec update language wizard display to be more clear 2014-04-04 10:46:28 -04:00
Nathan Freitas 8140b32714 a little bit of cleanup of new binary installs 2014-04-04 10:19:23 -04:00
Nathan Freitas e25dc08fe5 fixes the menus for appcompat library 2014-04-03 23:23:20 -04:00
Nathan Freitas cc8d3e1eab update to return to binaries as ZIPd res/raw
stop using the libs/armeabi hack method
2014-04-03 23:01:39 -04:00
Nathan Freitas 8c20759bed removed ABS depdency in favor of AppCompat 2014-04-03 21:54:26 -04:00
Nathan Freitas 27d5945add remove redundant iptables rules for transproxy 2014-03-03 10:37:35 -05:00
Nathan Freitas 4e1357bcca add new background graphics state change to main UI 2014-03-03 10:37:20 -05:00
Nathan Freitas c1cb30d1bb remove issue with service launching via explicit intent 2014-02-22 19:16:55 -05:00
Nathan Freitas 87411bea85 fix code for finding existing processes 2014-02-22 19:16:47 -05:00
Nathan Freitas 3b9d6c8eaa make sure Tor path link is cleanly setup and chmod'd 2014-01-15 00:33:51 -05:00
Nathan Freitas cac2a28d50 updated TorBinaryInstaller now just handles resources 2014-01-14 23:58:54 -05:00
Nathan Freitas f538930b7c fix xtables installation and permission setting
more fixes for running from sdcard
2014-01-14 23:57:20 -05:00
Nathan Freitas c5959637af solves problem with binaries being stored on external SDcard 2014-01-13 21:48:28 -05:00
Nathan Freitas 635e307182 cleanup imports 2014-01-12 22:15:21 -05:00
Nathan Freitas 92d19e3402 ensures binary permissions are set 2014-01-12 22:14:30 -05:00
Nathan Freitas 39699e69c6 add new icons showing different status 2014-01-09 22:01:02 -05:00
Nathan Freitas d3c11bed4b add geoip v6 file and support in TorService 2014-01-09 21:32:07 -05:00
Nathan Freitas 852792962e unregister receive and check for alternate library path 2014-01-09 21:14:01 -05:00
Nathan Freitas cf5e4454eb fixes #2848 newnym might call a null conn in service 2014-01-09 15:29:51 -05:00
Nathan Freitas 069a9bf377 fixes #2847 use class name to start service 2014-01-09 15:28:53 -05:00
Nathan Freitas e0a7fbb450 check for both link and original path in process lookup 2013-12-28 09:52:36 -05:00
Nathan Freitas e9396b7cc2 use new bundled xtables binary appropriately 2013-12-28 09:21:25 -05:00
Nathan Freitas 8b65332bbb clean up of error notifications 2013-12-28 02:18:00 -05:00
Nathan Freitas 8722db9f2d put threading of settings reload into TorService 2013-12-28 01:07:54 -05:00
Nathan Freitas c80c5d49df improvements on notification code 2013-12-28 00:43:51 -05:00
Nathan Freitas 5891feee9a service should be unbound when activity is destroyed
also some other cleanup of unused code
2013-12-28 00:43:36 -05:00
Nathan Freitas 3069fb5af4 run Tor from link to keep compatibility with OrbotHelper class
some apps use our OrbotHelper.java class and are expecting the
Tor binary process to be at /data/data/org.torproject.android/app_bin/tor
so we link that path to the lib/libtor.so path
2013-12-27 21:43:55 -05:00
Nathan Freitas 1739473a1d more updates for moving binaries to libs/armeabi 2013-12-27 15:27:20 -05:00
Nathan Freitas 5870a674d8 update for 0.2.4.20 constant 2013-12-27 15:27:09 -05:00
Nathan Freitas 6a125a9dee more removal of share service from core Orbot
moving to a separate app
2013-12-27 13:34:16 -05:00
Nathan Freitas 528642149d remove "ShareService" from projet (moving to separate app) 2013-12-27 13:24:25 -05:00
Nathan Freitas 6b0b0fa069 more changes for executing binaries from libs/jni folder 2013-12-27 12:30:20 -05:00
Nathan Freitas f4e73e9cd7 updating version to 12.0.5 2013-08-23 16:59:12 -04:00
Nathan Freitas abe1788648 another shared prefs fix 2013-08-23 16:46:48 -04:00
Nathan Freitas e632b3b04f fixes for sharing preferences across processes 2013-08-23 16:44:15 -04:00
Nathan Freitas 8f44c516e1 make sure binaries and config files are updated 2013-08-23 12:56:04 -04:00
Nathan Freitas e84ee7101d added GUI support for flinging to a newnym identity 2013-08-23 12:47:31 -04:00
Nathan Freitas f12e556997 added support for NEWNYM signalling 2013-08-23 12:47:15 -04:00
Nathan Freitas 9dacb5be73 updated transproxy iptables rules to ensure clear/flush 2013-08-23 12:46:54 -04:00
Nathan Freitas cea338dab2 add new Root utility for checking if root is possible 2013-08-20 13:26:04 -04:00
Nathan Freitas 82fcea0dab fixes for superuser and iptables check code 2013-08-20 13:25:42 -04:00
Nathan Freitas eb1c6b0829 make the "check" button a bit smarter 2013-08-19 11:17:20 -04:00
Nathan Freitas 2c278f3d52 fix for notifications and debug option for "airplane mode" 2013-08-19 09:34:03 -04:00
Nathan Freitas cdd75f31af disable share/send feature for this release 2013-08-19 09:33:55 -04:00
Nathan Freitas adc57ae291 removed android Debug code 2013-07-22 15:39:16 -04:00
Nathan Freitas d407f32166 update Tor binary version number to ensure upgrade 2013-07-22 15:20:47 -04:00
Nathan Freitas 21d1023ada fixes for prefs/settings management 2013-07-22 15:18:02 -04:00
n8fr8 b6e2507580 UI and flow updates 2013-04-03 15:47:55 -04:00
n8fr8 442216fd2e share service via http hidden service 2013-04-03 15:47:40 -04:00
n8fr8 667fa647c7 updated for settings return value 2013-04-03 15:46:50 -04:00
n8fr8 3ea016ba20 updates for reading preference settings 2013-04-03 15:46:03 -04:00
n8fr8 c5627f4f9a cleaned up notification support and added Share service 2013-02-12 14:29:41 +07:00
n8fr8 25a895a608 updated tor binary version number 2013-02-12 14:29:30 +07:00
n8fr8 c4810d485d added new method for remote server interface for Share service 2013-02-12 14:29:02 +07:00
n8fr8 1576775f02 closed reader stream 2013-02-12 14:28:29 +07:00
n8fr8 21c27972d9 support landscape layout and new Share intent
- when device is landscape, the log will show on the main screen
- Orbot v12 includes a new simple share service for HS based file sharing
2013-02-12 14:26:38 +07:00
n8fr8 7df2acd59c cleanup of imports and unclosed streams 2013-02-12 14:26:12 +07:00
n8fr8 216a41d896 adding new HS/onion based file sharing service 2013-02-12 14:05:20 +07:00
n8fr8 8023d16ce8 updated locale handling to stop flashing 2013-02-07 15:24:01 +07:00
n8fr8 db49a5996d updating tor binary version in constants to force upgrade 2012-10-26 09:49:19 +05:30
n8fr8 b4d815f2cb rewrote transproxy rules to use user-defined Orbot chain 2012-10-25 15:29:55 +05:30
n8fr8 0e5b24e6d9 removed static call to TorService logging 2012-10-25 15:29:47 +05:30
n8fr8 d64cdde3a6 small change to transproxy test 2012-10-25 15:29:00 +05:30
n8fr8 4edb1cc992 updated notification icon to new onion 2012-10-25 15:28:45 +05:30
n8fr8 0af2b712ce removed getInfo for traffic totals; moved to callback 2012-10-25 15:27:59 +05:30
n8fr8 29573d1c0f moved init to oncreate to try and stop flashing 2012-10-25 15:15:11 +05:30