Commit Graph

453 Commits

Author SHA1 Message Date
Mygod
395e5da871 Fix InvalidConfigurationError 2018-10-04 15:50:07 +08:00
Mygod
48d6307b2b Fix rate not working for polling clients 2018-10-03 15:58:49 +08:00
Mygod
c0ee5a0b89 2.0.0 2018-10-03 15:14:12 +08:00
Mygod
043fcae56a Fix real-time traffic not accumulating all results 2018-10-03 15:06:37 +08:00
Mygod
913e21328e Misc refinements 2018-10-03 15:02:07 +08:00
Mygod
c573a68ee1 Prevent creating 2 ip link monitors 2018-10-03 14:34:55 +08:00
Mygod
a4e69c5a9b Tell user when blocking won't work 2018-10-03 14:16:31 +08:00
Mygod
249474abb2 Update README 2018-10-03 14:07:37 +08:00
Mygod
f7978a5a2f Handle default network changes 2018-10-03 13:58:57 +08:00
Mygod
408c84f8d7 Fix DNS not updated onLost 2018-10-03 13:54:01 +08:00
Mygod
1eb84bf1a3 Handle duplicated upstreams 2018-10-03 13:46:44 +08:00
Mygod
55405742a8 Fix logging 2018-10-03 13:28:44 +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
8e3567954e Remove unused imports 2018-10-02 23:49:46 +08:00
Mygod
4de93c5c02 Move monitors to a separate package 2018-10-02 23:44:06 +08:00
Mygod
9c6183d662 Add dumped stats to debug information 2018-10-02 23:33:57 +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
5f5bb063c0 Record stats before exit 2018-10-02 22:41:43 +08:00
Mygod
8419734df8 Ignore extra records coming later
This can happen when the application is terminated incorrectly. Due to how we add routing rules, new client-wise rules are always added to the top. Therefore, we should always assume that the input at the top is the correct one.
2018-10-02 22:36:47 +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
16d1eda0d4 Remove obsolete databinding-compiler 2018-09-18 20:11:28 +08:00
Mygod
dbbc27485c Fix exit code 143 not handled 2018-09-18 17:15:38 +08:00
Mygod
82ac2e56e7 No need for extract UI for PIN 2018-09-18 17:11:48 +08:00
Mygod
268376a7d5 Use DialogFragments everywhere 2018-09-18 17:09:50 +08:00
Mygod
204145ef4f Move edit configuration logic out of WifiP2pDialogFragment 2018-09-17 23:35:59 +08:00
Mygod
dbe43624ed Refine layout margin 2018-09-17 23:15:57 +08:00
Mygod
e88474106d Update dependencies 2018-09-17 22:11:33 +08:00
Mygod
f27fdb5ce7 Catch BLUETOOTH permission missing exception 2018-09-17 22:08:31 +08:00
Mygod
d21193ba17 Fix monitor not set 2018-09-15 15:45:37 +08:00
Mygod
c772d82145 Remove duplicated sanity check 2018-09-13 19:10:33 +08:00
Mygod
ce286ccd01 Update dependencies 2018-09-11 18:17:39 +08:00
Mygod
90fdb68857 Update AndroidX 2018-09-09 14:31:33 +08:00
Mygod
c7faa24be9 Use monospace for password 2018-09-08 17:08:20 +08:00
Mygod
e51f639c86 Remove unused string 2018-09-07 15:49:37 +08:00
Mygod
1db6d6e9ad Fix crashes on root missing 2018-09-07 11:35:09 +08:00
Mygod
22b4dd6438 Kill RootSession on low memory 2018-09-07 10:43:40 +08:00
Mygod
9bc59ac270 Add 60 seconds timeout to RootSession 2018-09-07 10:36:01 +08:00
Mygod
f72a3272cc Check if routings is empty after update 2018-09-06 15:48:46 +08:00
Mygod
823ae9633b Migrate from NoisySu to RootSession
Fix #24. Note that just like before, IpMonitor doesn't use RootSession.
2018-09-06 15:39:00 +08:00
Mygod
aa624708bb 1.4.2 2018-09-04 20:20:50 +08:00
Mygod
e3f1abbb22 Fully support strict mode for system tethering 2018-09-04 17:49:59 +08:00
Mygod
09f85cac6b Update README 2018-09-04 17:27:38 +08:00
Mygod
4ea235b52b Fix p2p_supplicant.conf path on Android 9 2018-09-04 08:15:56 +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
0342d97fb0 Fix ConcurrentModificationException 2018-09-03 14:21:29 +08:00
Mygod
fc7731c4ed Fix keyboard issues more 2018-08-31 17:22:27 +08:00
Mygod
b0355e0546 Fix keyboard auto show 2018-08-30 22:31:12 +08:00
Mygod
122252f252 Update gradle 2018-08-30 21:23:12 +08:00
Mygod
80c68dfa52 1.4.1 2018-08-27 22:57:19 +08:00
Mygod
7a8412407b Use exec whenever possible 2018-08-26 19:24:45 +08:00