Commit Graph

229 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
M66B 09a984ac95 Native DNSv6 blocking 2016-01-25 15:21:21 +01:00
M66B 0582fad911 Native use system DNS
Fixes #246
2016-01-25 13:58:44 +01:00
M66B 066d18a7d1 Native UDPv6 2016-01-25 13:28:52 +01:00
M66B cf1263c309 Native allow unknown uids from Java 2016-01-25 09:44:17 +01:00
M66B d96e9ec3d4 Native PCAP init once 2016-01-25 09:37:58 +01:00
M66B 7e3fe28d9e Native fixed bad file descriptor 2016-01-25 09:27:12 +01:00
M66B 6db622a802 Native DNS blocked respond with no such name 2016-01-24 23:33:47 +01:00
M66B ce1915992d Native allow connections for unknown uids 2016-01-24 23:05:53 +01:00
M66B d816611618 Native UDPv6 (untested), attempt to fix PCAP 2016-01-24 22:46:25 +01:00
M66B af1f256664 Native fixed crash on no connection
Fixes #250
2016-01-24 16:03:46 +01:00
M66B d693af8928 Native fixed DNS reply, IPv6 preparations 2016-01-24 15:39:56 +01:00
M66B c8aee09a93 Native fixed/simplified DNS compression 2016-01-24 14:54:38 +01:00
M66B 2ca17cd4a7 Native fixed crash recently introduced 2016-01-24 14:10:02 +01:00
M66B 495dc5c2a7 Native prevent too many open files 2016-01-24 13:39:04 +01:00
M66B 7e5141ca6e Native report exit reason, refactoring 2016-01-24 12:50:40 +01:00
M66B 1e75535836 Native quick restart, allow root, terminate not allowed session on start 2016-01-24 07:47:32 +01:00
M66B 47be2c367e Added option to enable/disable domain blocking
Thanks @rgarza

Fixes #241
Closes #245
2016-01-23 21:30:54 +01:00
M66B db71907dff Native fixed warnings 2016-01-23 20:46:39 +01:00
M66B 705811f01f Native DNS domain blocking 2016-01-23 16:08:21 +01:00
M66B 0b03b6c443 Native ad blocking concept 2016-01-23 12:48:17 +01:00
M66B 4d932657a0 Native DNS request decompression 2016-01-23 10:57:20 +01:00
M66B 26852ebfc3 Native DNS request decode 2016-01-23 10:13:11 +01:00
M66B bc8150700a Added address to line script 2016-01-22 21:07:39 +01:00
M66B f5564607a1 Native fixed UDP broadcast 2016-01-22 20:59:11 +01:00
M66B 1bdb7b86cb Native TCP push 2016-01-22 19:24:54 +01:00
M66B 69c5b7b2a0 Native TCP window 2016-01-22 19:03:32 +01:00
M66B 5a82c0aa6a Native optimize memory usage 2016-01-22 17:00:50 +01:00
M66B 7b9019e68f Native optimized JNI to Java calls 2016-01-22 16:41:27 +01:00
M66B c7557ff2fa Native refactoring, improvements 2016-01-22 16:15:13 +01:00
M66B a8da87fa9a Native better pcap file handling 2016-01-22 13:09:36 +01:00
M66B 87ee3417c2 Native improved stop logic 2016-01-22 10:43:59 +01:00
M66B 33845fd733 Native added source to traffic logging, added switch to enable host name resolving 2016-01-22 10:37:57 +01:00
M66B ee78684869 Native fixed traffic log time 2016-01-21 17:41:26 +01:00
M66B 064f4922fe Native log errors, better UDP handling 2016-01-21 17:28:47 +01:00
M66B 70cf8a6077 Native closed session reset 2016-01-21 15:16:45 +01:00
M66B 599ab57944 Native UDP state 2016-01-21 13:43:41 +01:00
M66B dea49b16ab Native refactoring 2016-01-21 13:21:13 +01:00
M66B c3f0aac602 Native report select exit to Java 2016-01-21 13:18:30 +01:00
M66B 2d8ae4735d Native cleanup 2016-01-21 12:36:28 +01:00
M66B 29ed10ba7d Native simplify logging 2016-01-21 12:34:31 +01:00
M66B 568a8b72bc Native added TCP close state 2016-01-21 12:04:41 +01:00
M66B f64298769e Native TCP received refactoring, improvements 2016-01-21 10:37:24 +01:00
M66B ad0445676c Native FIN+ACK on local close 2016-01-20 20:25:33 +01:00
M66B 3b1e5446d5 Native TCP fixes 2016-01-20 19:30:27 +01:00
M66B f699e497ec Native fixed reset sequence 2016-01-20 16:59:01 +01:00
M66B ac30913034 Native log downstream UDP, refactoring, cleanup 2016-01-20 16:52:38 +01:00
M66B af917422c9 Native fixed logging of other than TCP 2016-01-20 15:25:09 +01:00
M66B 1b55e3557d Native UDP 2016-01-20 14:16:21 +01:00
M66B 8c55f53e85 Native socket activity 2016-01-20 12:40:26 +01:00
M66B 517d79b78e Native refactoring 2016-01-20 12:35:51 +01:00