Browse code

Update android documentation to match source code

Acked-by: Gert Doering <gert@greenie.muc.de>
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 <gert@greenie.muc.de>

Arne Schwabe authored on 2016/07/11 23:50:59
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@ This file documents the support in OpenVPN for Android 4.0 and up.
2 2
 
3 3
 This support is primarily used in the "OpenVPN for Android" app
4 4
 (http://code.google.com/p/ics-openvpn/). For building see the developer
5
-README: http://code.google.com/p/ics-openvpn/source/browse/doc/README.txt.
5
+README: https://github.com/schwabe/ics-openvpn/blob/master/doc/README.txt
6 6
 
7 7
 Android provides the VPNService API
8 8
 (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.
89 89
 For example using SIGUSR1 and management-hold to restart, pause,
90 90
 continue the VPN on network changes or the external key management
91 91
 --management-external-key option and inline files.
92
+
93
+To better support handover between networks, a the management command
94
+
95
+network-change [samenetwork]
96
+
97
+is used on the Android platform. It tells OpenVPN to do the necessary
98
+action when the network changes. Currently this is just calling
99
+the protect callback when using peer-id regardless of the samenetwork.
100
+Without peer-id OpenVPN will generate USR1 when samenetwork is not set.