Nathan Freitas
6a7c593353
a little bit of code re-org and new package for wizard
2015-03-28 00:39:58 -04:00
Nathan Freitas
e30c78bd05
remove jsocks from main code and move to external/jsocks
2015-03-28 00:18:28 -04:00
Nathan Freitas
2d5ee42894
calling stop() makes tun2socks crash since VPN is still enabled
2015-03-19 10:28:49 -04:00
Nathan Freitas
cae2c7c157
don't add new task flag - will start on boot automatically
2015-03-19 10:28:37 -04:00
Nathan Freitas
33acf24757
use LOLLIPOP constant instead of L
2015-03-19 09:14:02 -04:00
Nathan Freitas
5e8272dcc8
revert to old logic for opening/showing browser
2015-03-18 22:00:27 -04:00
Nathan Freitas
6d05e27793
Improve Bridge and VPN support, working in tandem
...
You can use Bridges with VPN "App Mode" proxying
On Pre-Lollipop this uses a local loop back SOCKS server to flag outbound sockets as not for the VPN network
On Lollipop+ this uses the "disallow app" feature to set anything in the Orbot process to not be sent through the VPN
2015-03-17 13:04:20 -04:00
Nathan Freitas
3e2b8cff1e
remove proxy prefs, parse bridge URLs, and format strings!
...
- shouldn't set proxy prefs for Orweb as it conflicts with Orbot's own pref keys
- improve parsing of incoming bridge URLs, as they may not have protocol component in URI
- format strings of up/down values better
2015-03-17 13:03:16 -04:00
Nathan Freitas
b278b66b62
switch obfsclient to obfs4 proxy
...
includes supporting SOCKS outbound proxy for VPN mode
2015-03-09 15:53:02 -04:00
Nathan Freitas
fb9a6c9994
support for sharing/display bridge config as QR code
...
this is needed for sharing of bridge data between people in the
same physical space, or by easily sharing it through chat or other
private messaging system
2015-02-23 13:00:46 -05:00
Nathan Freitas
068cd05836
more bridge and proxy configuration clean up
2015-02-23 12:30:13 -05:00
Nathan Freitas
f2490d9032
handle all exceptions in socks proxy
2015-02-23 12:29:55 -05:00
Nathan Freitas
dd09c6b19a
tuning boot code to work with VPN
2015-02-23 12:29:36 -05:00
Nathan Freitas
b2ec768d8d
more work to get bridge VPN mode to work
2015-02-23 12:29:21 -05:00
Nathan Freitas
31053adf67
add support for scanning QR codes for bridges
2015-02-23 12:27:49 -05:00
Nathan Freitas
a6245037b4
remove unneeded wizard classes
2015-02-15 01:22:38 -05:00
Nathan Freitas
9c77526f22
move HTTP VPN bypass proxy to 9998
2015-02-14 02:30:14 -05:00
Nathan Freitas
a1ba41ce0b
add a bridge toggle button
2015-02-14 02:30:02 -05:00
Nathan Freitas
096eae705b
implementing http server for meek-client VPN bypass
2015-02-14 01:54:56 -05:00
Nathan Freitas
bff6d0f567
add support for meek PT
2015-02-14 00:44:09 -05:00
Nathan Freitas
1e5651eec3
improve VPN clean-up code
2015-02-14 00:44:02 -05:00
Nathan Freitas
a2662c325d
improve VPN activation
2015-02-14 00:43:36 -05:00
Nathan Freitas
b1294f6d60
improve start on boot
2015-02-14 00:43:13 -05:00
Nathan Freitas
431dff53a4
remove integrated pluto code
2015-02-05 10:53:21 -05:00
Nathan Freitas
c220ec9183
re-enable DNS settings after you start Tor
2015-02-04 22:02:32 -05:00
Nathan Freitas
9b4ef18b13
fix NPE for when mHandler is null
2015-02-04 16:28:40 -05:00
Nathan Freitas
7f42265158
launch the internal or system browser depending upon VPN mode
2015-02-04 16:07:45 -05:00
Nathan Freitas
1852cde041
enable local DNS listen on 10.0.0.1 for VPN service
...
also add support for stopping VPNBuilder instance
2015-02-04 14:55:57 -05:00
Nathan Freitas
ec4350ee40
update VPN to toggle button
2015-02-04 14:55:42 -05:00
Nathan Freitas
9467d7db27
clean VPN proxy settings before startup
2015-02-04 12:36:42 -05:00
Nathan Freitas
5cb6cb930d
add back in log output temporarily in sidebar
2015-02-04 12:36:24 -05:00
Nathan Freitas
08c220f88e
clean up VPNBuilder setup code
2015-02-04 11:55:36 -05:00
Nathan Freitas
91a72ef5d1
add in basic debug output
2015-02-04 11:55:23 -05:00
Nathan Freitas
fb3e27bdcf
more clean-up of VPN service code
2015-02-02 16:21:04 -05:00
Nathan Freitas
5131c62c3e
add toolbar and drawer handlers back in
2015-02-02 16:20:46 -05:00
Nathan Freitas
4c49822861
clarify vpnprotect code and add basic debug log
2015-02-02 16:20:26 -05:00
Nathan Freitas
ede4128777
remove unused
2015-02-02 16:20:09 -05:00
Nathan Freitas
d63d10d8ae
massive cleanup of merged code from Ony fork
...
removal/comment out of LoggerFactory log system
2015-02-02 14:01:08 -05:00
Nathan Freitas
5c80572264
Merge branch 'master' of https://github.com/SuppSandroB/Ony into ony-dev
...
Conflicts:
AndroidManifest.xml
jni/Android.mk
res/menu/main.xml
src/org/torproject/android/OrbotMainActivity.java
src/org/torproject/android/service/TorService.java
src/org/torproject/android/ui/TipsAndTricks.java
src/org/torproject/android/vpn/OrbotVpnService.java
src/org/torproject/android/wizard/ConfigureTransProxy.java
src/org/torproject/android/wizard/Permissions.java
2015-02-02 13:42:56 -05:00
Nathan Freitas
7c303f1589
refactoring into cleaner packages
2015-02-02 11:04:32 -05:00
Nathan Freitas
c1fe536aeb
add button handle logic
2015-02-01 23:36:19 -05:00
Nathan Freitas
6a83a0d2f6
update project and layout for v15 merged browser + VPN
2015-02-01 12:49:10 -05:00
SandroB
1472b4e35d
some missing files added to git repo
2015-01-25 11:42:15 +01:00
SandroB
21b75b4c56
vpn changes
2015-01-20 15:47:24 +01:00
Nathan Freitas
09bdd8fd29
renable the network state receiver code
2014-12-03 09:36:35 -05:00
Nathan Freitas
6feb32cfa9
re-enable network receiver
2014-12-01 11:03:56 -05:00
Nathan Freitas
ad7d92fb4a
clean-up / remove un-used code
2014-11-29 00:43:01 -05:00
Nathan Freitas
2d6c26a999
show exit node info in log
2014-11-29 00:42:51 -05:00
Nathan Freitas
ec9204a5f3
clean-up of code to make service more long-lived and stable
2014-11-28 23:54:04 -05:00
Nathan Freitas
695b5c32f1
removing jsocks proxy code (for VPN not needed anymore)
2014-11-28 23:53:19 -05:00
Nathan Freitas
1e0f640a20
adding dummyactivity to stop task/broadcast from killing foreground service
2014-11-24 23:12:53 -05:00
Nathan Freitas
87d5ac9c44
changes to improve longevity of background service/Tor process
2014-11-24 13:11:38 -05:00
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