From 6f94d1f6e43464fcc7282d618fbbc9ab19a61da7 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 15 Aug 2014 11:30:31 +0200 Subject: Android OpenVPN docu --HG-- extra : rebase_source : e247fc387df5d3c3a88ea6534bfe85bb0f6f5fb2 --- main/openvpn/doc/android.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/main/openvpn/doc/android.txt b/main/openvpn/doc/android.txt index 871e3997..cf8b3c79 100644 --- a/main/openvpn/doc/android.txt +++ b/main/openvpn/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/README.txt. +README: http://code.google.com/p/ics-openvpn/source/browse/doc/README.txt. Android provides the VPNService API (http://developer.android.com/reference/android/net/VpnService.html) @@ -74,3 +74,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. + +Due to a bug in Android 4.4-4.4.2 there the Android Control will also +query what action the daemon should take when opening the fd. The GUI +should compare the last configuration of the tun device with the current +tun configuration and reply with either + +- NOACTION: Keep using the old fd +- OPEN_AFTER_CLOSE: First close the old fd and then open a new to workaround the bug +- OPEN_BEFORE_CLOSE: the normal behaviour when the VPN configuration changed -- cgit v1.2.3