Commit Graph

221 Commits

Author SHA1 Message Date
Mygod
b9292b8be4 Treat both possible ownerAddresses equally
Fix #81.
2019-03-09 01:12:44 -05:00
Mygod
d8a6ba43ae Fix support for unrecognized psk line 2019-03-09 00:58:08 -05:00
Mygod
664913a2ff Prevent crash caused by wakelock released by other people 2019-02-22 13:36:10 +08:00
Mygod
544340bec3 Suppress logging mac parser for deleting entries 2019-02-22 12:43:43 +08:00
Mygod
3933e9bf64 Fix netd mode on Android 6 with repeater 2019-02-17 12:58:34 +08:00
Mygod
ab4307b60c Refine parsing mac 2019-02-17 12:45:25 +08:00
Mygod
97811928a7 More informative unexpected output exception 2019-02-17 12:26:42 +08:00
Mygod
ab7a3b4ba7 Handle interrupted dump within poll 2019-02-17 12:14:35 +08:00
Mygod
30075efa81 Refine error msg 2019-02-17 11:55:37 +08:00
Mygod
662aee51bf Add support for polling ip with root 2019-02-17 11:13:51 +08:00
Mygod
eb8b5ff1de Refine error message 2019-02-08 18:23:27 +08:00
Mygod
cbc65f989c Support monitoring tethered interface
This would be useful to be used in together with Instant Tethering + Turn off hotspot automatically.

Refine #26, #53.
2019-02-06 01:27:21 +08:00
Mygod
6d6418b8e0 Migrate to kotlinx findView 2019-02-06 00:00:29 +08:00
Mygod
89a4e9f071 Simplify WifiDoubleLock invocations 2019-02-05 17:42:49 +08:00
Mygod
89559103bf Fix DNS route not cleaned 2019-02-04 23:31:26 +08:00
Mygod
8132b2766d Remove fallback DNS 2019-02-04 23:30:29 +08:00
Mygod
09a1834cb5 Make things private 2019-02-04 14:38:15 +08:00
Mygod
fadf72b28a Fix NoSuchElementException 2019-02-04 13:17:56 +08:00
Mygod
788604838f Refine ndc commands 2019-02-03 13:40:35 +08:00
Mygod
fc8ae4b5cc Skip NOARP entries 2019-02-03 13:31:58 +08:00
Mygod
74696ceba3 Refine DhcpWorkaround error processing 2019-02-02 02:54:36 +08:00
Mygod
194ef92de3 Revert "No more main thread SQL"
This reverts commit 4de891b459.

Async writes are a bad idea.
2019-02-02 02:50:22 +08:00
Mygod
bf697dafb1 Suppress loud disabling error 2019-02-02 00:28:06 +08:00
Mygod
8b283b13b2 Dear Smartisan, don't 2019-02-01 22:10:31 +08:00
Mygod
5c1e84703a Refine InterfaceNotFoundException 2019-02-01 22:07:31 +08:00
Mygod
43bb8af522 Wtf more debug 2019-02-01 21:49:09 +08:00
Mygod
7248193232 Use all zeros for wtf MAC 2019-02-01 21:38:24 +08:00
Mygod
0de9b55e23 Check wpa_supplicant on Android 5.x correctly 2019-02-01 21:28:43 +08:00
Mygod
99e721bf7e Remove fallback upstream monitor
This option has been deprecated. As a replacement, if one wants to forbid fallback communication, a global routed VPN can be used instead.
2019-02-01 21:11:49 +08:00
Mygod
f1973116ca Add netd masquerade mode 2019-02-01 21:06:22 +08:00
Mygod
a3026f8141 Prevent crash I guess 2019-02-01 16:59:25 +08:00
Mygod
a71a3b3bb0 Make DHCP workaround global 2019-02-01 16:55:38 +08:00
Mygod
13e4819511 Fix Parcelable 2019-02-01 15:18:49 +08:00
Mygod
4de891b459 No more main thread SQL 2019-01-31 22:11:54 +08:00
Mygod
5999ab66d1 Refine parsing IpNeighbour 2019-01-31 20:38:19 +08:00
Mygod
73d29cba20 Revert "Refrain from using reflection to parse numerical address"
This reverts commit 72851d4417.

See also: https://issuetracker.google.com/issues/123456213
2019-01-27 16:07:38 +08:00
Mygod
d4208affbb Implement MAC lookup (#68)
* Implement MAC lookup

* Refine error processing

* Use long to store MAC consistently

* Link back to macvendors.co

* Undo some havoc

* Do not show mac spans for TV

* Show MAC and IP in a consistent order

* Add IP spans by ipinfo.io

* Add SpanFormatter

* Fix IPv6 ipinfo.io link

* Refine SpanFormatter

* Fix pressing the link
2019-01-26 21:20:40 +08:00
Mygod
94114f7a4b Migrate to LiveData
Benefit includes: no more flush after changing nickname. Yep.
2019-01-26 14:48:27 +08:00
Mygod
72851d4417 Refrain from using reflection to parse numerical address 2019-01-26 01:35:59 +08:00
Mygod
074252ad1c Deprecate thread helper 2019-01-26 01:34:41 +08:00
Mygod
59713a1eb5 Do not spawn another process to kill monitor 2019-01-26 01:26:38 +08:00
Mygod
469a0cd669 Fix IP forward shutdown by system tethering on Android 6+ 2019-01-24 21:37:08 +08:00
Mygod
0da1943a68 Refine RootSession.Transaction.iptables 2019-01-24 21:15:44 +08:00
Mygod
0aa77ef82d Use AppCompatDialogFragment 2019-01-23 15:23:26 +08:00
Mygod
ab89e9391a Enhanced AlertDialogFragment 2019-01-23 15:02:15 +08:00
Mygod
a936b4e058 Allow usage of legacy Wi-Fi switch in-app only on 7.1 2019-01-23 12:10:56 +08:00
Mygod
116902493c Refine TetherType matcher 2019-01-22 23:46:51 +08:00
Mygod
1048fa830a Remove legacy Wi-Fi switch for Android 7.1
Fixes #64.
2019-01-22 23:38:56 +08:00
Mygod
37337fd2ef Add more log 2019-01-18 11:59:11 +08:00
Mygod
a583d6c143 Handle interrupted dump 2019-01-18 11:46:16 +08:00