Commit Graph

162 Commits

Author SHA1 Message Date
Mygod
04f111c1a4 Ensure DNS is never empty 2018-12-30 16:10:39 +08:00
Mygod
fe33c88047 Improve debug logging mechanisms 2018-12-30 16:03:24 +08:00
Mygod
f59ddb5616 Fix default mode set incorrectly 2018-12-30 14:18:05 +08:00
Mygod
ec907e204d Ensure record is unregistered if registering fails 2018-12-30 14:03:37 +08:00
Mygod
ddd3bfab2f Reduce garbage logs 2018-12-29 23:14:32 +08:00
Mygod
5fc67d4249 Refine code style 2018-12-29 01:38:50 +08:00
Mygod
eda1e48ede Ensure Subrouting is closed if register fails 2018-12-29 00:48:39 +08:00
Mygod
1ced7566f5 Fix IOException in direct boot 2018-12-29 00:29:56 +08:00
Mygod
cfada8d0c2 Fix DNS update not propagated 2018-12-29 00:08:55 +08:00
Mygod
e5b3e7e5d0 Fix file exists error when enabling multiple interfaces with DHCP workaround 2018-12-28 14:03:37 +08:00
Mygod
0ef55133bb Remove unused field 2018-12-27 12:59:55 +08:00
Mygod
bc0d6de3f9 Log p2p_supplicant if parsing failed 2018-12-27 12:58:09 +08:00
Mygod
8ea3acb622 Suppress IllegalStateException 2018-12-27 12:33:49 +08:00
Mygod
479d1bdfca Add documentation for settings 2018-12-26 11:46:58 +08:00
Mygod
e8f993944c Use poll as default monitor method
This should improve compatibility on very broken devices.
2018-12-26 10:58:16 +08:00
Mygod
9c2906944f Log a lot more about subroutings 2018-12-26 01:32:38 +08:00
Mygod
0ff12b9aa9 Handle NullPointerExceptions 2018-12-25 23:42:52 +08:00
Mygod
1cf9b7378d Support buggy devices without if_indextoname 2018-12-25 23:39:08 +08:00
Mygod
ae3aff5132 Do not keep alive by default 2018-12-24 23:22:59 +08:00
Mygod
55443902be Support Wi-Fi keep alives 2018-12-23 23:35:55 +08:00
Mygod
690b923a43 Fix parser forgetting all non-owned groups 2018-12-21 18:03:33 +08:00
Mygod
5281f14e0f Listen for persistent group changes 2018-12-21 16:04:23 +08:00
Mygod
dd2c171bb3 Suppress reporting interfaceName changes 2018-12-19 15:38:05 +08:00
Mygod
eadc2eb05f Suppress reporting expected SecurityException 2018-12-19 15:35:48 +08:00
Mygod
d8ccd47bac Refine cleaning routing rules 2018-12-19 15:32:16 +08:00
Mygod
97fb67d7fd Refine IpNeighbour parser 2018-12-19 13:05:56 +08:00
Mygod
373d45f668 Generalize ip neigh parser
Now we can rely on fewer assumptions.
2018-12-14 02:30:33 +08:00
Mygod
f26716051c Allow iptables -w to output busy spin message 2018-12-14 02:00:31 +08:00
Mygod
6ae5aba6bb Suppress reporting interface becoming null 2018-12-14 01:45:54 +08:00
Mygod
366ae7dab6 Be more careful about checking upstreams were removed 2018-12-14 00:56:28 +08:00
Mygod
c3cb26ce35 Fix inconsistent behavior in onLost 2018-12-14 00:46:46 +08:00
Mygod
6002794905 Fix warnings 2018-12-13 14:35:09 +08:00
Mygod
ac9bf38147 Discard return value and keep retrying 2018-10-25 13:44:47 +08:00
Mygod
8ec83f683f Log exit values on monitor failures 2018-10-25 13:32:03 +08:00
Mygod
e6bdbd23a9 Ensure onLost is called 2018-10-25 11:16:07 +08:00
Mygod
04acc9d75e Handle if ifname became non-null 2018-10-25 10:57:15 +08:00
Mygod
7d861e3ae3 Fix ConcurrentModificationException 2018-10-14 14:51:41 +08:00
Mygod
46f7ae7dd0 Also allow ifname changes I guess?? 2018-10-12 12:34:06 +08:00
Mygod
47366b982e Allow null interfaceName in onLinkPropertiesChanged 2018-10-10 20:15:57 +08:00
Mygod
e347115908 Add back root unavailable prompt 2018-10-08 15:23:57 +08:00
Mygod
e4e716ab83 Allow creating repeater w/o root 2018-10-08 15:17:48 +08:00
Mygod
634ac72350 Add more debugLog to investigate check failure 2018-10-08 13:35:29 +08:00
Mygod
26043bdefc Fix a deadlock in IpNeighbourMonitor 2018-10-08 13:08:48 +08:00
Mygod
a14f324a90 Allow irrelevant info in DefaultNetworkMonitor as well 2018-10-08 12:05:41 +08:00
Mygod
0d83c17b89 Known issue: client features won't work when upgrading from 1.x w/o shutting down service 2018-10-05 00:50:03 +08:00
Mygod
255cfac486 Add more locks 2018-10-05 00:45:53 +08:00
Mygod
c7e79dfb6a Allow unregister to fail
Race condition might occur when cleaning.
2018-10-04 19:45:54 +08:00
Mygod
722855caf7 Refine code 2018-10-04 16:45:44 +08:00
Mygod
89234b37a4 Create a copy before returning 2018-10-04 16:41:19 +08:00
Mygod
e85d792218 Refine IpNeighbour parsing 2018-10-04 16:34:40 +08:00