Commit Graph

32 Commits

Author SHA1 Message Date
Mygod
0cb28477e4 Android Q beta 4 support 2019-06-10 21:34:37 +08:00
Mygod
f1cf44c628 Improve error logs on Android Q beta 2019-03-18 21:58:30 +08:00
Mygod
544340bec3 Suppress logging mac parser for deleting entries 2019-02-22 12:43:43 +08:00
Mygod
ab4307b60c Refine parsing mac 2019-02-17 12:45:25 +08:00
Mygod
fc8ae4b5cc Skip NOARP entries 2019-02-03 13:31:58 +08:00
Mygod
7248193232 Use all zeros for wtf MAC 2019-02-01 21:38:24 +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
72851d4417 Refrain from using reflection to parse numerical address 2019-01-26 01:35:59 +08:00
Mygod
719e8245a7 Mute more SocketException 2019-01-03 23:55:29 +08:00
Mygod
fe33c88047 Improve debug logging mechanisms 2018-12-30 16:03:24 +08:00
Mygod
8ea3acb622 Suppress IllegalStateException 2018-12-27 12:33:49 +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
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
722855caf7 Refine code 2018-10-04 16:45:44 +08:00
Mygod
e85d792218 Refine IpNeighbour parsing 2018-10-04 16:34:40 +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
Mygod
4de93c5c02 Move monitors to a separate package 2018-10-02 23:44:06 +08:00
dwuku
d131d5d46b Make compatible with F-Droid (#42)
* Make compatible with F-Droid
* Fix title bar empty
2018-10-02 23:13:12 +08:00
Mygod
38f95a382e VPN Hotspot 2.0: Client+ (#39)
Fix #13, #38. I don't have a lot of confidence that this would work very well for every device.

Also here's an SQL command that hopefully somebody could make into the app for me: `SELECT TrafficRecord.mac, SUM(TrafficRecord.sentPackets), SUM(TrafficRecord.sentBytes), SUM(TrafficRecord.receivedPackets), SUM(TrafficRecord.receivedBytes) FROM TrafficRecord LEFT JOIN TrafficRecord AS Next ON TrafficRecord.id = Next.previousId WHERE Next.id IS NULL GROUP BY TrafficRecord.mac;`
2018-10-02 21:12:19 +08:00
Mygod
b0d2db2d2d Update dependencies 2018-08-08 15:12:48 +08:00
Mygod
e2cbe18ea9 Add more logging 2018-06-10 20:59:50 +08:00
Mygod
d70acfa29e Add IPv6 addresses to connected devices 2018-02-11 01:08:59 -08:00
Mygod
881e0d09e7 Refine parse to save battery 2018-01-21 20:48:26 -08:00
Mygod
84cf926df1 Add translations 2018-01-21 13:58:20 -08:00
Mygod
1e97032630 Refinements 2018-01-21 13:33:36 -08:00
Mygod
5ad840fe43 Split NetUtils (terrible name) 2018-01-21 12:50:21 -08:00
Mygod
03ccaf2a98 Fix MAC not showing for failures 2018-01-20 23:39:07 -08:00
Mygod
0660a20fcb Support showing connected devices from system tethering
Also fixes IP address not showing up.
2018-01-20 22:52:54 -08:00