From: Arne Schwabe Date: Mon, 11 Jul 2016 14:50:59 +0000 (+0200) Subject: Update android documentation to match source code X-Git-Tag: v2.4_alpha1~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49817bf0ad599b8f9e8d52be9c0bb007aece0d48;p=thirdparty%2Fopenvpn.git Update android documentation to match source code Acked-by: Gert Doering Message-Id: <1468248659-27123-1-git-send-email-arne@rfc2549.org> URL: http://article.gmane.org/gmane.network.openvpn.devel/12074 Signed-off-by: Gert Doering --- diff --git a/doc/android.txt b/doc/android.txt index 137edfc56..3a096ddc3 100644 --- a/doc/android.txt +++ b/doc/android.txt @@ -2,7 +2,7 @@ This file documents the support in OpenVPN for Android 4.0 and up. This support is primarily used in the "OpenVPN for Android" app (http://code.google.com/p/ics-openvpn/). For building see the developer -README: http://code.google.com/p/ics-openvpn/source/browse/doc/README.txt. +README: https://github.com/schwabe/ics-openvpn/blob/master/doc/README.txt Android provides the VPNService API (http://developer.android.com/reference/android/net/VpnService.html) @@ -89,3 +89,12 @@ are not specific to Android but are rarely used on other platform. For example using SIGUSR1 and management-hold to restart, pause, continue the VPN on network changes or the external key management --management-external-key option and inline files. + +To better support handover between networks, a the management command + +network-change [samenetwork] + +is used on the Android platform. It tells OpenVPN to do the necessary +action when the network changes. Currently this is just calling +the protect callback when using peer-id regardless of the samenetwork. +Without peer-id OpenVPN will generate USR1 when samenetwork is not set.