Commit Graph

55 Commits

Author SHA1 Message Date
Mygod
509511461c Add manual MAC lookup 2019-01-31 17:10:49 +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
faebc2d1ae Make root unavailable more informative 2019-01-03 23:33:46 +08:00
Mygod
68fface4b9 Allow clients on different tethered interfaces to communicate
Previously, the routing rules were too strict. We should probably also deprecate TrafficRecord.upstream sometime.
2019-01-01 12:21:48 +08:00
Mygod
479d1bdfca Add documentation for settings 2018-12-26 11:46:58 +08:00
Mygod
a206d9e32c Revert "Refine Wi-Fi lock descriptions"
This reverts commit 2fa91711ed.
2018-12-26 11:02:19 +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
2fa91711ed Refine Wi-Fi lock descriptions 2018-12-26 01:44:41 +08:00
Mygod
55443902be Support Wi-Fi keep alives 2018-12-23 23:35:55 +08:00
Mygod
adef53be54 Add missing translations 2018-12-21 18:06:15 +08:00
Mygod
3c81fcd95a Handle p2p service disconnection 2018-10-25 10:51:00 +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
a4e69c5a9b Tell user when blocking won't work 2018-10-03 14:16:31 +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
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
e51f639c86 Remove unused string 2018-09-07 15:49:37 +08:00
Mygod
89c26fe384 Support strict mode for system tethering
TODO: Set up rules when upstream interface not found.
2018-09-03 16:37:54 +08:00
Mygod
1c5d7c1109 Ask to disable tethering hardware acceleration on Android 8.1+ 2018-08-26 15:22:27 +08:00
Mygod
ba58909af7 Organize settings 2018-08-13 02:10:10 +08:00
Mygod
a9e483f3ff Add DHCP workaround
Thanks to petergunn666 for debugging this with me.
2018-08-13 01:41:45 +08:00
Mygod
0c8d2ab010 Add clean summary 2018-08-13 01:14:33 +08:00
Mygod
a0f8012e5b Add option to start repeater on boot
Fix #9.
2018-07-22 00:53:00 +08:00
Mygod
eca2329856 Refine 2018-07-16 10:29:51 +08:00
Mygod
33cd906f65 Add the best feature ever (E-begging)
This reverts commit ebb6061a6e.
2018-07-13 15:05:33 +08:00
Mygod
538755f015 Add option to turn off masquerade
It turns out that this option may not be necessary but I've already implemented it so just in case.
2018-06-16 00:20:20 +08:00
Mygod
09690f19c8 Fix crashes on stupid devices 2018-06-13 15:51:10 +08:00
Mygod
da9bf4867e Support specifying network interface
Fix #15.
2018-06-02 07:29:46 +08:00
Mygod
8e335fec1b Add option to disable IPv6 tethering
Partially addresses #6, #20.
2018-06-01 22:30:31 +08:00
Mygod
6afc06cf8e Refine error msg 2018-06-01 21:21:32 +08:00
Mygod
e25f590bd6 Fix SecurityExceptions caused by LOH 2018-06-01 20:55:48 +08:00
Mygod
8aa7d6d8c7 Huge refactor for better maintainability 2018-06-01 20:21:05 +08:00
Mygod
2fe7703d6d Temporary Wi-Fi hotspot for bypassing tethering limits (#18)
* First draft of temporary hotspot
* Refactor with LocalOnlyInterfaceManager
* Refactor LocalOnlyHotspotService
* Localize
* Update strict summary
2018-05-02 17:53:06 -07:00
Mygod
989408accc Use no value as auto oc 2018-04-27 20:37:05 -07:00
Mygod
b94069e482 Refine operating channel hint 2018-04-24 22:52:09 -07:00
Mygod
39cd40627f Redesign WifiP2pDialog using design lib 2018-04-24 22:49:05 -07:00
Mygod
2d3e8556fd Refine code style 2018-04-21 20:34:14 -07:00
Mygod
570998b255 Add support for modifying repeater credentials
Credits go to @fxsheep: https://forum.xda-developers.com/showpost.php?p=76298728&postcount=5

Currently it only works on later versions of Android due to usage of `killall`. A workaround is in progress.
2018-04-21 20:18:15 -07:00
Mygod
97e0a6386f Support setting Wi-Fi operating channel 2018-04-21 14:49:38 -07:00
Mygod
4d58c81a30 Fix code styles 2018-04-21 13:16:39 -07:00
Mygod
958b1ec350 Support toggling hotspots in app
This is a just-for-fun feature. It probably doesn't work.
2018-04-21 13:02:52 -07:00
Mygod
ebb6061a6e Google Play doesn't want me to collect money
It's okay nobody's gonna gimme anyways.
2018-03-16 23:42:38 -07:00
Mygod
dea724ffb6 Export debug information 2018-02-21 21:25:19 -08:00
Mygod
f2d9f25b10 Obtain DNS server automatically from VPN service
Demote DNS settings to fallback usages only.
2018-02-17 19:52:34 -08:00
Mygod
2d30b5154b Support non-strict mode for repeater
This commit makes possible:

* Starting repeater without VPN;
* Repeater will work better with stub VPN apps;
* LAN addresses will be reachable.
2018-02-17 18:58:49 -08:00
Mygod
d70acfa29e Add IPv6 addresses to connected devices 2018-02-11 01:08:59 -08:00
Mygod
840f11355b Allow optional DNS ports 2018-02-10 23:05:39 -08:00
Mygod
913e9bd863 Add root unavailable to clean 2018-01-22 00:45:55 -08:00
Mygod
1f697034a3 Fix localization issue 2018-01-21 23:18:28 -08:00
Mygod
11edc1ae82 Show host addresses 2018-01-21 22:12:58 -08:00