Go to file
Zhao Gang 61d4f17f5d config: fix wrong Peer endpoint string format
When a tunnel is running, saving the tunnel's config with an IPv6
address endpoint like [::1]:42 would result in the wrong format ::1:42.
This patch fixes it.

For endpoints with an IPv6 address(e.g. [::1]:42). Since the default
endpoint InetSocketAddress is created unresolved, getEndpointString()
returns "[::1]:42" (InetSocketAddress.getHostString() returns the
literal hostname). After the endpoint is resolved, getEndpointString()
returns "::1:42" (InetSocketAddress.getHostString() returns the IPv6
address without the square brackets). This inconsistent return values
caused the above mentioned bug.

With this patch, function getEndpointString would return the right
format string whether the endpoint is resolved or not.

Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-16 12:08:09 -07:00
.idea global: Add nullity annotations 2018-07-13 03:46:23 +02:00
app config: fix wrong Peer endpoint string format 2018-08-16 12:08:09 -07:00
gradle/wrapper app: Regularly scheduled gradle updates 2018-06-19 21:35:54 -05:00
.gitignore global: Add nullity annotations 2018-07-13 03:46:23 +02:00
.gitmodules GoBackend: integrate into app 2018-02-17 21:14:09 +01:00
build.gradle app: Regularly scheduled gradle updates 2018-06-19 21:35:54 -05:00
COPYING global: move to Apache 2.0 2018-07-06 16:28:46 +02:00
gradle.properties project: Create empty project with WireGuard icon 2017-07-28 23:10:37 -05:00
gradlew wg-build: Update gradle build files 2018-05-02 03:40:02 +02:00
README.md global: move to Apache 2.0 2018-07-06 16:28:46 +02:00
settings.gradle project: Create empty project with WireGuard icon 2017-07-28 23:10:37 -05:00

Android GUI for WireGuard

Download from the Play Store

This is an Android GUI for WireGuard. It opportunistically uses the kernel implementation, and falls back to using the non-root userspace implementation.

Building

$ git clone https://git.zx2c4.com/wireguard-android
$ cd wireguard-android
$ git submodule init
$ git submodule update
$ ./gradlew assembleRelease