Commit Graph

109 Commits

Author SHA1 Message Date
Mygod
2c89444c63 Suppress interface gone exceptions 2021-05-19 12:46:10 -04:00
Mygod
8c221d48e9 Check networkPrefixLength on stupid devices 2020-11-04 08:47:21 +08:00
Mygod
8d8c5485b5 Update dependencies 2020-10-09 02:49:22 +08:00
Mygod
567d1cd9d0 Fix up fallback ip rules 2020-10-02 07:42:03 +08:00
Mygod
4cc47562e0 Simplify onFallback 2020-10-02 06:14:16 +08:00
Mygod
45ea7a8bf3 Catch stupid runtimeexceptions 2020-09-12 04:12:28 +08:00
Mygod
642f93b9f7 Avoid using greylist api 2020-09-12 03:35:03 +08:00
Mygod
b675bdda09 Initial support for stacked links 2020-09-11 15:14:46 -04:00
Mygod
bd176bc6f0 Fix fallback dns routes 2020-09-11 14:52:23 -04:00
Mygod
2590ddaf48 Set stopped synchronizedly 2020-08-23 11:41:21 -04:00
Mygod
35055bc074 Fix deprecations 2020-08-18 05:02:09 +08:00
Mygod
e333c859df Refine code style again 2020-08-04 04:19:30 +08:00
Mygod
fe68f72854 Do not return dead server from ensureServerLocked 2020-07-28 04:50:54 +08:00
Mygod
9deb89a6c7 Refine error message 2020-07-23 07:58:26 +08:00
Mygod
c8d69b6059 Account for legacy behavior for if_nametoindex 2020-07-20 10:47:50 -04:00
Mygod
0f16210c80 Misc fixes 2020-07-18 03:20:22 +08:00
Mygod
339871f4b0 Use /system/bin/ip and ifindex for lookup 2020-07-11 06:29:20 +08:00
Mygod
2047e02ec7 Refine shouldSuppressIpError 2020-07-07 03:35:11 +08:00
Mygod
d462b3ac07 Fix persistent group on Android 11
Also only request persistent group when necessary.
2020-07-02 07:02:24 +08:00
Mygod
027a954e1d Suppress expected ip errors 2020-06-28 11:00:09 -04:00
Mygod
012f1a1627 Update dependencies 2020-06-21 00:58:55 -04:00
Mygod
b1644629b0 Add light ip neigh monitoring mode to reduce root requests 2020-06-21 00:32:17 -04:00
Mygod
ad218d7ec6 librootkotlinx
Fixes #14, #27, #114, #117.
2020-06-21 05:33:39 +08:00
Mygod
8afa63a20e Merge branch 'master' into r 2020-06-12 13:19:59 +08:00
Mygod
4d3e05ac6b Add stopped check in Routing 2020-06-12 01:16:57 -04:00
Mygod
8d6d4a6c6e Add synchronization for RoutingManager 2020-06-12 00:26:43 -04:00
Mygod
e8fb62a0b3 Move MAC utils to MacAddressCompat 2020-05-30 02:39:33 -04:00
Mygod
b833d94002 Refine error message 2020-05-23 09:04:58 +08:00
Mygod
3ba9a322c2 Allow user to turn off safe mode on Android 10 (Mar 2020 or newer)
Fixes #153.

Basically, this "forward"-ports a workaround for Android 9- thanks to Jimmy Chen.
As a consequence, #31 might reoccur if you turn off safe mode.
2020-04-22 12:28:38 +08:00
Mygod
1507050eea Fix #142 2020-01-26 13:39:56 +08:00
Mygod
22d81bb0b4 Fix lint 2020-01-20 19:08:48 +08:00
Mygod
59b4a464b0 Notify all LinkProperties for onAvailable 2020-01-20 10:05:01 +08:00
Mygod
006e4e47c0 Update dependencies 2020-01-20 10:05:01 +08:00
Mygod
13c43f9b0e Update dependencies 2019-10-24 11:10:55 +08:00
Mygod
c483c5ad06 Use a less invasive method for disabling IPv6 tethering
Fixes #33.
2019-08-27 23:38:53 +08:00
Mygod
df9cb6180a Friendly reject blocked clients 2019-08-27 23:24:23 +08:00
Mygod
3770acf561 Avoid runBlocking 2019-08-12 13:13:29 +08:00
Mygod
05a79acf78 Refine aggregator 2019-08-12 13:01:37 +08:00
Mygod
7a4264e2df Fix ConcurrentModification 2019-07-17 16:21:37 +08:00
Mygod
5583e742ca Revert "Remove fallback upstream monitor"
This commit reverts 99e721bf7e.

Fixes #119.
2019-07-15 23:28:48 +08:00
Mygod
654c1fc48f Refine code style 2019-07-15 22:58:16 +08:00
Mygod
2d70595358 Do not disable nat to prevent conflicts with system 2019-07-15 19:21:52 +08:00
Mygod
c86639db43 Disable netd for Android 8.1 and lower 2019-07-15 19:08:47 +08:00
Mygod
5c32c46970 Fix build 2019-06-10 23:18:49 +08:00
Mygod
c780fed7ff Avoid failing when multiple interface address was found 2019-06-10 22:53:24 +08:00
Mygod
965bd13eac Fix nullability issues 2019-05-13 18:41:58 +08:00
Mygod
d641af5d40 Handle VPNs without addDnsServer calls
Test case: HTTP Injector
2019-03-18 21:43:45 +08:00
Mygod
aedba90196 Lift double routing detection out of Routing 2019-03-09 01:46:01 -05:00
Mygod
3933e9bf64 Fix netd mode on Android 6 with repeater 2019-02-17 12:58:34 +08:00
Mygod
97811928a7 More informative unexpected output exception 2019-02-17 12:26:42 +08:00