Commit Graph

59 Commits

Author SHA1 Message Date
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
14ccd9e9eb Add night mode support 2018-08-16 11:12:43 +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
edede5793e Suppress lint check 2018-08-04 20:25:06 +08:00
Mygod
a63fce8bb4 Line should be invisible 2018-08-04 20:20:58 +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
d0e92b2505 Initial draft for porting to AndroidX 2018-07-15 14:28:42 +08:00
Mygod
33cd906f65 Add the best feature ever (E-begging)
This reverts commit ebb6061a6e.
2018-07-13 15:05:33 +08:00
Mygod
2e912bf767 Implement displaying tethering errors 2018-07-13 00:53:06 +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
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
Mygod
84cf926df1 Add translations 2018-01-21 13:58:20 -08:00
Mygod
1e97032630 Refinements 2018-01-21 13:33:36 -08:00
Mygod
de7c6c5d8c Mimic Android Wi-Fi setting design in tethering 2018-01-21 13:16:21 -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
abe8802535 Refine colorAccent again 2018-01-20 23:58:15 -08:00
Mygod
8655562518 Refine colorAccent 2018-01-20 23:11:26 -08:00
Mygod
67aa86f0f7 Make system tethering entry always available 2018-01-15 13:43:14 -08:00
Mygod
3a3e6b8689 Design 2018-01-15 12:53:51 -08:00
Mygod
9486941fc6 Add back reapplying rules 2018-01-13 22:51:47 +08:00
Mygod
606d5adc8f Add Chinese translation 2018-01-13 22:28:59 +08:00