Nathan Freitas
611558218d
onResume() must finish before we call some APIs
2014-11-24 13:11:14 -05:00
Nathan Freitas
cf21809052
improves in start/stop logic for background service
2014-11-17 23:28:33 -05:00
Nathan Freitas
e389d007c3
remove unneeded imports
2014-11-17 16:06:37 -05:00
Nathan Freitas
a7f458758f
version build to ensure nonPIE binaries are installed
2014-11-17 14:10:33 -05:00
Nathan Freitas
f180f13d80
add support for other onboot events, including external storage mount
...
also version up to ensure install for PIE fix
2014-11-17 14:10:12 -05:00
Nathan Freitas
dbd4efe86b
set values for nonPIE build
2014-11-17 11:59:49 -05:00
Nathan Freitas
5917e63693
updates for Android L and PIE binary support
2014-11-13 13:42:14 -05:00
Nathan Freitas
3ef94e009c
more fixes for VPN but not quite ready yet
2014-11-13 13:40:50 -05:00
Nathan Freitas
97ca6fbd05
set MTU back to 1500 default
2014-10-28 01:05:53 -04:00
Nathan Freitas
1b44dcbbe0
remove unused routes
2014-10-25 08:47:18 -04:00
Nathan Freitas
a964bef825
moves VPN service to background Service so it doesn't die
...
(and other important fixes)
2014-10-24 15:44:17 -04: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
f9e340b465
goodbye AIDL file... no longer using bound services
2014-10-24 01:14:39 -04:00
Nathan Freitas
c9bb1c2890
remove bind service and use localbroadcast instead
...
this should fix problems with the service being killed on unbind
2014-10-24 01:14:02 -04:00
Nathan Freitas
e45991899a
first commit of new OrbotVPN integration into Orbot
2014-10-21 12:30:13 -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
a64e6b164f
update Orbot about dialog display to show tor version
2014-09-14 16:19:04 -04:00
Nathan Freitas
ef98429068
update tor binary constant to force on device upgrade
2014-09-14 16:11:53 -04:00
Nathan Freitas
08317a94d7
fixes for transproxy/iptables rules
...
- not all rules were not being cleared in flush
- per-app transproxy now still transproxies DNS for full device (not all DNS is done under the app UID)
- root shell now created only once and shared across calls
2014-09-14 16:07:18 -04:00
Nathan Freitas
b35a239e44
ensure all iptables rules are always wiped
...
and reapply rules settings if modifed after settings menu accessed
2014-09-07 09:34:48 -04:00
Nathan Freitas
313c92f863
add warning about restarting Orbot after settings changes
2014-09-06 01:02:38 -04:00
Nathan Freitas
8ee5e9e0fb
more tuning of Tor service startup and status checking
2014-09-06 00:46:57 -04:00
Nathan Freitas
9c4c3496f1
fix for reconnecting to exiting Tor process after service restart
2014-09-03 22:45:31 -04:00
Jordan
1229da66cb
Merge branch 'master' of https://git.torproject.org/orbot
2014-09-01 19:27:17 -07:00
Nathan Freitas
a0b32ba068
don't manually call onDestroy, just call finish()
2014-08-29 00:16:31 -04:00
Nathan Freitas
b8912adbfb
improve error handling of tor startup sequence
...
don't use executor thread pool for time critical commands
2014-08-28 23:23:55 -04:00
Nathan Freitas
c98509d8e6
remove duplicate service start/bind code in onResume()
...
also disable startup button if service is null
2014-08-28 23:22:45 -04:00
Nathan Freitas
6e6546972a
ensure settings are updated and binary paths are on service restart
2014-08-26 23:01:46 -04:00
Nathan Freitas
af433d37ba
remove unused variables/patterns
2014-08-26 22:43:58 -04:00
Nathan Freitas
dafd295b97
simplify process reconnect and transproxy setup
...
- on reconnect to service, don't require call to getInfo before STATUS_ON is set
- transproxy should always delete/flush before adding in order to make sure old rules are cleared
2014-08-26 22:41:20 -04:00
Nathan Freitas
390b89ed57
remove debug file logging for now until we can improve it
2014-08-22 11:10:47 -04:00
Nathan Freitas
e53e03a727
tuning Orbot app conflict checker code
2014-08-22 11:09:11 -04:00
Nathan Freitas
eaccf77116
don't call handle intents twice!
2014-08-21 10:10:14 -04:00
Nathan Freitas
c78a8225d6
add transproxy flush option to settings
2014-08-21 09:47:33 -04:00
Nathan Freitas
68495c3118
make delete iptables rules process match add for specific behavior
...
no more drop all output tables, etc
2014-08-21 09:47:01 -04:00
Nathan Freitas
25bc4c0a6f
add new flush transproxy interface method
2014-08-21 09:46:36 -04:00
Nathan Freitas
79a32e69c8
make sure control connection is not null on rebind
...
- also tune app conflict checker code for Samsung Link
2014-08-21 09:46:00 -04:00
Nathan Freitas
b307d510f8
make default SOCKs port auto, and THEN try to set specified port
...
- also remove exit IP lookup loop bad code
2014-08-21 09:45:13 -04:00
Nathan Freitas
8df98f5618
update to latest jtorctl with patches for thread, error handling
2014-08-14 14:35:57 -07:00
Jordan
f3a9cbd84c
User has full control over app management. BUG: Button size will render text with incorrect line breaks on devices with small screens. BUG: interface is slow to respond, but is due to the app interfacing with shared preferences.
2014-08-14 14:01:38 -07:00
Jordan
67555d1ed4
User can "Proxy all" or "Proxy none" apps in AppManager. TODO: fix invert button. It currently just selects none.
2014-08-14 13:15:17 -07:00
Jordan
59b333984d
Add buttons to filter application selection.
2014-08-13 17:23:33 -07:00
Nathan Freitas
3698e46105
create new thread for connecting to existing process
...
don't rely on executor yet, as we need it to happen fast
2014-08-12 02:04:10 -04:00
Nathan Freitas
ea37b44fa3
create new thread to just for existing process
...
dont' rely on executor there yet
2014-08-12 02:03:43 -04:00
Nathan Freitas
3a82421b63
no need for asynctask - just grab the status directly
2014-08-12 02:03:22 -04:00
Nathan Freitas
e2f4f5f1f2
don't make these final, because the user might change them
2014-08-12 02:02:48 -04:00
Nathan Freitas
05dd3317f1
update to latest jtorctl with patches for thread, error handling
2014-08-11 16:05:08 -04:00
Nathan Freitas
ade6172145
enable transproxy refresh feature, default off
2014-08-11 11:18:46 -04:00
Nathan Freitas
0d424797a2
make expanded notif off by default; handle exceptions better
...
- some devices seem to not like these new expanded/remoteviews notifications, so we are turning them off by default. This will also help with load issues on onionoo servers
2014-08-11 10:10:18 -04:00
Nathan Freitas
11d3f59543
reduce the onionoo lookup to just the required fields
2014-08-07 15:54:12 -04:00
Nathan Freitas
3e58ee9b75
multiple fixes for status check and new transproxy calls
...
- update to the new transproxy selective calls
- improve status resume/check code
2014-08-07 15:34:16 -04:00
Nathan Freitas
6955c44e36
selectively disable/enable transproxy rules
2014-08-07 15:33:57 -04:00
Nathan Freitas
ac6cdb70ba
enable app conflict checker for samsung users
2014-08-07 12:42:49 -04:00
Nathan Freitas
1801ec179f
don't stop Tor when service is destroyed()
2014-08-07 12:11:53 -04:00
Nathan Freitas
888b7cddaa
update version to latest OpenSSL 1.0.1i
2014-08-07 11:55:27 -04:00
Nathan Freitas
c517d0fcee
Notification fix and change in finding existing process
...
- Only build expanded notification on supported platforms
- If service is re-created() try to find existing process then, and don't wait for bind() from client
2014-08-07 11:54:31 -04:00
Nathan Freitas
03b39eae7a
make sure to clean up ps process/shell
2014-08-05 06:14:27 -04:00
Nathan Freitas
e3385ab137
fixes for Tor processs tracking, control port, and start/stop
2014-08-03 14:39:01 -04:00
Nathan Freitas
803620957a
fixes for transparent proxy tethering
2014-08-02 01:15:01 -04:00
Nathan Freitas
31cf9816fb
Address issues related to onionoo relay/node info lookup
...
-Ensure streams, files are closed
-Add timeout values to socket, streams
-Change torrc CircuitStreamTimeout to 120
2014-08-02 00:57:18 -04:00
Nathan Freitas
7ff49ff193
update Tor binary version number
2014-07-28 21:39:12 -04:00
Nathan Freitas
cbf4e99d32
handle CONNECTING state properly
2014-07-19 20:39:55 -04:00
Nathan Freitas
6ed7ab0d6d
onBoot perm should default to true
2014-07-19 20:39:42 -04:00
Nathan Freitas
29a06410a5
make sure start on boot works properly
2014-07-17 13:42:59 -04:00
Nathan Freitas
54a39f2046
only show notifications if we have data
2014-07-16 17:07:08 -04:00
Nathan Freitas
9d541d8aad
added mobile martus to rec'd apps
2014-07-16 17:06:50 -04:00
Nathan Freitas
4d6c32a6a2
support dynamic SOCKS ip in polipo configuration
2014-07-15 16:10:24 -04:00
Nathan Freitas
c4cf845650
handle NPE in case service disconnects
2014-07-14 13:16:19 -04:00
Nathan Freitas
e1ec776cb8
re-arch status callbacks and improve notification
2014-07-14 09:19:30 -04:00
Nathan Freitas
f2f076c29c
fixes for layout and notification data
...
be sure to only get the IP of the last hop (that is the exit)
2014-07-10 12:34:31 -04:00
Nathan Freitas
a6da4bf530
small cleanup of asynctask and error handling
2014-07-10 11:23:49 -04:00
Nathan Freitas
3bc8760beb
Merge branch 'new_notification_expanded' of github.com:amoghbl1/orbot-1 into amoghbl1-new_notification_expanded
2014-07-10 11:05:59 -04:00
Nathan Freitas
8a934c9cab
don't close socket, and use HALT for shutdown
2014-07-10 11:04:21 -04:00
Nathan Freitas
f9b38e6379
if service is null, please start it
2014-07-10 11:04:11 -04:00
Nathan Freitas
70615d669b
fixes for status, service, binding and start/stop
2014-06-30 15:45:14 -04:00
Nathan Freitas
10ceafad3b
ensure status is not set to CONNECTING incorrectly
2014-06-27 13:02:55 -04:00
Nathan Freitas
7f8e9b80be
remove test/diag option
2014-06-27 13:02:41 -04:00
Nathan Freitas
e13d228dfc
fix bug with wrong apps being transproxied (typo!)
2014-06-27 13:02:21 -04:00
Nathan Freitas
312c6da2c7
apps should only show those with internet permission
2014-06-27 13:01:48 -04:00
Nathan Freitas
bb0b7e8fe2
unbind the service when the activity is destroyed
...
we don't want leaky services
2014-06-24 10:06:26 -04:00
Nathan Freitas
247e2ed86d
don't kill Tor process and make sure service is sticky
2014-06-24 10:06:11 -04:00
amoghbl1
367002bf3d
matcher null pointer fix
2014-06-20 02:20:13 +05:30
amoghbl1
ff8bf0bddf
moved ip lookup into asynctask and also added some extra checking before the external ip is updated
2014-06-20 02:15:13 +05:30
amoghbl1
43eac85644
fixed merge conflicts
2014-06-20 02:01:17 +05:30
Nathan Freitas
298a01e519
make sure transproxy is renabled when network returns
2014-06-19 10:30:02 -04:00
amoghbl1
133922f7b4
updated the expanded notification ui, calls for getting exit ip implemented, exit ip added temporarily in the title of the notification till the final ui is ready. Regex to match ip address on getting response from the exit node written.
2014-06-18 06:02:23 +05:30
Nathan Freitas
2eb79a5185
fulfilles the wishes of #12413 by support --default-torrc and -f
2014-06-17 16:32:49 -04:00
Nathan Freitas
b6715b4d3c
fixes #12411 and #12412 enables DNS and transport by default
...
with new Orbot settings to enable user to easily change/disable
2014-06-17 15:42:54 -04:00
Nathan Freitas
01299768e3
improve ability to do a full clean stop of all services
2014-06-13 13:51:51 -04:00
Nathan Freitas
af51290aa9
add support for updating Polipo config
2014-06-13 13:51:28 -04:00
Nathan Freitas
156ed574e8
clean up unbind process and service shutdown
2014-06-13 13:50:55 -04:00
Nathan Freitas
8a59cfb6d2
use canonical paths to ensure shell commands are correct
...
also cleanup torrc updating
2014-06-13 13:00:42 -04:00
Nathan Freitas
f3d21eec4f
improve resource installer ability to update torrc
2014-06-13 12:59:36 -04:00
Nathan Freitas
c0f7d754dd
use one prefs instance
2014-06-13 12:59:02 -04:00
Nathan Freitas
dee0d19fe7
improve logic for updating torrc files (not so often)
2014-06-11 22:04:41 -04:00
Nathan Freitas
44648f16c3
clean up bind/unbind and handleIntent wizard logic
2014-06-11 22:04:15 -04:00
Nathan Freitas
917ec8d7a0
update torrc and torrcdiag when you need to
2014-06-11 22:03:57 -04:00
Nathan Freitas
f91a35bbac
update tor binary constants to force upgrade
2014-06-11 22:03:30 -04:00
Nathan Freitas
42e069800a
don't stop tor when service onStartCommand() is called again
2014-06-11 20:24:32 -04:00
Nathan Freitas
fc6392932f
ensure diag/test mode stop's Tor on activity exit
2014-06-11 20:24:21 -04:00