Commit Graph

59 Commits

Author SHA1 Message Date
Mygod
e2cbe18ea9 Add more logging 2018-06-10 20:59:50 +08:00
Mygod
c8b6af1e49 Refine code style 2018-06-02 07:43:16 +08:00
Mygod
f6d98d0e88 Add back auto complete interface names from 0.1.0 2018-06-02 07:38:03 +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
5607642b32 Fix NullPointerException 2018-06-01 21:16:51 +08:00
Mygod
a5bec59bbe Refine code style 2018-05-09 22:46:13 -07:00
Mygod
3959db61d0 Refine code style 2018-05-09 18:17:47 -07:00
Mygod
dad9bc19e3 Add client count badge 2018-05-09 17:38:49 -07:00
Mygod
90c1951645 Move Utils.kt 2018-05-09 15:57:41 -07:00
Mygod
1695295eb3 Fix UTF-8 encoding in SSID 2018-05-03 20:56:31 -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
0a47cfdf1c Fix hex PSK not terminating 2018-05-02 01:40:02 -07:00
Mygod
a9c40c8ff7 Handle multiple groups and other formats of psk
This should address #17.
2018-05-02 01:30:29 -07:00
Mygod
3b964e0537 Permit p2pInterface to be null for whatever reasons 2018-04-27 20:37:05 -07:00
Mygod
39cd40627f Redesign WifiP2pDialog using design lib 2018-04-24 22:49:05 -07:00
Mygod
2b2639e288 Refine code style 2018-04-21 23:49:10 -07:00
Mygod
cb3bdff0f2 Fix killall not available on lower versions 2018-04-21 21:30:20 -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
6608a76297 Refine WifiP2pManagerHelper 2018-04-21 17:27:30 -07:00
Mygod
e3a1003c80 Add support for requestPersistentGroupInfo 2018-04-21 17:22:53 -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
8abb431b79 Add dumpsys wifip2p to debug info 2018-04-03 22:28:21 -07:00
Mygod
c26377ae47 Fix pool registered after interruption 2018-03-23 11:05:13 -07:00
Mygod
b698ec3ee0 Switch to polling neighbors on unsupported kernels
Fixes #12.
2018-03-22 18:47:52 -07:00
Mygod
049a781031 Fix IllegalStateException in VpnMonitor 2018-03-14 22:04:29 -07:00
Mygod
c2e8fd14ea Fix some issues with some su 2018-03-08 23:57:42 -08:00
Mygod
bde87b148a Fix currentNetwork not reset 2018-03-08 21:57:17 -08:00
Mygod
c7e1abb585 Properly support proper VPNs
It turns out that not using masquerade will not work with real VPNs (as opposed to dummy ones, including adblockers and sockifiers).

Fixes #10.
2018-03-08 00:41:50 -08:00
Mygod
4d58183168 Support slow updating VPN apps
Some apps create another VPN interface, then shutdown the old interface. Reason isn't quite clear but this should fix it.
2018-03-08 00:14:01 -08:00
Mygod
b9511eedbe Prevent blocking on errorStream 2018-02-24 00:54:40 -08:00
Mygod
ee5197cadc Fix some SocketException crashes 2018-02-24 00:37:09 -08:00
Mygod
1bc49170d0 Dump all the possible useful information 2018-02-22 11:41:14 -08:00
Mygod
ef0098e45d Add whatever is helpful 2018-02-22 01:35:08 -08:00
Mygod
4b43a6a1ba Do not assume iptables-save is available 2018-02-22 01:27:00 -08: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
73b2b513f1 Fix ConcurrentModificationException
You must be very lucky to reproduce this error.
2018-02-17 14:36:23 -08:00
Mygod
7ff0be17b8 Refine QS tile 2018-02-17 14:11:46 -08:00
Mygod
2b03bff1a3 Add failfast for VpnMonitor.registerCallback 2018-02-11 02:56:18 -08:00
Mygod
d70acfa29e Add IPv6 addresses to connected devices 2018-02-11 01:08:59 -08:00
Mygod
4a24b16008 Kill old monitor silently 2018-01-25 20:22:14 -08:00
Mygod
913e9bd863 Add root unavailable to clean 2018-01-22 00:45:55 -08:00
Mygod
881e0d09e7 Refine parse to save battery 2018-01-21 20:48:26 -08:00
Mygod
cc7da9b8a8 Suppress warning 2018-01-21 15:05:00 -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