Commit Graph

357 Commits

Author SHA1 Message Date
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
Nathan Freitas e603edcea5 merged __sporkbomb's xclnt patch for fixing transproxy all mode
svn:r24713
2011-05-03 05:56:04 +00:00
Nathan Freitas b4b49f750e moves settings to proper Android imp of background thread
svn:r24648
2011-04-17 16:15:56 +00:00
Nathan Freitas 651377bd5f Updated UI for start/stop notifications and systems preferences
svn:r24646
2011-04-17 06:05:02 +00:00
Nathan Freitas 0c60572ef6 Improved transproxy code for background service
svn:r24645
2011-04-17 06:04:27 +00:00
Nathan Freitas a5b3bbdf77 handling settings update to stop hanging
svn:r24631
2011-04-15 16:39:22 +00:00
Nathan Freitas 2e67857785 update to service with new transproxy/iptables code
svn:r24627
2011-04-15 16:37:33 +00:00
Nathan Freitas dd3912c84f adding in iptables API wrapper class from Droidwall
svn:r24625
2011-04-15 05:57:52 +00:00
Nathan Freitas ed0be53b15 removing unused Socks client code from Orbot
svn:r24204
2011-02-09 21:11:53 +00:00
Nathan Freitas a9894b92cd adding new classes for handling on boot
svn:r23291
2010-09-23 21:03:40 +00:00
Nathan Freitas 91b9c09c32 fixes #1947 bug; adds Start on Boot option; v1.0.4-RC5
svn:r23290
2010-09-23 19:47:25 +00:00
Nathan Freitas 81f31ffde6 fixed permission issues; added green notification icon; improved root/su checking logic
svn:r23269
2010-09-21 01:26:40 +00:00
Nathan Freitas d82bd0b679 updates app version in localized strings; fixed FC/NPE issue on sublaunch from notification bar
svn:r23224
2010-09-18 12:38:15 +00:00
Nathan Freitas d357022ff9 checking in what should be 1.0.4
svn:r23223
2010-09-17 21:32:21 +00:00
Nathan Freitas 167ec2e5c8 making sure the latest updates are pushed up
svn:r23210
2010-09-17 16:52:41 +00:00
Nathan Freitas 9bf8568681 added LOG_OUTPUT_TO_DEBUG variable for compile time on/off of log output to Android stdout
svn:r23157
2010-09-09 22:09:01 +00:00
Nathan Freitas 9bedc470dd fixed TransProxy DNS port (was pointing at 9040 instead of 5400); added filter drop rules for iptables 1.4.4 and higher
svn:r23156
2010-09-09 21:47:06 +00:00
Nathan Freitas 02adc301b3 removed debuggable settings in AndroidManifest and waitfordebugger calls in service code
svn:r23155
2010-09-09 20:42:14 +00:00
Nathan Freitas 9258248a31 alpha-1.0.3 RC1: cleaned up unnecessary log output; improved iptables handling for transproxy
svn:r23154
2010-09-09 20:39:52 +00:00
Nathan Freitas c288383db1 added "check" yes/no dialog prompt; debuged iptables/transprox settings on Android 1.6 and 2.2
svn:r22901
2010-08-14 05:08:55 +00:00
Nathan Freitas 039091770e added proxy settings help screen and fixed processSettings() NPE
svn:r22852
2010-08-10 16:43:32 +00:00
Nathan Freitas e62186bf82 found and fixed major bug in per-app trans proxing - list of apps was being cached and iptables rules were not properly updated as the user changed the selection in the list
svn:r22802
2010-08-04 10:16:38 +00:00
Nathan Freitas e157ecd92a updates related to motorola milestone debugging and iptables transproxy settings
svn:r22743
2010-07-31 15:43:56 +00:00
Nathan Freitas 9acd3382de updated root perm cacheing issue and help wizard dialogs
svn:r22729
2010-07-30 20:19:13 +00:00
Nathan Freitas 9bbc210043 fix for root perms bug
svn:r22707
2010-07-29 17:03:34 +00:00
Nathan Freitas d94157e6f6 big checkin for 0.0.8-beta-280710a build with new start wizard, improved ctrlport handling, and root config
svn:r22697
2010-07-28 04:43:58 +00:00
Nathan Freitas 2832e744b2 fixed issue with force close crash on install
svn:r22685
2010-07-24 03:24:30 +00:00
Nathan Freitas a9083a3999 modified control port usage, updated startup UI screen, implemented all-app torification and more
svn:r22677
2010-07-23 11:10:00 +00:00
Nathan Freitas fd0b1375a6 fixed path for control port cookie lookup - moved from /data to /cache
svn:r22667
2010-07-19 22:39:50 +00:00
Nathan Freitas 4197b497cf multiple updates related to pending 0.0.8 including fixes for trac #1388 #1509 #1530 #1513 #1333
svn:r22666
2010-07-19 22:34:15 +00:00
Nathan Freitas fb3a202d16 fixed TorBinaryInstaller issue on Android OS 2.2/Froyo. Now looks for APK file with incremented path name -1 -2 -3 etc
svn:r22498
2010-06-09 20:14:03 +00:00
Sebastian Hahn b9e1ba8f7a Remove all @Override annotations
Some build errors related to these annotations occurred, and they're not
necessary. Remove them. Fix suggested by n8fr8.

svn:r22440
2010-05-29 07:11:29 +00:00
Jacob Appelbaum a86557941b add some stuff for transproxy
svn:r22438
2010-05-28 17:02:13 +00:00
Nathan Freitas 5bd4bb52f8 fixed primary activity bugs with displaying help resources
svn:r22300
2010-05-08 04:54:52 +00:00
Nathan Freitas f2977f8476 removed now unused NanoHTTPD and TorWebProxy classes from service package
svn:r22299
2010-05-08 04:21:45 +00:00
Nathan Freitas b68f334d7a modifications around resource string layout and alert dialogs
svn:r22298
2010-05-08 04:19:06 +00:00
Nathan Freitas 49835c6ea6 fixed a few small bugs, added new network package classes for future functionality
svn:r22005
2010-03-18 03:15:20 +00:00
Nathan Freitas f5207c36b4 fixed the way disabling of certain settings works on non-root devices
svn:r21851
2010-03-08 03:34:17 +00:00
Nathan Freitas 223a03e617 added Privoxy running confirmation; also reachableports and relay support (added by ioerror) have been double-checked
svn:r21830
2010-03-06 15:02:04 +00:00
Nathan Freitas 24f6adc201 many fixes include landscape view, invalid settings handling and cleanup of shell cmd code
svn:r21829
2010-03-06 14:56:39 +00:00
Jacob Appelbaum 33b6b2c23c remove reference to fascistFirewall
svn:r21828
2010-03-06 04:50:18 +00:00
Jacob Appelbaum 44845e2429 replacing FascistFirewalling with ReachableAddresses
svn:r21827
2010-03-06 04:46:53 +00:00
Nathan Freitas 84d5e3dcba tweaked the new settings for relays and firewalls; updated parsing script too
svn:r21826
2010-03-06 04:11:36 +00:00
Jacob Appelbaum 99cc2d75be Add FascistFirewall preference
svn:r21825
2010-03-06 02:06:00 +00:00
Jacob Appelbaum cd14cc5a19 Add an option for Relay support to Orbot!
svn:r21823
2010-03-06 01:23:36 +00:00
Jacob Appelbaum e832cdcc67 Add PREF_OR_NICKNAME
svn:r21822
2010-03-06 01:08:10 +00:00
Jacob Appelbaum a4a1b1ce7d PREF_OR rather than PREF_RELAY
svn:r21819
2010-03-06 00:45:57 +00:00
Jacob Appelbaum 66668bb9b8 Add prefs for relay and fascist firewalling
Adds the following prefs:
    PREF_RELAY (default false)
    PREF_RELAY_PORT (default 9001)
    PREF_FASCIST_FIREWALL (default false)
    PREF_FASCIST_FIREWALL_PORTS (default 80,443)


svn:r21818
2010-03-06 00:44:56 +00:00
Jacob Appelbaum a15509f192 Update strings to reflect proper urls, better phrasing
svn:r21817
2010-03-06 00:01:59 +00:00
Nathan Freitas 09fd0ef66d improved activate button responsive to be more instant
svn:r21778
2010-03-01 06:15:35 +00:00
Nathan Freitas 5db43960a5 removed home, browse menu options; added beter non-root operation
svn:r21776
2010-03-01 05:52:44 +00:00
Nathan Freitas 11dafc0654 added transproxy app chooser view
svn:r21761
2010-02-27 23:56:46 +00:00
Nathan Freitas 628270ace0 added check for trans proxy preference
svn:r21749
2010-02-24 05:09:24 +00:00
Nathan Freitas 6e6dc3e20e added transparent proxying of port 443 via Tor TransPort and modifed browse check to https://check.torproject.org
svn:r21604
2010-02-10 06:54:13 +00:00
Nathan Freitas 549d4b1247 migrating Orbot codebase from old repo and updating to 0.0.3a
svn:r21593
2010-02-08 20:39:42 +00:00
Nathan Freitas d116e22223 fixing sh*t I broke due to strange Android build process (re-adding src files)
svn:r21068
2009-11-30 16:50:26 +00:00
Nathan Freitas 0e9da497bc removed duplicated java files from /bin directory
svn:r21067
2009-11-30 16:40:32 +00:00
Nathan Freitas 1b7b5799eb 0.0.2a update; improved Service mgmt; Control Port callbacks; better UI graphics; Help page
svn:r21065
2009-11-30 16:39:13 +00:00
Nathan Freitas 084d69fb40 Orbot 0.0.2: major UI improvements w/ editable settings and more
svn:r21042
2009-11-28 15:41:28 +00:00
Nathan Freitas 36e9d1b956 Removed the futuristic copyright notice
svn:r20812
2009-10-21 23:33:48 +00:00
Nathan Freitas 3d0dc69f9f First check-in of Orbot: the Onion Routing Robot (aka Tor on Android)
svn:r20811
2009-10-21 23:17:45 +00:00