Commit Graph

123 Commits

Author SHA1 Message Date
M66B 8b641422b5 Native properly compare sequence numbers 2016-02-05 16:30:18 +01:00
M66B 40985f9d93 Native attempt to received larger tun messages 2016-02-05 15:57:33 +01:00
M66B 30f6a516e9 Native simplified logging 2016-02-05 13:52:11 +01:00
M66B e9e48115b6 Native buffer data to forward 2016-02-05 11:20:47 +01:00
M66B be00ef48c0 Better handle blocked UDP traffic 2016-02-04 10:09:31 +01:00
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 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 1b7e0966e7 Correct maximum messages sizes 2016-02-03 08:46:46 +01:00
M66B 87da34c19d Increase ICMP timeout 2016-02-03 07:42:06 +01:00
M66B c35f44a93e Log number of sessions 2016-02-02 18:15:20 +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 33c84c6f90 Fixed lint warnings 2016-01-31 16:43:32 +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 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 e16c4c4af2 Native rewrite address/domain check 2016-01-28 11:58:39 +01:00
M66B 2a6feef49f Show blocked/allowed IPs per application 2016-01-27 11:59:16 +01:00
M66B 2e78edc183 Native fixes 2016-01-26 18:54:18 +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 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 c74455c4b6 Native DNS TTL match default Android cache time 2016-01-25 20:25:40 +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 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 d816611618 Native UDPv6 (untested), attempt to fix PCAP 2016-01-24 22:46:25 +01:00
M66B d693af8928 Native fixed DNS reply, IPv6 preparations 2016-01-24 15:39:56 +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 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 26852ebfc3 Native DNS request decode 2016-01-23 10:13:11 +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 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 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 7a89db8fb8 Native refactoring 2016-01-21 13:46:57 +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 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 ac30913034 Native log downstream UDP, refactoring, cleanup 2016-01-20 16:52:38 +01:00
M66B 1b55e3557d Native UDP 2016-01-20 14:16:21 +01:00
M66B 517d79b78e Native refactoring 2016-01-20 12:35:51 +01:00
M66B 17772a9c45 Native delay get uid, reduce logging 2016-01-20 10:27:18 +01:00
M66B 28a6f1d935 Native data of previous ack is still data 2016-01-20 10:07:09 +01:00
M66B 563b1e027b Native UDP handling setup 2016-01-20 09:24:34 +01:00
M66B 1d294dba2d Native fixed port number logging 2016-01-19 21:16:54 +01:00
M66B 65a26a7bc1 Native filtering integration 2016-01-19 20:58:51 +01:00
M66B 05c01f08e0 Moved PCAP to log view, added setting to enable filtering 2016-01-19 17:54:07 +01:00
M66B 5f79b291e5 Native refactoring 2016-01-19 15:18:42 +01:00
M66B f20443e5ef Native fixed getting uid 2016-01-19 09:51:04 +01:00
M66B dd7040eae2 Native refactoring 2016-01-18 21:47:48 +01:00
M66B 27843d3f88 Native TCP init, idle, close timeout, refactoring 2016-01-18 20:57:49 +01:00
M66B ff40aff6d8 Native bring back uid retry 2016-01-18 20:05:58 +01:00
M66B b070aa6e54 Native refactoring, improvements, fixes, settings 2016-01-18 19:37:52 +01:00
M66B 6c167ebeeb Native review, refactoring, logging 2016-01-18 15:29:01 +01:00
M66B d21d75edaf Native refactoring 2016-01-18 12:19:40 +01:00
M66B 4fd4ce39a1 Native header file 2016-01-17 17:42:16 +01:00