Commit Graph

610 Commits

Author SHA1 Message Date
Nathan Freitas af51a98535 allow support for adding custom lines to torrc 2014-06-09 18:47:48 -04:00
Nathan Freitas 22938c9ed9 multiple fixes for tor start including "auto" control port
also try to kill hung tor process
2014-06-09 18:35:08 -04:00
Nathan Freitas 022436515d ensure torrc values are overwritten 2014-06-09 18:34:40 -04:00
Nathan Freitas bf6a1da3fa update state when service connects 2014-06-06 21:49:21 -04:00
Nathan Freitas 451cfed0ac keep SOCKS port as default 9050 (instead of 'auto') 2014-06-06 17:01:18 -04:00
Nathan Freitas bedeb71cf2 more fixes for hidden service configuration
now multiple ports are properly configured
and notification will display correctly
2014-06-06 15:05:06 -04:00
Nathan Freitas 051cce472c don't allow the tor control port socket to timeout 2014-06-06 14:40:11 -04:00
Nathan Freitas 120da6bfe2 more wizard flow fixes 2014-06-06 14:19:06 -04:00
Nathan Freitas da3c95575a fixes for tor setConf/control port
fixes hidden service support
manages socks port conflicts
2014-06-06 09:59:10 -04:00
Nathan Freitas 93451865f8 remove unnecessary line 2014-06-06 09:59:03 -04:00
Nathan Freitas 707bca4daf amek sure wizard only is shown once on start (not twice!) 2014-06-06 08:56:32 -04:00
Nathan Freitas b6116b5d5a switch to 0.2.4.22 version of Tor for release 2014-06-05 11:11:39 -04:00
Nathan Freitas 7622d2cb2f update constant for 1.0.1h and latest openssl vuln
http://ccsinjection.lepidum.co.jp/blog/2014-06-05/CCS-Injection-en/index.html
2014-06-05 10:58:36 -04:00
Nathan Freitas d3924396e3 fix bridge append value from qrcode scan 2014-06-04 23:52:37 -04:00
Nathan Freitas d6f5720f27 remove synchronized - not needed, and causing blocking 2014-06-04 23:52:28 -04:00
Nathan Freitas f52c22aa0d Merge branch 'amoghbl1-issue_3014_wizard_workflow' 2014-06-04 23:24:43 -04:00
Nathan Freitas f6750e135a sometimes text can be null 2014-06-04 23:24:21 -04:00
Nathan Freitas fd47e70f44 fix control port connections with socket timeouts 2014-06-04 23:24:11 -04:00
Nathan Freitas 36a6349b67 status should update whether there is msg or not 2014-05-30 11:26:48 -04:00
Nathan Freitas 63b43047ed Merge branch 'issue_3014_wizard_workflow' of https://github.com/amoghbl1/orbot-1 into amoghbl1-issue_3014_wizard_workflow 2014-05-30 10:40:53 -04:00
Nathan Freitas 25f6499f6b Merge branch 'master' of github.com:n8fr8/orbot 2014-05-30 10:37:14 -04:00
Nathan Freitas c1f9296164 new work on binding and service starting 2014-05-30 10:36:03 -04:00
Amogh Pradeep 758633c9e6 Merge branch 'master' of https://github.com/n8fr8/orbot into new_notification_expanded 2014-05-29 05:02:08 +05:30
Amogh Pradeep 99dfdd711d added styles to build the custom notification, minor tweaks to old code 2014-05-29 04:56:06 +05:30
Amogh Pradeep a787fdf8cd notification layout for the expanded notification, still in testing. Also includes integration of remote view for the big layout 2014-05-29 04:27:07 +05:30
Amogh Pradeep 4759d9f143 implemented button click function for the story maker button, also url added in strings, change to liking at review 2014-05-24 03:15:33 +05:30
Amogh Pradeep 53e82b1769 general cleanup, removed log.d's 2014-05-24 02:57:22 +05:30
Amogh Pradeep 6488e6a699 cleaned Permissions workflow, implemented override for back button 2014-05-24 02:55:36 +05:30
Amogh Pradeep 935fa91199 cleaned LotsaText workflow, implemented override for back button 2014-05-24 02:43:28 +05:30
Amogh Pradeep f29a49439e cleaned ConfigureTransProxy workflow, implemented override for back button 2014-05-24 02:38:19 +05:30
Amogh Pradeep ea384f95f6 cleaned ChooseLocaleWizardActivity workflow, implemented override for back button and added toast warning message string 2014-05-24 02:31:57 +05:30
Amogh Pradeep ffcfce742b cleaned TipsAndTricks workflow 2014-05-24 02:01:36 +05:30
Nathan Freitas 278997de38 simple notification of bridge settings via URL 2014-05-08 09:54:48 -04:00
Nathan Freitas 17934e6b33 initial support for setting bridge through URL 2014-05-08 09:52:11 -04:00
Nathan Freitas 726cf0c6c9 work to stabilize Tor background service
auto-restart tor binary process if killed by Android OS
print out debug info related to memory mgmt requests
move bind/start code to async task
2014-05-07 23:49:54 -04:00
Nathan Freitas ba90f73828 cleanup of notification and process kill code 2014-05-05 00:00:50 -04:00
Nathan Freitas e80c3bf162 check if installed apps are enabled 2014-05-05 00:00:01 -04:00
Nathan Freitas 69614fb649 updated Tor version to 0.2.5.4-alpha
heartbleed blacklists for non-updated tor nodes
2014-05-04 00:38:29 -04:00
Nathan Freitas 53673dae75 fix bridge/PT enable code based on bridge types 2014-05-04 00:35:14 -04:00
Nathan Freitas 42d8ca1377 for some devices, the process-id is listed first 2014-05-02 14:58:47 -04:00
Nathan Freitas fd5128170a make sure the unbind intent is not null 2014-05-02 14:58:36 -04:00
Nathan Freitas b8140191ef improvement for network state checking code 2014-05-02 10:10:09 -04:00
Nathan Freitas 0dc50cc492 add log max size feature 2014-05-02 00:39:59 -04:00
Nathan Freitas b9f14b318b ensure setConft on control port works consistently 2014-05-02 00:39:37 -04:00
Nathan Freitas b056e7f6cd remove debug waiter 2014-05-01 21:37:36 -04:00
Nathan Freitas cbbc5e45e1 improve how we start/stop Tor, Polipo
to find process id, do ps of all, then filter (most compat)
use async service for Tor start/stop instead of threads
2014-05-01 21:36:03 -04:00
Nathan Freitas 144460beed fixes for preference handling in multi process context 2014-04-25 12:44:21 -04:00
Nathan Freitas d3865c0e78 fix settings handling and add more debug output
also make SOCKS a runtime config
2014-04-25 12:43:30 -04:00
Nathan Freitas d5293340d5 clean up wizard context use 2014-04-25 12:42:31 -04:00
Nathan Freitas 40546c9ee5 change from privoxy to polipo for http proxy 2014-04-24 23:43:33 -04:00
Nathan Freitas a4d8669cc2 fix variable name to obfsclient 2014-04-24 12:35:52 -04:00
Nathan Freitas f485015f83 install obfsclient binary 2014-04-24 12:30:23 -04:00
Nathan Freitas 1295f5cd24 don't kill Tor anymore; just reconnect to running instance! 2014-04-18 06:25:35 -04:00
Nathan Freitas 16f3a53529 enable diagnostics and menu option 2014-04-18 06:22:37 -04:00
Nathan Freitas 4aa3cd6ea2 moved diagnotics to menu option (not launcher) 2014-04-18 06:22:10 -04:00
Nathan Freitas b870dd3c7d limit log length for diag share 2014-04-17 13:39:49 -04:00
Nathan Freitas edd3195ec8 only show app warning if debug is on 2014-04-17 13:39:40 -04:00
Nathan Freitas 78e7af4372 check if needed ports are available
dont' reapply transproxy on network reconnect
2014-04-17 11:34:47 -04:00
Nathan Freitas 2628565b45 fix issues with per-app filtering and ipv6 2014-04-17 11:34:31 -04:00
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
n8fr8 187b8e2643 updated wizard to always show recommended apps 2012-10-22 17:43:34 +05:30
n8fr8 7581f10f0f added Google Play to tips page 2012-10-22 17:18:00 +05:30
n8fr8 2b3164ef6c fixed double adding of iptables rules, and proper clearing 2012-10-22 13:43:13 +05:30
n8fr8 b90483f65b remove anti-alias call for older devices 2012-10-22 13:43:01 +05:30
n8fr8 4791e4e93f updates to "tips" wizard page for orbot-enabled apps 2012-10-22 02:03:26 +05:30
n8fr8 993e2a0c18 display % complete status messages on main screen 2012-10-21 23:43:52 +05:30
n8fr8 50de0bb788 removed unused method from binary installer 2012-10-21 15:32:40 +05:30
n8fr8 46bf5dd6be minor updates for ActionBarSherlock support 2012-10-21 15:32:04 +05:30
n8fr8 6e45cab8ee allows UDP packets to localhost for DNS 2012-10-04 11:27:17 +05:30
n8fr8 db128fbc2a updated display for setting data transfer UI 2012-10-04 11:27:09 +05:30
n8fr8 9de420e124 fixes for transproxy rule adding/deleting 2012-10-01 13:46:08 +05:30
n8fr8 abebfd565e user interface updates - "log" drawer with up/down stats 2012-10-01 12:35:48 +05:30
n8fr8 331daa07b4 updates for transproxy iptables detection on JB 2012-10-01 12:35:31 +05:30
n8fr8 d1e299250a adds UDP reject for transproxy; thx to patrickbx
From a81741afe06ac2309b4306dedbd5a0ebf755b7e1 Mon Sep 17 00:00:00 2001
From: patch <patrickbx@gmail.com>
2012-10-01 00:18:22 +05:30
n8fr8 971c04e9f2 removing unintended debugger statement :( 2012-10-01 00:08:47 +05:30
Sathyanarayanan Gunasekaran dbdadf2115 Add DisableNetwork support
DisableNetwork tells tor to drop the current circuits and stop
building new ones. A BroadcastReciever is triggered when there
are changes in the network connection which toggles DisableNetwork.
2012-09-30 23:58:22 +05:30
n8fr8 efc6d95314 fixing transproxy to set/clear on rule by rule basis 2012-09-30 23:57:59 +05:30
n8fr8 9ccedc2e63 reverting to earlier version 2012-09-30 22:02:41 +05:30
n8fr8 7e91c8eecb reverting to last known working version 2012-09-30 21:59:29 +05:30
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
Sathyanarayanan Gunasekaran 322284ef9b Added warning icon to Warning screen 2011-06-14 22:38:14 +05:30
Sathyanarayanan Gunasekaran fbdeb71974 Updated RadioButtons in ConfigureTransProxy
All the RadioButtons are unchecked by default. The next button
is disabled until a RadioButton is checked.
2011-06-13 15:40:34 +05:30
Sathyanarayanan Gunasekaran d937ee3ca9 Wizard UI/UX Refresh
Added theme.xml, updated all the views. Changed radiobutton logic
2011-06-13 01:11:46 +05:30
Sathyanarayanan Gunasekaran 457bd78a46 Calls new wizard onResume 2011-06-11 03:45:32 +05:30
Sathyanarayanan Gunasekaran 870ce6a91d Fixed CheckBox BUG
Previously, the "next" button was not disabled when the CheckBox
was unchecked. Changed it.  Also, updated the logic inside the
CheckBox's listener.
2011-06-11 02:53:02 +05:30
Sathyanarayanan Gunasekaran 0eb64792bf Fixed wizard restart on rotation
Added a SharedPreference - "wizardscreen1" which when set to true
shows stepOne()(Intro screen) and shows stepTwo()(Warning screen)
when set to palse
2011-06-11 02:32:39 +05:30
Sathyanarayanan Gunasekaran 4f333e370d Updated Permissions and Transproxy screens
Included a checkbox in Permission screen to account for
users who do not wish to grant root permissions.
Updated radio buttons in Transproxy screen
2011-06-10 00:31:35 +05:30
Sathyanarayanan Gunasekaran 86727d6298 Updated Transproxy screen 2011-06-09 01:31:32 +05:30
Sathyanarayanan Gunasekaran e7453b7f0b TransProxy screen added 2011-06-08 00:32:59 +05:30
Sathyanarayanan Gunasekaran c9c35ead48 Updated AndroidManifest, Tips Screen 2011-06-06 02:39:52 +05:30
Sathyanarayanan Gunasekaran 22118bc382 Tips and Tricks screen added 2011-06-06 02:25:18 +05:30
Sathyanarayanan Gunasekaran 6af2989ab8 Permissions screen added 2011-06-04 02:12:06 +05:30
Sathyanarayanan Gunasekaran 3181d00c1d First two screens - rewrite 2011-06-03 23:07:30 +05:30
Nathan Freitas ddb4793b0a added tethering support 2011-06-02 16:21:50 -04:00
Sathyanarayanan Gunasekaran de5d9bfe46 First two wizard screens 2011-05-30 11:01:47 +05:30
Nathan Freitas 7b95465557 fixed handling of 'EntryNodes' preference
svn:r24763
2011-05-17 03:09:12 +00:00
Nathan Freitas 4c6df2ad36 last modification for StrictNodes, exit node support
svn:r24758
2011-05-17 02:02:36 +00:00
Nathan Freitas 088ddcd192 added exit node option to preferences
svn:r24753
2011-05-16 03:50:10 +00:00
Nathan Freitas 7be11d01f2 fixed onboot handling and updated transproxy
svn:r24735
2011-05-10 02:08:16 +00:00
Nathan Freitas b636b42e12 small fixes to fix progress dialog and alert box glitches
svn:r24718
2011-05-03 06:49:25 +00:00
Nathan Freitas bc48d8f1cc fixed 'leaky' dialog box error
svn:r24717
2011-05-03 06:41:34 +00:00
Nathan Freitas 02f3cb0fb3 general cleanup on detecting iptables status and startup/shutdown calls
svn:r24714
2011-05-03 05:56:40 +00:00