Commit Graph

43 Commits

Author SHA1 Message Date
Mygod
481cceb3e3 Move clean to RoutingManager 2019-03-08 13:39:28 -05:00
Mygod
f1973116ca Add netd masquerade mode 2019-02-01 21:06:22 +08:00
Mygod
a71a3b3bb0 Make DHCP workaround global 2019-02-01 16:55:38 +08:00
Mygod
6a7a16a0c7 Move away KEY_OPERATING_CHANNEL 2019-02-01 16:46:00 +08:00
Mygod
4de891b459 No more main thread SQL 2019-01-31 22:11:54 +08:00
Mygod
08ab6a54ff Add EmojiCompat 2019-01-31 20:40:24 +08:00
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
fe33c88047 Improve debug logging mechanisms 2018-12-30 16:03:24 +08:00
Mygod
67d3e8a52d Show invisible foreground notification on television to avoid being killed 2018-12-28 14:52:46 +08:00
Mygod
d8ccd47bac Refine cleaning routing rules 2018-12-19 15:32:16 +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
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
22b4dd6438 Kill RootSession on low memory 2018-09-07 10:43:40 +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
a9e483f3ff Add DHCP workaround
Thanks to petergunn666 for debugging this with me.
2018-08-13 01:41:45 +08:00
Mygod
15d838893c SmartSnackbars 2018-08-08 16:03:30 +08:00
Mygod
2578c1c6ec Fix direct boot 2018-07-22 00:25:42 +08:00
Mygod
af20a084cb Use Android KTX 2018-07-15 20:58:39 +08:00
Mygod
d0e92b2505 Initial draft for porting to AndroidX 2018-07-15 14:28:42 +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
814f42311b Update support lib to 28.0.0-alpha3 2018-06-10 22:28:09 +08:00
Mygod
e72dad8790 Stop using LocalBroadcastManager 2018-05-09 15:56:37 -07: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
97e0a6386f Support setting Wi-Fi operating channel 2018-04-21 14:49:38 -07:00
Mygod
7f81b3ae33 Fix settings not persisted 2018-04-21 14:30:00 -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
e21d34ee54 Implement direct boot awareness for tile service 2018-02-22 12:20:52 -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
38c9e39c6a Refine App 2018-02-10 23:25:03 -08:00
Mygod
840f11355b Allow optional DNS ports 2018-02-10 23:05:39 -08:00
Mygod
ac82a9446c Use one notification for two services 2018-01-21 12:16:25 -08:00
Mygod
7f93b1e62b Fix tethering stability issues 2018-01-21 03:07:26 -08:00
Mygod
9a3606a59e Refine monitor 2018-01-21 01:57:44 -08:00
Mygod
9486941fc6 Add back reapplying rules 2018-01-13 22:51:47 +08:00
Mygod
11a1e793c9 Extract string resources 2018-01-13 19:53:34 +08:00
Mygod
9fd3966fda Rename notification channel 2018-01-13 13:50:59 +08:00
Mygod
eb165db86c Support VPN over any native tethering
First big refactoring of this app.
2018-01-13 00:42:51 +08:00
Mygod
7e30ddf26d Refine finding default Wi-Fi interface 2018-01-05 00:55:33 +08:00
Mygod
826f601301 Add settings 2018-01-03 22:58:45 +08:00
Mygod
41f3f79efe Initial commit
Hotspot works. VPN not yet.
2018-01-03 10:45:14 +08:00