Commit Graph

590 Commits

Author SHA1 Message Date
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
d782501421 Fix Timber tagging for fdroid builds 2018-10-25 13:31:47 +08:00
Mygod
72276967b4 Add ip neigh to debug information 2018-10-25 13:18:59 +08:00
Mygod
5bc93ab451 Fix read-only file system 2018-10-25 13:16:57 +08:00
Mygod
ffbbfcdc29 Add a unit test 2018-10-25 12:49:18 +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
3c81fcd95a Handle p2p service disconnection 2018-10-25 10:51:00 +08:00
Mygod
bec9439095 Update dependencies 2018-10-25 10:50:22 +08:00
Mygod
7d861e3ae3 Fix ConcurrentModificationException 2018-10-14 14:51:41 +08:00
Mygod
a9ce6422b7 Fix NullPointerException 2018-10-14 14:31:11 +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
e564b262fd 2.0.3 2018-10-10 13:30:08 +08:00
Mygod
423c6074f9 Add comment 2018-10-08 15:40:25 +08:00
Mygod
3339f17f87 Update README 2018-10-08 15:31:52 +08:00
Mygod
86c3ebd78e Always clean repeater on remove group 2018-10-08 15:29:16 +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
8cc8f84a38 2.0.2 2018-10-08 13:29:07 +08:00
Mygod
d06ec3e4f7 joinToString before releasing RootSession 2018-10-08 13:27:08 +08:00
Mygod
54ed6eab42 Fix direct boot 2018-10-08 13:23:16 +08:00
Mygod
26043bdefc Fix a deadlock in IpNeighbourMonitor 2018-10-08 13:08:48 +08:00
Mygod
c057785306 Update test libraries 2018-10-08 12:59:12 +08:00
Mygod
a14f324a90 Allow irrelevant info in DefaultNetworkMonitor as well 2018-10-08 12:05:41 +08:00
Mygod
a947023332 2.0.1 2018-10-05 01:26:26 +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
Mygod
ed1e1a581e Allow records not found in TrafficRecorder 2018-10-04 16:03:59 +08:00
Mygod
b9d5a63c23 Add synchronization in IpNeighbourMonitor 2018-10-04 15:56:24 +08:00
Mygod
e66025c746 Only care about losing one network 2018-10-04 15:50:58 +08:00
Mygod
395e5da871 Fix InvalidConfigurationError 2018-10-04 15:50:07 +08:00
Mygod
48d6307b2b Fix rate not working for polling clients 2018-10-03 15:58:49 +08:00
Mygod
c0ee5a0b89 2.0.0 2018-10-03 15:14:12 +08:00
Mygod
043fcae56a Fix real-time traffic not accumulating all results 2018-10-03 15:06:37 +08:00
Mygod
913e21328e Misc refinements 2018-10-03 15:02:07 +08:00
Mygod
c573a68ee1 Prevent creating 2 ip link monitors 2018-10-03 14:34:55 +08:00
Mygod
a4e69c5a9b Tell user when blocking won't work 2018-10-03 14:16:31 +08:00
Mygod
249474abb2 Update README 2018-10-03 14:07:37 +08:00
Mygod
f7978a5a2f Handle default network changes 2018-10-03 13:58:57 +08:00
Mygod
408c84f8d7 Fix DNS not updated onLost 2018-10-03 13:54:01 +08:00
Mygod
1eb84bf1a3 Handle duplicated upstreams 2018-10-03 13:46:44 +08:00
Mygod
55405742a8 Fix logging 2018-10-03 13:28:44 +08:00
Mygod
8e09e8cd8a Replace strict mode with fallback upstream interface
Fixes #40. Apparently we can no longer take advantage of default network rules set by Android system since Android 9.0 thanks to this commit: 758627c4d9
2018-10-03 13:02:28 +08:00