Commit Graph

179 Commits

Author SHA1 Message Date
M66B 40b8dcc5bd Native fixed warnings 2016-02-03 18:32:25 +01:00
M66B 14fa20dfda Revert "Native experiment: route DNS traffic into dnscrypt-proxy"
This reverts commit 0d61d804d8.
2016-02-03 18:25:49 +01:00
M66B abc16d3bef Revert "Native disabled DNS experiment"
This reverts commit be3dbe50dc.
2016-02-03 18:25:40 +01:00
M66B be3dbe50dc Native disabled DNS experiment
Refs #272
2016-02-03 15:53:28 +01:00
M66B 0d61d804d8 Native experiment: route DNS traffic into dnscrypt-proxy
Setup:

- download dnscrypt-proxy compiled for Android from https://dnscrypt.org/
- copy the following files to /system/xbin using recovery:

-rwxr-xr-x root     root       224320 2016-02-03 14:44 dnscrypt-proxy
-rwxr-xr-x root     root       130432 2016-02-03 14:40 hostip
-rwxr-xr-x root     root       268196 2016-02-03 14:40 libsodium.so

- make these files executable (chmod 755)
- copy dnscrypt-resolvers.csv to /sdcard//Download/dnscrypt/
- run this script from the shell:

export LD_LIBRARY_PATH="/system/xbin"
dnscrypt-proxy -a127.0.0.1:5353 --loglevel=7 --resolver-name="dnscrypt.org-fr" --resolvers-list=/sdcard//Download/dnscrypt/dnscrypt-resolvers.csv

- make sure you set an IPv4 DNS server in NetGuard
- note that Android caches DNS responses for 10 minutes
- profit!

Refs #272
2016-02-03 15:47:45 +01:00
M66B df32990789 IP6 multicast support (untested) 2016-02-03 08:47:10 +01:00
M66B 1b7e0966e7 Correct maximum messages sizes 2016-02-03 08:46:46 +01:00
M66B c35f44a93e Log number of sessions 2016-02-02 18:15:20 +01:00
M66B b669864845 Workaround bug in phread_kill on SDK < 16
Refs #243
2016-02-02 18:02:45 +01:00
M66B d88b1f39e5 Better lifecycle logging and potential fix for stop hang
Refs #243
2016-02-02 16:13:33 +01:00
M66B b724a5c61a Crowdin sync 2016-02-02 15:11:09 +01:00
M66B ff4beabac7 native ICMP
Fixes #252
2016-02-02 14:54:07 +01:00
M66B 959d610a2e Fixed <Android 5.0 compatibility
Refs #243
2016-02-01 13:32:18 +01:00
M66B 931dd8006d Added notes 2016-01-31 19:52:31 +01:00
M66B 31403f73bc Improved PCAP file init
Refs #259
2016-01-31 18:46:44 +01:00
M66B 33c84c6f90 Fixed lint warnings 2016-01-31 16:43:32 +01:00
M66B 46fd086337 Block/allow hosts UI 2016-01-30 16:45:43 +01:00
M66B ee8acf11e7 Native reduce logging 2016-01-30 13:03:29 +01:00
M66B b2e7c69af7 DNS resolving 2016-01-30 10:59:19 +01:00
M66B 55042bedd3 Send resource records to Java 2016-01-30 09:51:41 +01:00
M66B 1d2a6baaa1 Native get name by IP PoC 2016-01-29 20:30:52 +01:00
M66B 291c309a70 Native parse DNS response 2016-01-29 19:10:23 +01:00
M66B d99bd709a0 Native DNS compression, fixed warnings 2016-01-29 07:59:35 +01:00
M66B b0319263f8 Native improved profiling 2016-01-28 18:39:13 +01:00
M66B 9968185ab0 Native cache method and field IDs 2016-01-28 18:21:57 +01:00
M66B 0844c57644 Native cleanup 2016-01-28 15:19:58 +01:00
M66B 462c2c9b4b Native log fixes & improvements 2016-01-28 14:30:05 +01:00
M66B 1783363e61 Native reduce UDP logging 2016-01-28 12:35:44 +01:00
M66B cb913954ce Native fixed log level 2016-01-28 12:28:08 +01:00
M66B 3ba50ba0ff Fixed thread ID 2016-01-28 12:18:13 +01:00
M66B e16c4c4af2 Native rewrite address/domain check 2016-01-28 11:58:39 +01:00
M66B 3801d79448 Native cleanup 2016-01-28 08:20:15 +01:00
M66B 9b933ecb0e Native improved log logic 2016-01-27 13:50:58 +01:00
M66B 2a6feef49f Show blocked/allowed IPs per application 2016-01-27 11:59:16 +01:00
M66B 28cafaa21d Native reduce traffic log in user mode 2016-01-26 21:58:30 +01:00
M66B 8c624fe0c0 Native cleanup 2016-01-26 20:52:38 +01:00
M66B c6658c8531 Native non blocking socket IO
tun is left in blocking mode, since there would be no gain in non blocking mode
2016-01-26 20:43:07 +01:00
M66B 5e09b78593 Native return DNS NXDOMAIN instead of local host 2016-01-26 19:05:39 +01:00
M66B 2e78edc183 Native fixes 2016-01-26 18:54:18 +01:00
M66B cbaad1047a Native bail on DNS compression, remarks 2016-01-26 18:41:19 +01:00
M66B 60e3fca0a4 Native DHCP
Unfortunately this does not solve tethering nor is it needed for tethering,
but lets leave it there for when we need it in the future.
2016-01-26 17:39:41 +01:00
M66B ef0231f560 Native recognize ICMPv6 2016-01-26 15:07:26 +01:00
M66B 8d9ecd010b Native IPv6 extension headers, refactoring, log fixes 2016-01-26 15:00:54 +01:00
M66B f061cb8f42 Native log extra data (currently qnames only) 2016-01-26 11:41:18 +01:00
M66B eef1540a5a Revert "Native ICMP proof of concept"
This reverts commit 84c10f803e.
2016-01-26 09:02:44 +01:00
M66B 84c10f803e Native ICMP proof of concept 2016-01-26 09:02:07 +01:00
M66B e2b14108fb Native lock tun I/O 2016-01-26 08:05:42 +01:00
M66B 0ab9849552 Added debug setting 2016-01-26 08:03:59 +01:00
M66B dc968e449f Native fixed locking 2016-01-25 19:23:41 +01:00
M66B 6b7ecedffe Native TCPv6 2016-01-25 18:57:05 +01:00