68 Commits

Author SHA1 Message Date
emanuele-f c73620dc59 Rename functions 2021-06-02 12:11:18 +02:00
emanuele-f 2ff3fec947 Fix URL when an HTTP proxy is used
Also show the proxy URL in the connection details
2021-05-01 16:42:53 +02:00
emanuele-f c2df8436ab Implement ability to capture packets as root
This requires a rooted device. It allows PCAPdroid to run with other VPN
apps.
2021-05-01 12:02:48 +02:00
emanuele-f 72949b0284 Update zdtun 2021-04-14 12:32:42 +02:00
emanuele-f d8f153ecef Reduce MTU to avoid fragmentation 2021-04-11 17:14:02 +02:00
emanuele-f c31c9065ec Improve TCP connections handling
- The client MSS option is now honored
- srv->cli MSS is now calculated and reported based on the IP version
- TCP window scaling is now supported
- Slow downs due to blocking TCP sends in big uploads are now fixed
2021-04-11 16:43:23 +02:00
emanuele-f b02989598f Implement SOCKS5 proxy support
When enabled, all the TCP connections will be redirected to a SOCKS5
proxy. This also removes the need to use a customized mitmproxy to
perform the TLS decryption.
2021-04-09 10:52:25 +02:00
emanuele-f 1bb6ae3165 Fix UDP broadcast connections 2021-03-29 12:01:51 +02:00
emanuele-f c4cc662a32 Update zdtun 2021-03-23 16:02:35 +01:00
emanuele-f 47e1d88aab Add IPv6 support
IPv6 must be manually enabled from the preferences. However, when an IPv6 gateway
is not available, the connections will fail with network unreachable.

Closes #2
2021-03-18 19:25:25 +01:00
emanuele-f 9668a1f455 Improve TCP connections handling 2021-03-11 22:42:29 +01:00
emanuele-f 5e43340002 Add ICMP support
Closes #3
2021-03-09 16:19:47 +01:00
emanuele-f 3460e27703 Unify sendCaptureStats and sendVPNStats 2021-03-01 22:11:55 +01:00
emanuele-f 0cb1a8f2ef Handle TCP reset in send 2021-02-18 01:03:55 +01:00
emanuele-f a5c4078d7f Further reduce windows size to prevent ENOBUFS 2021-02-18 00:42:13 +01:00
emanuele-f 8ef66211d3 Integrate zdtun socket handling improvements 2021-02-11 15:13:31 +01:00
emanuele-f 6a665ba156 Update zdtun submodule
This removes the outdated distribution folder
2021-01-23 11:10:28 +01:00
emanuele-f fad1ee8f89 Use git submodules to pull dependencies 2021-01-22 00:48:17 +01:00