Commit Graph

228 Commits

Author SHA1 Message Date
Nathan Freitas af51290aa9 add support for updating Polipo config 2014-06-13 13:51:28 -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 dee0d19fe7 improve logic for updating torrc files (not so often) 2014-06-11 22:04:41 -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 c2be4ac15b ensure polipo conf is updated; default to 9051 for ctrl port 2014-06-11 11:26:30 -04:00
Nathan Freitas aa8ff95e29 ensure readers are closed; ensure socks settings are applied 2014-06-11 08:08:11 -04:00
Nathan Freitas b4fa943fe9 improve process id finding using android 'toolbox' 2014-06-11 07:51:22 -04:00
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 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 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 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 d6f5720f27 remove synchronized - not needed, and causing blocking 2014-06-04 23:52:28 -04:00
Nathan Freitas fd47e70f44 fix control port connections with socket timeouts 2014-06-04 23:24: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 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 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 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 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 2996fb2078 ensure ipv6 packets are dropped and shell cmds exit 2014-04-17 10:16:03 -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 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 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