Jason A. Donenfeld
2caa06d9fb
wg-quick: set mtu after addresses
...
This has all sorts of terrible implications and fixes a problem in a
pretty terrible way. If the interface MTU is less than 1280, IPv6
addresses will fail to be added. Rather than explictly trying to catch
this and do something particular about it -- such as nicely warning the
user that there could be a v6 isolation issue, for example -- we just
set the MTU _after_ we set the addresses, so that in setting the MTU, we
wind up removing the addresses that were just added. This is pretty bad,
but it makes things a bit smoother.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-12-26 20:04:40 +01:00
Jason A. Donenfeld
53752eb21e
tools: use cmp and right arguments for mount
...
Some systems don't have cmp.
Some systems have buggy mount tools.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-12-20 17:54:28 +01:00
Jason A. Donenfeld
8937cf82fb
tools: add wg-quick directly
...
We also use all search paths for tool, since many want this to be CLI
too.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-12-20 05:02:51 +01:00
Jason A. Donenfeld
40198132e0
tools: force ld.gold
...
This is to work around a linker bug affecting the NDK.
Reference: https://github.com/android-ndk/ndk/issues/602
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-12-19 02:53:02 +01:00
Jason A. Donenfeld
9b92f4d3c5
SettingsActivity: allow for installing command line tools
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-12-19 02:42:00 +01:00
Jason A. Donenfeld
ecc2a1c759
tools: better cmake
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-12-18 04:57:40 +01:00
Jason A. Donenfeld
b7a6b44ec1
RootShell: rewrite
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-12-16 07:07:05 +01:00
Jason A. Donenfeld
6d1117a94c
tools: build required tools with apk
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-12-15 06:00:45 +01:00
Jason A. Donenfeld
9e028ae8d6
VpnService: require root access
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-30 21:46:56 +01:00
Jason A. Donenfeld
417e973c8f
NotSupportedActivity: fix font size
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-29 13:24:40 +01:00
Jason A. Donenfeld
eb5fdf200a
Config: use consistant verb
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-29 03:30:23 +01:00
Jason A. Donenfeld
af33378522
VpnService: search for binaries in most likely places first
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-29 03:29:36 +01:00
Jason A. Donenfeld and Samuel Holland
2f310f0fad
EditFragment: do not autocomplete or capitalize ifnames
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-28 22:14:00 +01:00
Jason A. Donenfeld and Samuel Holland
e418c5d3b4
README: update with links
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-28 16:31:13 +01:00
Jason A. Donenfeld and Samuel Holland
f00622a2a9
Open: better icon
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-28 13:09:00 +01:00
Jason A. Donenfeld and Samuel Holland
bbe058418b
NotSupported: Better sorry text
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-27 21:29:40 +01:00
Jason A. Donenfeld and Samuel Holland
982387b4e4
Build: update gradle
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-27 18:40:51 +01:00
Jason A. Donenfeld and Samuel Holland
641e45e727
SettingsActivity: directly pass through bundle
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-27 05:22:54 +01:00
Jason A. Donenfeld and Samuel Holland
2cc7f6c2ea
ConfigDetailFragment: wire up toggle switch
...
Finally no gross colors.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-27 04:35:04 +01:00
Jason A. Donenfeld and Samuel Holland
6bc6aea2d0
NotSupported: check if the module exists
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-27 04:28:48 +01:00
Jason A. Donenfeld and Samuel Holland
ad16d2cc7b
Settings: show quick tile config if no primary is defined
...
This seems like a horrific set of hacks.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-27 03:13:34 +01:00
Jason A. Donenfeld and Samuel Holland
b0bb46382c
ConfigImporter: give updates when something goes wrong
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-27 01:28:43 +01:00
Jason A. Donenfeld and Samuel Holland
d43c87a869
QuickTileService: show app if no profiles exist
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-27 00:43:34 +01:00
Jason A. Donenfeld and Samuel Holland
e421b997cd
Config: make parsing stricter
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-26 23:45:41 +01:00
Jason A. Donenfeld
69d4fe9a81
cli: move to android_kernel_wireguard
...
These tools are now part of the ROM builder's toolkit at:
https://git.zx2c4.com/android_kernel_wireguard/about/
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-25 02:11:55 +01:00
Jason A. Donenfeld
bdfb319854
Verison bump tools
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-16 22:15:05 +01:00
Jason A. Donenfeld
157f754510
cli: add wg(8) build script
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-11-01 18:23:38 +01:00
Jason A. Donenfeld and Samuel Holland
f6b864d4e7
Constant time base64
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-08-08 18:22:41 +02:00
Jason A. Donenfeld and Samuel Holland
b8cb52ed4b
project: Skeleton with license and readme
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-07-31 03:00:41 +02:00
Jason A. Donenfeld and Samuel Holland
506d871013
cli: only call DNS if there is DNS
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-07-31 22:26:00 +02:00
Jason A. Donenfeld and Samuel Holland
b2f4a755a0
cli: add multi-DNS to wg-quick
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-07-31 05:15:05 +02:00
Jason A. Donenfeld and Samuel Holland
df4fc98493
cli: import from contrib/examples/android
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2017-07-31 03:02:26 +02:00