Commit Graph

229 Commits

Author SHA1 Message Date
M66B e638533e06 Native refactoring 2016-02-09 18:59:20 +01:00
M66B 8eba191c43 Native is numeric address, reverse DNS for numeric access addresses 2016-02-09 16:31:56 +01:00
M66B 32223b6c4f Native refactoring 2016-02-09 13:43:18 +01:00
M66B 9c9a7a7523 Native increase select timeout 2016-02-09 11:32:03 +01:00
M66B b8716554f0 Native better receive window handling 2016-02-09 07:59:26 +01:00
M66B da99bca7a1 Native calculate receive window 2016-02-08 22:20:38 +01:00
M66B e5f22a9029 Native less agressive scaling 2016-02-08 21:01:20 +01:00
M66B 0a8dd5a41b Native scale UDP/TCP timeout 2016-02-08 20:36:16 +01:00
M66B 09be0d58d9 Revert "Native keep sessions shorter to prevent too many open files"
This reverts commit c14a79623a.
2016-02-08 19:26:28 +01:00
M66B c14a79623a Native keep sessions shorter to prevent too many open files 2016-02-08 19:12:33 +01:00
M66B 11f2d1a7fc Show session count in traffic stats 2016-02-08 19:03:12 +01:00
M66B 6f9fa2951f Native delete locale references to prevent table overflow 2016-02-08 18:14:03 +01:00
M66B 73367e068c Native RST when data queued after close linger 2016-02-08 17:43:00 +01:00
M66B 2f04f8b884 Native new forwarding
Refs #292
2016-02-08 16:34:54 +01:00
M66B 673b3d0da0 Native move port forwarding to Java
Refs #292
2016-02-08 14:33:33 +01:00
M66B d62e20ef34 Native check packet lengths, check ICMP type 2016-02-08 13:18:55 +01:00
M66B 146fc7bde7 Native calculate next event time, fixes 2016-02-08 12:52:09 +01:00
M66B eb582141e5 Native TCP close revised
Closes #300
2016-02-08 11:51:40 +01:00
M66B 03e26b2550 Native TCP rewrite
Refs #300
2016-02-07 23:01:48 +01:00
M66B 1413788373 Native buffer FIN/ACK
Refs #300
2016-02-07 20:15:40 +01:00
M66B 741da619e1 Check remote sequence only for ACK
Fixes #299
2016-02-07 18:49:00 +01:00
M66B cde04f9829 Native reset when remote closes with data buffered 2016-02-07 17:47:18 +01:00
M66B 29c173f155 Native prepare for generic port forwarding 2016-02-07 17:44:23 +01:00
M66B 56421a954f Fixed FIN with buffered data
Fixes #293
2016-02-07 10:06:57 +01:00
M66B 369cbbea94 Require approval for port forwarding 2016-02-06 16:17:31 +01:00
M66B 1831f2f961 Native forwarding fixes 2016-02-06 12:54:44 +01:00
M66B 2cff43d045 Native port forward by intent
Closes #272
2016-02-06 12:25:20 +01:00
M66B b59d1a1e3e Native check if tun is writable 2016-02-06 09:55:17 +01:00
M66B e1f01dd803 Native port 0 is reserved and should not be used 2016-02-06 09:12:43 +01:00
M66B 73fc59828b Native refactoring 2016-02-06 08:04:15 +01:00
M66B 3be710c3e6 Native SYN data handling, TCP forward time-out 2016-02-06 08:03:34 +01:00
M66B dc93dc4ad2 Dump /proc/net line 2016-02-05 21:59:47 +01:00
M66B 3fd5c71cb8 Native rewritten traffic forwarding 2016-02-05 18:55:07 +01:00
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 f746b2214f Fixes 2016-02-04 13:00:33 +01:00
M66B be00ef48c0 Better handle blocked UDP traffic 2016-02-04 10:09:31 +01:00
M66B 0209cc2afd More logging 2016-02-03 19:50:12 +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 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 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 b669864845 Workaround bug in phread_kill on SDK < 16
Refs #243
2016-02-02 18:02:45 +01:00