Commit Graph

20 Commits

Author SHA1 Message Date
Mygod
c7e1abb585 Properly support proper VPNs
It turns out that not using masquerade will not work with real VPNs (as opposed to dummy ones, including adblockers and sockifiers).

Fixes #10.
2018-03-08 00:41:50 -08:00
Mygod
ee5197cadc Fix some SocketException crashes 2018-02-24 00:37:09 -08:00
Mygod
4b43a6a1ba Do not assume iptables-save is available 2018-02-22 01:27:00 -08:00
Mygod
f2d9f25b10 Obtain DNS server automatically from VPN service
Demote DNS settings to fallback usages only.
2018-02-17 19:52:34 -08:00
Mygod
2d30b5154b Support non-strict mode for repeater
This commit makes possible:

* Starting repeater without VPN;
* Repeater will work better with stub VPN apps;
* LAN addresses will be reachable.
2018-02-17 18:58:49 -08:00
Mygod
d70acfa29e Add IPv6 addresses to connected devices 2018-02-11 01:08:59 -08:00
Mygod
bd34491ad4 Ignore lost devices in notification 2018-02-11 00:25:41 -08:00
Mygod
5ad840fe43 Split NetUtils (terrible name) 2018-01-21 12:50:21 -08:00
Mygod
d131c90d27 Fix notification not go away after disabling tethering 2018-01-21 12:38:36 -08:00
Mygod
ac82a9446c Use one notification for two services 2018-01-21 12:16:25 -08:00
Mygod
7f93b1e62b Fix tethering stability issues 2018-01-21 03:07:26 -08:00
Mygod
2108c635ce Group net package 2018-01-20 18:37:45 -08:00
Mygod
c96398168b Register local receivers in TetheringService 2018-01-13 23:54:43 +08:00
Mygod
9486941fc6 Add back reapplying rules 2018-01-13 22:51:47 +08:00
Mygod
5a98778a3b Various bugfixes for TetheringService 2018-01-13 22:28:37 +08:00
Mygod
a77beb39db Create more noise if SU fails 2018-01-13 19:17:00 +08:00
Mygod
f6a5ed9d64 Fix crash on Android 7- 2018-01-13 19:05:23 +08:00
Mygod
9866db6c46 Fix everything wrong with TetheringService
I must be very sleepy when writing this.
2018-01-13 13:47:55 +08:00
Mygod
c25b7a3f0c Fix VPN connections change handlers 2018-01-13 12:14:56 +08:00
Mygod
eb165db86c Support VPN over any native tethering
First big refactoring of this app.
2018-01-13 00:42:51 +08:00