summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2015-02-14 11:48:37 +0100
committerParménides GV <parmegv@sdf.org>2015-02-14 11:48:37 +0100
commitc198dbd9dd583d980ae7e70118f67d09bed8de55 (patch)
treec2863f28134af00f26299c97bb6a81ed0aa4ed96
parent9d346be65e6808710b9e814d2899e5888984b4ab (diff)
parent4028c100a59c45913cb569c4967faaddc090b1f9 (diff)
Merge branch 'develop'0.9.2
-rw-r--r--CHANGELOG6
-rw-r--r--app/build.gradle28
-rw-r--r--app/jni/jniglue.c2
-rw-r--r--app/openvpn/config-msvc.h1
-rw-r--r--app/openvpn/config-version.h2
-rw-r--r--app/openvpn/configure.ac28
-rw-r--r--app/openvpn/doc/doxygen/doc_data_crypto.h12
-rw-r--r--app/openvpn/doc/doxygen/openvpn.doxyfile2
-rw-r--r--app/openvpn/doc/openvpn.833
-rw-r--r--app/openvpn/include/openvpn-plugin.h8
-rw-r--r--app/openvpn/sample/sample-plugins/log/log_v3.c2
-rw-r--r--app/openvpn/src/openvpn/crypto.c20
-rw-r--r--app/openvpn/src/openvpn/crypto.h9
-rw-r--r--app/openvpn/src/openvpn/crypto_openssl.c84
-rw-r--r--app/openvpn/src/openvpn/crypto_openssl.h25
-rw-r--r--app/openvpn/src/openvpn/error.c29
-rw-r--r--app/openvpn/src/openvpn/error.h11
-rw-r--r--app/openvpn/src/openvpn/forward-inline.h4
-rw-r--r--app/openvpn/src/openvpn/forward.c18
-rw-r--r--app/openvpn/src/openvpn/init.c45
-rw-r--r--app/openvpn/src/openvpn/manage.c6
-rw-r--r--app/openvpn/src/openvpn/multi.c13
-rw-r--r--app/openvpn/src/openvpn/openvpn.h9
-rw-r--r--app/openvpn/src/openvpn/options.c138
-rw-r--r--app/openvpn/src/openvpn/options.h4
-rw-r--r--app/openvpn/src/openvpn/plugin.c8
-rw-r--r--app/openvpn/src/openvpn/plugin.h6
-rw-r--r--app/openvpn/src/openvpn/reliable.c4
-rw-r--r--app/openvpn/src/openvpn/reliable.h4
-rw-r--r--app/openvpn/src/openvpn/route.c21
-rw-r--r--app/openvpn/src/openvpn/session_id.c4
-rw-r--r--app/openvpn/src/openvpn/session_id.h4
-rw-r--r--app/openvpn/src/openvpn/ssl.c20
-rw-r--r--app/openvpn/src/openvpn/ssl.h4
-rw-r--r--app/openvpn/src/openvpn/ssl_openssl.c123
-rw-r--r--app/openvpn/src/openvpn/ssl_polarssl.c4
-rw-r--r--app/openvpn/src/openvpn/ssl_verify.c6
-rw-r--r--app/openvpn/src/openvpn/ssl_verify.h12
-rw-r--r--app/openvpn/src/openvpn/ssl_verify_openssl.c4
-rw-r--r--app/openvpn/src/openvpn/ssl_verify_polarssl.c4
-rw-r--r--app/openvpn/src/openvpn/syshead.h10
-rw-r--r--app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java4
-rw-r--r--app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java22
-rw-r--r--app/src/debug/java/se/leap/bitmaskclient/ProviderDetailFragment.java34
-rw-r--r--app/src/main/AndroidManifest.xml4
-rw-r--r--app/src/main/aidl/com/android/vending/billing/IInAppBillingService.aidl144
-rw-r--r--app/src/main/java/de/blinkt/openvpn/LaunchVPN.java32
-rw-r--r--app/src/main/java/de/blinkt/openvpn/core/ConfigParser.java1030
-rw-r--r--app/src/main/java/de/blinkt/openvpn/core/NetworkSpace.java13
-rw-r--r--app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java30
-rw-r--r--app/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java5
-rw-r--r--app/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java2
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/Dashboard.java11
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/SessionDialog.java78
-rw-r--r--app/src/main/res/drawable-hdpi/ic_check_white_24dp.pngbin0 -> 309 bytes
-rw-r--r--app/src/main/res/drawable-mdpi/ic_check_white_24dp.pngbin0 -> 243 bytes
-rw-r--r--app/src/main/res/drawable-xhdpi/ic_check_white_24dp.pngbin0 -> 363 bytes
-rw-r--r--app/src/main/res/drawable-xxhdpi/ic_check_white_24dp.pngbin0 -> 460 bytes
-rw-r--r--app/src/main/res/drawable-xxxhdpi/ic_check_white_24dp.pngbin0 -> 587 bytes
-rw-r--r--app/src/main/res/layout/log_fragment.xml1
-rw-r--r--app/src/main/res/values-v21/refs.xml3
-rwxr-xr-xapp/src/main/res/values/strings-icsopenvpn.xml1
-rw-r--r--app/src/release/java/se/leap/bitmaskclient/ProviderAPI.java22
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/LaunchVPN.java227
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/VpnProfile.java1065
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/activities/DisconnectVPN.java93
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/activities/LogWindow.java37
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/CIDRIP.java75
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java880
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/DeviceStateReceiver.java244
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ICSOpenVPNApplication.java42
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/NativeUtils.java19
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/NetworkSpace.java341
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVPNManagement.java29
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java934
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java209
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java614
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/PRNGFixes.java339
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ProfileManager.java229
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ProxyDetection.java60
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java139
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java549
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/X509Utils.java160
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java675
-rw-r--r--ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java74
-rw-r--r--ics-openvpn-stripped/main/src/main/res/layout-sw600dp-port/log_fragment.xml45
-rw-r--r--ics-openvpn-stripped/main/src/main/res/layout-sw600dp/log_fragment.xml34
-rw-r--r--ics-openvpn-stripped/main/src/main/res/layout/log_fragment.xml36
-rw-r--r--ics-openvpn-stripped/main/src/main/res/layout/log_silders.xml66
-rw-r--r--ics-openvpn-stripped/main/src/main/res/layout/log_window.xml12
-rw-r--r--ics-openvpn-stripped/main/src/main/res/layout/vpnstatus.xml51
-rw-r--r--ics-openvpn-stripped/main/src/main/res/menu/logmenu.xml44
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-ca/strings.xml125
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-cs/strings.xml351
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-de/strings.xml354
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-es/strings.xml355
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-et/strings.xml354
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-fr/strings.xml327
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-hu/strings.xml289
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-in/strings.xml291
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-it/strings.xml341
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-ja/strings.xml336
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-ko/strings.xml312
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-nl/strings.xml130
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-no/strings.xml156
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-pl/strings.xml265
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-pt/strings.xml256
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-ro/strings.xml281
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-ru/strings.xml327
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-sv/strings.xml279
-rw-r--r--ics-openvpn-stripped/main/src/main/res/values-sw600dp/dimens.xml10
-rw-r--r--ics-openvpn-stripped/main/src/main/res/values-sw600dp/styles.xml11
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-tr/strings.xml336
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-uk/strings.xml299
-rw-r--r--ics-openvpn-stripped/main/src/main/res/values-v21/styles.xml17
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-zh-rCN/strings.xml319
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values-zh-rTW/strings.xml194
-rw-r--r--ics-openvpn-stripped/main/src/main/res/values/dimens.xml20
-rwxr-xr-xics-openvpn-stripped/main/src/main/res/values/strings.xml354
-rw-r--r--ics-openvpn-stripped/main/src/main/res/values/styles.xml66
-rw-r--r--ics-openvpn-stripped/main/src/main/res/values/untranslatable.xml50
-rw-r--r--ics-openvpn-stripped/main/src/ovpn3/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java275
122 files changed, 1044 insertions, 15571 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 702bfd8f..d879089d 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,9 @@
+0.9.2
+Bugs:
+- Sign Up dialog works correctly
+Features:
+- Updated ics-openvpn code (thanks Arne!)
+
0.9.1 January 21 2015 - the "insistent reloaded" release
Bugs:
- Autostart on boot works
diff --git a/app/build.gradle b/app/build.gradle
index b5c50fa4..4d3c5b9c 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -53,7 +53,7 @@ def processFileInplace(file, Closure processText) {
}
-task checkoutStrippedIcsOpenVPN ( type: Copy ) << {
+task checkoutStrippedIcsOpenVPN ( type: Copy ) {
println "checkoutStrippedIcsOpenVPN"
//FIXME Checkout ics-openvpn-stripped from branch "ics-openvpn-upstream"
//grgit = Grgit.open(project.file('../'))
@@ -62,11 +62,11 @@ task checkoutStrippedIcsOpenVPN ( type: Copy ) << {
into '../ics-openvpn-stripped'
}
-task copyIcsOpenVPNClasses( type: Copy ) << {
+task copyIcsOpenVPNClasses( type: Copy ) {
println "copyIcsOpenVPNClasses"
from ('../ics-openvpn-stripped/main/') {
include '**/*.java'
- include '**/*.aidl'
+
includeEmptyDirs = false
filter {
@@ -78,13 +78,10 @@ task copyIcsOpenVPNClasses( type: Copy ) << {
filter {
line -> line.replace('package de.blinkt.openvpn;', 'package de.blinkt.openvpn;\n\nimport se.leap.bitmaskclient.R;')
}
- filter {
- line -> line.replace('package de.blinkt.openvpn.fragments;', 'package de.blinkt.openvpn.fragments;\n\nimport se.leap.bitmaskclient.R;')
- }
} into '.'
}
-task copyIcsOpenVPNXml( type: Copy ) << {
+task copyIcsOpenVPNXml( type: Copy ) {
println "copyIcsOpenVPNXml"
from ('../ics-openvpn-stripped/main/') {
include '**/strings.xml'
@@ -105,7 +102,7 @@ task copyIcsOpenVPNXml( type: Copy ) << {
} into '.'
}
-task copyIcsOpenVPNImages( type: Copy ) << {
+task copyIcsOpenVPNImages( type: Copy ) {
println "copyIcsOpenVPNImages"
from ('../ics-openvpn-stripped/main/') {
include '**/ic_filter*.png'
@@ -113,12 +110,13 @@ task copyIcsOpenVPNImages( type: Copy ) << {
include '**/ic_share*.png'
include '**/ic_close*.png'
include '**/ic_edit*.png'
+ include '**/ic_check*.png'
includeEmptyDirs = false
} into '.'
}
-task copyIcsOpenVPNFiles( type: Copy, dependsOn: 'checkoutStrippedIcsOpenVPN' ) << {
+task copyIcsOpenVPNFiles( type: Copy, dependsOn: 'checkoutStrippedIcsOpenVPN' ) {
println "copyIcsOpenVPNFiles"
copyIcsOpenVPNClasses.execute()
copyIcsOpenVPNXml.execute()
@@ -126,9 +124,9 @@ task copyIcsOpenVPNFiles( type: Copy, dependsOn: 'checkoutStrippedIcsOpenVPN' )
}
// thanks to http://pleac.sourceforge.net/pleac_groovy/fileaccess.html
-task removeDuplicatedStrings( dependsOn: 'copyIcsOpenVPNFiles' ) << {
+task removeDuplicatedStrings( dependsOn: 'copyIcsOpenVPNFiles' ) {
println "removeDuplicatedStrings"
- new File('app').eachFileRecurse {
+ new File('.').eachFileRecurse {
if(it.name.equals('strings.xml')) {
def ics_openvpn_file = file(it.absolutePath.replace('strings.xml', 'strings-icsopenvpn.xml'))
if(ics_openvpn_file.exists()) {
@@ -145,7 +143,7 @@ task removeDuplicatedStrings( dependsOn: 'copyIcsOpenVPNFiles' ) << {
}
}
-task mergeUntranslatable( type: Copy, dependsOn: 'removeDuplicatedStrings') << {
+task mergeUntranslatable( type: Copy, dependsOn: 'removeDuplicatedStrings') {
println "mergeUntranslatable"
from ('../ics-openvpn-stripped/main/') {
include '**/untranslatable.xml'
@@ -178,8 +176,8 @@ task mergeUntranslatable( type: Copy, dependsOn: 'removeDuplicatedStrings') << {
delete ics_openvpn_untranslatable
}
-task updateIcsOpenVpn( type: Copy, dependsOn: 'mergeUntranslatable') << {
- from('../ics-openvpn-stripped/main/src/') {
+task updateIcsOpenVpn( type: Copy, dependsOn: 'mergeUntranslatable') {
+ from('../ics-openvpn-stripped/') {
include 'openvpn/**/*'
include 'openssl/**/*'
include 'lzo/**/**'
@@ -196,4 +194,4 @@ task buildNative ( type: Exec ) {
commandLine 'sh', 'misc/build-native.sh', 'USE_BREAKPAD=0', '-j 8'
}
-preBuild.dependsOn buildNative \ No newline at end of file
+preBuild.dependsOn buildNative
diff --git a/app/jni/jniglue.c b/app/jni/jniglue.c
index d446f78c..12e67543 100644
--- a/app/jni/jniglue.c
+++ b/app/jni/jniglue.c
@@ -7,7 +7,9 @@
#include "jniglue.h"
jint JNI_OnLoad(JavaVM *vm, void *reserved) {
+#ifndef NDEBUG
__android_log_write(ANDROID_LOG_DEBUG,"openvpn", "Loading openvpn native library $id$ compiled on " __DATE__ " " __TIME__ );
+#endif
return JNI_VERSION_1_2;
}
diff --git a/app/openvpn/config-msvc.h b/app/openvpn/config-msvc.h
index fa993843..8294c2c7 100644
--- a/app/openvpn/config-msvc.h
+++ b/app/openvpn/config-msvc.h
@@ -18,7 +18,6 @@
#define ENABLE_PLUGIN 1
#define ENABLE_PORT_SHARE 1
#define ENABLE_SOCKS 1
-#define ENABLE_SSL 1
#define HAVE_ERRNO_H 1
#define HAVE_FCNTL_H 1
diff --git a/app/openvpn/config-version.h b/app/openvpn/config-version.h
index f89c974f..4aa92283 100644
--- a/app/openvpn/config-version.h
+++ b/app/openvpn/config-version.h
@@ -1,2 +1,2 @@
-#define CONFIGURE_GIT_REVISION "icsopenvpn_625-af9eb9424047f9f5"
+#define CONFIGURE_GIT_REVISION "icsopenvpn_627-cff5e3e9c3ac08df"
#define CONFIGURE_GIT_FLAGS ""
diff --git a/app/openvpn/configure.ac b/app/openvpn/configure.ac
index ddaa2b2e..91324688 100644
--- a/app/openvpn/configure.ac
+++ b/app/openvpn/configure.ac
@@ -79,13 +79,6 @@ AC_ARG_ENABLE(
)
AC_ARG_ENABLE(
- [ssl],
- [AS_HELP_STRING([--disable-ssl], [disable SSL support for TLS-based key exchange @<:@default=yes@:>@])],
- ,
- [enable_ssl="yes"]
-)
-
-AC_ARG_ENABLE(
[x509-alt-username],
[AS_HELP_STRING([--enable-x509-alt-username], [enable the --x509-username-field feature @<:@default=no@:>@])],
,
@@ -1080,19 +1073,11 @@ case "${with_crypto_library}" in
;;
esac
-if test "${enable_ssl}" = "yes"; then
- test "${enable_crypto}" != "yes" && AC_MSG_ERROR([crypto must be enabled for ssl])
- test "${have_crypto_ssl}" != "yes" && AC_MSG_ERROR([${with_ssl_library} ssl is required but missing])
- OPTIONAL_CRYPTO_CFLAGS="${OPTIONAL_CRYPTO_CFLAGS} ${CRYPTO_SSL_CFLAGS}"
- OPTIONAL_CRYPTO_LIBS="${OPTIONAL_CRYPTO_LIBS} ${CRYPTO_SSL_LIBS}"
- AC_DEFINE([ENABLE_SSL], [1], [Enable ssl library])
-fi
-
if test "${enable_crypto}" = "yes"; then
test "${have_crypto_crypto}" != "yes" && AC_MSG_ERROR([${with_crypto_library} crypto is required but missing])
test "${enable_crypto_ofb_cfb}" = "yes" && AC_DEFINE([ENABLE_OFB_CFB_MODE], [1], [Enable OFB and CFB cipher modes])
- OPTIONAL_CRYPTO_CFLAGS="${OPTIONAL_CRYPTO_CFLAGS} ${CRYPTO_CRYPTO_CFLAGS}"
- OPTIONAL_CRYPTO_LIBS="${OPTIONAL_CRYPTO_LIBS} ${CRYPTO_CRYPTO_LIBS}"
+ OPTIONAL_CRYPTO_CFLAGS="${OPTIONAL_CRYPTO_CFLAGS} ${CRYPTO_CRYPTO_CFLAGS} ${CRYPTO_SSL_CFLAGS}"
+ OPTIONAL_CRYPTO_LIBS="${OPTIONAL_CRYPTO_LIBS} ${CRYPTO_CRYPTO_LIBS} ${CRYPTO_SSL_LIBS}"
AC_DEFINE([ENABLE_CRYPTO], [1], [Enable crypto library])
fi
@@ -1135,10 +1120,17 @@ fi
if test "${enable_pkcs11}" = "yes"; then
test "${have_pkcs11_helper}" != "yes" && AC_MSG_ERROR([PKCS11 enabled but libpkcs11-helper is missing])
- test "${enable_ssl}" != "yes" && AC_MSG_ERROR([PKCS11 can be enabled only if SSL is enabled])
+ test "${enable_crypto}" != "yes" && AC_MSG_ERROR([PKCS11 can be enabled only if crypto is enabled])
OPTIONAL_PKCS11_HELPER_CFLAGS="${PKCS11_HELPER_CFLAGS}"
OPTIONAL_PKCS11_HELPER_LIBS="${PKCS11_HELPER_LIBS}"
AC_DEFINE([ENABLE_PKCS11], [1], [Enable PKCS11])
+ PKG_CHECK_MODULES(
+ [P11KIT],
+ [p11-kit-1],
+ [proxy_module="`$PKG_CONFIG --variable=proxy_module p11-kit-1`"
+ AC_DEFINE_UNQUOTED([DEFAULT_PKCS11_MODULE], "${proxy_module}", [p11-kit proxy])],
+ []
+ )
fi
if test "${enable_pedantic}" = "yes"; then
diff --git a/app/openvpn/doc/doxygen/doc_data_crypto.h b/app/openvpn/doc/doxygen/doc_data_crypto.h
index 640203f4..11726724 100644
--- a/app/openvpn/doc/doxygen/doc_data_crypto.h
+++ b/app/openvpn/doc/doxygen/doc_data_crypto.h
@@ -60,12 +60,12 @@
*
* @par Settings that control this module's activity
* Whether or not the Data Channel Crypto module is active depends on the
- * compile-time \c ENABLE_CRYPTO and \c ENABLE_SSL preprocessor macros. How it
- * processes packets received from the \link data_control Data Channel
- * Control module\endlink at runtime depends on the associated \c
- * crypto_options structure. To perform cryptographic operations, the \c
- * crypto_options.key_ctx_bi must contain the correct cipher and HMAC
- * security parameters for the direction the packet is traveling in.
+ * compile-time \c ENABLE_CRYPTO preprocessor macro. How it processes packets
+ * received from the \link data_control Data Channel Control module\endlink at
+ * runtime depends on the associated \c crypto_options structure. To perform
+ * cryptographic operations, the \c crypto_options.key_ctx_bi must contain the
+ * correct cipher and HMAC security parameters for the direction the packet is
+ * traveling in.
*
* @par Crypto algorithms
* This module uses the crypto algorithm implementations of the external
diff --git a/app/openvpn/doc/doxygen/openvpn.doxyfile b/app/openvpn/doc/doxygen/openvpn.doxyfile
index cf26c42a..7a02028a 100644
--- a/app/openvpn/doc/doxygen/openvpn.doxyfile
+++ b/app/openvpn/doc/doxygen/openvpn.doxyfile
@@ -235,7 +235,7 @@ EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
-PREDEFINED = WIN32 NTLM USE_LZO ENABLE_FRAGMENT P2MP P2MP_SERVER ENABLE_CRYPTO ENABLE_CRYPTO_OPENSSL ENABLE_SSL ENABLE_PLUGIN ENABLE_MANAGEMENT ENABLE_OCC HAVE_GETTIMEOFDAY
+PREDEFINED = WIN32 NTLM USE_LZO ENABLE_FRAGMENT P2MP P2MP_SERVER ENABLE_CRYPTO ENABLE_CRYPTO_OPENSSL ENABLE_PLUGIN ENABLE_MANAGEMENT ENABLE_OCC HAVE_GETTIMEOFDAY
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
diff --git a/app/openvpn/doc/openvpn.8 b/app/openvpn/doc/openvpn.8
index 532eda5c..a8c189c9 100644
--- a/app/openvpn/doc/openvpn.8
+++ b/app/openvpn/doc/openvpn.8
@@ -4239,13 +4239,18 @@ Not available with PolarSSL.
File containing Diffie Hellman parameters
in .pem format (required for
.B \-\-tls-server
-only). Use
+only).
-.B openssl dhparam -out dh1024.pem 1024
+Set
+.B file=none
+to disable Diffie Hellman key exchange (and use ECDH only). Note that this
+requires peers to be using an SSL library that supports ECDH TLS cipher suites
+(e.g. OpenSSL 1.0.1+, or PolarSSL 1.3+).
-to generate your own, or use the existing dh1024.pem file
-included with the OpenVPN distribution. Diffie Hellman parameters
-may be considered public.
+Use
+.B openssl dhparam -out dh2048.pem 2048
+to generate 2048-bit DH parameters. Diffie Hellman parameters may be considered
+public.
.\"*********************************************************
.TP
.B \-\-ecdh-curve name
@@ -4393,6 +4398,16 @@ This option can be used instead of
.B \-\-cert, \-\-key,
and
.B \-\-pkcs12.
+
+If p11-kit is present on the system, its
+.B p11-kit-proxy.so
+module will be loaded by default if either the
+.B \-\-pkcs11\-id
+or
+.B \-\-pkcs11\-id\-management
+options are specified without
+.B \-\-pkcs11\-provider
+being given.
.\"*********************************************************
.TP
.B \-\-pkcs11-private-mode mode...
@@ -5480,11 +5495,17 @@ adapter list.
.SS PKCS#11 Standalone Options:
.\"*********************************************************
.TP
-.B \-\-show-pkcs11-ids provider [cert_private]
+.B \-\-show-pkcs11-ids [provider] [cert_private]
(Standalone)
Show PKCS#11 token object list. Specify cert_private as 1
if certificates are stored as private objects.
+If p11-kit is present on the system, the
+.B provider
+argument is optional; if omitted the default
+.B p11-kit-proxy.so
+module will be queried.
+
.B \-\-verb
option can be used BEFORE this option to produce debugging information.
.\"*********************************************************
diff --git a/app/openvpn/include/openvpn-plugin.h b/app/openvpn/include/openvpn-plugin.h
index 5f2d4079..080ffff2 100644
--- a/app/openvpn/include/openvpn-plugin.h
+++ b/app/openvpn/include/openvpn-plugin.h
@@ -27,7 +27,7 @@
#define OPENVPN_PLUGIN_VERSION 3
-#ifdef ENABLE_SSL
+#ifdef ENABLE_CRYPTO
#ifdef ENABLE_CRYPTO_POLARSSL
#include <polarssl/x509_crt.h>
#ifndef __OPENVPN_X509_CERT_T_DECLARED
@@ -358,9 +358,9 @@ struct openvpn_plugin_args_open_return
* *per_client_context : the per-client context pointer which was returned by
* openvpn_plugin_client_constructor_v1, if defined.
*
- * current_cert_depth : Certificate depth of the certificate being passed over (only if compiled with ENABLE_SSL defined)
+ * current_cert_depth : Certificate depth of the certificate being passed over (only if compiled with ENABLE_CRYPTO defined)
*
- * *current_cert : X509 Certificate object received from the client (only if compiled with ENABLE_SSL defined)
+ * *current_cert : X509 Certificate object received from the client (only if compiled with ENABLE_CRYPTO defined)
*
*/
struct openvpn_plugin_args_func_in
@@ -370,7 +370,7 @@ struct openvpn_plugin_args_func_in
const char ** const envp;
openvpn_plugin_handle_t handle;
void *per_client_context;
-#ifdef ENABLE_SSL
+#ifdef ENABLE_CRYPTO
int current_cert_depth;
openvpn_x509_cert_t *current_cert;
#else
diff --git a/app/openvpn/sample/sample-plugins/log/log_v3.c b/app/openvpn/sample/sample-plugins/log/log_v3.c
index 4d3af91a..bf1a15c8 100644
--- a/app/openvpn/sample/sample-plugins/log/log_v3.c
+++ b/app/openvpn/sample/sample-plugins/log/log_v3.c
@@ -36,7 +36,7 @@
#include <string.h>
#include <stdlib.h>
-#define ENABLE_SSL
+#define ENABLE_CRYPTO
#include "openvpn-plugin.h"
diff --git a/app/openvpn/src/openvpn/crypto.c b/app/openvpn/src/openvpn/crypto.c
index eaef9643..5cf9b9cd 100644
--- a/app/openvpn/src/openvpn/crypto.c
+++ b/app/openvpn/src/openvpn/crypto.c
@@ -726,8 +726,6 @@ test_crypto (const struct crypto_options *co, struct frame* frame)
gc_free (&gc);
}
-#ifdef ENABLE_SSL
-
void
get_tls_handshake_key (const struct key_type *key_type,
struct key_ctx_bi *ctx,
@@ -799,7 +797,6 @@ get_tls_handshake_key (const struct key_type *key_type,
CLEAR (*ctx);
}
}
-#endif
/* header and footer for static key file */
static const char static_key_head[] = "-----BEGIN OpenVPN Static key V1-----";
@@ -1322,23 +1319,6 @@ get_random()
return l;
}
-#ifndef ENABLE_SSL
-
-void
-init_ssl_lib (void)
-{
- crypto_init_lib ();
-}
-
-void
-free_ssl_lib (void)
-{
- crypto_uninit_lib ();
- prng_uninit();
-}
-
-#endif /* ENABLE_SSL */
-
/*
* md5 functions
*/
diff --git a/app/openvpn/src/openvpn/crypto.h b/app/openvpn/src/openvpn/crypto.h
index e4898278..82158f9c 100644
--- a/app/openvpn/src/openvpn/crypto.h
+++ b/app/openvpn/src/openvpn/crypto.h
@@ -413,8 +413,6 @@ void key2_print (const struct key2* k,
const char* prefix0,
const char* prefix1);
-#ifdef ENABLE_SSL
-
#define GHK_INLINE (1<<0)
void get_tls_handshake_key (const struct key_type *key_type,
struct key_ctx_bi *ctx,
@@ -422,13 +420,6 @@ void get_tls_handshake_key (const struct key_type *key_type,
const int key_direction,
const unsigned int flags);
-#else
-
-void init_ssl_lib (void);
-void free_ssl_lib (void);
-
-#endif /* ENABLE_SSL */
-
/*
* md5 functions
*/
diff --git a/app/openvpn/src/openvpn/crypto_openssl.c b/app/openvpn/src/openvpn/crypto_openssl.c
index f7a491d6..2d81a6d8 100644
--- a/app/openvpn/src/openvpn/crypto_openssl.c
+++ b/app/openvpn/src/openvpn/crypto_openssl.c
@@ -42,9 +42,12 @@
#include "integer.h"
#include "crypto.h"
#include "crypto_backend.h"
-#include <openssl/objects.h>
-#include <openssl/evp.h>
+
#include <openssl/des.h>
+#include <openssl/err.h>
+#include <openssl/evp.h>
+#include <openssl/objects.h>
+#include <openssl/ssl.h>
/*
* Check for key size creepage.
@@ -100,13 +103,15 @@ setup_engine (const char *engine)
if ((e = ENGINE_by_id (engine)) == NULL
&& (e = try_load_engine (engine)) == NULL)
{
- msg (M_FATAL, "OpenSSL error: cannot load engine '%s'", engine);
+ crypto_msg (M_FATAL, "OpenSSL error: cannot load engine '%s'",
+ engine);
}
if (!ENGINE_set_default (e, ENGINE_METHOD_ALL))
{
- msg (M_FATAL, "OpenSSL error: ENGINE_set_default failed on engine '%s'",
- engine);
+ crypto_msg (M_FATAL,
+ "OpenSSL error: ENGINE_set_default failed on engine '%s'",
+ engine);
}
msg (M_INFO, "Initializing OpenSSL support for engine '%s'",
@@ -142,14 +147,6 @@ crypto_init_lib_engine (const char *engine_name)
void
crypto_init_lib (void)
{
-#ifndef ENABLE_SSL
- /* If SSL is enabled init is taken care of in ssl_openssl.c */
-#ifndef ENABLE_SMALL
- ERR_load_crypto_strings ();
-#endif
- OpenSSL_add_all_algorithms ();
-#endif
-
/*
* If you build the OpenSSL library and OpenVPN with
* CRYPTO_MDEBUG, you will get a listing of OpenSSL
@@ -164,14 +161,6 @@ crypto_init_lib (void)
void
crypto_uninit_lib (void)
{
-#ifndef ENABLE_SSL
- /* If SSL is enabled cleanup is taken care of in ssl_openssl.c */
- EVP_cleanup ();
-#ifndef ENABLE_SMALL
- ERR_free_strings ();
-#endif
-#endif
-
#ifdef CRYPTO_MDEBUG
FILE* fp = fopen ("sdlog", "w");
ASSERT (fp);
@@ -195,6 +184,26 @@ crypto_clear_error (void)
ERR_clear_error ();
}
+void
+crypto_print_openssl_errors(const unsigned int flags) {
+ size_t err = 0;
+
+ while ((err = ERR_get_error ()))
+ {
+ /* Be more clear about frequently occurring "no shared cipher" error */
+ if (err == ERR_PACK(ERR_LIB_SSL,SSL_F_SSL3_GET_CLIENT_HELLO,
+ SSL_R_NO_SHARED_CIPHER))
+ {
+ msg (D_CRYPT_ERRORS, "TLS error: The server has no TLS ciphersuites "
+ "in common with the client. Your --tls-cipher setting might be "
+ "too restrictive.");
+ }
+
+ msg (flags, "OpenSSL: %s", ERR_error_string (err, NULL));
+ }
+}
+
+
/*
*
* OpenSSL memory debugging. If dmalloc debugging is enabled, tell
@@ -386,17 +395,20 @@ key_des_check (uint8_t *key, int key_len, int ndc)
DES_cblock *dc = (DES_cblock*) buf_read_alloc (&b, sizeof (DES_cblock));
if (!dc)
{
- msg (D_CRYPT_ERRORS, "CRYPTO INFO: check_key_DES: insufficient key material");
+ crypto_msg (D_CRYPT_ERRORS,
+ "CRYPTO INFO: check_key_DES: insufficient key material");
goto err;
}
if (DES_is_weak_key(dc))
{
- msg (D_CRYPT_ERRORS, "CRYPTO INFO: check_key_DES: weak key detected");
+ crypto_msg (D_CRYPT_ERRORS,
+ "CRYPTO INFO: check_key_DES: weak key detected");
goto err;
}
if (!DES_check_key_parity (dc))
{
- msg (D_CRYPT_ERRORS, "CRYPTO INFO: check_key_DES: bad parity detected");
+ crypto_msg (D_CRYPT_ERRORS,
+ "CRYPTO INFO: check_key_DES: bad parity detected");
goto err;
}
}
@@ -445,7 +457,7 @@ cipher_kt_get (const char *ciphername)
cipher = EVP_get_cipherbyname (ciphername);
if (NULL == cipher)
- msg (M_SSLERR, "Cipher algorithm '%s' not found", ciphername);
+ crypto_msg (M_FATAL, "Cipher algorithm '%s' not found", ciphername);
if (EVP_CIPHER_key_length (cipher) > MAX_CIPHER_KEY_LENGTH)
msg (M_FATAL, "Cipher algorithm '%s' uses a default key size (%d bytes) which is larger than " PACKAGE_NAME "'s current maximum key size (%d bytes)",
@@ -529,13 +541,13 @@ cipher_ctx_init (EVP_CIPHER_CTX *ctx, uint8_t *key, int key_len,
EVP_CIPHER_CTX_init (ctx);
if (!EVP_CipherInit (ctx, kt, NULL, NULL, enc))
- msg (M_SSLERR, "EVP cipher init #1");
+ crypto_msg (M_FATAL, "EVP cipher init #1");
#ifdef HAVE_EVP_CIPHER_CTX_SET_KEY_LENGTH
if (!EVP_CIPHER_CTX_set_key_length (ctx, key_len))
- msg (M_SSLERR, "EVP set key size");
+ crypto_msg (M_FATAL, "EVP set key size");
#endif
if (!EVP_CipherInit (ctx, NULL, key, NULL, enc))
- msg (M_SSLERR, "EVP cipher init #2");
+ crypto_msg (M_FATAL, "EVP cipher init #2");
/* make sure we used a big enough key */
ASSERT (EVP_CIPHER_CTX_key_length (ctx) <= key_len);
@@ -582,7 +594,9 @@ int
cipher_ctx_update (EVP_CIPHER_CTX *ctx, uint8_t *dst, int *dst_len,
uint8_t *src, int src_len)
{
- return EVP_CipherUpdate (ctx, dst, dst_len, src, src_len);
+ if (!EVP_CipherUpdate (ctx, dst, dst_len, src, src_len))
+ crypto_msg(M_FATAL, "%s: EVP_CipherUpdate() failed", __func__);
+ return 1;
}
int
@@ -617,12 +631,14 @@ md_kt_get (const char *digest)
ASSERT (digest);
md = EVP_get_digestbyname (digest);
if (!md)
- msg (M_SSLERR, "Message hash algorithm '%s' not found", digest);
+ crypto_msg (M_FATAL, "Message hash algorithm '%s' not found", digest);
if (EVP_MD_size (md) > MAX_HMAC_KEY_LENGTH)
- msg (M_FATAL, "Message hash algorithm '%s' uses a default hash size (%d bytes) which is larger than " PACKAGE_NAME "'s current maximum hash size (%d bytes)",
- digest,
- EVP_MD_size (md),
- MAX_HMAC_KEY_LENGTH);
+ {
+ crypto_msg (M_FATAL, "Message hash algorithm '%s' uses a default hash "
+ "size (%d bytes) which is larger than " PACKAGE_NAME "'s current "
+ "maximum hash size (%d bytes)",
+ digest, EVP_MD_size (md), MAX_HMAC_KEY_LENGTH);
+ }
return md;
}
diff --git a/app/openvpn/src/openvpn/crypto_openssl.h b/app/openvpn/src/openvpn/crypto_openssl.h
index f883c2a5..42c7e9a9 100644
--- a/app/openvpn/src/openvpn/crypto_openssl.h
+++ b/app/openvpn/src/openvpn/crypto_openssl.h
@@ -70,4 +70,29 @@ typedef HMAC_CTX hmac_ctx_t;
#define DES_KEY_LENGTH 8
#define MD4_DIGEST_LENGTH 16
+/**
+ * Retrieve any occurred OpenSSL errors and print those errors.
+ *
+ * Note that this function uses the not thread-safe OpenSSL error API.
+ *
+ * @param flags Flags to indicate error type and priority.
+ */
+void crypto_print_openssl_errors(const unsigned int flags);
+
+/**
+ * Retrieve any OpenSSL errors, then print the supplied error message.
+ *
+ * This is just a convenience wrapper for often occurring situations.
+ *
+ * @param flags Flags to indicate error type and priority.
+ * @param format Format string to print.
+ * @param format args (optional) arguments for the format string.
+ */
+# define crypto_msg(flags, ...) \
+do { \
+ crypto_print_openssl_errors(nonfatal(flags)); \
+ msg((flags), __VA_ARGS__); \
+} while (false)
+
+
#endif /* CRYPTO_OPENSSL_H_ */
diff --git a/app/openvpn/src/openvpn/error.c b/app/openvpn/src/openvpn/error.c
index af865f32..72ebfab6 100644
--- a/app/openvpn/src/openvpn/error.c
+++ b/app/openvpn/src/openvpn/error.c
@@ -43,13 +43,6 @@
#include "ps.h"
#include "mstats.h"
-#ifdef ENABLE_CRYPTO
-#ifdef ENABLE_CRYPTO_OPENSSL
-#include <openssl/err.h>
-#endif
-#endif
-
-#include "memdbg.h"
#if SYSLOG_CAPABILITY
#ifndef LOG_OPENVPN
@@ -269,28 +262,6 @@ void x_msg_va (const unsigned int flags, const char *format, va_list arglist)
SWAP;
}
-#ifdef ENABLE_CRYPTO
-#ifdef ENABLE_CRYPTO_OPENSSL
- if (flags & M_SSL)
- {
- int nerrs = 0;
- size_t err;
- while ((err = ERR_get_error ()))
- {
- openvpn_snprintf (m2, ERR_BUF_SIZE, "%s: %s",
- m1, ERR_error_string (err, NULL));
- SWAP;
- ++nerrs;
- }
- if (!nerrs)
- {
- openvpn_snprintf (m2, ERR_BUF_SIZE, "%s (OpenSSL)", m1);
- SWAP;
- }
- }
-#endif
-#endif
-
if (flags & M_OPTERR)
{
openvpn_snprintf (m2, ERR_BUF_SIZE, "Options error: %s", m1);
diff --git a/app/openvpn/src/openvpn/error.h b/app/openvpn/src/openvpn/error.h
index 1e1f2acf..d5204f3f 100644
--- a/app/openvpn/src/openvpn/error.h
+++ b/app/openvpn/src/openvpn/error.h
@@ -93,10 +93,6 @@ extern int x_msg_line_num;
#define M_ERRNO (1<<8) /* show errno description */
-#ifdef ENABLE_CRYPTO_OPENSSL
-# define M_SSL (1<<10) /* show SSL error */
-#endif
-
#define M_NOMUTE (1<<11) /* don't do mute processing */
#define M_NOPREFIX (1<<12) /* don't show date/time prefix */
#define M_USAGE_SMALL (1<<13) /* fatal options error, call usage_small */
@@ -107,7 +103,6 @@ extern int x_msg_line_num;
/* flag combinations which are frequently used */
#define M_ERR (M_FATAL | M_ERRNO)
-#define M_SSLERR (M_FATAL | M_SSL)
#define M_USAGE (M_USAGE_SMALL | M_NOPREFIX | M_OPTERR)
#define M_CLIENT (M_MSG_VIRT_OUT | M_NOMUTE | M_NOIPREFIX)
@@ -354,6 +349,12 @@ ignore_sys_error (const int err)
return false;
}
+/** Convert fatal errors to nonfatal, don't touch other errors */
+static inline const unsigned int
+nonfatal(const unsigned int err) {
+ return err & M_FATAL ? (err ^ M_FATAL) | M_NONFATAL : err;
+}
+
#include "errlevel.h"
#endif
diff --git a/app/openvpn/src/openvpn/forward-inline.h b/app/openvpn/src/openvpn/forward-inline.h
index 5853ce29..0ca66929 100644
--- a/app/openvpn/src/openvpn/forward-inline.h
+++ b/app/openvpn/src/openvpn/forward-inline.h
@@ -35,7 +35,7 @@
static inline void
check_tls (struct context *c)
{
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#if defined(ENABLE_CRYPTO)
void check_tls_dowork (struct context *c);
if (c->c2.tls_multi)
check_tls_dowork (c);
@@ -49,7 +49,7 @@ check_tls (struct context *c)
static inline void
check_tls_errors (struct context *c)
{
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#if defined(ENABLE_CRYPTO)
void check_tls_errors_co (struct context *c);
void check_tls_errors_nco (struct context *c);
if (c->c2.tls_multi && c->c2.tls_exit_signal)
diff --git a/app/openvpn/src/openvpn/forward.c b/app/openvpn/src/openvpn/forward.c
index 5709ee51..f4471405 100644
--- a/app/openvpn/src/openvpn/forward.c
+++ b/app/openvpn/src/openvpn/forward.c
@@ -88,7 +88,7 @@ show_wait_status (struct context *c)
* traffic on the control-channel.
*
*/
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
void
check_tls_dowork (struct context *c)
{
@@ -117,9 +117,6 @@ check_tls_dowork (struct context *c)
if (wakeup)
context_reschedule_sec (c, wakeup);
}
-#endif
-
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
void
check_tls_errors_co (struct context *c)
@@ -133,8 +130,7 @@ check_tls_errors_nco (struct context *c)
{
register_signal (c, c->c2.tls_exit_signal, "tls-error"); /* SOFT-SIGUSR1 -- TLS error */
}
-
-#endif
+#endif /* ENABLE_CRYPTO */
#if P2MP
@@ -239,7 +235,7 @@ check_connection_established_dowork (struct context *c)
bool
send_control_channel_string (struct context *c, const char *str, int msglevel)
{
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
if (c->c2.tls_multi) {
struct gc_arena gc = gc_new ();
bool stat;
@@ -264,7 +260,7 @@ send_control_channel_string (struct context *c, const char *str, int msglevel)
gc_free (&gc);
return stat;
}
-#endif
+#endif /* ENABLE_CRYPTO */
return true;
}
@@ -457,7 +453,6 @@ encrypt_sign (struct context *c, bool comp_frag)
}
#ifdef ENABLE_CRYPTO
-#ifdef ENABLE_SSL
/*
* If TLS mode, get the key we will use to encrypt
* the packet.
@@ -466,7 +461,6 @@ encrypt_sign (struct context *c, bool comp_frag)
{
tls_pre_encrypt (c->c2.tls_multi, &c->c2.buf, &c->c2.crypto_options);
}
-#endif
/*
* Encrypt the packet and write an optional
@@ -480,7 +474,6 @@ encrypt_sign (struct context *c, bool comp_frag)
link_socket_get_outgoing_addr (&c->c2.buf, get_link_socket_info (c),
&c->c2.to_link_addr);
#ifdef ENABLE_CRYPTO
-#ifdef ENABLE_SSL
/*
* In TLS mode, prepend the appropriate one-byte opcode
* to the packet which identifies it as a data channel
@@ -493,7 +486,6 @@ encrypt_sign (struct context *c, bool comp_frag)
tls_post_encrypt (c->c2.tls_multi, &c->c2.buf);
}
#endif
-#endif
/* if null encryption, copy result to read_tun_buf */
buffer_turnover (orig_buf, &c->c2.to_link, &c->c2.buf, &b->read_tun_buf);
@@ -783,7 +775,6 @@ process_incoming_link_part1 (struct context *c, struct link_socket_info *lsi, bo
link_socket_bad_incoming_addr (&c->c2.buf, lsi, &c->c2.from);
#ifdef ENABLE_CRYPTO
-#ifdef ENABLE_SSL
if (c->c2.tls_multi)
{
/*
@@ -813,7 +804,6 @@ process_incoming_link_part1 (struct context *c, struct link_socket_info *lsi, bo
if (c->c2.context_auth != CAS_SUCCEEDED)
c->c2.buf.len = 0;
#endif
-#endif /* ENABLE_SSL */
/* authenticate and decrypt the incoming packet */
decrypt_status = openvpn_decrypt (&c->c2.buf, c->c2.buffers->decrypt_buf, &c->c2.crypto_options, &c->c2.frame);
diff --git a/app/openvpn/src/openvpn/init.c b/app/openvpn/src/openvpn/init.c
index b5c81f87..77827a57 100644
--- a/app/openvpn/src/openvpn/init.c
+++ b/app/openvpn/src/openvpn/init.c
@@ -410,7 +410,7 @@ next_connection_entry (struct context *c)
static void
init_query_passwords (struct context *c)
{
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
/* Certificate password input */
if (c->options.key_pass_file)
pem_password_setup (c->options.key_pass_file);
@@ -792,7 +792,7 @@ uninit_static (void)
close_port_share ();
#endif
-#if defined(MEASURE_TLS_HANDSHAKE_STATS) && defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#if defined(MEASURE_TLS_HANDSHAKE_STATS) && defined(ENABLE_CRYPTO)
show_tls_performance_stats ();
#endif
}
@@ -835,10 +835,7 @@ print_openssl_info (const struct options *options)
*/
#ifdef ENABLE_CRYPTO
if (options->show_ciphers || options->show_digests || options->show_engines
-#ifdef ENABLE_SSL
- || options->show_tls_ciphers || options->show_curves
-#endif
- )
+ || options->show_tls_ciphers || options->show_curves)
{
if (options->show_ciphers)
show_available_ciphers ();
@@ -846,12 +843,10 @@ print_openssl_info (const struct options *options)
show_available_digests ();
if (options->show_engines)
show_available_engines ();
-#ifdef ENABLE_SSL
if (options->show_tls_ciphers)
show_available_tls_ciphers (options->cipher_list);
if (options->show_curves)
show_available_curves();
-#endif
return true;
}
#endif
@@ -901,10 +896,8 @@ do_persist_tuntap (const struct options *options)
|| options->ifconfig_remote_netmask
#ifdef ENABLE_CRYPTO
|| options->shared_secret_file
-#ifdef ENABLE_SSL
|| options->tls_server || options->tls_client
#endif
-#endif
)
msg (M_FATAL|M_OPTERR,
"options --mktun or --rmtun should only be used together with --dev");
@@ -1012,7 +1005,7 @@ const char *
format_common_name (struct context *c, struct gc_arena *gc)
{
struct buffer out = alloc_buf_gc (256, gc);
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
if (c->c2.tls_multi)
{
buf_printf (&out, "[%s] ", tls_common_name (c->c2.tls_multi, false));
@@ -1102,9 +1095,7 @@ do_init_timers (struct context *c, bool deferred)
#ifdef ENABLE_CRYPTO
if (c->options.packet_id_file)
event_timeout_init (&c->c2.packet_id_persist_interval, 60, now);
-#endif
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
/* initialize tmp_int optimization that limits the number of times we call
tls_multi_process in the main event loop */
interval_init (&c->c2.tmp_int, TLS_MULTI_HORIZON, TLS_MULTI_REFRESH);
@@ -1797,7 +1788,7 @@ do_deferred_options (struct context *c, const unsigned int found)
if (found & OPT_P_SETENV)
msg (D_PUSH, "OPTIONS IMPORT: environment modified");
-#ifdef ENABLE_SSL
+#ifdef ENABLE_CRYPTO
if (found & OPT_P_PEER_ID)
{
msg (D_PUSH, "OPTIONS IMPORT: peer-id set");
@@ -1928,13 +1919,11 @@ key_schedule_free (struct key_schedule *ks, bool free_ssl_ctx)
{
#ifdef ENABLE_CRYPTO
free_key_ctx_bi (&ks->static_key);
-#ifdef ENABLE_SSL
if (tls_ctx_initialised(&ks->ssl_ctx) && free_ssl_ctx)
{
tls_ctx_free (&ks->ssl_ctx);
free_key_ctx_bi (&ks->tls_auth_key);
}
-#endif /* ENABLE_SSL */
#endif /* ENABLE_CRYPTO */
CLEAR (*ks);
}
@@ -2054,8 +2043,6 @@ do_init_crypto_static (struct context *c, const unsigned int flags)
options->use_iv);
}
-#ifdef ENABLE_SSL
-
/*
* Initialize the persistent component of OpenVPN's TLS mode,
* which is preserved across SIGUSR1 resets.
@@ -2303,10 +2290,6 @@ do_init_finalize_tls_frame (struct context *c)
}
}
-#endif /* ENABLE_SSL */
-#endif /* ENABLE_CRYPTO */
-
-#ifdef ENABLE_CRYPTO
/*
* No encryption or authentication.
*/
@@ -2325,16 +2308,14 @@ do_init_crypto (struct context *c, const unsigned int flags)
#ifdef ENABLE_CRYPTO
if (c->options.shared_secret_file)
do_init_crypto_static (c, flags);
-#ifdef ENABLE_SSL
else if (c->options.tls_server || c->options.tls_client)
do_init_crypto_tls (c, flags);
-#endif
else /* no encryption or authentication. */
do_init_crypto_none (c);
#else /* ENABLE_CRYPTO */
msg (M_WARN,
"******* WARNING *******: " PACKAGE_NAME
- " built without OpenSSL -- encryption and authentication features disabled -- all data will be tunnelled as cleartext");
+ " built without crypto library -- encryption and authentication features disabled -- all data will be tunnelled as cleartext");
#endif /* ENABLE_CRYPTO */
}
@@ -2503,7 +2484,6 @@ do_option_warnings (struct context *c)
if (!o->use_iv)
msg (M_WARN, "WARNING: You have disabled Crypto IVs (--no-iv) which may make " PACKAGE_NAME " less secure");
-#ifdef ENABLE_SSL
if (o->tls_server)
warn_on_use_of_common_subnets ();
if (o->tls_client
@@ -2513,7 +2493,6 @@ do_option_warnings (struct context *c)
&& !o->remote_cert_eku)
msg (M_WARN, "WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.");
#endif
-#endif
#ifndef CONNECT_NONBLOCK
if (o->ce.connect_timeout_defined)
@@ -2535,7 +2514,7 @@ do_option_warnings (struct context *c)
static void
do_init_frame_tls (struct context *c)
{
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
do_init_finalize_tls_frame (c);
#endif
}
@@ -2733,9 +2712,7 @@ do_compute_occ_strings (struct context *c)
options_string_version (c->c2.options_string_remote, &gc),
md5sum ((uint8_t*)c->c2.options_string_remote,
strlen (c->c2.options_string_remote), 9, &gc));
-#endif
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
if (c->c2.tls_multi)
tls_multi_init_set_options (c->c2.tls_multi,
c->c2.options_string_local,
@@ -2821,7 +2798,7 @@ do_close_free_buf (struct context *c)
static void
do_close_tls (struct context *c)
{
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
if (c->c2.tls_multi)
{
tls_multi_free (c->c2.tls_multi, true);
@@ -3072,7 +3049,7 @@ do_setup_fast_io (struct context *c)
static void
do_signal_on_tls_errors (struct context *c)
{
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
if (c->options.tls_exit)
c->c2.tls_exit_signal = SIGTERM;
else
@@ -3652,12 +3629,10 @@ inherit_context_child (struct context *dest,
#ifdef ENABLE_CRYPTO
dest->c1.ks.key_type = src->c1.ks.key_type;
-#ifdef ENABLE_SSL
/* inherit SSL context */
dest->c1.ks.ssl_ctx = src->c1.ks.ssl_ctx;
dest->c1.ks.tls_auth_key = src->c1.ks.tls_auth_key;
#endif
-#endif
/* options */
dest->options = src->options;
@@ -3729,7 +3704,7 @@ inherit_context_top (struct context *dest,
/* detach plugins */
dest->plugins_owned = false;
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
dest->c2.tls_multi = NULL;
#endif
diff --git a/app/openvpn/src/openvpn/manage.c b/app/openvpn/src/openvpn/manage.c
index 9913197b..27164f18 100644
--- a/app/openvpn/src/openvpn/manage.c
+++ b/app/openvpn/src/openvpn/manage.c
@@ -701,7 +701,7 @@ man_query_need_str (struct management *man, const char *type, const char *action
static void
man_forget_passwords (struct management *man)
{
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
ssl_purge_auth (false);
msg (M_CLIENT, "SUCCESS: Passwords were forgotten");
#endif
@@ -1115,7 +1115,7 @@ man_network_change (struct management *man)
man->connection.fdtosend = fd;
msg (M_CLIENT, "PROTECTFD: fd '%d' sent to be protected", fd);
if (fd == -2)
- man_signal (man, "USR1");
+ man_signal (man, "SIGUSR1");
}
}
#endif
@@ -1716,7 +1716,7 @@ man_reset_client_socket (struct management *man, const bool exiting)
}
if (!exiting)
{
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
if (man->settings.flags & MF_FORGET_DISCONNECT)
ssl_purge_auth (false);
#endif
diff --git a/app/openvpn/src/openvpn/multi.c b/app/openvpn/src/openvpn/multi.c
index 90b3d2dc..b3688594 100644
--- a/app/openvpn/src/openvpn/multi.c
+++ b/app/openvpn/src/openvpn/multi.c
@@ -2125,17 +2125,20 @@ void multi_process_float (struct multi_context* m, struct multi_instance* mi)
const uint32_t hv = hash_value (hash, &real);
struct hash_bucket *bucket = hash_bucket (hash, hv);
+ /* make sure that we don't float to an address taken by another client */
struct hash_element *he = hash_lookup_fast (hash, bucket, &real, hv);
if (he)
{
struct multi_instance *ex_mi = (struct multi_instance *) he->value;
- const char *cn = tls_common_name (mi->context.c2.tls_multi, true);
- const char *ex_cn = tls_common_name (ex_mi->context.c2.tls_multi, true);
- if (cn && ex_cn && strcmp (cn, ex_cn))
+ struct tls_multi *m1 = mi->context.c2.tls_multi;
+ struct tls_multi *m2 = ex_mi->context.c2.tls_multi;
+
+ /* do not float if target address is taken by client with another cert */
+ if (!cert_hash_compare(m1->locked_cert_hash_set, m2->locked_cert_hash_set))
{
- msg (D_MULTI_MEDIUM, "prevent float to %s",
- multi_instance_string (ex_mi, false, &gc));
+ msg (D_MULTI_MEDIUM, "Disallow float to an address taken by another client %s",
+ multi_instance_string (ex_mi, false, &gc));
mi->context.c2.buf.len = 0;
diff --git a/app/openvpn/src/openvpn/openvpn.h b/app/openvpn/src/openvpn/openvpn.h
index eab8cd5b..b4596ea4 100644
--- a/app/openvpn/src/openvpn/openvpn.h
+++ b/app/openvpn/src/openvpn/openvpn.h
@@ -62,14 +62,11 @@ struct key_schedule
/* pre-shared static key, read from a file */
struct key_ctx_bi static_key;
-#ifdef ENABLE_SSL
/* our global SSL context */
struct tls_root_ctx ssl_ctx;
/* optional authentication HMAC key for TLS control channel */
struct key_ctx_bi tls_auth_key;
-
-#endif /* ENABLE_SSL */
#else /* ENABLE_CRYPTO */
int dummy;
#endif /* ENABLE_CRYPTO */
@@ -335,8 +332,6 @@ struct context_2
/*
* TLS-mode crypto objects.
*/
-#ifdef ENABLE_SSL
-
struct tls_multi *tls_multi; /**< TLS state structure for this VPN
* tunnel. */
@@ -357,8 +352,6 @@ struct context_2
/* throw this signal on TLS errors */
int tls_exit_signal;
-#endif /* ENABLE_SSL */
-
struct crypto_options crypto_options;
/**< Security parameters and crypto state
* used by the \link data_crypto Data
@@ -564,7 +557,7 @@ struct context
* have been compiled in.
*/
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
#define TLS_MODE(c) ((c)->c2.tls_multi != NULL)
#define PROTO_DUMP_FLAGS (check_debug_level (D_LINK_RW_VERBOSE) ? (PD_SHOW_DATA|PD_VERBOSE) : 0)
#define PROTO_DUMP(buf, gc) protocol_dump((buf), \
diff --git a/app/openvpn/src/openvpn/options.c b/app/openvpn/src/openvpn/options.c
index 763e2cbc..5ee3358e 100644
--- a/app/openvpn/src/openvpn/options.c
+++ b/app/openvpn/src/openvpn/options.c
@@ -68,7 +68,6 @@ const char title_string[] =
#endif
" " TARGET_ALIAS
#ifdef ENABLE_CRYPTO
-#ifdef ENABLE_SSL
#if defined(ENABLE_CRYPTO_POLARSSL)
" [SSL (PolarSSL)]"
#elif defined(ENABLE_CRYPTO_OPENSSL)
@@ -76,15 +75,6 @@ const char title_string[] =
#else
" [SSL]"
#endif /* defined(ENABLE_CRYPTO_POLARSSL) */
-#else /* ! ENABLE_SSL */
-#if defined(ENABLE_CRYPTO_POLARSSL)
- " [CRYPTO (PolarSSL)]"
-#elif defined(ENABLE_CRYPTO_OPENSSL)
- " [CRYPTO (OpenSSL)]"
-#else
- " [CRYPTO]"
-#endif /* defined(ENABLE_CRYPTO_POLARSSL) */
-#endif /* ENABLE_SSL */
#endif /* ENABLE_CRYPTO */
#ifdef USE_COMP
#ifdef ENABLE_LZO
@@ -113,7 +103,7 @@ const char title_string[] =
" [MH]"
#endif
" [IPv6]"
- " built on " __DATE__
+ // " built on " __DATE__
;
#ifndef ENABLE_SMALL
@@ -546,7 +536,6 @@ static const char usage_message[] =
"--use-prediction-resistance: Enable prediction resistance on the random\n"
" number generator.\n"
#endif
-#ifdef ENABLE_SSL
"\n"
"TLS Key Negotiation Options:\n"
"(These options are meaningful only for TLS-mode)\n"
@@ -631,7 +620,6 @@ static const char usage_message[] =
"--remote-cert-tls t: Require that peer certificate was signed with explicit\n"
" key usage and extended key usage based on RFC3280 TLS rules.\n"
" t = 'client' | 'server'.\n"
-#endif /* ENABLE_SSL */
#ifdef ENABLE_PKCS11
"\n"
"PKCS#11 Options:\n"
@@ -656,9 +644,7 @@ static const char usage_message[] =
"--show-ciphers : Show cipher algorithms to use with --cipher option.\n"
"--show-digests : Show message digest algorithms to use with --auth option.\n"
"--show-engines : Show hardware crypto accelerator engines (if available).\n"
-#ifdef ENABLE_SSL
"--show-tls : Show all TLS ciphers (TLS used only as a control channel).\n"
-#endif
#ifdef WIN32
"\n"
"Windows Specific:\n"
@@ -736,7 +722,11 @@ static const char usage_message[] =
#ifdef ENABLE_PKCS11
"\n"
"PKCS#11 standalone options:\n"
- "--show-pkcs11-ids provider [cert_private] : Show PKCS#11 available ids.\n"
+#ifdef DEFAULT_PKCS11_MODULE
+ "--show-pkcs11-ids [provider] [cert_private] : Show PKCS#11 available ids.\n"
+#else
+ "--show-pkcs11-ids provider [cert_private] : Show PKCS#11 available ids.\n"
+#endif
" --verb option can be added *BEFORE* this.\n"
#endif /* ENABLE_PKCS11 */
"\n"
@@ -840,7 +830,6 @@ init_options (struct options *o, const bool init_gc)
#ifdef ENABLE_PREDICTION_RESISTANCE
o->use_prediction_resistance = false;
#endif
-#ifdef ENABLE_SSL
o->key_method = 2;
o->tls_timeout = 2;
o->renegotiate_seconds = 3600;
@@ -850,7 +839,6 @@ init_options (struct options *o, const bool init_gc)
#ifdef ENABLE_X509ALTUSERNAME
o->x509_username_field = X509_USERNAME_FIELD_DEFAULT;
#endif
-#endif /* ENABLE_SSL */
#endif /* ENABLE_CRYPTO */
#ifdef ENABLE_PKCS11
o->pkcs11_pin_cache_period = -1;
@@ -1041,7 +1029,7 @@ string_substitute (const char *src, int from, int to, struct gc_arena *gc)
return ret;
}
-#ifdef ENABLE_SSL
+#ifdef ENABLE_CRYPTO
static uint8_t *
parse_hash_fingerprint(const char *str, int nbytes, int msglevel, struct gc_arena *gc)
{
@@ -1420,11 +1408,9 @@ show_settings (const struct options *o)
SHOW_BOOL (show_digests);
SHOW_BOOL (show_engines);
SHOW_BOOL (genkey);
-#ifdef ENABLE_SSL
SHOW_STR (key_pass_file);
SHOW_BOOL (show_tls_ciphers);
#endif
-#endif
SHOW_INT (connect_retry_max);
show_connection_entries (o);
@@ -1576,7 +1562,6 @@ show_settings (const struct options *o)
SHOW_BOOL (use_prediction_resistance);
#endif
-#ifdef ENABLE_SSL
SHOW_BOOL (tls_server);
SHOW_BOOL (tls_client);
SHOW_INT (key_method);
@@ -1628,8 +1613,7 @@ show_settings (const struct options *o)
SHOW_BOOL (tls_exit);
SHOW_STR (tls_auth_file);
-#endif
-#endif
+#endif /* ENABLE_CRYPTO */
#ifdef ENABLE_PKCS11
{
@@ -1845,7 +1829,7 @@ options_postprocess_verify_ce (const struct options *options, const struct conne
msg (M_USAGE, "--inetd nowait can only be used with --proto tcp-server");
if (options->inetd == INETD_NOWAIT
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
&& !(options->tls_server || options->tls_client)
#endif
)
@@ -2138,16 +2122,10 @@ options_postprocess_verify_ce (const struct options *options, const struct conne
/*
* SSL/TLS mode sanity checks.
*/
-
-#ifdef ENABLE_SSL
if (options->tls_server + options->tls_client +
(options->shared_secret_file != NULL) > 1)
msg (M_USAGE, "specify only one of --tls-server, --tls-client, or --secret");
- if (options->tls_server)
- {
- notnull (options->dh_file, "DH file (--dh)");
- }
if (options->tls_server || options->tls_client)
{
#ifdef ENABLE_PKCS11
@@ -2316,7 +2294,6 @@ options_postprocess_verify_ce (const struct options *options, const struct conne
}
#undef MUST_BE_UNDEF
#endif /* ENABLE_CRYPTO */
-#endif /* ENABLE_SSL */
#if P2MP
if (options->auth_user_pass_file && !options->pull)
@@ -2439,6 +2416,15 @@ options_postprocess_mutate_invariant (struct options *options)
#endif
}
#endif
+
+#ifdef DEFAULT_PKCS11_MODULE
+ /* If p11-kit is present on the system then load its p11-kit-proxy.so
+ by default if the user asks for PKCS#11 without otherwise specifying
+ the module to use. */
+ if (!options->pkcs11_providers[0] &&
+ (options->pkcs11_id || options->pkcs11_id_management))
+ options->pkcs11_providers[0] = DEFAULT_PKCS11_MODULE;
+#endif
}
static void
@@ -2499,11 +2485,39 @@ options_postprocess_mutate (struct options *o)
for (i = 0; i < o->connection_list->len; ++i)
options_postprocess_mutate_ce (o, o->connection_list->array[i]);
+#ifdef ENABLE_CRYPTO
+ if (o->tls_server)
+ {
+ /* Check that DH file is specified, or explicitly disabled */
+ notnull (o->dh_file, "DH file (--dh)");
+ if (streq (o->dh_file, "none"))
+ o->dh_file = NULL;
+ }
+#endif
+
#if ENABLE_MANAGEMENT
if (o->http_proxy_override)
options_postprocess_http_proxy_override(o);
#endif
+#ifdef ENABLE_CRYPTOAPI
+ if (o->cryptoapi_cert)
+ {
+ const int tls_version_max =
+ (o->ssl_flags >> SSLF_TLS_VERSION_MAX_SHIFT) &
+ SSLF_TLS_VERSION_MAX_MASK;
+
+ if (tls_version_max == TLS_VER_UNSPEC || tls_version_max > TLS_VER_1_1)
+ {
+ msg(M_WARN, "Warning: cryptapicert used, setting maximum TLS "
+ "version to 1.1.");
+ o->ssl_flags &= ~(SSLF_TLS_VERSION_MAX_MASK <<
+ SSLF_TLS_VERSION_MAX_SHIFT);
+ o->ssl_flags |= (TLS_VER_1_1 << SSLF_TLS_VERSION_MAX_SHIFT);
+ }
+ }
+#endif /* ENABLE_CRYPTOAPI */
+
#if P2MP
/*
* Save certain parms before modifying options via --pull
@@ -2668,8 +2682,8 @@ options_postprocess_filechecks (struct options *options)
{
bool errs = false;
+#ifdef ENABLE_CRYPTO
/* ** SSL/TLS/crypto related files ** */
-#ifdef ENABLE_SSL
errs |= check_file_access (CHKACC_FILE|CHKACC_INLINE, options->dh_file, R_OK, "--dh");
errs |= check_file_access (CHKACC_FILE|CHKACC_INLINE, options->ca_file, R_OK, "--ca");
errs |= check_file_access_chroot (options->chroot_dir, CHKACC_FILE, options->ca_path, R_OK, "--capath");
@@ -2693,20 +2707,15 @@ options_postprocess_filechecks (struct options *options)
errs |= check_file_access (CHKACC_FILE|CHKACC_INLINE, options->tls_auth_file, R_OK,
"--tls-auth");
-#endif /* ENABLE_SSL */
-#ifdef ENABLE_CRYPTO
errs |= check_file_access (CHKACC_FILE|CHKACC_INLINE, options->shared_secret_file, R_OK,
"--secret");
errs |= check_file_access (CHKACC_DIRPATH|CHKACC_FILEXSTWR,
options->packet_id_file, R_OK|W_OK, "--replay-persist");
-#endif /* ENABLE_CRYPTO */
-
/* ** Password files ** */
-#ifdef ENABLE_SSL
errs |= check_file_access (CHKACC_FILE, options->key_pass_file, R_OK,
"--askpass");
-#endif /* ENABLE_SSL */
+#endif /* ENABLE_CRYPTO */
#ifdef ENABLE_MANAGEMENT
errs |= check_file_access (CHKACC_FILE|CHKACC_ACPTSTDIN,
options->management_user_pass, R_OK,
@@ -2729,10 +2738,10 @@ options_postprocess_filechecks (struct options *options)
R_OK|W_OK, "--status");
/* ** Config related ** */
-#ifdef ENABLE_SSL
+#ifdef ENABLE_CRYPTO
errs |= check_file_access_chroot (options->chroot_dir, CHKACC_FILE, options->tls_export_cert,
R_OK|W_OK|X_OK, "--tls-export-cert");
-#endif /* ENABLE_SSL */
+#endif /* ENABLE_CRYPTO */
#if P2MP_SERVER
errs |= check_file_access_chroot (options->chroot_dir, CHKACC_FILE, options->client_config_dir,
R_OK|X_OK, "--client-config-dir");
@@ -2957,13 +2966,8 @@ options_string (const struct options *o,
#ifdef ENABLE_CRYPTO
-#ifdef ENABLE_SSL
#define TLS_CLIENT (o->tls_client)
#define TLS_SERVER (o->tls_server)
-#else
-#define TLS_CLIENT (false)
-#define TLS_SERVER (false)
-#endif
/*
* Key direction
@@ -3006,7 +3010,6 @@ options_string (const struct options *o,
#endif
}
-#ifdef ENABLE_SSL
/*
* SSL Options
*/
@@ -3035,7 +3038,6 @@ options_string (const struct options *o,
buf_printf (&out, ",tls-server");
}
}
-#endif /* ENABLE_SSL */
#undef TLS_CLIENT
#undef TLS_SERVER
@@ -3358,7 +3360,7 @@ usage (void)
struct options o;
init_options (&o, true);
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
fprintf (fp, usage_message,
title_string,
o.ce.connect_retry_seconds,
@@ -3369,15 +3371,6 @@ usage (void)
o.replay_window, o.replay_time,
o.tls_timeout, o.renegotiate_seconds,
o.handshake_window, o.transition_window);
-#elif defined(ENABLE_CRYPTO)
- fprintf (fp, usage_message,
- title_string,
- o.ce.connect_retry_seconds,
- o.ce.local_port, o.ce.remote_port,
- TUN_MTU_DEFAULT, TAP_MTU_EXTRA_DEFAULT,
- o.verbosity,
- o.authname, o.ciphername,
- o.replay_window, o.replay_time);
#else
fprintf (fp, usage_message,
title_string,
@@ -3403,7 +3396,7 @@ usage_small (void)
void
show_library_versions(const unsigned int flags)
{
-#ifdef ENABLE_SSL
+#ifdef ENABLE_CRYPTO
#define SSL_LIB_VER_STR get_ssl_library_version()
#else
#define SSL_LIB_VER_STR ""
@@ -6470,7 +6463,6 @@ add_option (struct options *options,
options->use_prediction_resistance = true;
}
#endif
-#ifdef ENABLE_SSL
else if (streq (p[0], "show-tls"))
{
VERIFY_PERMISSION (OPT_P_GENERAL);
@@ -6907,14 +6899,36 @@ add_option (struct options *options,
options->x509_username_field = p[1];
}
#endif /* ENABLE_X509ALTUSERNAME */
-#endif /* ENABLE_SSL */
#endif /* ENABLE_CRYPTO */
#ifdef ENABLE_PKCS11
- else if (streq (p[0], "show-pkcs11-ids") && p[1])
+ else if (streq (p[0], "show-pkcs11-ids"))
{
char *provider = p[1];
bool cert_private = (p[2] == NULL ? false : ( atoi (p[2]) != 0 ));
+#ifdef DEFAULT_PKCS11_MODULE
+ if (!provider)
+ provider = DEFAULT_PKCS11_MODULE;
+ else if (!p[2])
+ {
+ char *endp = NULL;
+ int i = strtol(provider, &endp, 10);
+
+ if (*endp == 0)
+ {
+ /* There was one argument, and it was purely numeric.
+ Interpret it as the cert_private argument */
+ provider = DEFAULT_PKCS11_MODULE;
+ cert_private = i;
+ }
+ }
+#else
+ if (!provider)
+ {
+ msg (msglevel, "--show-pkcs11-ids requires a provider parameter");
+ goto err;
+ }
+#endif
VERIFY_PERMISSION (OPT_P_GENERAL);
set_debug_level (options->verbosity, SDL_CONSTRAIN);
diff --git a/app/openvpn/src/openvpn/options.h b/app/openvpn/src/openvpn/options.h
index a51b8ab5..4e49208b 100644
--- a/app/openvpn/src/openvpn/options.h
+++ b/app/openvpn/src/openvpn/options.h
@@ -193,10 +193,8 @@ struct options
bool show_ciphers;
bool show_digests;
bool show_engines;
-#ifdef ENABLE_SSL
bool show_tls_ciphers;
bool show_curves;
-#endif
bool genkey;
#endif
@@ -493,7 +491,6 @@ struct options
bool use_prediction_resistance;
#endif
-#ifdef ENABLE_SSL
/* TLS (control channel) parms */
bool tls_server;
bool tls_client;
@@ -575,7 +572,6 @@ struct options
bool tls_exit;
-#endif /* ENABLE_SSL */
#endif /* ENABLE_CRYPTO */
#ifdef ENABLE_X509_TRACK
diff --git a/app/openvpn/src/openvpn/plugin.c b/app/openvpn/src/openvpn/plugin.c
index 54c5b52d..60dd2ee7 100644
--- a/app/openvpn/src/openvpn/plugin.c
+++ b/app/openvpn/src/openvpn/plugin.c
@@ -420,7 +420,7 @@ plugin_call_item (const struct plugin *p,
const struct argv *av,
struct openvpn_plugin_string_list **retlist,
const char **envp
-#ifdef ENABLE_SSL
+#ifdef ENABLE_CRYPTO
, int certdepth,
openvpn_x509_cert_t *current_cert
#endif
@@ -449,7 +449,7 @@ plugin_call_item (const struct plugin *p,
(const char ** const) envp,
p->plugin_handle,
per_client_context,
-#ifdef ENABLE_SSL
+#ifdef ENABLE_CRYPTO
(current_cert ? certdepth : -1),
current_cert
#else
@@ -659,7 +659,7 @@ plugin_call_ssl (const struct plugin_list *pl,
const struct argv *av,
struct plugin_return *pr,
struct env_set *es
-#ifdef ENABLE_SSL
+#ifdef ENABLE_CRYPTO
, int certdepth,
openvpn_x509_cert_t *current_cert
#endif
@@ -689,7 +689,7 @@ plugin_call_ssl (const struct plugin_list *pl,
av,
pr ? &pr->list[i] : NULL,
envp
-#ifdef ENABLE_SSL
+#ifdef ENABLE_CRYPTO
,certdepth,
current_cert
#endif
diff --git a/app/openvpn/src/openvpn/plugin.h b/app/openvpn/src/openvpn/plugin.h
index 2f8416b1..77b6e818 100644
--- a/app/openvpn/src/openvpn/plugin.h
+++ b/app/openvpn/src/openvpn/plugin.h
@@ -127,7 +127,7 @@ int plugin_call_ssl (const struct plugin_list *pl,
const struct argv *av,
struct plugin_return *pr,
struct env_set *es
-#ifdef ENABLE_SSL
+#ifdef ENABLE_CRYPTO
, int current_cert_depth,
openvpn_x509_cert_t *current_cert
#endif
@@ -183,7 +183,7 @@ plugin_call_ssl (const struct plugin_list *pl,
const struct argv *av,
struct plugin_return *pr,
struct env_set *es
-#ifdef ENABLE_SSL
+#ifdef ENABLE_CRYPTO
, int current_cert_depth,
openvpn_x509_cert_t *current_cert
#endif
@@ -202,7 +202,7 @@ plugin_call(const struct plugin_list *pl,
struct env_set *es)
{
return plugin_call_ssl(pl, type, av, pr, es
-#ifdef ENABLE_SSL
+#ifdef ENABLE_CRYPTO
, -1, NULL
#endif
);
diff --git a/app/openvpn/src/openvpn/reliable.c b/app/openvpn/src/openvpn/reliable.c
index 763169ed..22883a72 100644
--- a/app/openvpn/src/openvpn/reliable.c
+++ b/app/openvpn/src/openvpn/reliable.c
@@ -35,7 +35,7 @@
#include "syshead.h"
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
#include "buffer.h"
#include "error.h"
@@ -754,4 +754,4 @@ reliable_debug_print (const struct reliable *rel, char *desc)
#else
static void dummy(void) {}
-#endif /* ENABLE_CRYPTO && ENABLE_SSL*/
+#endif /* ENABLE_CRYPTO */
diff --git a/app/openvpn/src/openvpn/reliable.h b/app/openvpn/src/openvpn/reliable.h
index 594ab825..828dcd3c 100644
--- a/app/openvpn/src/openvpn/reliable.h
+++ b/app/openvpn/src/openvpn/reliable.h
@@ -29,7 +29,7 @@
*/
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
#ifndef RELIABLE_H
#define RELIABLE_H
@@ -477,4 +477,4 @@ void reliable_ack_debug_print (const struct reliable_ack *ack, char *desc);
#endif /* RELIABLE_H */
-#endif /* ENABLE_CRYPTO && ENABLE_SSL */
+#endif /* ENABLE_CRYPTO */
diff --git a/app/openvpn/src/openvpn/route.c b/app/openvpn/src/openvpn/route.c
index 1cb98c03..8137e343 100644
--- a/app/openvpn/src/openvpn/route.c
+++ b/app/openvpn/src/openvpn/route.c
@@ -2648,7 +2648,7 @@ get_default_gateway (struct route_gateway_info *rgi)
gc_free (&gc);
}
-#elif defined(TARGET_DARWIN) || \
+#elif defined(TARGET_DARWIN) || defined(TARGET_SOLARIS) || \
defined(TARGET_FREEBSD) || defined(TARGET_DRAGONFLY) || \
defined(TARGET_OPENBSD) || defined(TARGET_NETBSD)
@@ -2683,12 +2683,21 @@ struct rtmsg {
((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long))
#endif
+#if defined(TARGET_SOLARIS)
+#define NEXTADDR(w, u) \
+ if (rtm_addrs & (w)) {\
+ l = ROUNDUP(sizeof(struct sockaddr_in)); memmove(cp, &(u), l); cp += l;\
+ }
+
+#define ADVANCE(x, n) (x += ROUNDUP(sizeof(struct sockaddr_in)))
+#else
#define NEXTADDR(w, u) \
if (rtm_addrs & (w)) {\
l = ROUNDUP(u.sa_len); memmove(cp, &(u), l); cp += l;\
}
#define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len))
+#endif
#define max(a,b) ((a) > (b) ? (a) : (b))
@@ -2725,9 +2734,12 @@ get_default_gateway (struct route_gateway_info *rgi)
rtm.rtm_addrs = rtm_addrs;
so_dst.sa_family = AF_INET;
- so_dst.sa_len = sizeof(struct sockaddr_in);
so_mask.sa_family = AF_INET;
+
+#ifndef TARGET_SOLARIS
+ so_dst.sa_len = sizeof(struct sockaddr_in);
so_mask.sa_len = sizeof(struct sockaddr_in);
+#endif
NEXTADDR(RTA_DST, so_dst);
NEXTADDR(RTA_NETMASK, so_mask);
@@ -2851,7 +2863,12 @@ get_default_gateway (struct route_gateway_info *rgi)
for (cp = buffer; cp <= buffer + ifc.ifc_len - sizeof(struct ifreq); )
{
ifr = (struct ifreq *)cp;
+#if defined(TARGET_SOLARIS)
+ const size_t len = sizeof(ifr->ifr_name) + sizeof(ifr->ifr_addr);
+#else
const size_t len = sizeof(ifr->ifr_name) + max(sizeof(ifr->ifr_addr), ifr->ifr_addr.sa_len);
+#endif
+
if (!ifr->ifr_addr.sa_family)
break;
if (!strncmp(ifr->ifr_name, rgi->iface, IFNAMSIZ))
diff --git a/app/openvpn/src/openvpn/session_id.c b/app/openvpn/src/openvpn/session_id.c
index 2e07b547..0ebff657 100644
--- a/app/openvpn/src/openvpn/session_id.c
+++ b/app/openvpn/src/openvpn/session_id.c
@@ -39,7 +39,7 @@
#include "syshead.h"
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
#include "error.h"
#include "common.h"
@@ -64,4 +64,4 @@ session_id_print (const struct session_id *sid, struct gc_arena *gc)
#else
static void dummy(void) {}
-#endif /* ENABLE_CRYPTO && ENABLE_SSL*/
+#endif /* ENABLE_CRYPTO */
diff --git a/app/openvpn/src/openvpn/session_id.h b/app/openvpn/src/openvpn/session_id.h
index 33909dd4..2a1f41fd 100644
--- a/app/openvpn/src/openvpn/session_id.h
+++ b/app/openvpn/src/openvpn/session_id.h
@@ -30,7 +30,7 @@
* negotiated).
*/
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
#ifndef SESSION_ID_H
#define SESSION_ID_H
@@ -83,4 +83,4 @@ void session_id_random (struct session_id *sid);
const char *session_id_print (const struct session_id *sid, struct gc_arena *gc);
#endif /* SESSION_ID_H */
-#endif /* ENABLE_CRYPTO && ENABLE_SSL */
+#endif /* ENABLE_CRYPTO */
diff --git a/app/openvpn/src/openvpn/ssl.c b/app/openvpn/src/openvpn/ssl.c
index cdc8eb19..80293efd 100644
--- a/app/openvpn/src/openvpn/ssl.c
+++ b/app/openvpn/src/openvpn/ssl.c
@@ -43,7 +43,7 @@
#include "syshead.h"
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#if defined(ENABLE_CRYPTO)
#include "error.h"
#include "common.h"
@@ -242,6 +242,7 @@ static const tls_cipher_name_pair tls_cipher_name_translation_table[] = {
{"EDH", "EDH"},
{"EXP", "EXP"},
{"RSA", "RSA"},
+ {"kRSA", "kRSA"},
{"SRP", "SRP"},
#endif
{NULL, NULL}
@@ -263,16 +264,14 @@ tls_get_cipher_name_pair (const char * cipher_name, size_t len) {
return NULL;
}
-/*
- * Max number of bytes we will add
- * for data structures common to both
- * data and control channel packets.
- * (opcode only).
+/**
+ * Max number of bytes we will add for data structures common to both data and
+ * control channel packets (1 byte opcode + 3 bytes peer-id).
*/
void
tls_adjust_frame_parameters(struct frame *frame)
{
- frame_add_to_extra_frame (frame, 1); /* space for opcode */
+ frame_add_to_extra_frame (frame, 1 + 3); /* space for opcode + peer-id */
}
/*
@@ -483,7 +482,10 @@ init_ssl (const struct options *options, struct tls_root_ctx *new_ctx)
if (options->tls_server)
{
tls_ctx_server_new(new_ctx);
- tls_ctx_load_dh_params(new_ctx, options->dh_file, options->dh_file_inline);
+
+ if (options->dh_file)
+ tls_ctx_load_dh_params(new_ctx, options->dh_file,
+ options->dh_file_inline);
}
else /* if client */
{
@@ -3625,4 +3627,4 @@ done:
#else
static void dummy(void) {}
-#endif /* ENABLE_CRYPTO && ENABLE_SSL*/
+#endif /* ENABLE_CRYPTO */
diff --git a/app/openvpn/src/openvpn/ssl.h b/app/openvpn/src/openvpn/ssl.h
index 7e5a203e..797c3e5d 100644
--- a/app/openvpn/src/openvpn/ssl.h
+++ b/app/openvpn/src/openvpn/ssl.h
@@ -30,7 +30,7 @@
#ifndef OPENVPN_SSL_H
#define OPENVPN_SSL_H
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#if defined(ENABLE_CRYPTO)
#include "basic.h"
#include "common.h"
@@ -512,6 +512,6 @@ void show_tls_performance_stats(void);
/*#define EXTRACT_X509_FIELD_TEST*/
void extract_x509_field_test (void);
-#endif /* ENABLE_CRYPTO && ENABLE_SSL */
+#endif /* ENABLE_CRYPTO */
#endif
diff --git a/app/openvpn/src/openvpn/ssl_openssl.c b/app/openvpn/src/openvpn/ssl_openssl.c
index 6782a953..48c05715 100644
--- a/app/openvpn/src/openvpn/ssl_openssl.c
+++ b/app/openvpn/src/openvpn/ssl_openssl.c
@@ -35,7 +35,7 @@
#include "syshead.h"
-#if defined(ENABLE_SSL) && defined(ENABLE_CRYPTO_OPENSSL)
+#if defined(ENABLE_CRYPTO) && defined(ENABLE_CRYPTO_OPENSSL)
#include "errlevel.h"
#include "buffer.h"
@@ -104,7 +104,7 @@ tls_ctx_server_new(struct tls_root_ctx *ctx)
ctx->ctx = SSL_CTX_new (SSLv23_server_method ());
if (ctx->ctx == NULL)
- msg (M_SSLERR, "SSL_CTX_new SSLv23_server_method");
+ crypto_msg (M_FATAL, "SSL_CTX_new SSLv23_server_method");
}
void
@@ -115,7 +115,7 @@ tls_ctx_client_new(struct tls_root_ctx *ctx)
ctx->ctx = SSL_CTX_new (SSLv23_client_method ());
if (ctx->ctx == NULL)
- msg (M_SSLERR, "SSL_CTX_new SSLv23_client_method");
+ crypto_msg (M_FATAL, "SSL_CTX_new SSLv23_client_method");
}
void
@@ -234,8 +234,8 @@ tls_ctx_restrict_ciphers(struct tls_root_ctx *ctx, const char *ciphers)
if (ciphers == NULL)
{
/* Use sane default (disable export, and unsupported cipher modes) */
- if(!SSL_CTX_set_cipher_list(ctx->ctx, "DEFAULT:!EXP:!PSK:!SRP"))
- msg(M_SSLERR, "Failed to set default TLS cipher list.");
+ if(!SSL_CTX_set_cipher_list(ctx->ctx, "DEFAULT:!EXP:!PSK:!SRP:!kRSA"))
+ crypto_msg (M_FATAL, "Failed to set default TLS cipher list.");
return;
}
@@ -287,9 +287,12 @@ tls_ctx_restrict_ciphers(struct tls_root_ctx *ctx, const char *ciphers)
}
// Make sure new cipher name fits in cipher string
- if (((sizeof(openssl_ciphers)-1) - openssl_ciphers_len) < current_cipher_len) {
- msg(M_SSLERR, "Failed to set restricted TLS cipher list, too long (>%d).", (int)sizeof(openssl_ciphers)-1);
- }
+ if (((sizeof(openssl_ciphers)-1) - openssl_ciphers_len) < current_cipher_len)
+ {
+ msg (M_FATAL,
+ "Failed to set restricted TLS cipher list, too long (>%d).",
+ (int)sizeof(openssl_ciphers)-1);
+ }
// Concatenate cipher name to OpenSSL cipher string
memcpy(&openssl_ciphers[openssl_ciphers_len], current_cipher, current_cipher_len);
@@ -305,7 +308,7 @@ tls_ctx_restrict_ciphers(struct tls_root_ctx *ctx, const char *ciphers)
// Set OpenSSL cipher list
if(!SSL_CTX_set_cipher_list(ctx->ctx, openssl_ciphers))
- msg(M_SSLERR, "Failed to set restricted TLS cipher list: %s", openssl_ciphers);
+ crypto_msg (M_FATAL, "Failed to set restricted TLS cipher list: %s", openssl_ciphers);
}
void
@@ -321,22 +324,22 @@ tls_ctx_load_dh_params (struct tls_root_ctx *ctx, const char *dh_file,
if (!strcmp (dh_file, INLINE_FILE_TAG) && dh_file_inline)
{
if (!(bio = BIO_new_mem_buf ((char *)dh_file_inline, -1)))
- msg (M_SSLERR, "Cannot open memory BIO for inline DH parameters");
+ crypto_msg (M_FATAL, "Cannot open memory BIO for inline DH parameters");
}
else
{
/* Get Diffie Hellman Parameters */
if (!(bio = BIO_new_file (dh_file, "r")))
- msg (M_SSLERR, "Cannot open %s for DH parameters", dh_file);
+ crypto_msg (M_FATAL, "Cannot open %s for DH parameters", dh_file);
}
dh = PEM_read_bio_DHparams (bio, NULL, NULL, NULL);
BIO_free (bio);
if (!dh)
- msg (M_SSLERR, "Cannot load DH parameters from %s", dh_file);
+ crypto_msg (M_FATAL, "Cannot load DH parameters from %s", dh_file);
if (!SSL_CTX_set_tmp_dh (ctx->ctx, dh))
- msg (M_SSLERR, "SSL_CTX_set_tmp_dh");
+ crypto_msg (M_FATAL, "SSL_CTX_set_tmp_dh");
msg (D_TLS_DEBUG_LOW, "Diffie-Hellman initialized with %d bit key",
8 * DH_size (dh));
@@ -405,7 +408,7 @@ tls_ctx_load_ecdh_params (struct tls_root_ctx *ctx, const char *curve_name
}
if (!SSL_CTX_set_tmp_ecdh(ctx->ctx, ecdh))
- msg (M_SSLERR, "SSL_CTX_set_tmp_ecdh: cannot add curve");
+ crypto_msg (M_FATAL, "SSL_CTX_set_tmp_ecdh: cannot add curve");
msg (D_TLS_DEBUG_LOW, "ECDH curve %s added", sname);
@@ -441,7 +444,7 @@ tls_ctx_load_pkcs12(struct tls_root_ctx *ctx, const char *pkcs12_file,
BIO_push(b64, bio);
p12 = d2i_PKCS12_bio(b64, NULL);
if (!p12)
- msg(M_SSLERR, "Error reading inline PKCS#12 file");
+ crypto_msg (M_FATAL, "Error reading inline PKCS#12 file");
BIO_free(b64);
BIO_free(bio);
}
@@ -449,11 +452,11 @@ tls_ctx_load_pkcs12(struct tls_root_ctx *ctx, const char *pkcs12_file,
{
/* Load the PKCS #12 file */
if (!(fp = platform_fopen(pkcs12_file, "rb")))
- msg(M_SSLERR, "Error opening file %s", pkcs12_file);
+ crypto_msg (M_FATAL, "Error opening file %s", pkcs12_file);
p12 = d2i_PKCS12_fp(fp, NULL);
fclose(fp);
if (!p12)
- msg(M_SSLERR, "Error reading PKCS#12 file %s", pkcs12_file);
+ crypto_msg (M_FATAL, "Error reading PKCS#12 file %s", pkcs12_file);
}
/* Parse the PKCS #12 file */
@@ -476,16 +479,16 @@ tls_ctx_load_pkcs12(struct tls_root_ctx *ctx, const char *pkcs12_file,
/* Load Certificate */
if (!SSL_CTX_use_certificate (ctx->ctx, cert))
- msg (M_SSLERR, "Cannot use certificate");
+ crypto_msg (M_FATAL, "Cannot use certificate");
/* Load Private Key */
if (!SSL_CTX_use_PrivateKey (ctx->ctx, pkey))
- msg (M_SSLERR, "Cannot use private key");
+ crypto_msg (M_FATAL, "Cannot use private key");
warn_if_group_others_accessible (pkcs12_file);
/* Check Private Key */
if (!SSL_CTX_check_private_key (ctx->ctx))
- msg (M_SSLERR, "Private key does not match the certificate");
+ crypto_msg (M_FATAL, "Private key does not match the certificate");
/* Set Certificate Verification chain */
if (load_ca_file)
@@ -499,9 +502,9 @@ tls_ctx_load_pkcs12(struct tls_root_ctx *ctx, const char *pkcs12_file,
for (i = 0; i < sk_X509_num(ca); i++)
{
if (!X509_STORE_add_cert(ctx->ctx->cert_store,sk_X509_value(ca, i)))
- msg (M_SSLERR, "Cannot add certificate to certificate chain (X509_STORE_add_cert)");
+ crypto_msg (M_FATAL,"Cannot add certificate to certificate chain (X509_STORE_add_cert)");
if (!SSL_CTX_add_client_CA(ctx->ctx, sk_X509_value(ca, i)))
- msg (M_SSLERR, "Cannot add certificate to client CA list (SSL_CTX_add_client_CA)");
+ crypto_msg (M_FATAL,"Cannot add certificate to client CA list (SSL_CTX_add_client_CA)");
}
}
} else {
@@ -515,7 +518,7 @@ tls_ctx_load_pkcs12(struct tls_root_ctx *ctx, const char *pkcs12_file,
for (i = 0; i < sk_X509_num(ca); i++)
{
if (!SSL_CTX_add_extra_chain_cert(ctx->ctx,sk_X509_value(ca, i)))
- msg (M_SSLERR, "Cannot add extra certificate to chain (SSL_CTX_add_extra_chain_cert)");
+ crypto_msg (M_FATAL, "Cannot add extra certificate to chain (SSL_CTX_add_extra_chain_cert)");
}
}
}
@@ -530,8 +533,7 @@ tls_ctx_load_cryptoapi(struct tls_root_ctx *ctx, const char *cryptoapi_cert)
/* Load Certificate and Private Key */
if (!SSL_CTX_use_CryptoAPI_certificate (ctx->ctx, cryptoapi_cert))
- msg (M_SSLERR, "Cannot load certificate \"%s\" from Microsoft Certificate Store",
- cryptoapi_cert);
+ crypto_msg (M_FATAL, "Cannot load certificate \"%s\" from Microsoft Certificate Store", cryptoapi_cert);
}
#endif /* WIN32 */
@@ -545,9 +547,9 @@ tls_ctx_add_extra_certs (struct tls_root_ctx *ctx, BIO *bio)
if (!PEM_read_bio_X509 (bio, &cert, 0, NULL)) /* takes ownership of cert */
break;
if (!cert)
- msg (M_SSLERR, "Error reading extra certificate");
+ crypto_msg (M_FATAL, "Error reading extra certificate");
if (SSL_CTX_add_extra_chain_cert(ctx->ctx, cert) != 1)
- msg (M_SSLERR, "Error adding extra certificate");
+ crypto_msg (M_FATAL, "Error adding extra certificate");
}
}
@@ -595,9 +597,9 @@ end:
if (!ret)
{
if (inline_file)
- msg (M_SSLERR, "Cannot load inline certificate file");
+ crypto_msg (M_FATAL, "Cannot load inline certificate file");
else
- msg (M_SSLERR, "Cannot load certificate file %s", cert_file);
+ crypto_msg (M_FATAL, "Cannot load certificate file %s", cert_file);
}
if (in != NULL)
@@ -655,14 +657,14 @@ tls_ctx_load_priv_file (struct tls_root_ctx *ctx, const char *priv_key_file,
if (management && (ERR_GET_REASON (ERR_peek_error()) == EVP_R_BAD_DECRYPT))
management_auth_failure (management, UP_TYPE_PRIVATE_KEY, NULL);
#endif
- msg (M_WARN|M_SSL, "Cannot load private key file %s", priv_key_file);
+ crypto_msg (M_WARN, "Cannot load private key file %s", priv_key_file);
goto end;
}
warn_if_group_others_accessible (priv_key_file);
/* Check Private Key */
if (!SSL_CTX_check_private_key (ssl_ctx))
- msg (M_SSLERR, "Private key does not match the certificate");
+ crypto_msg (M_FATAL, "Private key does not match the certificate");
ret = 0;
end:
@@ -813,7 +815,7 @@ tls_ctx_use_external_private_key (struct tls_root_ctx *ctx,
if (rsa_meth)
free(rsa_meth);
}
- msg (M_SSLERR, "Cannot enable SSL external private key capability");
+ crypto_msg (M_FATAL, "Cannot enable SSL external private key capability");
return 0;
}
@@ -843,7 +845,7 @@ tls_ctx_load_ca (struct tls_root_ctx *ctx, const char *ca_file,
store = SSL_CTX_get_cert_store(ctx->ctx);
if (!store)
- msg(M_SSLERR, "Cannot get certificate store (SSL_CTX_get_cert_store)");
+ crypto_msg (M_FATAL, "Cannot get certificate store");
/* Try to add certificates and CRLs from ca_file */
if (ca_file)
@@ -866,7 +868,7 @@ tls_ctx_load_ca (struct tls_root_ctx *ctx, const char *ca_file,
if (tls_server && !info->x509)
{
- msg (M_SSLERR, "X509 name was missing in TLS mode");
+ crypto_msg (M_FATAL, "X509 name was missing in TLS mode");
}
if (info->x509)
@@ -901,9 +903,12 @@ tls_ctx_load_ca (struct tls_root_ctx *ctx, const char *ca_file,
if (tls_server) {
int cnum = sk_X509_NAME_num (cert_names);
- if (cnum != (prev + 1)) {
- msg (M_WARN, "Cannot load CA certificate file %s (entry %d did not validate)", np(ca_file), added);
- }
+ if (cnum != (prev + 1))
+ {
+ crypto_msg (M_WARN,
+ "Cannot load CA certificate file %s (entry %d did not validate)",
+ np(ca_file), added);
+ }
prev = cnum;
}
@@ -915,12 +920,20 @@ tls_ctx_load_ca (struct tls_root_ctx *ctx, const char *ca_file,
SSL_CTX_set_client_CA_list (ctx->ctx, cert_names);
if (!added)
- msg (M_SSLERR, "Cannot load CA certificate file %s (no entries were read)", np(ca_file));
+ {
+ crypto_msg (M_FATAL,
+ "Cannot load CA certificate file %s (no entries were read)",
+ np(ca_file));
+ }
if (tls_server) {
int cnum = sk_X509_NAME_num (cert_names);
if (cnum != added)
- msg (M_SSLERR, "Cannot load CA certificate file %s (only %d of %d entries were valid X509 names)", np(ca_file), cnum, added);
+ {
+ crypto_msg (M_FATAL, "Cannot load CA certificate file %s (only %d "
+ "of %d entries were valid X509 names)",
+ np(ca_file), cnum, added);
+ }
}
if (in)
@@ -934,7 +947,7 @@ tls_ctx_load_ca (struct tls_root_ctx *ctx, const char *ca_file,
if (lookup && X509_LOOKUP_add_dir (lookup, ca_path, X509_FILETYPE_PEM))
msg(M_WARN, "WARNING: experimental option --capath %s", ca_path);
else
- msg(M_SSLERR, "Cannot add lookup at --capath %s", ca_path);
+ crypto_msg (M_FATAL, "Cannot add lookup at --capath %s", ca_path);
X509_STORE_set_flags (store, X509_V_FLAG_CRL_CHECK | X509_V_FLAG_CRL_CHECK_ALL);
}
}
@@ -951,7 +964,7 @@ tls_ctx_load_extra_certs (struct tls_root_ctx *ctx, const char *extra_certs_file
in = BIO_new_file (extra_certs_file, "r");
if (in == NULL)
- msg (M_SSLERR, "Cannot load extra-certs file: %s", extra_certs_file);
+ crypto_msg (M_FATAL, "Cannot load extra-certs file: %s", extra_certs_file);
else
tls_ctx_add_extra_certs (ctx, in);
@@ -1043,7 +1056,7 @@ getbio (BIO_METHOD * type, const char *desc)
BIO *ret;
ret = BIO_new (type);
if (!ret)
- msg (M_SSLERR, "Error creating %s BIO", desc);
+ crypto_msg (M_FATAL, "Error creating %s BIO", desc);
return ret;
}
@@ -1077,16 +1090,15 @@ bio_write (BIO *bio, const uint8_t *data, int size, const char *desc)
}
else
{
- msg (D_TLS_ERRORS | M_SSL, "TLS ERROR: BIO write %s error",
- desc);
+ crypto_msg (D_TLS_ERRORS, "TLS ERROR: BIO write %s error", desc);
ret = -1;
ERR_clear_error ();
}
}
else if (i != size)
{
- msg (D_TLS_ERRORS | M_SSL,
- "TLS ERROR: BIO write %s incomplete %d/%d", desc, i, size);
+ crypto_msg (D_TLS_ERRORS, "TLS ERROR: BIO write %s incomplete %d/%d",
+ desc, i, size);
ret = -1;
ERR_clear_error ();
}
@@ -1152,8 +1164,7 @@ bio_read (BIO *bio, struct buffer *buf, int maxlen, const char *desc)
}
else
{
- msg (D_TLS_ERRORS | M_SSL, "TLS_ERROR: BIO read %s error",
- desc);
+ crypto_msg (D_TLS_ERRORS, "TLS_ERROR: BIO read %s error", desc);
buf->len = 0;
ret = -1;
ERR_clear_error ();
@@ -1183,7 +1194,7 @@ key_state_ssl_init(struct key_state_ssl *ks_ssl, const struct tls_root_ctx *ssl_
ks_ssl->ssl = SSL_new (ssl_ctx->ctx);
if (!ks_ssl->ssl)
- msg (M_SSLERR, "SSL_new failed");
+ crypto_msg (M_FATAL, "SSL_new failed");
/* put session * in ssl object so we can access it
from verify callback*/
@@ -1358,11 +1369,11 @@ show_available_tls_ciphers (const char *cipher_list)
tls_ctx.ctx = SSL_CTX_new (SSLv23_method ());
if (!tls_ctx.ctx)
- msg (M_SSLERR, "Cannot create SSL_CTX object");
+ crypto_msg (M_FATAL, "Cannot create SSL_CTX object");
ssl = SSL_new (tls_ctx.ctx);
if (!ssl)
- msg (M_SSLERR, "Cannot create SSL object");
+ crypto_msg (M_FATAL, "Cannot create SSL object");
tls_ctx_restrict_ciphers(&tls_ctx, cipher_list);
@@ -1403,7 +1414,7 @@ show_available_curves()
curves = OPENSSL_malloc((int)(sizeof(EC_builtin_curve) * crv_len));
if (curves == NULL)
- msg (M_SSLERR, "Cannot create EC_builtin_curve object");
+ crypto_msg (M_FATAL, "Cannot create EC_builtin_curve object");
else
{
if (EC_get_builtin_curves(curves, crv_len))
@@ -1420,7 +1431,7 @@ show_available_curves()
}
else
{
- msg (M_SSLERR, "Cannot get list of builtin curves");
+ crypto_msg (M_FATAL, "Cannot get list of builtin curves");
}
OPENSSL_free(curves);
}
@@ -1439,10 +1450,10 @@ get_highest_preference_tls_cipher (char *buf, int size)
ctx = SSL_CTX_new (SSLv23_method ());
if (!ctx)
- msg (M_SSLERR, "Cannot create SSL_CTX object");
+ crypto_msg (M_FATAL, "Cannot create SSL_CTX object");
ssl = SSL_new (ctx);
if (!ssl)
- msg (M_SSLERR, "Cannot create SSL object");
+ crypto_msg (M_FATAL, "Cannot create SSL object");
cipher_name = SSL_get_cipher_list (ssl, 0);
strncpynt (buf, cipher_name, size);
@@ -1457,4 +1468,4 @@ get_ssl_library_version(void)
return SSLeay_version(SSLEAY_VERSION);
}
-#endif /* defined(ENABLE_SSL) && defined(ENABLE_CRYPTO_OPENSSL) */
+#endif /* defined(ENABLE_CRYPTO) && defined(ENABLE_CRYPTO_OPENSSL) */
diff --git a/app/openvpn/src/openvpn/ssl_polarssl.c b/app/openvpn/src/openvpn/ssl_polarssl.c
index 20368857..8cb328e7 100644
--- a/app/openvpn/src/openvpn/ssl_polarssl.c
+++ b/app/openvpn/src/openvpn/ssl_polarssl.c
@@ -36,7 +36,7 @@
#include "syshead.h"
-#if defined(ENABLE_SSL) && defined(ENABLE_CRYPTO_POLARSSL)
+#if defined(ENABLE_CRYPTO) && defined(ENABLE_CRYPTO_POLARSSL)
#include "errlevel.h"
#include "ssl_backend.h"
@@ -1171,4 +1171,4 @@ get_ssl_library_version(void)
return polar_version;
}
-#endif /* defined(ENABLE_SSL) && defined(ENABLE_CRYPTO_POLARSSL) */
+#endif /* defined(ENABLE_CRYPTO) && defined(ENABLE_CRYPTO_POLARSSL) */
diff --git a/app/openvpn/src/openvpn/ssl_verify.c b/app/openvpn/src/openvpn/ssl_verify.c
index 2d10d155..ad50458b 100644
--- a/app/openvpn/src/openvpn/ssl_verify.c
+++ b/app/openvpn/src/openvpn/ssl_verify.c
@@ -35,7 +35,7 @@
#include "syshead.h"
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
#include "misc.h"
#include "manage.h"
@@ -238,7 +238,7 @@ cert_hash_free (struct cert_hash_set *chs)
}
}
-static bool
+bool
cert_hash_compare (const struct cert_hash_set *chs1, const struct cert_hash_set *chs2)
{
if (chs1 && chs2)
@@ -1268,4 +1268,4 @@ verify_final_auth_checks(struct tls_multi *multi, struct tls_session *session)
gc_free (&gc);
}
}
-#endif /* defined(ENABLE_CRYPTO) && defined(ENABLE_SSL) */
+#endif /* ENABLE_CRYPTO */
diff --git a/app/openvpn/src/openvpn/ssl_verify.h b/app/openvpn/src/openvpn/ssl_verify.h
index 84554f89..d5bf22e5 100644
--- a/app/openvpn/src/openvpn/ssl_verify.h
+++ b/app/openvpn/src/openvpn/ssl_verify.h
@@ -30,7 +30,7 @@
#ifndef SSL_VERIFY_H_
#define SSL_VERIFY_H_
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#ifdef ENABLE_CRYPTO
#include "syshead.h"
#include "misc.h"
@@ -137,6 +137,14 @@ const char *tls_common_name (const struct tls_multi* multi, const bool null);
*/
const char *tls_username (const struct tls_multi *multi, const bool null);
+/**
+ * Compares certificates hashes, returns true if hashes are equal.
+ *
+ * @param chs1 cert 1 hash set
+ * @param chs2 cert 2 hash set
+ */
+bool cert_hash_compare (const struct cert_hash_set *chs1, const struct cert_hash_set *chs2);
+
#ifdef ENABLE_PF
/**
@@ -236,6 +244,6 @@ tls_client_reason (struct tls_multi *multi)
#endif
}
-#endif /* defined(ENABLE_CRYPTO) && defined(ENABLE_SSL) */
+#endif /* ENABLE_CRYPTO */
#endif /* SSL_VERIFY_H_ */
diff --git a/app/openvpn/src/openvpn/ssl_verify_openssl.c b/app/openvpn/src/openvpn/ssl_verify_openssl.c
index 33cd757d..0348e98a 100644
--- a/app/openvpn/src/openvpn/ssl_verify_openssl.c
+++ b/app/openvpn/src/openvpn/ssl_verify_openssl.c
@@ -35,7 +35,7 @@
#include "syshead.h"
-#if defined(ENABLE_SSL) && defined(ENABLE_CRYPTO_OPENSSL)
+#if defined(ENABLE_CRYPTO) && defined(ENABLE_CRYPTO_OPENSSL)
#include "ssl_verify_openssl.h"
@@ -625,4 +625,4 @@ end:
return retval;
}
-#endif /* defined(ENABLE_SSL) && defined(ENABLE_CRYPTO_OPENSSL) */
+#endif /* defined(ENABLE_CRYPTO) && defined(ENABLE_CRYPTO_OPENSSL) */
diff --git a/app/openvpn/src/openvpn/ssl_verify_polarssl.c b/app/openvpn/src/openvpn/ssl_verify_polarssl.c
index 2b7c214f..e21301d3 100644
--- a/app/openvpn/src/openvpn/ssl_verify_polarssl.c
+++ b/app/openvpn/src/openvpn/ssl_verify_polarssl.c
@@ -35,7 +35,7 @@
#include "syshead.h"
-#if defined(ENABLE_SSL) && defined(ENABLE_CRYPTO_POLARSSL)
+#if defined(ENABLE_CRYPTO) && defined(ENABLE_CRYPTO_POLARSSL)
#include "ssl_verify.h"
#include <polarssl/error.h>
@@ -403,4 +403,4 @@ end:
return retval;
}
-#endif /* #if defined(ENABLE_SSL) && defined(ENABLE_CRYPTO_POLARSSL) */
+#endif /* #if defined(ENABLE_CRYPTO) && defined(ENABLE_CRYPTO_POLARSSL) */
diff --git a/app/openvpn/src/openvpn/syshead.h b/app/openvpn/src/openvpn/syshead.h
index dc511cbc..8c509405 100644
--- a/app/openvpn/src/openvpn/syshead.h
+++ b/app/openvpn/src/openvpn/syshead.h
@@ -517,7 +517,7 @@ socket_defined (const socket_descriptor_t sd)
* Do we have point-to-multipoint capability?
*/
-#if defined(ENABLE_CLIENT_SERVER) && defined(ENABLE_CRYPTO) && defined(ENABLE_SSL) && defined(HAVE_GETTIMEOFDAY_NANOSECONDS)
+#if defined(ENABLE_CLIENT_SERVER) && defined(ENABLE_CRYPTO) && defined(HAVE_GETTIMEOFDAY_NANOSECONDS)
#define P2MP 1
#else
#define P2MP 0
@@ -554,7 +554,7 @@ socket_defined (const socket_descriptor_t sd)
/*
* Enable external private key
*/
-#if defined(ENABLE_MANAGEMENT) && defined(ENABLE_SSL)
+#if defined(ENABLE_MANAGEMENT) && defined(ENABLE_CRYPTO)
#define MANAGMENT_EXTERNAL_KEY
#endif
@@ -621,14 +621,14 @@ socket_defined (const socket_descriptor_t sd)
/*
* Do we have CryptoAPI capability?
*/
-#if defined(WIN32) && defined(ENABLE_CRYPTO) && defined(ENABLE_SSL) && defined(ENABLE_CRYPTO_OPENSSL)
+#if defined(WIN32) && defined(ENABLE_CRYPTO) && defined(ENABLE_CRYPTO_OPENSSL)
#define ENABLE_CRYPTOAPI
#endif
/*
* Enable x509-track feature?
*/
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL) && defined (ENABLE_CRYPTO_OPENSSL)
+#if defined(ENABLE_CRYPTO) && defined (ENABLE_CRYPTO_OPENSSL)
#define ENABLE_X509_TRACK
#endif
@@ -697,7 +697,7 @@ socket_defined (const socket_descriptor_t sd)
/*
* Do we support pushing peer info?
*/
-#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)
+#if defined(ENABLE_CRYPTO)
#define ENABLE_PUSH_PEER_INFO
#endif
diff --git a/app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java b/app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java
index faf3779a..27984147 100644
--- a/app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java
+++ b/app/src/debug/java/se/leap/bitmaskclient/ConfigurationWizard.java
@@ -428,6 +428,10 @@ implements NewProviderDialogInterface, ProviderDetailFragmentInterface, Download
return super.onOptionsItemSelected(item);
}
}
+
+ public void showAllProviders() {
+ adapter.showAllProviders();
+ }
@Override
public void login() {
diff --git a/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java b/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java
index 1dbe11d3..0650f0ad 100644
--- a/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java
+++ b/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java
@@ -179,28 +179,28 @@ public class ProviderAPI extends IntentService {
}
private Bundle tryToRegister(Bundle task) {
- Bundle session_id_bundle = new Bundle();
+ Bundle result = new Bundle();
int progress = 0;
- String username = (String) task.get(SessionDialog.USERNAME);
- String password = (String) task.get(SessionDialog.PASSWORD);
+ String username = task.getString(SessionDialog.USERNAME);
+ String password = task.getString(SessionDialog.PASSWORD);
if(validUserLoginData(username, password)) {
- session_id_bundle = register(username, password);
+ result = register(username, password);
broadcastProgress(progress++);
} else {
if(!wellFormedPassword(password)) {
- session_id_bundle.putBoolean(RESULT_KEY, false);
- session_id_bundle.putString(SessionDialog.USERNAME, username);
- session_id_bundle.putBoolean(SessionDialog.PASSWORD_INVALID_LENGTH, true);
+ result.putBoolean(RESULT_KEY, false);
+ result.putString(SessionDialog.USERNAME, username);
+ result.putBoolean(SessionDialog.PASSWORD_INVALID_LENGTH, true);
}
- if(username.isEmpty()) {
- session_id_bundle.putBoolean(RESULT_KEY, false);
- session_id_bundle.putBoolean(SessionDialog.USERNAME_MISSING, true);
+ if(!validUsername(username)) {
+ result.putBoolean(RESULT_KEY, false);
+ result.putBoolean(SessionDialog.USERNAME_MISSING, true);
}
}
- return session_id_bundle;
+ return result;
}
private Bundle register(String username, String password) {
diff --git a/app/src/debug/java/se/leap/bitmaskclient/ProviderDetailFragment.java b/app/src/debug/java/se/leap/bitmaskclient/ProviderDetailFragment.java
index d6f482ca..4b46e48f 100644
--- a/app/src/debug/java/se/leap/bitmaskclient/ProviderDetailFragment.java
+++ b/app/src/debug/java/se/leap/bitmaskclient/ProviderDetailFragment.java
@@ -1,17 +1,17 @@
-package se.leap.bitmaskclient;
-
-import org.json.*;
-
-import se.leap.bitmaskclient.R;
-import se.leap.bitmaskclient.eip.Constants;
-import se.leap.bitmaskclient.ProviderListContent.ProviderItem;
-
-import android.app.*;
-import android.content.*;
-import android.os.Bundle;
-import android.view.*;
-import android.widget.TextView;
-
+package se.leap.bitmaskclient;
+
+import org.json.*;
+
+import se.leap.bitmaskclient.R;
+import se.leap.bitmaskclient.eip.Constants;
+import se.leap.bitmaskclient.ProviderListContent.ProviderItem;
+
+import android.app.*;
+import android.content.*;
+import android.os.Bundle;
+import android.view.*;
+import android.widget.TextView;
+
public class ProviderDetailFragment extends DialogFragment {
final public static String TAG = "providerDetailFragment";
@@ -61,7 +61,7 @@ public class ProviderDetailFragment extends DialogFragment {
private boolean anon_allowed(JSONObject provider_json) {
try {
JSONObject service_description = provider_json.getJSONObject(Provider.SERVICE);
- return service_description.has(Constants.ALLOWED_ANON) && service_description.getBoolean(Constants.ALLOWED_ANON);
+ return service_description.has(Constants.ALLOWED_ANON) && service_description.getBoolean(Constants.ALLOWED_ANON);
} catch (JSONException e) {
return false;
}
@@ -80,8 +80,8 @@ public class ProviderDetailFragment extends DialogFragment {
public void onCancel(DialogInterface dialog) {
super.onCancel(dialog);
SharedPreferences.Editor editor = getActivity().getSharedPreferences(Dashboard.SHARED_PREFERENCES, Activity.MODE_PRIVATE).edit();
- editor.remove(Provider.KEY).remove(ProviderItem.DANGER_ON).remove(Constants.ALLOWED_ANON).remove(Constants.KEY).commit();
- interface_with_configuration_wizard.showAllProviders();
+ editor.remove(Provider.KEY).remove(ProviderItem.DANGER_ON).remove(Constants.ALLOWED_ANON).remove(Constants.KEY).commit();
+ interface_with_configuration_wizard.showAllProviders();
}
public static DialogFragment newInstance() {
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 33c3eaba..e11b57ef 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -17,8 +17,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="se.leap.bitmaskclient"
- android:versionCode="112"
- android:versionName="0.9.1" >
+ android:versionCode="116"
+ android:versionName="0.9.2" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
diff --git a/app/src/main/aidl/com/android/vending/billing/IInAppBillingService.aidl b/app/src/main/aidl/com/android/vending/billing/IInAppBillingService.aidl
deleted file mode 100644
index 2a492f78..00000000
--- a/app/src/main/aidl/com/android/vending/billing/IInAppBillingService.aidl
+++ /dev/null
@@ -1,144 +0,0 @@
-/*
- * Copyright (C) 2012 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.android.vending.billing;
-
-import android.os.Bundle;
-
-/**
- * InAppBillingService is the service that provides in-app billing version 3 and beyond.
- * This service provides the following features:
- * 1. Provides a new API to get details of in-app items published for the app including
- * price, type, title and description.
- * 2. The purchase flow is synchronous and purchase information is available immediately
- * after it completes.
- * 3. Purchase information of in-app purchases is maintained within the Google Play system
- * till the purchase is consumed.
- * 4. An API to consume a purchase of an inapp item. All purchases of one-time
- * in-app items are consumable and thereafter can be purchased again.
- * 5. An API to get current purchases of the user immediately. This will not contain any
- * consumed purchases.
- *
- * All calls will give a response code with the following possible values
- * RESULT_OK = 0 - success
- * RESULT_USER_CANCELED = 1 - user pressed back or canceled a dialog
- * RESULT_BILLING_UNAVAILABLE = 3 - this billing API version is not supported for the type requested
- * RESULT_ITEM_UNAVAILABLE = 4 - requested SKU is not available for purchase
- * RESULT_DEVELOPER_ERROR = 5 - invalid arguments provided to the API
- * RESULT_ERROR = 6 - Fatal error during the API action
- * RESULT_ITEM_ALREADY_OWNED = 7 - Failure to purchase since item is already owned
- * RESULT_ITEM_NOT_OWNED = 8 - Failure to consume since item is not owned
- */
-interface IInAppBillingService {
- /**
- * Checks support for the requested billing API version, package and in-app type.
- * Minimum API version supported by this interface is 3.
- * @param apiVersion the billing version which the app is using
- * @param packageName the package name of the calling app
- * @param type type of the in-app item being purchased "inapp" for one-time purchases
- * and "subs" for subscription.
- * @return RESULT_OK(0) on success, corresponding result code on failures
- */
- int isBillingSupported(int apiVersion, String packageName, String type);
-
- /**
- * Provides details of a list of SKUs
- * Given a list of SKUs of a valid type in the skusBundle, this returns a bundle
- * with a list JSON strings containing the productId, price, title and description.
- * This API can be called with a maximum of 20 SKUs.
- * @param apiVersion billing API version that the Third-party is using
- * @param packageName the package name of the calling app
- * @param skusBundle bundle containing a StringArrayList of SKUs with key "ITEM_ID_LIST"
- * @return Bundle containing the following key-value pairs
- * "RESPONSE_CODE" with int value, RESULT_OK(0) if success, other response codes on
- * failure as listed above.
- * "DETAILS_LIST" with a StringArrayList containing purchase information
- * in JSON format similar to:
- * '{ "productId" : "exampleSku", "type" : "inapp", "price" : "$5.00",
- * "title : "Example Title", "description" : "This is an example description" }'
- */
- Bundle getSkuDetails(int apiVersion, String packageName, String type, in Bundle skusBundle);
-
- /**
- * Returns a pending intent to launch the purchase flow for an in-app item by providing a SKU,
- * the type, a unique purchase token and an optional developer payload.
- * @param apiVersion billing API version that the app is using
- * @param packageName package name of the calling app
- * @param sku the SKU of the in-app item as published in the developer console
- * @param type the type of the in-app item ("inapp" for one-time purchases
- * and "subs" for subscription).
- * @param developerPayload optional argument to be sent back with the purchase information
- * @return Bundle containing the following key-value pairs
- * "RESPONSE_CODE" with int value, RESULT_OK(0) if success, other response codes on
- * failure as listed above.
- * "BUY_INTENT" - PendingIntent to start the purchase flow
- *
- * The Pending intent should be launched with startIntentSenderForResult. When purchase flow
- * has completed, the onActivityResult() will give a resultCode of OK or CANCELED.
- * If the purchase is successful, the result data will contain the following key-value pairs
- * "RESPONSE_CODE" with int value, RESULT_OK(0) if success, other response codes on
- * failure as listed above.
- * "INAPP_PURCHASE_DATA" - String in JSON format similar to
- * '{"orderId":"12999763169054705758.1371079406387615",
- * "packageName":"com.example.app",
- * "productId":"exampleSku",
- * "purchaseTime":1345678900000,
- * "purchaseToken" : "122333444455555",
- * "developerPayload":"example developer payload" }'
- * "INAPP_DATA_SIGNATURE" - String containing the signature of the purchase data that
- * was signed with the private key of the developer
- * TODO: change this to app-specific keys.
- */
- Bundle getBuyIntent(int apiVersion, String packageName, String sku, String type,
- String developerPayload);
-
- /**
- * Returns the current SKUs owned by the user of the type and package name specified along with
- * purchase information and a signature of the data to be validated.
- * This will return all SKUs that have been purchased in V3 and managed items purchased using
- * V1 and V2 that have not been consumed.
- * @param apiVersion billing API version that the app is using
- * @param packageName package name of the calling app
- * @param type the type of the in-app items being requested
- * ("inapp" for one-time purchases and "subs" for subscription).
- * @param continuationToken to be set as null for the first call, if the number of owned
- * skus are too many, a continuationToken is returned in the response bundle.
- * This method can be called again with the continuation token to get the next set of
- * owned skus.
- * @return Bundle containing the following key-value pairs
- * "RESPONSE_CODE" with int value, RESULT_OK(0) if success, other response codes on
- * failure as listed above.
- * "INAPP_PURCHASE_ITEM_LIST" - StringArrayList containing the list of SKUs
- * "INAPP_PURCHASE_DATA_LIST" - StringArrayList containing the purchase information
- * "INAPP_DATA_SIGNATURE_LIST"- StringArrayList containing the signatures
- * of the purchase information
- * "INAPP_CONTINUATION_TOKEN" - String containing a continuation token for the
- * next set of in-app purchases. Only set if the
- * user has more owned skus than the current list.
- */
- Bundle getPurchases(int apiVersion, String packageName, String type, String continuationToken);
-
- /**
- * Consume the last purchase of the given SKU. This will result in this item being removed
- * from all subsequent responses to getPurchases() and allow re-purchase of this item.
- * @param apiVersion billing API version that the app is using
- * @param packageName package name of the calling app
- * @param purchaseToken token in the purchase information JSON that identifies the purchase
- * to be consumed
- * @return 0 if consumption succeeded. Appropriate error values for failures.
- */
- int consumePurchase(int apiVersion, String packageName, String purchaseToken);
-}
diff --git a/app/src/main/java/de/blinkt/openvpn/LaunchVPN.java b/app/src/main/java/de/blinkt/openvpn/LaunchVPN.java
index 02abd7a1..0eb1d99c 100644
--- a/app/src/main/java/de/blinkt/openvpn/LaunchVPN.java
+++ b/app/src/main/java/de/blinkt/openvpn/LaunchVPN.java
@@ -120,23 +120,23 @@ public class LaunchVPN extends Activity {
@Override
protected void onActivityResult (int requestCode, int resultCode, Intent data) {
- super.onActivityResult(requestCode, resultCode, data);
-
- if(requestCode==START_VPN_PROFILE) {
- SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
- boolean showLogWindow = prefs.getBoolean("showlogwindow", true);
-
- if(!mhideLog && showLogWindow)
- showLogWindow();
- new startOpenVpnThread().start();
- } else if (resultCode == Activity.RESULT_CANCELED) {
- // User does not want us to start, so we just vanish
- VpnStatus.updateStateString("USER_VPN_PERMISSION_CANCELLED", "", R.string.state_user_vpn_permission_cancelled,
- ConnectionStatus.LEVEL_NOTCONNECTED);
-
- finish();
- }
+ super.onActivityResult(requestCode, resultCode, data);
+
+ if(requestCode==START_VPN_PROFILE) {
+ SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
+ boolean showlogwindow = prefs.getBoolean("showlogwindow", true);
+
+ if(!mhideLog && showlogwindow)
+ showLogWindow();
+ new startOpenVpnThread().start();
+ } else if (resultCode == Activity.RESULT_CANCELED) {
+ // User does not want us to start, so we just vanish
+ VpnStatus.updateStateString("USER_VPN_PERMISSION_CANCELLED", "", R.string.state_user_vpn_permission_cancelled, ConnectionStatus.LEVEL_NOTCONNECTED);
+
+ finish();
+ }
}
+
void showLogWindow() {
Intent startLW = new Intent(getBaseContext(),LogWindow.class);
diff --git a/app/src/main/java/de/blinkt/openvpn/core/ConfigParser.java b/app/src/main/java/de/blinkt/openvpn/core/ConfigParser.java
index 5dc96bbc..5f5d486c 100644
--- a/app/src/main/java/de/blinkt/openvpn/core/ConfigParser.java
+++ b/app/src/main/java/de/blinkt/openvpn/core/ConfigParser.java
@@ -28,11 +28,11 @@ import de.blinkt.openvpn.VpnProfile;
public class ConfigParser {
- public static final String CONVERTED_PROFILE = "converted Profile";
- private HashMap<String, Vector<Vector<String>>> options = new HashMap<String, Vector<Vector<String>>>();
- private HashMap<String, Vector<String>> meta = new HashMap<String, Vector<String>>();
+ public static final String CONVERTED_PROFILE = "converted Profile";
+ private HashMap<String, Vector<Vector<String>>> options = new HashMap<String, Vector<Vector<String>>>();
+ private HashMap<String, Vector<String>> meta = new HashMap<String, Vector<String>>();
- public void parseConfig(Reader reader) throws IOException, ConfigParseError {
+ public void parseConfig(Reader reader) throws IOException, ConfigParseError {
BufferedReader br = new BufferedReader(reader);
@@ -75,192 +75,176 @@ public class ConfigParser {
} catch (java.lang.OutOfMemoryError memoryError) {
throw new ConfigParseError("File too large to parse: " + memoryError.getLocalizedMessage());
}
- }
+ }
- private Vector<String> parsemeta(String line) {
- String meta = line.split("#\\sOVPN_ACCESS_SERVER_", 2)[1];
- String[] parts = meta.split("=",2);
- Vector<String> rval = new Vector<String>();
+ private Vector<String> parsemeta(String line) {
+ String meta = line.split("#\\sOVPN_ACCESS_SERVER_", 2)[1];
+ String[] parts = meta.split("=", 2);
+ Vector<String> rval = new Vector<String>();
Collections.addAll(rval, parts);
- return rval;
-
- }
-
- private void checkinlinefile(Vector<String> args, BufferedReader br) throws IOException, ConfigParseError {
- String arg0 = args.get(0).trim();
- // CHeck for <foo>
- if(arg0.startsWith("<") && arg0.endsWith(">")) {
- String argname = arg0.substring(1, arg0.length()-1);
- String inlinefile = VpnProfile.INLINE_TAG;
-
- String endtag = String.format("</%s>",argname);
- do {
- String line = br.readLine();
- if(line==null){
- throw new ConfigParseError(String.format("No endtag </%s> for starttag <%s> found",argname,argname));
- }
- if(line.trim().equals(endtag))
- break;
- else {
- inlinefile+=line;
- inlinefile+= "\n";
- }
- } while(true);
-
- args.clear();
- args.add(argname);
- args.add(inlinefile);
- }
-
- }
-
- enum linestate {
- initial,
- readin_single_quote
- , reading_quoted, reading_unquoted, done}
-
- private boolean space(char c) {
- // I really hope nobody is using zero bytes inside his/her config file
- // to sperate parameter but here we go:
- return Character.isWhitespace(c) || c == '\0';
-
- }
-
- public class ConfigParseError extends Exception {
- private static final long serialVersionUID = -60L;
-
- public ConfigParseError(String msg) {
- super(msg);
- }
- }
-
-
- // adapted openvpn's parse function to java
- private Vector<String> parseline(String line) throws ConfigParseError {
- Vector<String> parameters = new Vector<String>();
-
- if (line.length()==0)
- return parameters;
-
-
- linestate state = linestate.initial;
- boolean backslash = false;
- char out=0;
-
- int pos=0;
- String currentarg="";
-
- do {
- // Emulate the c parsing ...
- char in;
- if(pos < line.length())
- in = line.charAt(pos);
- else
- in = '\0';
-
- if (!backslash && in == '\\' && state != linestate.readin_single_quote)
- {
- backslash = true;
- }
- else
- {
- if (state == linestate.initial)
- {
- if (!space (in))
- {
- if (in == ';' || in == '#') /* comment */
- break;
- if (!backslash && in == '\"')
- state = linestate.reading_quoted;
- else if (!backslash && in == '\'')
- state = linestate.readin_single_quote;
- else
- {
- out = in;
- state = linestate.reading_unquoted;
- }
- }
- }
- else if (state == linestate.reading_unquoted)
- {
- if (!backslash && space (in))
- state = linestate.done;
- else
- out = in;
- }
- else if (state == linestate.reading_quoted)
- {
- if (!backslash && in == '\"')
- state = linestate.done;
- else
- out = in;
- }
- else if (state == linestate.readin_single_quote)
- {
- if (in == '\'')
- state = linestate.done;
- else
- out = in;
- }
-
- if (state == linestate.done)
- {
- /* ASSERT (parm_len > 0); */
- state = linestate.initial;
- parameters.add(currentarg);
- currentarg = "";
- out =0;
- }
-
- if (backslash && out!=0)
- {
- if (!(out == '\\' || out == '\"' || space (out)))
- {
- throw new ConfigParseError("Options warning: Bad backslash ('\\') usage");
- }
- }
- backslash = false;
- }
+ return rval;
+
+ }
+
+ private void checkinlinefile(Vector<String> args, BufferedReader br) throws IOException, ConfigParseError {
+ String arg0 = args.get(0).trim();
+ // CHeck for <foo>
+ if (arg0.startsWith("<") && arg0.endsWith(">")) {
+ String argname = arg0.substring(1, arg0.length() - 1);
+ String inlinefile = VpnProfile.INLINE_TAG;
+
+ String endtag = String.format("</%s>", argname);
+ do {
+ String line = br.readLine();
+ if (line == null) {
+ throw new ConfigParseError(String.format("No endtag </%s> for starttag <%s> found", argname, argname));
+ }
+ if (line.trim().equals(endtag))
+ break;
+ else {
+ inlinefile += line;
+ inlinefile += "\n";
+ }
+ } while (true);
+
+ args.clear();
+ args.add(argname);
+ args.add(inlinefile);
+ }
+
+ }
+
+ enum linestate {
+ initial,
+ readin_single_quote, reading_quoted, reading_unquoted, done
+ }
+
+ private boolean space(char c) {
+ // I really hope nobody is using zero bytes inside his/her config file
+ // to sperate parameter but here we go:
+ return Character.isWhitespace(c) || c == '\0';
+
+ }
+
+ public class ConfigParseError extends Exception {
+ private static final long serialVersionUID = -60L;
+
+ public ConfigParseError(String msg) {
+ super(msg);
+ }
+ }
+
+
+ // adapted openvpn's parse function to java
+ private Vector<String> parseline(String line) throws ConfigParseError {
+ Vector<String> parameters = new Vector<String>();
+
+ if (line.length() == 0)
+ return parameters;
+
+
+ linestate state = linestate.initial;
+ boolean backslash = false;
+ char out = 0;
+
+ int pos = 0;
+ String currentarg = "";
+
+ do {
+ // Emulate the c parsing ...
+ char in;
+ if (pos < line.length())
+ in = line.charAt(pos);
+ else
+ in = '\0';
+
+ if (!backslash && in == '\\' && state != linestate.readin_single_quote) {
+ backslash = true;
+ } else {
+ if (state == linestate.initial) {
+ if (!space(in)) {
+ if (in == ';' || in == '#') /* comment */
+ break;
+ if (!backslash && in == '\"')
+ state = linestate.reading_quoted;
+ else if (!backslash && in == '\'')
+ state = linestate.readin_single_quote;
+ else {
+ out = in;
+ state = linestate.reading_unquoted;
+ }
+ }
+ } else if (state == linestate.reading_unquoted) {
+ if (!backslash && space(in))
+ state = linestate.done;
+ else
+ out = in;
+ } else if (state == linestate.reading_quoted) {
+ if (!backslash && in == '\"')
+ state = linestate.done;
+ else
+ out = in;
+ } else if (state == linestate.readin_single_quote) {
+ if (in == '\'')
+ state = linestate.done;
+ else
+ out = in;
+ }
+
+ if (state == linestate.done) {
+ /* ASSERT (parm_len > 0); */
+ state = linestate.initial;
+ parameters.add(currentarg);
+ currentarg = "";
+ out = 0;
+ }
+
+ if (backslash && out != 0) {
+ if (!(out == '\\' || out == '\"' || space(out))) {
+ throw new ConfigParseError("Options warning: Bad backslash ('\\') usage");
+ }
+ }
+ backslash = false;
+ }
/* store parameter character */
- if (out!=0)
- {
- currentarg+=out;
- }
- } while (pos++ < line.length());
-
- return parameters;
- }
-
-
- final String[] unsupportedOptions = { "config",
- "tls-server"
-
- };
-
- // Ignore all scripts
- // in most cases these won't work and user who wish to execute scripts will
- // figure out themselves
- final String[] ignoreOptions = { "tls-client",
- "askpass",
- "auth-nocache",
- "up",
- "down",
- "route-up",
- "ipchange",
- "route-up",
- "route-pre-down",
- "auth-user-pass-verify",
- "dhcp-release",
- "dhcp-renew",
- "dh",
+ if (out != 0) {
+ currentarg += out;
+ }
+ } while (pos++ < line.length());
+
+ return parameters;
+ }
+
+
+ final String[] unsupportedOptions = {"config",
+ "tls-server"
+
+ };
+
+ // Ignore all scripts
+ // in most cases these won't work and user who wish to execute scripts will
+ // figure out themselves
+ final String[] ignoreOptions = {"tls-client",
+ "askpass",
+ "auth-nocache",
+ "up",
+ "down",
+ "route-up",
+ "ipchange",
+ "route-up",
+ "route-pre-down",
+ "auth-user-pass-verify",
+ "dhcp-release",
+ "dhcp-renew",
+ "dh",
"group",
"ip-win32",
"management-hold",
"management",
"management-client",
"management-query-remote",
- "management-query-passwords",
+ "management-query-passwords",
"management-query-proxy",
"management-external-key",
"management-forget-disconnect",
@@ -269,32 +253,32 @@ public class ConfigParser {
"management-up-down",
"management-client-user",
"management-client-group",
- "pause-exit",
+ "pause-exit",
"plugin",
"machine-readable-output",
- "persist-key",
- "register-dns",
- "route-delay",
- "route-gateway",
- "route-metric",
- "route-method",
- "status",
- "script-security",
- "show-net-up",
- "suppress-timestamps",
- "tmp-dir",
- "tun-ipv6",
- "topology",
+ "persist-key",
+ "register-dns",
+ "route-delay",
+ "route-gateway",
+ "route-metric",
+ "route-method",
+ "status",
+ "script-security",
+ "show-net-up",
+ "suppress-timestamps",
+ "tmp-dir",
+ "tun-ipv6",
+ "topology",
"user",
"win-sys",
-
};
final String[][] ignoreOptionsWithArg =
- {
- {"setenv", "IV_GUI_VER"},
- {"setenv", "IV_OPENVPN_GUI_VERSION"}
- };
+ {
+ {"setenv", "IV_GUI_VER"},
+ {"setenv", "IV_OPENVPN_GUI_VERSION"},
+ {"engine", "dynamic"}
+ };
final String[] connectionOptions = {
"local",
@@ -326,70 +310,67 @@ public class ConfigParser {
// This method is far too long
- @SuppressWarnings("ConstantConditions")
+ @SuppressWarnings("ConstantConditions")
public VpnProfile convertProfile() throws ConfigParseError, IOException {
- boolean noauthtypeset=true;
- VpnProfile np = new VpnProfile(CONVERTED_PROFILE);
- // Pull, client, tls-client
- np.clearDefaults();
-
- if(options.containsKey("client") || options.containsKey("pull")) {
- np.mUsePull=true;
- options.remove("pull");
- options.remove("client");
- }
-
- Vector<String> secret = getOption("secret", 1, 2);
- if(secret!=null)
- {
- np.mAuthenticationType=VpnProfile.TYPE_STATICKEYS;
- noauthtypeset=false;
- np.mUseTLSAuth=true;
- np.mTLSAuthFilename=secret.get(1);
- if(secret.size()==3)
- np.mTLSAuthDirection=secret.get(2);
-
- }
-
- Vector<Vector<String>> routes = getAllOption("route", 1, 4);
- if(routes!=null) {
- String routeopt = "";
+ boolean noauthtypeset = true;
+ VpnProfile np = new VpnProfile(CONVERTED_PROFILE);
+ // Pull, client, tls-client
+ np.clearDefaults();
+
+ if (options.containsKey("client") || options.containsKey("pull")) {
+ np.mUsePull = true;
+ options.remove("pull");
+ options.remove("client");
+ }
+
+ Vector<String> secret = getOption("secret", 1, 2);
+ if (secret != null) {
+ np.mAuthenticationType = VpnProfile.TYPE_STATICKEYS;
+ noauthtypeset = false;
+ np.mUseTLSAuth = true;
+ np.mTLSAuthFilename = secret.get(1);
+ if (secret.size() == 3)
+ np.mTLSAuthDirection = secret.get(2);
+
+ }
+
+ Vector<Vector<String>> routes = getAllOption("route", 1, 4);
+ if (routes != null) {
+ String routeopt = "";
String routeExcluded = "";
- for(Vector<String> route:routes){
- String netmask = "255.255.255.255";
+ for (Vector<String> route : routes) {
+ String netmask = "255.255.255.255";
String gateway = "vpn_gateway";
- if(route.size() >= 3)
- netmask = route.get(2);
+ if (route.size() >= 3)
+ netmask = route.get(2);
if (route.size() >= 4)
gateway = route.get(3);
- String net = route.get(1);
- try {
- CIDRIP cidr = new CIDRIP(net, netmask);
+ String net = route.get(1);
+ try {
+ CIDRIP cidr = new CIDRIP(net, netmask);
if (gateway.equals("net_gateway"))
routeExcluded += cidr.toString() + " ";
else
- routeopt+=cidr.toString() + " ";
- } catch (ArrayIndexOutOfBoundsException aioob) {
- throw new ConfigParseError("Could not parse netmask of route " + netmask);
- } catch (NumberFormatException ne) {
-
-
+ routeopt += cidr.toString() + " ";
+ } catch (ArrayIndexOutOfBoundsException aioob) {
+ throw new ConfigParseError("Could not parse netmask of route " + netmask);
+ } catch (NumberFormatException ne) {
- throw new ConfigParseError("Could not parse netmask of route " + netmask);
- }
+ throw new ConfigParseError("Could not parse netmask of route " + netmask);
+ }
- }
- np.mCustomRoutes=routeopt;
- np.mExcludedRoutes=routeExcluded;
- }
+ }
+ np.mCustomRoutes = routeopt;
+ np.mExcludedRoutes = routeExcluded;
+ }
Vector<Vector<String>> routesV6 = getAllOption("route-ipv6", 1, 4);
- if (routesV6!=null) {
+ if (routesV6 != null) {
String customIPv6Routes = "";
- for (Vector<String> route:routesV6){
+ for (Vector<String> route : routesV6) {
customIPv6Routes += route.get(1) + " ";
}
@@ -397,39 +378,36 @@ public class ConfigParser {
}
// Also recognize tls-auth [inline] direction ...
- Vector<Vector<String>> tlsauthoptions = getAllOption("tls-auth", 1, 2);
- if(tlsauthoptions!=null) {
- for(Vector<String> tlsauth:tlsauthoptions) {
- if(tlsauth!=null)
- {
- if(!tlsauth.get(1).equals("[inline]")) {
- np.mTLSAuthFilename=tlsauth.get(1);
- np.mUseTLSAuth=true;
- }
- if(tlsauth.size()==3)
- np.mTLSAuthDirection=tlsauth.get(2);
- }
- }
- }
-
- Vector<String> direction = getOption("key-direction", 1, 1);
- if(direction!=null)
- np.mTLSAuthDirection=direction.get(1);
+ Vector<Vector<String>> tlsauthoptions = getAllOption("tls-auth", 1, 2);
+ if (tlsauthoptions != null) {
+ for (Vector<String> tlsauth : tlsauthoptions) {
+ if (tlsauth != null) {
+ if (!tlsauth.get(1).equals("[inline]")) {
+ np.mTLSAuthFilename = tlsauth.get(1);
+ np.mUseTLSAuth = true;
+ }
+ if (tlsauth.size() == 3)
+ np.mTLSAuthDirection = tlsauth.get(2);
+ }
+ }
+ }
+
+ Vector<String> direction = getOption("key-direction", 1, 1);
+ if (direction != null)
+ np.mTLSAuthDirection = direction.get(1);
Vector<Vector<String>> defgw = getAllOption("redirect-gateway", 0, 5);
- if(defgw != null)
- {
- np.mUseDefaultRoute=true;
+ if (defgw != null) {
+ np.mUseDefaultRoute = true;
checkRedirectParameters(np, defgw);
}
- Vector<Vector<String>> redirectPrivate = getAllOption("redirect-private",0,5);
- if (redirectPrivate != null)
- {
- checkRedirectParameters(np,redirectPrivate);
+ Vector<Vector<String>> redirectPrivate = getAllOption("redirect-private", 0, 5);
+ if (redirectPrivate != null) {
+ checkRedirectParameters(np, redirectPrivate);
}
- Vector<String> dev =getOption("dev",1,1);
- Vector<String> devtype =getOption("dev-type",1,1);
+ Vector<String> dev = getOption("dev", 1, 1);
+ Vector<String> devtype = getOption("dev-type", 1, 1);
if ((devtype != null && devtype.get(1).equals("tun")) ||
(dev != null && dev.get(1).startsWith("tun")) ||
@@ -437,15 +415,15 @@ public class ConfigParser {
//everything okay
} else {
throw new ConfigParseError("Sorry. Only tun mode is supported. See the FAQ for more detail");
- }
+ }
- Vector<String> mssfix = getOption("mssfix",0,1);
+ Vector<String> mssfix = getOption("mssfix", 0, 1);
- if (mssfix!=null) {
- if (mssfix.size()>=2) {
+ if (mssfix != null) {
+ if (mssfix.size() >= 2) {
try {
- np.mMssFix=Integer.parseInt(mssfix.get(1));
- } catch(NumberFormatException e) {
+ np.mMssFix = Integer.parseInt(mssfix.get(1));
+ } catch (NumberFormatException e) {
throw new ConfigParseError("Argument to --mssfix has to be an integer");
}
} else {
@@ -454,172 +432,171 @@ public class ConfigParser {
}
- Vector<String> mode =getOption("mode",1,1);
- if (mode != null){
- if(!mode.get(1).equals("p2p"))
- throw new ConfigParseError("Invalid mode for --mode specified, need p2p");
- }
-
-
-
- Vector<Vector<String>> dhcpoptions = getAllOption("dhcp-option", 2, 2);
- if(dhcpoptions!=null) {
- for(Vector<String> dhcpoption:dhcpoptions) {
- String type=dhcpoption.get(1);
- String arg = dhcpoption.get(2);
- if(type.equals("DOMAIN")) {
- np.mSearchDomain=dhcpoption.get(2);
- } else if(type.equals("DNS")) {
- np.mOverrideDNS=true;
- if(np.mDNS1.equals(VpnProfile.DEFAULT_DNS1))
- np.mDNS1=arg;
- else
- np.mDNS2=arg;
- }
- }
- }
-
- Vector<String> ifconfig = getOption("ifconfig", 2, 2);
- if(ifconfig!=null) {
- try {
- CIDRIP cidr = new CIDRIP(ifconfig.get(1), ifconfig.get(2));
- np.mIPv4Address=cidr.toString();
- } catch (NumberFormatException nfe) {
- throw new ConfigParseError("Could not pase ifconfig IP address: " + nfe.getLocalizedMessage());
- }
-
- }
-
- if(getOption("remote-random-hostname", 0, 0)!=null)
- np.mUseRandomHostname=true;
-
- if(getOption("float", 0, 0)!=null)
- np.mUseFloat=true;
-
- if(getOption("comp-lzo", 0, 1)!=null)
- np.mUseLzo=true;
-
- Vector<String> cipher = getOption("cipher", 1, 1);
- if(cipher!=null)
- np.mCipher= cipher.get(1);
-
- Vector<String> auth = getOption("auth", 1, 1);
- if(auth!=null)
- np.mAuth = auth.get(1);
-
-
- Vector<String> ca = getOption("ca",1,1);
- if(ca!=null){
- np.mCaFilename = ca.get(1);
- }
-
- Vector<String> cert = getOption("cert",1,1);
- if(cert!=null){
- np.mClientCertFilename = cert.get(1);
- np.mAuthenticationType = VpnProfile.TYPE_CERTIFICATES;
- noauthtypeset=false;
- }
- Vector<String> key= getOption("key",1,1);
- if(key!=null)
- np.mClientKeyFilename=key.get(1);
-
- Vector<String> pkcs12 = getOption("pkcs12",1,1);
- if(pkcs12!=null) {
- np.mPKCS12Filename = pkcs12.get(1);
- np.mAuthenticationType = VpnProfile.TYPE_KEYSTORE;
- noauthtypeset=false;
- }
-
- Vector<String> cryptoapicert = getOption("cryptoapicert",1,1);
- if(cryptoapicert!=null) {
+ Vector<String> mode = getOption("mode", 1, 1);
+ if (mode != null) {
+ if (!mode.get(1).equals("p2p"))
+ throw new ConfigParseError("Invalid mode for --mode specified, need p2p");
+ }
+
+
+ Vector<Vector<String>> dhcpoptions = getAllOption("dhcp-option", 2, 2);
+ if (dhcpoptions != null) {
+ for (Vector<String> dhcpoption : dhcpoptions) {
+ String type = dhcpoption.get(1);
+ String arg = dhcpoption.get(2);
+ if (type.equals("DOMAIN")) {
+ np.mSearchDomain = dhcpoption.get(2);
+ } else if (type.equals("DNS")) {
+ np.mOverrideDNS = true;
+ if (np.mDNS1.equals(VpnProfile.DEFAULT_DNS1))
+ np.mDNS1 = arg;
+ else
+ np.mDNS2 = arg;
+ }
+ }
+ }
+
+ Vector<String> ifconfig = getOption("ifconfig", 2, 2);
+ if (ifconfig != null) {
+ try {
+ CIDRIP cidr = new CIDRIP(ifconfig.get(1), ifconfig.get(2));
+ np.mIPv4Address = cidr.toString();
+ } catch (NumberFormatException nfe) {
+ throw new ConfigParseError("Could not pase ifconfig IP address: " + nfe.getLocalizedMessage());
+ }
+
+ }
+
+ if (getOption("remote-random-hostname", 0, 0) != null)
+ np.mUseRandomHostname = true;
+
+ if (getOption("float", 0, 0) != null)
+ np.mUseFloat = true;
+
+ if (getOption("comp-lzo", 0, 1) != null)
+ np.mUseLzo = true;
+
+ Vector<String> cipher = getOption("cipher", 1, 1);
+ if (cipher != null)
+ np.mCipher = cipher.get(1);
+
+ Vector<String> auth = getOption("auth", 1, 1);
+ if (auth != null)
+ np.mAuth = auth.get(1);
+
+
+ Vector<String> ca = getOption("ca", 1, 1);
+ if (ca != null) {
+ np.mCaFilename = ca.get(1);
+ }
+
+ Vector<String> cert = getOption("cert", 1, 1);
+ if (cert != null) {
+ np.mClientCertFilename = cert.get(1);
+ np.mAuthenticationType = VpnProfile.TYPE_CERTIFICATES;
+ noauthtypeset = false;
+ }
+ Vector<String> key = getOption("key", 1, 1);
+ if (key != null)
+ np.mClientKeyFilename = key.get(1);
+
+ Vector<String> pkcs12 = getOption("pkcs12", 1, 1);
+ if (pkcs12 != null) {
+ np.mPKCS12Filename = pkcs12.get(1);
np.mAuthenticationType = VpnProfile.TYPE_KEYSTORE;
- noauthtypeset=false;
+ noauthtypeset = false;
}
- Vector<String> compatnames = getOption("compat-names",1,2);
- Vector<String> nonameremapping = getOption("no-name-remapping",1,1);
- Vector<String> tlsremote = getOption("tls-remote",1,1);
- if(tlsremote!=null){
- np.mRemoteCN = tlsremote.get(1);
- np.mCheckRemoteCN=true;
- np.mX509AuthType = VpnProfile.X509_VERIFY_TLSREMOTE;
+ Vector<String> cryptoapicert = getOption("cryptoapicert", 1, 1);
+ if (cryptoapicert != null) {
+ np.mAuthenticationType = VpnProfile.TYPE_KEYSTORE;
+ noauthtypeset = false;
+ }
- if((compatnames!=null && compatnames.size() > 2) ||
- (nonameremapping!=null))
- np.mX509AuthType = VpnProfile.X509_VERIFY_TLSREMOTE_COMPAT_NOREMAPPING;
- }
+ Vector<String> compatnames = getOption("compat-names", 1, 2);
+ Vector<String> nonameremapping = getOption("no-name-remapping", 1, 1);
+ Vector<String> tlsremote = getOption("tls-remote", 1, 1);
+ if (tlsremote != null) {
+ np.mRemoteCN = tlsremote.get(1);
+ np.mCheckRemoteCN = true;
+ np.mX509AuthType = VpnProfile.X509_VERIFY_TLSREMOTE;
+
+ if ((compatnames != null && compatnames.size() > 2) ||
+ (nonameremapping != null))
+ np.mX509AuthType = VpnProfile.X509_VERIFY_TLSREMOTE_COMPAT_NOREMAPPING;
+ }
- Vector<String> verifyx509name = getOption("verify-x509-name",1,2);
- if(verifyx509name!=null){
- np.mRemoteCN = verifyx509name.get(1);
- np.mCheckRemoteCN=true;
- if(verifyx509name.size()>2) {
- if (verifyx509name.get(2).equals("name"))
- np.mX509AuthType=VpnProfile.X509_VERIFY_TLSREMOTE_RDN;
- else if (verifyx509name.get(2).equals("name-prefix"))
- np.mX509AuthType=VpnProfile.X509_VERIFY_TLSREMOTE_RDN_PREFIX;
- else
- throw new ConfigParseError("Unknown parameter to x509-verify-name: " + verifyx509name.get(2) );
- } else {
- np.mX509AuthType = VpnProfile.X509_VERIFY_TLSREMOTE_DN;
- }
+ Vector<String> verifyx509name = getOption("verify-x509-name", 1, 2);
+ if (verifyx509name != null) {
+ np.mRemoteCN = verifyx509name.get(1);
+ np.mCheckRemoteCN = true;
+ if (verifyx509name.size() > 2) {
+ if (verifyx509name.get(2).equals("name"))
+ np.mX509AuthType = VpnProfile.X509_VERIFY_TLSREMOTE_RDN;
+ else if (verifyx509name.get(2).equals("name-prefix"))
+ np.mX509AuthType = VpnProfile.X509_VERIFY_TLSREMOTE_RDN_PREFIX;
+ else
+ throw new ConfigParseError("Unknown parameter to x509-verify-name: " + verifyx509name.get(2));
+ } else {
+ np.mX509AuthType = VpnProfile.X509_VERIFY_TLSREMOTE_DN;
+ }
- }
+ }
- Vector<String> verb = getOption("verb",1,1);
- if(verb!=null){
- np.mVerb=verb.get(1);
- }
+ Vector<String> verb = getOption("verb", 1, 1);
+ if (verb != null) {
+ np.mVerb = verb.get(1);
+ }
- if(getOption("nobind", 0, 0) != null)
- np.mNobind=true;
+ if (getOption("nobind", 0, 0) != null)
+ np.mNobind = true;
- if(getOption("persist-tun", 0,0) != null)
- np.mPersistTun=true;
+ if (getOption("persist-tun", 0, 0) != null)
+ np.mPersistTun = true;
- Vector<String> connectretry = getOption("connect-retry", 1, 1);
- if(connectretry!=null)
- np.mConnectRetry =connectretry.get(1);
+ Vector<String> connectretry = getOption("connect-retry", 1, 1);
+ if (connectretry != null)
+ np.mConnectRetry = connectretry.get(1);
- Vector<String> connectretrymax = getOption("connect-retry-max", 1, 1);
- if(connectretrymax!=null)
- np.mConnectRetryMax =connectretrymax.get(1);
+ Vector<String> connectretrymax = getOption("connect-retry-max", 1, 1);
+ if (connectretrymax != null)
+ np.mConnectRetryMax = connectretrymax.get(1);
Vector<Vector<String>> remotetls = getAllOption("remote-cert-tls", 1, 1);
- if(remotetls!=null)
- if(remotetls.get(0).get(1).equals("server"))
- np.mExpectTLSCert=true;
- else
- options.put("remotetls",remotetls);
-
- Vector<String> authuser = getOption("auth-user-pass",0,1);
- if(authuser !=null){
- if(noauthtypeset) {
- np.mAuthenticationType=VpnProfile.TYPE_USERPASS;
- } else if(np.mAuthenticationType==VpnProfile.TYPE_CERTIFICATES) {
- np.mAuthenticationType=VpnProfile.TYPE_USERPASS_CERTIFICATES;
- } else if(np.mAuthenticationType==VpnProfile.TYPE_KEYSTORE) {
- np.mAuthenticationType=VpnProfile.TYPE_USERPASS_KEYSTORE;
- }
- if(authuser.size()>1) {
- // Set option value to password get to embed later.
- np.mUsername=null;
- useEmbbedUserAuth(np, authuser.get(1));
- }
- }
+ if (remotetls != null)
+ if (remotetls.get(0).get(1).equals("server"))
+ np.mExpectTLSCert = true;
+ else
+ options.put("remotetls", remotetls);
+
+ Vector<String> authuser = getOption("auth-user-pass", 0, 1);
+ if (authuser != null) {
+ if (noauthtypeset) {
+ np.mAuthenticationType = VpnProfile.TYPE_USERPASS;
+ } else if (np.mAuthenticationType == VpnProfile.TYPE_CERTIFICATES) {
+ np.mAuthenticationType = VpnProfile.TYPE_USERPASS_CERTIFICATES;
+ } else if (np.mAuthenticationType == VpnProfile.TYPE_KEYSTORE) {
+ np.mAuthenticationType = VpnProfile.TYPE_USERPASS_KEYSTORE;
+ }
+ if (authuser.size() > 1) {
+ // Set option value to password get to embed later.
+ np.mUsername = null;
+ useEmbbedUserAuth(np, authuser.get(1));
+ }
+ }
Pair<Connection, Connection[]> conns = parseConnectionOptions(null);
- np.mConnections =conns.second;
+ np.mConnections = conns.second;
Vector<Vector<String>> connectionBlocks = getAllOption("connection", 1, 1);
- if (np.mConnections.length > 0 && connectionBlocks !=null ) {
- throw new ConfigParseError("Using a <connection> block and --remote is not allowed.");
+ if (np.mConnections.length > 0 && connectionBlocks != null) {
+ throw new ConfigParseError("Using a <connection> block and --remote is not allowed.");
}
- if (connectionBlocks!=null) {
+ if (connectionBlocks != null) {
np.mConnections = new Connection[connectionBlocks.size()];
int connIndex = 0;
@@ -633,43 +610,43 @@ public class ConfigParser {
connIndex++;
}
}
- if(getOption("remote-random", 0, 0) != null)
- np.mRemoteRandom=true;
+ if (getOption("remote-random", 0, 0) != null)
+ np.mRemoteRandom = true;
Vector<String> protoforce = getOption("proto-force", 1, 1);
- if(protoforce!=null) {
+ if (protoforce != null) {
boolean disableUDP;
String protoToDisable = protoforce.get(1);
if (protoToDisable.equals("udp"))
- disableUDP=true;
+ disableUDP = true;
else if (protoToDisable.equals("tcp"))
- disableUDP=false;
+ disableUDP = false;
else
throw new ConfigParseError(String.format("Unknown protocol %s in proto-force", protoToDisable));
- for (Connection conn:np.mConnections)
- if(conn.mUseUdp==disableUDP)
- conn.mEnabled=false;
+ for (Connection conn : np.mConnections)
+ if (conn.mUseUdp == disableUDP)
+ conn.mEnabled = false;
}
// Parse OpenVPN Access Server extra
- Vector<String> friendlyname = meta.get("FRIENDLY_NAME");
- if(friendlyname !=null && friendlyname.size() > 1)
- np.mName=friendlyname.get(1);
+ Vector<String> friendlyname = meta.get("FRIENDLY_NAME");
+ if (friendlyname != null && friendlyname.size() > 1)
+ np.mName = friendlyname.get(1);
- Vector<String> ocusername = meta.get("USERNAME");
- if(ocusername !=null && ocusername.size() > 1)
- np.mUsername=ocusername.get(1);
+ Vector<String> ocusername = meta.get("USERNAME");
+ if (ocusername != null && ocusername.size() > 1)
+ np.mUsername = ocusername.get(1);
checkIgnoreAndInvalidOptions(np);
- fixup(np);
+ fixup(np);
- return np;
- }
+ return np;
+ }
private Pair<Connection, Connection[]> parseConnection(String connection, Connection defaultValues) throws IOException, ConfigParseError {
- // Parse a connection Block as a new configuration file
+ // Parse a connection Block as a new configuration file
ConfigParser connectionParser = new ConfigParser();
@@ -683,7 +660,7 @@ public class ConfigParser {
private Pair<Connection, Connection[]> parseConnectionOptions(Connection connDefault) throws ConfigParseError {
Connection conn;
- if (connDefault!=null)
+ if (connDefault != null)
try {
conn = connDefault.clone();
} catch (CloneNotSupportedException e) {
@@ -693,28 +670,28 @@ public class ConfigParser {
else
conn = new Connection();
- Vector<String> port = getOption("port", 1,1);
- if(port!=null){
+ Vector<String> port = getOption("port", 1, 1);
+ if (port != null) {
conn.mServerPort = port.get(1);
}
- Vector<String> rport = getOption("rport", 1,1);
- if(rport!=null){
+ Vector<String> rport = getOption("rport", 1, 1);
+ if (rport != null) {
conn.mServerPort = rport.get(1);
}
- Vector<String> proto = getOption("proto", 1,1);
- if(proto!=null){
- conn.mUseUdp=isUdpProto(proto.get(1));
+ Vector<String> proto = getOption("proto", 1, 1);
+ if (proto != null) {
+ conn.mUseUdp = isUdpProto(proto.get(1));
}
// Parse remote config
- Vector<Vector<String>> remotes = getAllOption("remote",1,3);
+ Vector<Vector<String>> remotes = getAllOption("remote", 1, 3);
// Assume that we need custom options if connectionDefault are set
- if(connDefault!=null) {
+ if (connDefault != null) {
for (Vector<Vector<String>> option : options.values()) {
conn.mCustomConfiguration += getOptionStrings(option);
@@ -724,14 +701,14 @@ public class ConfigParser {
conn.mUseCustomConfig = true;
}
// Make remotes empty to simplify code
- if (remotes==null)
+ if (remotes == null)
remotes = new Vector<Vector<String>>();
Connection[] connections = new Connection[remotes.size()];
- int i=0;
- for (Vector<String> remote: remotes) {
+ int i = 0;
+ for (Vector<String> remote : remotes) {
try {
connections[i] = conn.clone();
} catch (CloneNotSupportedException e) {
@@ -739,7 +716,7 @@ public class ConfigParser {
}
switch (remote.size()) {
case 4:
- connections[i].mUseUdp=isUdpProto(remote.get(3));
+ connections[i].mUseUdp = isUdpProto(remote.get(3));
case 3:
connections[i].mServerPort = remote.get(2);
case 2:
@@ -752,63 +729,60 @@ public class ConfigParser {
}
private void checkRedirectParameters(VpnProfile np, Vector<Vector<String>> defgw) {
- for (Vector<String> redirect: defgw)
- for (int i=1;i<redirect.size();i++){
+ for (Vector<String> redirect : defgw)
+ for (int i = 1; i < redirect.size(); i++) {
if (redirect.get(i).equals("block-local"))
- np.mAllowLocalLAN=false;
+ np.mAllowLocalLAN = false;
else if (redirect.get(i).equals("unblock-local"))
- np.mAllowLocalLAN=true;
+ np.mAllowLocalLAN = true;
}
}
- private boolean isUdpProto(String proto) throws ConfigParseError {
- boolean isudp;
- if(proto.equals("udp") || proto.equals("udp6"))
- isudp=true;
- else if (proto.equals("tcp-client") ||
- proto.equals("tcp") ||
- proto.equals("tcp6") ||
- proto.endsWith("tcp6-client"))
- isudp =false;
- else
- throw new ConfigParseError("Unsupported option to --proto " + proto);
- return isudp;
- }
-
- static public void useEmbbedUserAuth(VpnProfile np, String inlinedata)
- {
- String data = VpnProfile.getEmbeddedContent(inlinedata);
- String[] parts = data.split("\n");
- if(parts.length >= 2) {
- np.mUsername=parts[0];
- np.mPassword=parts[1];
- }
- }
-
- private void checkIgnoreAndInvalidOptions(VpnProfile np) throws ConfigParseError {
- for(String option:unsupportedOptions)
- if(options.containsKey(option))
- throw new ConfigParseError(String.format("Unsupported Option %s encountered in config file. Aborting",option));
+ private boolean isUdpProto(String proto) throws ConfigParseError {
+ boolean isudp;
+ if (proto.equals("udp") || proto.equals("udp6"))
+ isudp = true;
+ else if (proto.equals("tcp-client") ||
+ proto.equals("tcp") ||
+ proto.equals("tcp6") ||
+ proto.endsWith("tcp6-client"))
+ isudp = false;
+ else
+ throw new ConfigParseError("Unsupported option to --proto " + proto);
+ return isudp;
+ }
- for(String option:ignoreOptions)
- // removing an item which is not in the map is no error
- options.remove(option);
+ static public void useEmbbedUserAuth(VpnProfile np, String inlinedata) {
+ String data = VpnProfile.getEmbeddedContent(inlinedata);
+ String[] parts = data.split("\n");
+ if (parts.length >= 2) {
+ np.mUsername = parts[0];
+ np.mPassword = parts[1];
+ }
+ }
+ private void checkIgnoreAndInvalidOptions(VpnProfile np) throws ConfigParseError {
+ for (String option : unsupportedOptions)
+ if (options.containsKey(option))
+ throw new ConfigParseError(String.format("Unsupported Option %s encountered in config file. Aborting", option));
+ for (String option : ignoreOptions)
+ // removing an item which is not in the map is no error
+ options.remove(option);
- if(options.size()> 0) {
- np.mCustomConfigOptions += "# These Options were found in the config file do not map to config settings:\n";
+ if (options.size() > 0) {
+ np.mCustomConfigOptions += "# These Options were found in the config file do not map to config settings:\n";
- for(Vector<Vector<String>> option:options.values()) {
+ for (Vector<Vector<String>> option : options.values()) {
- np.mCustomConfigOptions += getOptionStrings(option);
+ np.mCustomConfigOptions += getOptionStrings(option);
- }
- np.mUseCustomConfig=true;
+ }
+ np.mUseCustomConfig = true;
- }
- }
+ }
+ }
boolean ignoreThisOption(Vector<String> option) {
@@ -843,35 +817,35 @@ public class ConfigParser {
private void fixup(VpnProfile np) {
- if(np.mRemoteCN.equals(np.mServerName)) {
- np.mRemoteCN="";
- }
- }
-
- private Vector<String> getOption(String option, int minarg, int maxarg) throws ConfigParseError {
- Vector<Vector<String>> alloptions = getAllOption(option, minarg, maxarg);
- if(alloptions==null)
- return null;
- else
- return alloptions.lastElement();
- }
-
-
- private Vector<Vector<String>> getAllOption(String option, int minarg, int maxarg) throws ConfigParseError {
- Vector<Vector<String>> args = options.get(option);
- if(args==null)
- return null;
-
- for(Vector<String> optionline:args)
-
- if(optionline.size()< (minarg+1) || optionline.size() > maxarg+1) {
- String err = String.format(Locale.getDefault(),"Option %s has %d parameters, expected between %d and %d",
- option,optionline.size()-1,minarg,maxarg );
- throw new ConfigParseError(err);
- }
- options.remove(option);
- return args;
- }
+ if (np.mRemoteCN.equals(np.mServerName)) {
+ np.mRemoteCN = "";
+ }
+ }
+
+ private Vector<String> getOption(String option, int minarg, int maxarg) throws ConfigParseError {
+ Vector<Vector<String>> alloptions = getAllOption(option, minarg, maxarg);
+ if (alloptions == null)
+ return null;
+ else
+ return alloptions.lastElement();
+ }
+
+
+ private Vector<Vector<String>> getAllOption(String option, int minarg, int maxarg) throws ConfigParseError {
+ Vector<Vector<String>> args = options.get(option);
+ if (args == null)
+ return null;
+
+ for (Vector<String> optionline : args)
+
+ if (optionline.size() < (minarg + 1) || optionline.size() > maxarg + 1) {
+ String err = String.format(Locale.getDefault(), "Option %s has %d parameters, expected between %d and %d",
+ option, optionline.size() - 1, minarg, maxarg);
+ throw new ConfigParseError(err);
+ }
+ options.remove(option);
+ return args;
+ }
}
diff --git a/app/src/main/java/de/blinkt/openvpn/core/NetworkSpace.java b/app/src/main/java/de/blinkt/openvpn/core/NetworkSpace.java
index 26354689..c86f9e44 100644
--- a/app/src/main/java/de/blinkt/openvpn/core/NetworkSpace.java
+++ b/app/src/main/java/de/blinkt/openvpn/core/NetworkSpace.java
@@ -172,8 +172,16 @@ public class NetworkSpace {
}
public boolean containsNet(ipAddress network) {
- return getFirstAddress().compareTo(network.getFirstAddress()) != 1 &&
- getLastAddress().compareTo(network.getLastAddress()) != -1;
+ // this.first >= net.first && this.last <= net.last
+ BigInteger ourFirst = getFirstAddress();
+ BigInteger ourLast = getLastAddress();
+ BigInteger netFirst = network.getFirstAddress();
+ BigInteger netLast = network.getLastAddress();
+
+ boolean a = ourFirst.compareTo(netFirst) != 1;
+ boolean b = ourLast.compareTo(netLast) != -1;
+ return a && b;
+
}
}
@@ -320,6 +328,7 @@ public class NetworkSpace {
boolean skipIp=false;
// If there is any smaller net that is excluded we may not add the positive route back
+
for (ipAddress calculatedIp: ipsSorted) {
if(!calculatedIp.included && origIp.containsNet(calculatedIp)) {
skipIp=true;
diff --git a/app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java b/app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java
index 578d95e7..3c1ec064 100644
--- a/app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java
+++ b/app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java
@@ -49,14 +49,14 @@ import de.blinkt.openvpn.core.VpnStatus.StateListener;
import static de.blinkt.openvpn.core.NetworkSpace.ipAddress;
import static de.blinkt.openvpn.core.VpnStatus.ConnectionStatus.LEVEL_CONNECTED;
-import static de.blinkt.openvpn.core.VpnStatus.ConnectionStatus.LEVEL_NONETWORK;
-import static de.blinkt.openvpn.core.VpnStatus.ConnectionStatus.LEVEL_NOTCONNECTED;
import static de.blinkt.openvpn.core.VpnStatus.ConnectionStatus.LEVEL_CONNECTING_NO_SERVER_REPLY_YET;
import static de.blinkt.openvpn.core.VpnStatus.ConnectionStatus.LEVEL_WAITING_FOR_USER_INPUT;
+import static de.blinkt.openvpn.core.VpnStatus.ConnectionStatus.LEVEL_NOTCONNECTED;
+import static de.blinkt.openvpn.core.VpnStatus.ConnectionStatus.LEVEL_NONETWORK;
+
import se.leap.bitmaskclient.Dashboard;
public class OpenVPNService extends VpnService implements StateListener, Callback, ByteCountListener {
-
public static final String START_SERVICE = "de.blinkt.openvpn.START_SERVICE";
public static final String START_SERVICE_STICKY = "de.blinkt.openvpn.START_SERVICE_STICKY";
public static final String ALWAYS_SHOW_NOTIFICATION = "de.blinkt.openvpn.NOTIFICATION_ALWAYS_VISIBLE";
@@ -126,7 +126,6 @@ public class OpenVPNService extends VpnService implements StateListener, Callbac
synchronized (mProcessLock) {
mProcessThread = null;
}
- mConnecttime = 0;
VpnStatus.removeByteCountListener(this);
unregisterDeviceStateReceiver();
ProfileManager.setConntectedVpnProfileDisconnected(this);
@@ -555,9 +554,15 @@ public class OpenVPNService extends VpnService implements StateListener, Callbac
Collection<ipAddress> positiveIPv4Routes = mRoutes.getPositiveIPList();
Collection<ipAddress> positiveIPv6Routes = mRoutesv6.getPositiveIPList();
+ ipAddress multicastRange = new ipAddress(new CIDRIP("224.0.0.0", 3), true);
+
for (NetworkSpace.ipAddress route : positiveIPv4Routes) {
try {
- builder.addRoute(route.getIPv4Address(), route.networkMask);
+
+ if (multicastRange.containsNet(route))
+ VpnStatus.logDebug(R.string.ignore_multicast_route, route.toString());
+ else
+ builder.addRoute(route.getIPv4Address(), route.networkMask);
} catch (IllegalArgumentException ia) {
VpnStatus.logError(getString(R.string.route_rejected) + route + " " + ia.getLocalizedMessage());
}
@@ -610,7 +615,10 @@ public class OpenVPNService extends VpnService implements StateListener, Callbac
try {
//Debug.stopMethodTracing();
- return builder.establish();
+ ParcelFileDescriptor tun = builder.establish();
+ if (tun==null)
+ throw new NullPointerException("Android establish() method returned null (Really broken network configuration?)");
+ return tun;
} catch (Exception e) {
VpnStatus.logError(R.string.tun_open_error);
VpnStatus.logError(getString(R.string.error) + e.getLocalizedMessage());
@@ -810,8 +818,11 @@ public class OpenVPNService extends VpnService implements StateListener, Callbac
/* Workaround for Lollipop, it does not route traffic to the VPNs own network mask */
- if (mLocalIP.len <= 31 && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
- addRoute(mLocalIP);
+ if (mLocalIP.len <= 31 && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
+ CIDRIP interfaceRoute = new CIDRIP(mLocalIP.mIp, mLocalIP.len);
+ interfaceRoute.normalise();
+ addRoute(interfaceRoute);
+ }
// Configurations are sometimes really broken...
@@ -868,7 +879,8 @@ public class OpenVPNService extends VpnService implements StateListener, Callbac
// Does not work :(
String msg = getString(resid);
String ticker = msg;
- showNotification(msg + " " + logmessage, ticker, lowpriority , 0, level);
+ showNotification(msg + " " + logmessage, ticker, lowpriority, 0, level);
+
}
}
diff --git a/app/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java b/app/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java
index 298a6c40..d856feb7 100644
--- a/app/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java
+++ b/app/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java
@@ -32,7 +32,8 @@ import de.blinkt.openvpn.core.VpnStatus.LogItem;
public class OpenVPNThread implements Runnable {
private static final String DUMP_PATH_STRING = "Dump path: ";
@SuppressLint("SdCardPath")
- private static final String BROKEN_PIE_SUPPORT = "/data/data/de.blinkt.openvpn/cache/pievpn[1]: syntax error:";
+ private static final String BROKEN_PIE_SUPPORT = "/data/data/de.blinkt.openvpn/cache/pievpn";
+ private final static String BROKEN_PIE_SUPPORT2 = "syntax error";
private static final String TAG = "OpenVPN";
public static final int M_FATAL = (1 << 4);
public static final int M_NONFATAL = (1 << 5);
@@ -148,7 +149,7 @@ public class OpenVPNThread implements Runnable {
if (logline.startsWith(DUMP_PATH_STRING))
mDumpPath = logline.substring(DUMP_PATH_STRING.length());
- if (logline.startsWith(BROKEN_PIE_SUPPORT))
+ if (logline.startsWith(BROKEN_PIE_SUPPORT) || logline.contains(BROKEN_PIE_SUPPORT2))
mBrokenPie = true;
diff --git a/app/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java b/app/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java
index 199caa63..92bf9ad3 100644
--- a/app/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java
+++ b/app/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java
@@ -7,8 +7,6 @@ package de.blinkt.openvpn.fragments;
import se.leap.bitmaskclient.R;
-import se.leap.bitmaskclient.R;
-
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
diff --git a/app/src/main/java/se/leap/bitmaskclient/Dashboard.java b/app/src/main/java/se/leap/bitmaskclient/Dashboard.java
index afe1a638..6d368e11 100644
--- a/app/src/main/java/se/leap/bitmaskclient/Dashboard.java
+++ b/app/src/main/java/se/leap/bitmaskclient/Dashboard.java
@@ -310,10 +310,10 @@ public class Dashboard extends Activity implements SessionDialog.SessionDialogIn
private Bundle bundleParameters(String username, String password) {
Bundle parameters = new Bundle();
- if(!username.isEmpty() && !password.isEmpty()) {
+ if(!username.isEmpty())
parameters.putString(SessionDialog.USERNAME, username);
+ if(!password.isEmpty())
parameters.putString(SessionDialog.PASSWORD, password);
- }
return parameters;
}
@@ -344,12 +344,13 @@ public class Dashboard extends Activity implements SessionDialog.SessionDialogIn
}
public void sessionDialog(Bundle resultData) {
+
FragmentTransaction transaction = fragment_manager.removePreviousFragment(SessionDialog.TAG);
- DialogFragment newFragment = SessionDialog.newInstance();
- if(resultData != null && !resultData.isEmpty() && fragment_manager.findFragmentByTag(SessionDialog.TAG) == null) {
+ DialogFragment newFragment = new SessionDialog();
+ if(resultData != null && !resultData.isEmpty()) {
newFragment.setArguments(resultData);
- }
+ }
newFragment.show(transaction, SessionDialog.TAG);
}
diff --git a/app/src/main/java/se/leap/bitmaskclient/SessionDialog.java b/app/src/main/java/se/leap/bitmaskclient/SessionDialog.java
index fd9ca851..9025564b 100644
--- a/app/src/main/java/se/leap/bitmaskclient/SessionDialog.java
+++ b/app/src/main/java/se/leap/bitmaskclient/SessionDialog.java
@@ -26,6 +26,8 @@ import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
+import org.jetbrains.annotations.NotNull;
+
import butterknife.ButterKnife;
import butterknife.InjectView;
@@ -56,43 +58,29 @@ public class SessionDialog extends DialogFragment{
@InjectView(R.id.password_entered)
EditText password_field;
- private static SessionDialog dialog;
-
private static boolean is_eip_pending = false;
+
+ public SessionDialog() {
+ setArguments(Bundle.EMPTY);
+ }
public AlertDialog onCreateDialog(Bundle savedInstanceState) {
+
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
LayoutInflater inflater = getActivity().getLayoutInflater();
View view = inflater.inflate(R.layout.session_dialog, null);
ButterKnife.inject(this, view);
-
- if(!username_field.getText().toString().isEmpty() && password_field.isFocusable()) {
- password_field.requestFocus();
- }
Bundle arguments = getArguments();
- if (arguments != null) {
- is_eip_pending = arguments.getBoolean(EipFragment.IS_PENDING, false);
- if (arguments.containsKey(PASSWORD_INVALID_LENGTH))
- password_field.setError(getString(R.string.error_not_valid_password_user_message));
- if (arguments.containsKey(USERNAME)) {
- String username = arguments.getString(USERNAME);
- username_field.setText(username);
- }
- if (arguments.containsKey(USERNAME_MISSING)) {
- username_field.setError(getString(R.string.username_ask));
- }
- if(arguments.containsKey(getString(R.string.user_message)))
- user_message.setText(arguments.getString(getString(R.string.user_message)));
- else
- user_message.setVisibility(View.GONE);
+ if (arguments != Bundle.EMPTY) {
+ setUp(arguments);
}
builder.setView(view)
.setPositiveButton(R.string.login_button, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
- String username = username_field.getText().toString();
- String password = password_field.getText().toString();
+ String username = getEnteredUsername();
+ String password = getEnteredPassword();
dialog.dismiss();
interface_with_Dashboard.logIn(username, password);
}
@@ -105,8 +93,9 @@ public class SessionDialog extends DialogFragment{
})
.setNeutralButton(R.string.signup_button, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
- String username = username_field.getText().toString();
- String password = password_field.getText().toString();
+ String username = getEnteredUsername();
+ String password = getEnteredPassword();
+ dialog.dismiss();
interface_with_Dashboard.signUp(username, password);
}
});
@@ -114,6 +103,35 @@ public class SessionDialog extends DialogFragment{
return builder.create();
}
+ private void setUp(Bundle arguments) {
+ is_eip_pending = arguments.getBoolean(EipFragment.IS_PENDING, false);
+ if (arguments.containsKey(PASSWORD_INVALID_LENGTH))
+ password_field.setError(getString(R.string.error_not_valid_password_user_message));
+ if (arguments.containsKey(USERNAME)) {
+ String username = arguments.getString(USERNAME);
+ username_field.setText(username);
+ }
+ if (arguments.containsKey(USERNAME_MISSING)) {
+ username_field.setError(getString(R.string.username_ask));
+ }
+ if(arguments.containsKey(getString(R.string.user_message)))
+ user_message.setText(arguments.getString(getString(R.string.user_message)));
+ else
+ user_message.setVisibility(View.GONE);
+
+ if(!username_field.getText().toString().isEmpty() && password_field.isFocusable())
+ password_field.requestFocus();
+
+ }
+
+ private String getEnteredUsername() {
+ return username_field.getText().toString();
+ }
+
+ private String getEnteredPassword() {
+ return password_field.getText().toString();
+ }
+
/**
* Interface used to communicate SessionDialog with Dashboard.
@@ -128,16 +146,6 @@ public class SessionDialog extends DialogFragment{
}
SessionDialogInterface interface_with_Dashboard;
-
- /**
- * @return a new instance of this DialogFragment.
- */
- public static DialogFragment newInstance() {
- if(dialog == null)
- dialog = new SessionDialog();
-
- return dialog;
- }
@Override
public void onAttach(Activity activity) {
diff --git a/app/src/main/res/drawable-hdpi/ic_check_white_24dp.png b/app/src/main/res/drawable-hdpi/ic_check_white_24dp.png
new file mode 100644
index 00000000..f42a0e2d
--- /dev/null
+++ b/app/src/main/res/drawable-hdpi/ic_check_white_24dp.png
Binary files differ
diff --git a/app/src/main/res/drawable-mdpi/ic_check_white_24dp.png b/app/src/main/res/drawable-mdpi/ic_check_white_24dp.png
new file mode 100644
index 00000000..e91f9048
--- /dev/null
+++ b/app/src/main/res/drawable-mdpi/ic_check_white_24dp.png
Binary files differ
diff --git a/app/src/main/res/drawable-xhdpi/ic_check_white_24dp.png b/app/src/main/res/drawable-xhdpi/ic_check_white_24dp.png
new file mode 100644
index 00000000..e5024472
--- /dev/null
+++ b/app/src/main/res/drawable-xhdpi/ic_check_white_24dp.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxhdpi/ic_check_white_24dp.png b/app/src/main/res/drawable-xxhdpi/ic_check_white_24dp.png
new file mode 100644
index 00000000..6e03d54c
--- /dev/null
+++ b/app/src/main/res/drawable-xxhdpi/ic_check_white_24dp.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxxhdpi/ic_check_white_24dp.png b/app/src/main/res/drawable-xxxhdpi/ic_check_white_24dp.png
new file mode 100644
index 00000000..87892840
--- /dev/null
+++ b/app/src/main/res/drawable-xxxhdpi/ic_check_white_24dp.png
Binary files differ
diff --git a/app/src/main/res/layout/log_fragment.xml b/app/src/main/res/layout/log_fragment.xml
index 4fec942e..491882a9 100644
--- a/app/src/main/res/layout/log_fragment.xml
+++ b/app/src/main/res/layout/log_fragment.xml
@@ -13,6 +13,7 @@
<LinearLayout
android:background="@drawable/white_rect"
android:elevation="1dp"
+ android:orientation="vertical"
android:layout_height="wrap_content"
android:layout_width="match_parent">
diff --git a/app/src/main/res/values-v21/refs.xml b/app/src/main/res/values-v21/refs.xml
index d29d04ed..a4a26bec 100644
--- a/app/src/main/res/values-v21/refs.xml
+++ b/app/src/main/res/values-v21/refs.xml
@@ -7,9 +7,8 @@
<resources>
<drawable name="ic_menu_close_clear_cancel">@drawable/ic_close_white_24dp</drawable>
<drawable name="ic_menu_share">@drawable/ic_share_white_24dp </drawable>
+ <drawable name="ic_menu_save">@drawable/ic_check_white_24dp</drawable>
<drawable name="ic_menu_view">@drawable/ic_filter_list_white_24dp</drawable>
<drawable name="ic_menu_delete">@drawable/ic_delete_white_24dp</drawable>
<drawable name="ic_menu_delete_grey">@drawable/ic_delete_grey600_24dp</drawable>
-
- <drawable name="ic_menu_edit">@drawable/ic_edit_white_24dp</drawable>
</resources>
diff --git a/app/src/main/res/values/strings-icsopenvpn.xml b/app/src/main/res/values/strings-icsopenvpn.xml
index 307d3a42..39ad1193 100755
--- a/app/src/main/res/values/strings-icsopenvpn.xml
+++ b/app/src/main/res/values/strings-icsopenvpn.xml
@@ -350,5 +350,6 @@
<string name="show_log">Show log</string>
<string name="faq_android_clients">Multiple OpenVPN clients for Android exist. The most common ones are OpenVPN for Android (this client), OpenVPN Connect and OpenVPN Settings.&lt;p&gt;The clients can be grouped into two groups: OpenVPN for Android and OpenVPN Connect use the official VPNService API (Android 4.0+) and require no root and OpenVPN Settings which uses root.&lt;p&gt;OpenVPN for Android is an open source client and developed by Arne Schwabe. It is targeted at more advanced users and offers many settings and the ability to import profiles from files and to configure/change profiles inside the app. The client is based on the community version of OpenVPN. It is based on the OpenVPN 2.x source code. This client can be seen as the semi officially client of the community. &lt;p&gt;OpenVPN Connect is non open source client that is developed by OpenVPN Technologies, Inc. The client is indented to be general use client and moree targeted at the average user and allows the import of OpenVPN profiles. This client is based on the OpenVPN C++ reimplementation of the OpenVPN protocol (This was required to allow OpenVPN Technologies, Inc to publish an iOS OpenVPN app). This client is the official client of the OpenVPN technologies &lt;p&gt; OpenVPN Settings is the oldest of the clients and also a UI for the open source OpenVPN. In contrast to OpenVPN for Android it requires root and does not use the VPNService API. It does not depend on Android 4.0+</string>
<string name="faq_androids_clients_title">Differences between the OpenVPN Android clients</string>
+ <string name="ignore_multicast_route">Ignoring multicast route: %s</string>
</resources>
diff --git a/app/src/release/java/se/leap/bitmaskclient/ProviderAPI.java b/app/src/release/java/se/leap/bitmaskclient/ProviderAPI.java
index 334efaa9..c8efe0de 100644
--- a/app/src/release/java/se/leap/bitmaskclient/ProviderAPI.java
+++ b/app/src/release/java/se/leap/bitmaskclient/ProviderAPI.java
@@ -174,28 +174,28 @@ public class ProviderAPI extends IntentService {
}
private Bundle tryToRegister(Bundle task) {
- Bundle session_id_bundle = new Bundle();
+ Bundle result = new Bundle();
int progress = 0;
- String username = (String) task.get(SessionDialog.USERNAME);
- String password = (String) task.get(SessionDialog.PASSWORD);
+ String username = task.getString(SessionDialog.USERNAME);
+ String password = task.getString(SessionDialog.PASSWORD);
if(validUserLoginData(username, password)) {
- session_id_bundle = register(username, password);
+ result = register(username, password);
broadcastProgress(progress++);
} else {
if(!wellFormedPassword(password)) {
- session_id_bundle.putBoolean(RESULT_KEY, false);
- session_id_bundle.putString(SessionDialog.USERNAME, username);
- session_id_bundle.putBoolean(SessionDialog.PASSWORD_INVALID_LENGTH, true);
+ result.putBoolean(RESULT_KEY, false);
+ result.putString(SessionDialog.USERNAME, username);
+ result.putBoolean(SessionDialog.PASSWORD_INVALID_LENGTH, true);
}
- if(username.isEmpty()) {
- session_id_bundle.putBoolean(RESULT_KEY, false);
- session_id_bundle.putBoolean(SessionDialog.USERNAME_MISSING, true);
+ if(!validUsername(username)) {
+ result.putBoolean(RESULT_KEY, false);
+ result.putBoolean(SessionDialog.USERNAME_MISSING, true);
}
}
- return session_id_bundle;
+ return result;
}
private Bundle register(String username, String password) {
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/LaunchVPN.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/LaunchVPN.java
deleted file mode 100644
index 706a932f..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/LaunchVPN.java
+++ /dev/null
@@ -1,227 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn;
-
-import se.leap.bitmaskclient.R;
-
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.content.ActivityNotFoundException;
-import android.content.DialogInterface;
-import android.content.DialogInterface.OnClickListener;
-import android.content.Intent;
-import android.content.SharedPreferences;
-import android.net.VpnService;
-import android.os.Bundle;
-import android.preference.PreferenceManager;
-import android.text.InputType;
-import android.text.TextUtils;
-import android.text.method.PasswordTransformationMethod;
-import android.view.View;
-import android.widget.CheckBox;
-import android.widget.CompoundButton;
-import android.widget.EditText;
-
-import java.io.IOException;
-
-import de.blinkt.openvpn.activities.LogWindow;
-import de.blinkt.openvpn.core.ProfileManager;
-import de.blinkt.openvpn.core.VPNLaunchHelper;
-import de.blinkt.openvpn.core.VpnStatus;
-import de.blinkt.openvpn.core.VpnStatus.ConnectionStatus;
-
-/**
- * This Activity actually handles two stages of a launcher shortcut's life cycle.
- *
- * 1. Your application offers to provide shortcuts to the launcher. When
- * the user installs a shortcut, an activity within your application
- * generates the actual shortcut and returns it to the launcher, where it
- * is shown to the user as an icon.
- *
- * 2. Any time the user clicks on an installed shortcut, an intent is sent.
- * Typically this would then be handled as necessary by an activity within
- * your application.
- *
- * We handle stage 1 (creating a shortcut) by simply sending back the information (in the form
- * of an {@link android.content.Intent} that the launcher will use to create the shortcut.
- *
- * You can also implement this in an interactive way, by having your activity actually present
- * UI for the user to select the specific nature of the shortcut, such as a contact, picture, URL,
- * media item, or action.
- *
- * We handle stage 2 (responding to a shortcut) in this sample by simply displaying the contents
- * of the incoming {@link android.content.Intent}.
- *
- * In a real application, you would probably use the shortcut intent to display specific content
- * or start a particular operation.
- */
-public class LaunchVPN extends Activity {
-
- public static final String EXTRA_KEY = "de.blinkt.openvpn.shortcutProfileUUID";
- public static final String EXTRA_NAME = "de.blinkt.openvpn.shortcutProfileName";
- public static final String EXTRA_HIDELOG = "de.blinkt.openvpn.showNoLogWindow";
-
- private static final int START_VPN_PROFILE= 70;
-
-
- private ProfileManager mPM;
- private VpnProfile mSelectedProfile;
- private boolean mhideLog=false;
-
- private boolean mCmfixed=false;
-
- @Override
- public void onCreate(Bundle icicle) {
- super.onCreate(icicle);
-
- mPM =ProfileManager.getInstance(this);
-
- }
-
- @Override
- protected void onStart() {
- super.onStart();
- // Resolve the intent
-
- final Intent intent = getIntent();
- final String action = intent.getAction();
-
- // If the intent is a request to create a shortcut, we'll do that and exit
-
-
- if(Intent.ACTION_MAIN.equals(action)) {
- // we got called to be the starting point, most likely a shortcut
- String shortcutUUID = intent.getStringExtra( EXTRA_KEY);
- String shortcutName = intent.getStringExtra( EXTRA_NAME);
- mhideLog = intent.getBooleanExtra(EXTRA_HIDELOG, false);
-
- VpnProfile profileToConnect = ProfileManager.get(this,shortcutUUID);
- if(shortcutName != null && profileToConnect ==null)
- profileToConnect = ProfileManager.getInstance(this).getProfileByName(shortcutName);
-
- if(profileToConnect ==null) {
- VpnStatus.logError(R.string.shortcut_profile_notfound);
- // show Log window to display error
- showLogWindow();
- finish();
- return;
- }
-
- mSelectedProfile = profileToConnect;
- launchVPN();
-
- }
- }
-
- @Override
- protected void onActivityResult (int requestCode, int resultCode, Intent data) {
- super.onActivityResult(requestCode, resultCode, data);
-
- if(requestCode==START_VPN_PROFILE) {
- SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
- boolean showLogWindow = prefs.getBoolean("showlogwindow", true);
-
- if(!mhideLog && showLogWindow)
- showLogWindow();
- new startOpenVpnThread().start();
- } else if (resultCode == Activity.RESULT_CANCELED) {
- // User does not want us to start, so we just vanish
- VpnStatus.updateStateString("USER_VPN_PERMISSION_CANCELLED", "", R.string.state_user_vpn_permission_cancelled,
- ConnectionStatus.LEVEL_NOTCONNECTED);
-
- finish();
- }
- }
- void showLogWindow() {
-
- Intent startLW = new Intent(getBaseContext(),LogWindow.class);
- startLW.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
- startActivity(startLW);
-
- }
-
- void showConfigErrorDialog(int vpnok) {
- AlertDialog.Builder d = new AlertDialog.Builder(this);
- d.setTitle(R.string.config_error_found);
- d.setMessage(vpnok);
- d.setPositiveButton(android.R.string.ok, new OnClickListener() {
-
- @Override
- public void onClick(DialogInterface dialog, int which) {
- finish();
-
- }
- });
- d.show();
- }
-
- void launchVPN () {
- int vpnok = mSelectedProfile.checkProfile(this);
- if(vpnok!= R.string.no_error_found) {
- showConfigErrorDialog(vpnok);
- return;
- }
-
- Intent intent = VpnService.prepare(this);
- // Check if we want to fix /dev/tun
- SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
- boolean usecm9fix = prefs.getBoolean("useCM9Fix", false);
- boolean loadTunModule = prefs.getBoolean("loadTunModule", false);
-
- if(loadTunModule)
- execeuteSUcmd("insmod /system/lib/modules/tun.ko");
-
- if(usecm9fix && !mCmfixed ) {
- execeuteSUcmd("chown system /dev/tun");
- }
-
-
- if (intent != null) {
- VpnStatus.updateStateString("USER_VPN_PERMISSION", "", R.string.state_user_vpn_permission,
- ConnectionStatus.LEVEL_WAITING_FOR_USER_INPUT);
- // Start the query
- try {
- startActivityForResult(intent, START_VPN_PROFILE);
- } catch (ActivityNotFoundException ane) {
- // Shame on you Sony! At least one user reported that
- // an official Sony Xperia Arc S image triggers this exception
- VpnStatus.logError(R.string.no_vpn_support_image);
- showLogWindow();
- }
- } else {
- onActivityResult(START_VPN_PROFILE, Activity.RESULT_OK, null);
- }
-
- }
-
- private void execeuteSUcmd(String command) {
- ProcessBuilder pb = new ProcessBuilder("su","-c",command);
- try {
- Process p = pb.start();
- int ret = p.waitFor();
- if(ret ==0)
- mCmfixed=true;
- } catch (InterruptedException e) {
- VpnStatus.logException("SU command", e);
-
- } catch (IOException e) {
- VpnStatus.logException("SU command", e);
- }
- }
-
- private class startOpenVpnThread extends Thread {
-
- @Override
- public void run() {
- VPNLaunchHelper.startOpenVpn(mSelectedProfile, getBaseContext());
- finish();
-
- }
-
- }
-
-
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/VpnProfile.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
deleted file mode 100644
index 165bef33..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
+++ /dev/null
@@ -1,1065 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn;
-
-import se.leap.bitmaskclient.R;
-
-import android.annotation.SuppressLint;
-import android.content.Context;
-import android.content.Intent;
-import android.content.SharedPreferences;
-import android.content.pm.ApplicationInfo;
-import android.content.pm.PackageInfo;
-import android.content.pm.PackageManager;
-import android.os.Build;
-import android.preference.PreferenceManager;
-import android.security.KeyChain;
-import android.security.KeyChainException;
-import android.text.TextUtils;
-import android.util.Base64;
-
-import org.spongycastle.util.io.pem.PemObject;
-import org.spongycastle.util.io.pem.PemWriter;
-
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.FileReader;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.io.Serializable;
-import java.io.StringWriter;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.security.InvalidKeyException;
-import java.security.NoSuchAlgorithmException;
-import java.security.PrivateKey;
-import java.security.cert.Certificate;
-import java.security.cert.CertificateException;
-import java.security.cert.X509Certificate;
-import java.util.Collection;
-import java.util.HashSet;
-import java.util.Locale;
-import java.util.UUID;
-import java.util.Vector;
-
-import javax.crypto.BadPaddingException;
-import javax.crypto.Cipher;
-import javax.crypto.IllegalBlockSizeException;
-import javax.crypto.NoSuchPaddingException;
-
-import de.blinkt.openvpn.core.Connection;
-import de.blinkt.openvpn.core.NativeUtils;
-import de.blinkt.openvpn.core.OpenVPNService;
-import de.blinkt.openvpn.core.VPNLaunchHelper;
-import de.blinkt.openvpn.core.VpnStatus;
-import de.blinkt.openvpn.core.X509Utils;
-
-public class VpnProfile implements Serializable, Cloneable {
- // Note that this class cannot be moved to core where it belongs since
- // the profile loading depends on it being here
- // The Serializable documentation mentions that class name change are possible
- // but the how is unclear
- //
- transient public static final long MAX_EMBED_FILE_SIZE = 2048*1024; // 2048kB
- // Don't change this, not all parts of the program use this constant
- public static final String EXTRA_PROFILEUUID = "de.blinkt.openvpn.profileUUID";
- public static final String INLINE_TAG = "[[INLINE]]";
- public static final String DISPLAYNAME_TAG = "[[NAME]]";
-
- private static final long serialVersionUID = 7085688938959334563L;
- public static final int MAXLOGLEVEL = 4;
- public static final int CURRENT_PROFILE_VERSION = 5;
- public static final int DEFAULT_MSSFIX_SIZE = 1450;
- public static String DEFAULT_DNS1 = "8.8.8.8";
- public static String DEFAULT_DNS2 = "8.8.4.4";
-
- public transient String mTransientPW = null;
- public transient String mTransientPCKS12PW = null;
-
-
- public static final int TYPE_CERTIFICATES = 0;
- public static final int TYPE_PKCS12 = 1;
- public static final int TYPE_KEYSTORE = 2;
- public static final int TYPE_USERPASS = 3;
- public static final int TYPE_STATICKEYS = 4;
- public static final int TYPE_USERPASS_CERTIFICATES = 5;
- public static final int TYPE_USERPASS_PKCS12 = 6;
- public static final int TYPE_USERPASS_KEYSTORE = 7;
- public static final int X509_VERIFY_TLSREMOTE = 0;
- public static final int X509_VERIFY_TLSREMOTE_COMPAT_NOREMAPPING = 1;
- public static final int X509_VERIFY_TLSREMOTE_DN = 2;
- public static final int X509_VERIFY_TLSREMOTE_RDN = 3;
- public static final int X509_VERIFY_TLSREMOTE_RDN_PREFIX = 4;
- // variable named wrong and should haven beeen transient
- // but needs to keep wrong name to guarante loading of old
- // profiles
- public transient boolean profileDleted = false;
- public int mAuthenticationType = TYPE_KEYSTORE;
- public String mName;
- public String mAlias;
- public String mClientCertFilename;
- public String mTLSAuthDirection = "";
- public String mTLSAuthFilename;
- public String mClientKeyFilename;
- public String mCaFilename;
- public boolean mUseLzo = true;
- public String mPKCS12Filename;
- public String mPKCS12Password;
- public boolean mUseTLSAuth = false;
-
- public String mDNS1 = DEFAULT_DNS1;
- public String mDNS2 = DEFAULT_DNS2;
- public String mIPv4Address;
- public String mIPv6Address;
- public boolean mOverrideDNS = false;
- public String mSearchDomain = "blinkt.de";
- public boolean mUseDefaultRoute = true;
- public boolean mUsePull = true;
- public String mCustomRoutes;
- public boolean mCheckRemoteCN = true;
- public boolean mExpectTLSCert = false;
- public String mRemoteCN = "";
- public String mPassword = "";
- public String mUsername = "";
- public boolean mRoutenopull = false;
- public boolean mUseRandomHostname = false;
- public boolean mUseFloat = false;
- public boolean mUseCustomConfig = false;
- public String mCustomConfigOptions = "";
- public String mVerb = "1"; //ignored
- public String mCipher = "";
- public boolean mNobind = false;
- public boolean mUseDefaultRoutev6 = true;
- public String mCustomRoutesv6 = "";
- public String mKeyPassword = "";
- public boolean mPersistTun = false;
- public String mConnectRetryMax = "5";
- public String mConnectRetry = "5";
- public boolean mUserEditable = true;
- public String mAuth = "";
- public int mX509AuthType = X509_VERIFY_TLSREMOTE_RDN;
- private transient PrivateKey mPrivateKey;
- // Public attributes, since I got mad with getter/setter
- // set members to default values
- private UUID mUuid;
- public boolean mAllowLocalLAN;
- private int mProfileVersion;
- public String mExcludedRoutes;
- public String mExcludedRoutesv6;
- public int mMssFix =0; // -1 is default,
- public Connection[] mConnections = new Connection[0];
- public boolean mRemoteRandom=false;
- public HashSet<String> mAllowedAppsVpn = new HashSet<String>();
- public boolean mAllowedAppsVpnAreDisallowed = true;
-
-
- /* Options no long used in new profiles */
- public String mServerName = "openvpn.blinkt.de";
- public String mServerPort = "1194";
- public boolean mUseUdp = true;
-
-
-
- public VpnProfile(String name) {
- mUuid = UUID.randomUUID();
- mName = name;
- mProfileVersion = CURRENT_PROFILE_VERSION;
-
- mConnections = new Connection[1];
- mConnections[0] = new Connection();
- }
-
- public static String openVpnEscape(String unescaped) {
- if (unescaped == null)
- return null;
- String escapedString = unescaped.replace("\\", "\\\\");
- escapedString = escapedString.replace("\"", "\\\"");
- escapedString = escapedString.replace("\n", "\\n");
-
- if (escapedString.equals(unescaped) && !escapedString.contains(" ") &&
- !escapedString.contains("#") && !escapedString.contains(";")
- && !escapedString.equals(""))
- return unescaped;
- else
- return '"' + escapedString + '"';
- }
-
- public void clearDefaults() {
- mServerName = "unknown";
- mUsePull = false;
- mUseLzo = false;
- mUseDefaultRoute = false;
- mUseDefaultRoutev6 = false;
- mExpectTLSCert = false;
- mCheckRemoteCN = false;
- mPersistTun = false;
- mAllowLocalLAN = true;
- mMssFix = 0;
- }
-
- public UUID getUUID() {
- return mUuid;
-
- }
-
- public String getName() {
- if (mName==null)
- return "No profile name";
- return mName;
- }
-
- public void upgradeProfile(){
- if(mProfileVersion< 2) {
- /* default to the behaviour the OS used */
- mAllowLocalLAN = Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT;
- }
-
- if (mProfileVersion < 4) {
- moveOptionsToConnection();
- mAllowedAppsVpnAreDisallowed=true;
- }
- if (mAllowedAppsVpn==null)
- mAllowedAppsVpn = new HashSet<String>();
- if (mConnections ==null)
- mConnections = new Connection[0];
-
- mProfileVersion= CURRENT_PROFILE_VERSION;
-
- }
-
- private void moveOptionsToConnection() {
- mConnections = new Connection[1];
- Connection conn = new Connection();
-
- conn.mServerName = mServerName;
- conn.mServerPort = mServerPort;
- conn.mUseUdp = mUseUdp;
- conn.mCustomConfiguration = "";
-
- mConnections[0] = conn;
-
- }
-
- public String getConfigFile(Context context, boolean configForOvpn3) {
-
- File cacheDir = context.getCacheDir();
- String cfg = "";
-
- // Enable management interface
- cfg += "# Enables connection to GUI\n";
- cfg += "management ";
-
- cfg += cacheDir.getAbsolutePath() + "/" + "mgmtsocket";
- cfg += " unix\n";
- cfg += "management-client\n";
- // Not needed, see updated man page in 2.3
- //cfg += "management-signal\n";
- cfg += "management-query-passwords\n";
- cfg += "management-hold\n\n";
-
- if (!configForOvpn3)
- cfg += String.format("setenv IV_GUI_VER %s \n", openVpnEscape(getVersionEnvString(context)));
-
- cfg += "machine-readable-output\n";
-
- // Users are confused by warnings that are misleading...
- cfg += "ifconfig-nowarn\n";
-
-
- boolean useTLSClient = (mAuthenticationType != TYPE_STATICKEYS);
-
- if (useTLSClient && mUsePull)
- cfg += "client\n";
- else if (mUsePull)
- cfg += "pull\n";
- else if (useTLSClient)
- cfg += "tls-client\n";
-
-
- //cfg += "verb " + mVerb + "\n";
- cfg += "verb " + MAXLOGLEVEL + "\n";
-
- if (mConnectRetryMax == null) {
- mConnectRetryMax = "5";
- }
-
- if (!mConnectRetryMax.equals("-1"))
- cfg += "connect-retry-max " + mConnectRetryMax + "\n";
-
- if (mConnectRetry == null)
- mConnectRetry = "5";
-
-
- cfg += "connect-retry " + mConnectRetry + "\n";
-
- cfg += "resolv-retry 60\n";
-
-
- // We cannot use anything else than tun
- cfg += "dev tun\n";
-
-
- boolean canUsePlainRemotes = true;
-
- if (mConnections.length==1) {
- cfg += mConnections[0].getConnectionBlock();
- } else {
- for (Connection conn : mConnections) {
- canUsePlainRemotes = canUsePlainRemotes && conn.isOnlyRemote();
- }
-
- if (mRemoteRandom)
- cfg+="remote-random\n";
-
- if (canUsePlainRemotes) {
- for (Connection conn : mConnections) {
- if (conn.mEnabled) {
- cfg += conn.getConnectionBlock();
- }
- }
- }
- }
-
-
- switch (mAuthenticationType) {
- case VpnProfile.TYPE_USERPASS_CERTIFICATES:
- cfg += "auth-user-pass\n";
- case VpnProfile.TYPE_CERTIFICATES:
- // Ca
- cfg += insertFileData("ca", mCaFilename);
-
- // Client Cert + Key
- cfg += insertFileData("key", mClientKeyFilename);
- cfg += insertFileData("cert", mClientCertFilename);
-
- break;
- case VpnProfile.TYPE_USERPASS_PKCS12:
- cfg += "auth-user-pass\n";
- case VpnProfile.TYPE_PKCS12:
- cfg += insertFileData("pkcs12", mPKCS12Filename);
- break;
-
- case VpnProfile.TYPE_USERPASS_KEYSTORE:
- cfg += "auth-user-pass\n";
- case VpnProfile.TYPE_KEYSTORE:
- if (!configForOvpn3) {
- String[] ks = getKeyStoreCertificates(context);
- cfg += "### From Keystore ####\n";
- if (ks != null) {
- cfg += "<ca>\n" + ks[0] + "\n</ca>\n";
- if (ks[1] != null)
- cfg += "<extra-certs>\n" + ks[1] + "\n</extra-certs>\n";
- cfg += "<cert>\n" + ks[2] + "\n</cert>\n";
- cfg += "management-external-key\n";
- } else {
- cfg += context.getString(R.string.keychain_access) + "\n";
- if (Build.VERSION.SDK_INT == Build.VERSION_CODES.JELLY_BEAN)
- if (!mAlias.matches("^[a-zA-Z0-9]$"))
- cfg += context.getString(R.string.jelly_keystore_alphanumeric_bug) + "\n";
- }
- }
- break;
- case VpnProfile.TYPE_USERPASS:
- cfg += "auth-user-pass\n";
- cfg += insertFileData("ca", mCaFilename);
- }
-
- if (mUseLzo) {
- cfg += "comp-lzo\n";
- }
-
- if (mUseTLSAuth) {
- if (mAuthenticationType == TYPE_STATICKEYS)
- cfg += insertFileData("secret", mTLSAuthFilename);
- else
- cfg += insertFileData("tls-auth", mTLSAuthFilename);
-
- if (!TextUtils.isEmpty(mTLSAuthDirection)) {
- cfg += "key-direction ";
- cfg += mTLSAuthDirection;
- cfg += "\n";
- }
-
- }
-
- if (!mUsePull) {
- if (!TextUtils.isEmpty(mIPv4Address))
- cfg += "ifconfig " + cidrToIPAndNetmask(mIPv4Address) + "\n";
-
- if (!TextUtils.isEmpty(mIPv6Address))
- cfg += "ifconfig-ipv6 " + mIPv6Address + "\n";
- }
-
- if (mUsePull && mRoutenopull)
- cfg += "route-nopull\n";
-
- String routes = "";
-
- if (mUseDefaultRoute)
- routes += "route 0.0.0.0 0.0.0.0 vpn_gateway\n";
- else
- {
- for (String route : getCustomRoutes(mCustomRoutes)) {
- routes += "route " + route + " vpn_gateway\n";
- }
-
- for (String route: getCustomRoutes(mExcludedRoutes)) {
- routes += "route " + route + " net_gateway\n";
- }
- }
-
-
- if (mUseDefaultRoutev6)
- cfg += "route-ipv6 ::/0\n";
- else
- for (String route : getCustomRoutesv6(mCustomRoutesv6)) {
- routes += "route-ipv6 " + route + "\n";
- }
-
- cfg += routes;
-
- if (mOverrideDNS || !mUsePull) {
- if (!TextUtils.isEmpty(mDNS1))
- cfg += "dhcp-option DNS " + mDNS1 + "\n";
- if (!TextUtils.isEmpty(mDNS2))
- cfg += "dhcp-option DNS " + mDNS2 + "\n";
- if (!TextUtils.isEmpty(mSearchDomain))
- cfg += "dhcp-option DOMAIN " + mSearchDomain + "\n";
-
- }
-
- if (mMssFix !=0){
- if (mMssFix!=1450)
- cfg+=String.format("mssfix %d\n", mMssFix, Locale.US);
- else
- cfg+="mssfix\n";
- }
-
- if (mNobind)
- cfg += "nobind\n";
-
-
- // Authentication
- if (mAuthenticationType != TYPE_STATICKEYS) {
- if (mCheckRemoteCN) {
- if (mRemoteCN == null || mRemoteCN.equals(""))
- cfg += "verify-x509-name " + mConnections[0].mServerName + " name\n";
- else
- switch (mX509AuthType) {
-
- // 2.2 style x509 checks
- case X509_VERIFY_TLSREMOTE_COMPAT_NOREMAPPING:
- cfg += "compat-names no-remapping\n";
- case X509_VERIFY_TLSREMOTE:
- cfg += "tls-remote " + openVpnEscape(mRemoteCN) + "\n";
- break;
-
- case X509_VERIFY_TLSREMOTE_RDN:
- cfg += "verify-x509-name " + openVpnEscape(mRemoteCN) + " name\n";
- break;
-
- case X509_VERIFY_TLSREMOTE_RDN_PREFIX:
- cfg += "verify-x509-name " + openVpnEscape(mRemoteCN) + " name-prefix\n";
- break;
-
- case X509_VERIFY_TLSREMOTE_DN:
- cfg += "verify-x509-name " + openVpnEscape(mRemoteCN) + "\n";
- break;
- }
- }
- if (mExpectTLSCert)
- cfg += "remote-cert-tls server\n";
- }
-
- if (!TextUtils.isEmpty(mCipher)) {
- cfg += "cipher " + mCipher + "\n";
- }
-
- if (!TextUtils.isEmpty(mAuth)) {
- cfg += "auth " + mAuth + "\n";
- }
-
- // Obscure Settings dialog
- if (mUseRandomHostname)
- cfg += "#my favorite options :)\nremote-random-hostname\n";
-
- if (mUseFloat)
- cfg += "float\n";
-
- if (mPersistTun) {
- cfg += "persist-tun\n";
- cfg += "# persist-tun also enables pre resolving to avoid DNS resolve problem\n";
- cfg += "preresolve\n";
- }
-
- SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
- boolean usesystemproxy = prefs.getBoolean("usesystemproxy", true);
- if (usesystemproxy) {
- cfg += "# Use system proxy setting\n";
- cfg += "management-query-proxy\n";
- }
-
-
- if (mUseCustomConfig) {
- cfg += "# Custom configuration options\n";
- cfg += "# You are on your on own here :)\n";
- cfg += mCustomConfigOptions;
- cfg += "\n";
-
- }
-
- if (!canUsePlainRemotes) {
- cfg += "# Connection Options are at the end to allow global options (and global custom options) to influence connection blocks\n";
- for (Connection conn : mConnections) {
- if (conn.mEnabled) {
- cfg += "<connection>\n";
- cfg += conn.getConnectionBlock();
- cfg += "</connection>\n";
- }
- }
- }
-
-
-
-
- return cfg;
- }
-
- public String getVersionEnvString(Context c) {
- String version = "unknown";
- try {
- PackageInfo packageinfo = c.getPackageManager().getPackageInfo(c.getPackageName(), 0);
- version = packageinfo.versionName;
- } catch (PackageManager.NameNotFoundException e) {
- VpnStatus.logException(e);
- }
- return String.format(Locale.US, "%s %s", c.getPackageName(), version);
-
- }
-
- //! Put inline data inline and other data as normal escaped filename
- private String insertFileData(String cfgentry, String filedata) {
- if (filedata == null) {
- // TODO: generate good error
- return String.format("%s %s\n", cfgentry, "missing");
- } else if (isEmbedded(filedata)) {
- String dataWithOutHeader = getEmbeddedContent(filedata);
- return String.format(Locale.ENGLISH, "<%s>\n%s\n</%s>\n", cfgentry, dataWithOutHeader, cfgentry);
- } else {
- return String.format(Locale.ENGLISH, "%s %s\n", cfgentry, openVpnEscape(filedata));
- }
- }
-
- private Collection<String> getCustomRoutes(String routes) {
- Vector<String> cidrRoutes = new Vector<String>();
- if (routes == null) {
- // No routes set, return empty vector
- return cidrRoutes;
- }
- for (String route : routes.split("[\n \t]")) {
- if (!route.equals("")) {
- String cidrroute = cidrToIPAndNetmask(route);
- if (cidrroute == null)
- return null;
-
- cidrRoutes.add(cidrroute);
- }
- }
-
- return cidrRoutes;
- }
-
- private Collection<String> getCustomRoutesv6(String routes) {
- Vector<String> cidrRoutes = new Vector<String>();
- if (routes == null) {
- // No routes set, return empty vector
- return cidrRoutes;
- }
- for (String route : routes.split("[\n \t]")) {
- if (!route.equals("")) {
- cidrRoutes.add(route);
- }
- }
-
- return cidrRoutes;
- }
-
- private String cidrToIPAndNetmask(String route) {
- String[] parts = route.split("/");
-
- // No /xx, assume /32 as netmask
- if (parts.length == 1)
- parts = (route + "/32").split("/");
-
- if (parts.length != 2)
- return null;
- int len;
- try {
- len = Integer.parseInt(parts[1]);
- } catch (NumberFormatException ne) {
- return null;
- }
- if (len < 0 || len > 32)
- return null;
-
-
- long nm = 0xffffffffl;
- nm = (nm << (32 - len)) & 0xffffffffl;
-
- String netmask = String.format(Locale.ENGLISH, "%d.%d.%d.%d", (nm & 0xff000000) >> 24, (nm & 0xff0000) >> 16, (nm & 0xff00) >> 8, nm & 0xff);
- return parts[0] + " " + netmask;
- }
-
-
-
-
- public Intent prepareStartService(Context context) {
- Intent intent = getStartServiceIntent(context);
-
-
- if (mAuthenticationType == VpnProfile.TYPE_KEYSTORE || mAuthenticationType == VpnProfile.TYPE_USERPASS_KEYSTORE) {
- if (getKeyStoreCertificates(context) == null)
- return null;
- }
-
-
- try {
- FileWriter cfg = new FileWriter(VPNLaunchHelper.getConfigFilePath(context));
- cfg.write(getConfigFile(context, false));
- cfg.flush();
- cfg.close();
- } catch (IOException e) {
- VpnStatus.logException(e);
- }
-
- return intent;
- }
-
- public Intent getStartServiceIntent(Context context) {
- String prefix = context.getPackageName();
-
- Intent intent = new Intent(context, OpenVPNService.class);
- intent.putExtra(prefix + ".ARGV", VPNLaunchHelper.buildOpenvpnArgv(context));
- intent.putExtra(prefix + ".profileUUID", mUuid.toString());
-
- ApplicationInfo info = context.getApplicationInfo();
- intent.putExtra(prefix + ".nativelib", info.nativeLibraryDir);
- return intent;
- }
-
- public String[] getKeyStoreCertificates(Context context) {
- return getKeyStoreCertificates(context, 5);
- }
-
- public static String getDisplayName(String embeddedFile) {
- int start = DISPLAYNAME_TAG.length();
- int end = embeddedFile.indexOf(INLINE_TAG);
- return embeddedFile.substring(start,end);
- }
-
- public static String getEmbeddedContent(String data)
- {
- if (!data.contains(INLINE_TAG))
- return data;
-
- int start = data.indexOf(INLINE_TAG) + INLINE_TAG.length();
- return data.substring(start);
- }
-
- public static boolean isEmbedded(String data) {
- if (data==null)
- return false;
- if (data.startsWith(INLINE_TAG) || data.startsWith(DISPLAYNAME_TAG))
- return true;
- else
- return false;
- }
-
- public void checkForRestart(final Context context) {
- /* This method is called when OpenVPNService is restarted */
-
- if ((mAuthenticationType == VpnProfile.TYPE_KEYSTORE || mAuthenticationType == VpnProfile.TYPE_USERPASS_KEYSTORE)
- && mPrivateKey==null) {
- new Thread( new Runnable() {
- @Override
- public void run() {
- getKeyStoreCertificates(context);
-
- }
- }).start();
- }
- }
-
- @Override
- protected VpnProfile clone() throws CloneNotSupportedException {
- VpnProfile copy = (VpnProfile) super.clone();
- copy.mUuid = UUID.randomUUID();
- copy.mConnections = mConnections.clone();
- copy.mAllowedAppsVpn = (HashSet<String>) mAllowedAppsVpn.clone();
- return copy;
- }
-
- public VpnProfile copy(String name) {
- try {
- VpnProfile copy = (VpnProfile) clone();
- copy.mName = name;
- return copy;
-
- } catch (CloneNotSupportedException e) {
- e.printStackTrace();
- return null;
- }
- }
-
-
- class NoCertReturnedException extends Exception {
- public NoCertReturnedException (String msg) {
- super(msg);
- }
- }
-
- synchronized String[] getKeyStoreCertificates(Context context,int tries) {
- PrivateKey privateKey = null;
- X509Certificate[] caChain;
- Exception exp;
- try {
- privateKey = KeyChain.getPrivateKey(context, mAlias);
- mPrivateKey = privateKey;
-
- String keystoreChain = null;
-
-
- caChain = KeyChain.getCertificateChain(context, mAlias);
- if(caChain == null)
- throw new NoCertReturnedException("No certificate returned from Keystore");
-
- if (caChain.length <= 1 && TextUtils.isEmpty(mCaFilename)) {
- VpnStatus.logMessage(VpnStatus.LogLevel.ERROR, "", context.getString(R.string.keychain_nocacert));
- } else {
- StringWriter ksStringWriter = new StringWriter();
-
- PemWriter pw = new PemWriter(ksStringWriter);
- for (int i = 1; i < caChain.length; i++) {
- X509Certificate cert = caChain[i];
- pw.writeObject(new PemObject("CERTIFICATE", cert.getEncoded()));
- }
- pw.close();
- keystoreChain = ksStringWriter.toString();
- }
-
-
- String caout = null;
- if (!TextUtils.isEmpty(mCaFilename)) {
- try {
- Certificate cacert = X509Utils.getCertificateFromFile(mCaFilename);
- StringWriter caoutWriter = new StringWriter();
- PemWriter pw = new PemWriter(caoutWriter);
-
- pw.writeObject(new PemObject("CERTIFICATE", cacert.getEncoded()));
- pw.close();
- caout= caoutWriter.toString();
-
- } catch (Exception e) {
- VpnStatus.logError("Could not read CA certificate" + e.getLocalizedMessage());
- }
- }
-
-
- StringWriter certout = new StringWriter();
-
-
- if (caChain.length >= 1) {
- X509Certificate usercert = caChain[0];
-
- PemWriter upw = new PemWriter(certout);
- upw.writeObject(new PemObject("CERTIFICATE", usercert.getEncoded()));
- upw.close();
-
- }
- String user = certout.toString();
-
-
- String ca, extra;
- if(caout==null) {
- ca =keystoreChain;
- extra=null;
- } else {
- ca = caout;
- extra=keystoreChain;
- }
-
- return new String[]{ca, extra, user};
- } catch (InterruptedException e) {
- exp=e;
- } catch (FileNotFoundException e) {
- exp=e;
- } catch (CertificateException e) {
- exp=e;
- } catch (IOException e) {
- exp=e;
- } catch (KeyChainException e) {
- exp=e;
- } catch (NoCertReturnedException e) {
- exp =e;
- } catch (IllegalArgumentException e) {
- exp =e;
- } catch (AssertionError e) {
- if (tries ==0)
- return null;
- VpnStatus.logError(String.format("Failure getting Keystore Keys (%s), retrying",e.getLocalizedMessage()));
- try {
- Thread.sleep(3000);
- } catch (InterruptedException e1) {
- VpnStatus.logException(e1);
- }
- return getKeyStoreCertificates(context, tries-1);
- }
-
- exp.printStackTrace();
- VpnStatus.logError(R.string.keyChainAccessError, exp.getLocalizedMessage());
-
- VpnStatus.logError(R.string.keychain_access);
- if (Build.VERSION.SDK_INT == Build.VERSION_CODES.JELLY_BEAN) {
- if (!mAlias.matches("^[a-zA-Z0-9]$")) {
- VpnStatus.logError(R.string.jelly_keystore_alphanumeric_bug);
- }
- }
- return null;
- }
-
- //! Return an error if somethign is wrong
- public int checkProfile(Context context) {
- if (mAuthenticationType == TYPE_KEYSTORE || mAuthenticationType == TYPE_USERPASS_KEYSTORE) {
- if (mAlias == null)
- return R.string.no_keystore_cert_selected;
- }
-
- if (!mUsePull || mAuthenticationType == TYPE_STATICKEYS) {
- if (mIPv4Address == null || cidrToIPAndNetmask(mIPv4Address) == null)
- return R.string.ipv4_format_error;
- }
- if (!mUseDefaultRoute && (getCustomRoutes(mCustomRoutes) == null || getCustomRoutes(mExcludedRoutes) ==null))
- return R.string.custom_route_format_error;
-
- boolean noRemoteEnabled = true;
- for (Connection c : mConnections)
- if (c.mEnabled)
- noRemoteEnabled = false;
-
- if(noRemoteEnabled)
- return R.string.remote_no_server_selected;
-
- // Everything okay
- return R.string.no_error_found;
-
- }
-
- //! Openvpn asks for a "Private Key", this should be pkcs12 key
- //
- public String getPasswordPrivateKey() {
- if (mTransientPCKS12PW != null) {
- String pwcopy = mTransientPCKS12PW;
- mTransientPCKS12PW = null;
- return pwcopy;
- }
- switch (mAuthenticationType) {
- case TYPE_PKCS12:
- case TYPE_USERPASS_PKCS12:
- return mPKCS12Password;
-
- case TYPE_CERTIFICATES:
- case TYPE_USERPASS_CERTIFICATES:
- return mKeyPassword;
-
- case TYPE_USERPASS:
- case TYPE_STATICKEYS:
- default:
- return null;
- }
- }
-
- public boolean isUserPWAuth() {
- switch (mAuthenticationType) {
- case TYPE_USERPASS:
- case TYPE_USERPASS_CERTIFICATES:
- case TYPE_USERPASS_KEYSTORE:
- case TYPE_USERPASS_PKCS12:
- return true;
- default:
- return false;
-
- }
- }
-
- public boolean requireTLSKeyPassword() {
- if (TextUtils.isEmpty(mClientKeyFilename))
- return false;
-
- String data = "";
- if (isEmbedded(mClientKeyFilename))
- data = mClientKeyFilename;
- else {
- char[] buf = new char[2048];
- FileReader fr;
- try {
- fr = new FileReader(mClientKeyFilename);
- int len = fr.read(buf);
- while (len > 0) {
- data += new String(buf, 0, len);
- len = fr.read(buf);
- }
- fr.close();
- } catch (FileNotFoundException e) {
- return false;
- } catch (IOException e) {
- return false;
- }
-
- }
-
- if (data.contains("Proc-Type: 4,ENCRYPTED"))
- return true;
- else if (data.contains("-----BEGIN ENCRYPTED PRIVATE KEY-----"))
- return true;
- else
- return false;
- }
-
- public int needUserPWInput(boolean ignoreTransient) {
- if ((mAuthenticationType == TYPE_PKCS12 || mAuthenticationType == TYPE_USERPASS_PKCS12) &&
- (mPKCS12Password == null || mPKCS12Password.equals(""))) {
- if (ignoreTransient || mTransientPCKS12PW == null)
- return R.string.pkcs12_file_encryption_key;
- }
-
- if (mAuthenticationType == TYPE_CERTIFICATES || mAuthenticationType == TYPE_USERPASS_CERTIFICATES) {
- if (requireTLSKeyPassword() && TextUtils.isEmpty(mKeyPassword))
- if (ignoreTransient || mTransientPCKS12PW == null) {
- return R.string.private_key_password;
- }
- }
-
- if (isUserPWAuth() &&
- (TextUtils.isEmpty(mUsername) ||
- (TextUtils.isEmpty(mPassword) && (mTransientPW == null || ignoreTransient)))) {
- return R.string.password;
- }
- return 0;
- }
-
- public String getPasswordAuth() {
- if (mTransientPW != null) {
- String pwcopy = mTransientPW;
- mTransientPW = null;
- return pwcopy;
- } else {
- return mPassword;
- }
- }
-
- // Used by the Array Adapter
- @Override
- public String toString() {
- return mName;
- }
-
- public String getUUIDString() {
- return mUuid.toString();
- }
-
- public PrivateKey getKeystoreKey() {
- return mPrivateKey;
- }
-
- public String getSignedData(String b64data) {
- PrivateKey privkey = getKeystoreKey();
- Exception err;
-
- byte[] data = Base64.decode(b64data, Base64.DEFAULT);
-
- // The Jelly Bean *evil* Hack
- // 4.2 implements the RSA/ECB/PKCS1PADDING in the OpenSSLprovider
- if (Build.VERSION.SDK_INT == Build.VERSION_CODES.JELLY_BEAN) {
- return processSignJellyBeans(privkey, data);
- }
-
-
- try {
-
- /* ECB is perfectly fine in this special case, since we are using it for
- the public/private part in the TLS exchange
- */
- @SuppressLint("GetInstance")
- Cipher rsaSigner = Cipher.getInstance("RSA/ECB/PKCS1PADDING");
-
- rsaSigner.init(Cipher.ENCRYPT_MODE, privkey);
-
- byte[] signed_bytes = rsaSigner.doFinal(data);
- return Base64.encodeToString(signed_bytes, Base64.NO_WRAP);
-
- } catch (NoSuchAlgorithmException e) {
- err = e;
- } catch (InvalidKeyException e) {
- err = e;
- } catch (NoSuchPaddingException e) {
- err = e;
- } catch (IllegalBlockSizeException e) {
- err = e;
- } catch (BadPaddingException e) {
- err = e;
- }
-
- VpnStatus.logError(R.string.error_rsa_sign, err.getClass().toString(), err.getLocalizedMessage());
-
- return null;
-
- }
-
- private String processSignJellyBeans(PrivateKey privkey, byte[] data) {
- Exception err;
- try {
- Method getKey = privkey.getClass().getSuperclass().getDeclaredMethod("getOpenSSLKey");
- getKey.setAccessible(true);
-
- // Real object type is OpenSSLKey
- Object opensslkey = getKey.invoke(privkey);
-
- getKey.setAccessible(false);
-
- Method getPkeyContext = opensslkey.getClass().getDeclaredMethod("getPkeyContext");
-
- // integer pointer to EVP_pkey
- getPkeyContext.setAccessible(true);
- int pkey = (Integer) getPkeyContext.invoke(opensslkey);
- getPkeyContext.setAccessible(false);
-
- // 112 with TLS 1.2 (172 back with 4.3), 36 with TLS 1.0
- byte[] signed_bytes = NativeUtils.rsasign(data, pkey);
- return Base64.encodeToString(signed_bytes, Base64.NO_WRAP);
-
- } catch (NoSuchMethodException e) {
- err = e;
- } catch (IllegalArgumentException e) {
- err = e;
- } catch (IllegalAccessException e) {
- err = e;
- } catch (InvocationTargetException e) {
- err = e;
- } catch (InvalidKeyException e) {
- err = e;
- }
- VpnStatus.logError(R.string.error_rsa_sign, err.getClass().toString(), err.getLocalizedMessage());
-
- return null;
-
- }
-
-
-}
-
-
-
-
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/activities/DisconnectVPN.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/activities/DisconnectVPN.java
deleted file mode 100644
index dfd815e4..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/activities/DisconnectVPN.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.activities;
-
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.content.*;
-import android.os.IBinder;
-
-import se.leap.bitmaskclient.R;
-import de.blinkt.openvpn.core.OpenVPNService;
-import de.blinkt.openvpn.core.ProfileManager;
-
-/**
- * Created by arne on 13.10.13.
- */
-public class DisconnectVPN extends Activity implements DialogInterface.OnClickListener, DialogInterface.OnCancelListener {
- protected OpenVPNService mService;
-
- private ServiceConnection mConnection = new ServiceConnection() {
-
-
- @Override
- public void onServiceConnected(ComponentName className,
- IBinder service) {
- // We've bound to LocalService, cast the IBinder and get LocalService instance
- OpenVPNService.LocalBinder binder = (OpenVPNService.LocalBinder) service;
- mService = binder.getService();
- }
-
- @Override
- public void onServiceDisconnected(ComponentName arg0) {
- mService =null;
- }
-
- };
-
- @Override
- protected void onResume() {
- super.onResume();
- Intent intent = new Intent(this, OpenVPNService.class);
- intent.setAction(OpenVPNService.START_SERVICE);
- bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
- showDisconnectDialog();
- }
-
- @Override
- protected void onPause() {
- super.onPause();
- unbindService(mConnection);
- }
-
- // if (getIntent() !=null && OpenVpnService.DISCONNECT_VPN.equals(getIntent().getAction()))
-
- // setIntent(null);
-
- /*
- @Override
- protected void onNewIntent(Intent intent) {
- super.onNewIntent(intent);
- setIntent(intent);
- }
- */
-
- private void showDisconnectDialog() {
- AlertDialog.Builder builder = new AlertDialog.Builder(this);
- builder.setTitle(R.string.title_cancel);
- builder.setMessage(R.string.cancel_connection_query);
- builder.setNegativeButton(android.R.string.no, this);
- builder.setPositiveButton(android.R.string.yes,this);
- builder.setOnCancelListener(this);
-
- builder.show();
- }
-
- @Override
- public void onClick(DialogInterface dialog, int which) {
- if (which == DialogInterface.BUTTON_POSITIVE) {
- ProfileManager.setConntectedVpnProfileDisconnected(this);
- if (mService != null && mService.getManagement() != null)
- mService.getManagement().stopVPN();
- }
- finish();
- }
-
- @Override
- public void onCancel(DialogInterface dialog) {
- finish();
- }
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/activities/LogWindow.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/activities/LogWindow.java
deleted file mode 100644
index 45f09c8e..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/activities/LogWindow.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.activities;
-
-import android.app.Activity;
-import android.os.Bundle;
-import android.view.MenuItem;
-
-import se.leap.bitmaskclient.R;
-import de.blinkt.openvpn.fragments.LogFragment;
-
-/**
- * Created by arne on 13.10.13.
- */
-public class LogWindow extends Activity {
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.log_window);
- getActionBar().setDisplayHomeAsUpEnabled(true);
-
- if (savedInstanceState == null) {
- getFragmentManager().beginTransaction()
- .add(R.id.container, new LogFragment())
- .commit();
- }
-
- }
-
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- return super.onOptionsItemSelected(item);
- }
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/CIDRIP.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/CIDRIP.java
deleted file mode 100644
index e525abd5..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/CIDRIP.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-
-import java.util.Locale;
-
-class CIDRIP {
- String mIp;
- int len;
-
-
- public CIDRIP(String ip, String mask) {
- mIp = ip;
- long netmask = getInt(mask);
-
- // Add 33. bit to ensure the loop terminates
- netmask += 1l << 32;
-
- int lenZeros = 0;
- while ((netmask & 0x1) == 0) {
- lenZeros++;
- netmask = netmask >> 1;
- }
- // Check if rest of netmask is only 1s
- if (netmask != (0x1ffffffffl >> lenZeros)) {
- // Asume no CIDR, set /32
- len = 32;
- } else {
- len = 32 - lenZeros;
- }
-
- }
-
- public CIDRIP(String address, int prefix_length) {
- len = prefix_length;
- mIp = address;
- }
-
- @Override
- public String toString() {
- return String.format(Locale.ENGLISH, "%s/%d", mIp, len);
- }
-
- public boolean normalise() {
- long ip = getInt(mIp);
-
- long newip = ip & (0xffffffffl << (32 - len));
- if (newip != ip) {
- mIp = String.format("%d.%d.%d.%d", (newip & 0xff000000) >> 24, (newip & 0xff0000) >> 16, (newip & 0xff00) >> 8, newip & 0xff);
- return true;
- } else {
- return false;
- }
- }
-
- static long getInt(String ipaddr) {
- String[] ipt = ipaddr.split("\\.");
- long ip = 0;
-
- ip += Long.parseLong(ipt[0]) << 24;
- ip += Integer.parseInt(ipt[1]) << 16;
- ip += Integer.parseInt(ipt[2]) << 8;
- ip += Integer.parseInt(ipt[3]);
-
- return ip;
- }
-
- public long getInt() {
- return getInt(mIp);
- }
-
-} \ No newline at end of file
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java
deleted file mode 100644
index 5dc96bbc..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java
+++ /dev/null
@@ -1,880 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-
-import android.text.TextUtils;
-import android.util.Pair;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.Reader;
-import java.io.StringReader;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Locale;
-import java.util.Vector;
-
-import de.blinkt.openvpn.VpnProfile;
-
-//! Openvpn Config FIle Parser, probably not 100% accurate but close enough
-
-// And remember, this is valid :)
-// --<foo>
-// bar
-// </foo>
-public class ConfigParser {
-
-
- public static final String CONVERTED_PROFILE = "converted Profile";
- private HashMap<String, Vector<Vector<String>>> options = new HashMap<String, Vector<Vector<String>>>();
- private HashMap<String, Vector<String>> meta = new HashMap<String, Vector<String>>();
-
- public void parseConfig(Reader reader) throws IOException, ConfigParseError {
-
-
- BufferedReader br = new BufferedReader(reader);
-
- int lineno = 0;
- try {
- while (true) {
- String line = br.readLine();
- lineno++;
- if (line == null)
- break;
-
- if (lineno == 1 && (line.startsWith("PK\003\004")
- || (line.startsWith("PK\007\008"))))
- throw new ConfigParseError("Input looks like a ZIP Archive. Import is only possible for OpenVPN config files (.ovpn/.conf)");
-
- // Check for OpenVPN Access Server Meta information
- if (line.startsWith("# OVPN_ACCESS_SERVER_")) {
- Vector<String> metaarg = parsemeta(line);
- meta.put(metaarg.get(0), metaarg);
- continue;
- }
- Vector<String> args = parseline(line);
-
- if (args.size() == 0)
- continue;
-
-
- if (args.get(0).startsWith("--"))
- args.set(0, args.get(0).substring(2));
-
- checkinlinefile(args, br);
-
- String optionname = args.get(0);
- if (!options.containsKey(optionname)) {
- options.put(optionname, new Vector<Vector<String>>());
- }
- options.get(optionname).add(args);
- }
- } catch (java.lang.OutOfMemoryError memoryError) {
- throw new ConfigParseError("File too large to parse: " + memoryError.getLocalizedMessage());
- }
- }
-
- private Vector<String> parsemeta(String line) {
- String meta = line.split("#\\sOVPN_ACCESS_SERVER_", 2)[1];
- String[] parts = meta.split("=",2);
- Vector<String> rval = new Vector<String>();
- Collections.addAll(rval, parts);
- return rval;
-
- }
-
- private void checkinlinefile(Vector<String> args, BufferedReader br) throws IOException, ConfigParseError {
- String arg0 = args.get(0).trim();
- // CHeck for <foo>
- if(arg0.startsWith("<") && arg0.endsWith(">")) {
- String argname = arg0.substring(1, arg0.length()-1);
- String inlinefile = VpnProfile.INLINE_TAG;
-
- String endtag = String.format("</%s>",argname);
- do {
- String line = br.readLine();
- if(line==null){
- throw new ConfigParseError(String.format("No endtag </%s> for starttag <%s> found",argname,argname));
- }
- if(line.trim().equals(endtag))
- break;
- else {
- inlinefile+=line;
- inlinefile+= "\n";
- }
- } while(true);
-
- args.clear();
- args.add(argname);
- args.add(inlinefile);
- }
-
- }
-
- enum linestate {
- initial,
- readin_single_quote
- , reading_quoted, reading_unquoted, done}
-
- private boolean space(char c) {
- // I really hope nobody is using zero bytes inside his/her config file
- // to sperate parameter but here we go:
- return Character.isWhitespace(c) || c == '\0';
-
- }
-
- public class ConfigParseError extends Exception {
- private static final long serialVersionUID = -60L;
-
- public ConfigParseError(String msg) {
- super(msg);
- }
- }
-
-
- // adapted openvpn's parse function to java
- private Vector<String> parseline(String line) throws ConfigParseError {
- Vector<String> parameters = new Vector<String>();
-
- if (line.length()==0)
- return parameters;
-
-
- linestate state = linestate.initial;
- boolean backslash = false;
- char out=0;
-
- int pos=0;
- String currentarg="";
-
- do {
- // Emulate the c parsing ...
- char in;
- if(pos < line.length())
- in = line.charAt(pos);
- else
- in = '\0';
-
- if (!backslash && in == '\\' && state != linestate.readin_single_quote)
- {
- backslash = true;
- }
- else
- {
- if (state == linestate.initial)
- {
- if (!space (in))
- {
- if (in == ';' || in == '#') /* comment */
- break;
- if (!backslash && in == '\"')
- state = linestate.reading_quoted;
- else if (!backslash && in == '\'')
- state = linestate.readin_single_quote;
- else
- {
- out = in;
- state = linestate.reading_unquoted;
- }
- }
- }
- else if (state == linestate.reading_unquoted)
- {
- if (!backslash && space (in))
- state = linestate.done;
- else
- out = in;
- }
- else if (state == linestate.reading_quoted)
- {
- if (!backslash && in == '\"')
- state = linestate.done;
- else
- out = in;
- }
- else if (state == linestate.readin_single_quote)
- {
- if (in == '\'')
- state = linestate.done;
- else
- out = in;
- }
-
- if (state == linestate.done)
- {
- /* ASSERT (parm_len > 0); */
- state = linestate.initial;
- parameters.add(currentarg);
- currentarg = "";
- out =0;
- }
-
- if (backslash && out!=0)
- {
- if (!(out == '\\' || out == '\"' || space (out)))
- {
- throw new ConfigParseError("Options warning: Bad backslash ('\\') usage");
- }
- }
- backslash = false;
- }
-
- /* store parameter character */
- if (out!=0)
- {
- currentarg+=out;
- }
- } while (pos++ < line.length());
-
- return parameters;
- }
-
-
- final String[] unsupportedOptions = { "config",
- "tls-server"
-
- };
-
- // Ignore all scripts
- // in most cases these won't work and user who wish to execute scripts will
- // figure out themselves
- final String[] ignoreOptions = { "tls-client",
- "askpass",
- "auth-nocache",
- "up",
- "down",
- "route-up",
- "ipchange",
- "route-up",
- "route-pre-down",
- "auth-user-pass-verify",
- "dhcp-release",
- "dhcp-renew",
- "dh",
- "group",
- "ip-win32",
- "management-hold",
- "management",
- "management-client",
- "management-query-remote",
- "management-query-passwords",
- "management-query-proxy",
- "management-external-key",
- "management-forget-disconnect",
- "management-signal",
- "management-log-cache",
- "management-up-down",
- "management-client-user",
- "management-client-group",
- "pause-exit",
- "plugin",
- "machine-readable-output",
- "persist-key",
- "register-dns",
- "route-delay",
- "route-gateway",
- "route-metric",
- "route-method",
- "status",
- "script-security",
- "show-net-up",
- "suppress-timestamps",
- "tmp-dir",
- "tun-ipv6",
- "topology",
- "user",
- "win-sys",
-
- };
-
- final String[][] ignoreOptionsWithArg =
- {
- {"setenv", "IV_GUI_VER"},
- {"setenv", "IV_OPENVPN_GUI_VERSION"}
- };
-
- final String[] connectionOptions = {
- "local",
- "remote",
- "float",
- "port",
- "connect-retry",
- "connect-timeout",
- "connect-retry-max",
- "link-mtu",
- "tun-mtu",
- "tun-mtu-extra",
- "fragment",
- "mtu-disc",
- "local-port",
- "remote-port",
- "bind",
- "nobind",
- "proto",
- "http-proxy",
- "http-proxy-retry",
- "http-proxy-timeout",
- "http-proxy-option",
- "socks-proxy",
- "socks-proxy-retry",
- "explicit-exit-notify",
- "mssfix"
- };
-
-
- // This method is far too long
- @SuppressWarnings("ConstantConditions")
- public VpnProfile convertProfile() throws ConfigParseError, IOException {
- boolean noauthtypeset=true;
- VpnProfile np = new VpnProfile(CONVERTED_PROFILE);
- // Pull, client, tls-client
- np.clearDefaults();
-
- if(options.containsKey("client") || options.containsKey("pull")) {
- np.mUsePull=true;
- options.remove("pull");
- options.remove("client");
- }
-
- Vector<String> secret = getOption("secret", 1, 2);
- if(secret!=null)
- {
- np.mAuthenticationType=VpnProfile.TYPE_STATICKEYS;
- noauthtypeset=false;
- np.mUseTLSAuth=true;
- np.mTLSAuthFilename=secret.get(1);
- if(secret.size()==3)
- np.mTLSAuthDirection=secret.get(2);
-
- }
-
- Vector<Vector<String>> routes = getAllOption("route", 1, 4);
- if(routes!=null) {
- String routeopt = "";
- String routeExcluded = "";
- for(Vector<String> route:routes){
- String netmask = "255.255.255.255";
- String gateway = "vpn_gateway";
-
- if(route.size() >= 3)
- netmask = route.get(2);
- if (route.size() >= 4)
- gateway = route.get(3);
-
- String net = route.get(1);
- try {
- CIDRIP cidr = new CIDRIP(net, netmask);
- if (gateway.equals("net_gateway"))
- routeExcluded += cidr.toString() + " ";
- else
- routeopt+=cidr.toString() + " ";
- } catch (ArrayIndexOutOfBoundsException aioob) {
- throw new ConfigParseError("Could not parse netmask of route " + netmask);
- } catch (NumberFormatException ne) {
-
-
-
-
- throw new ConfigParseError("Could not parse netmask of route " + netmask);
- }
-
- }
- np.mCustomRoutes=routeopt;
- np.mExcludedRoutes=routeExcluded;
- }
-
- Vector<Vector<String>> routesV6 = getAllOption("route-ipv6", 1, 4);
- if (routesV6!=null) {
- String customIPv6Routes = "";
- for (Vector<String> route:routesV6){
- customIPv6Routes += route.get(1) + " ";
- }
-
- np.mCustomRoutesv6 = customIPv6Routes;
- }
-
- // Also recognize tls-auth [inline] direction ...
- Vector<Vector<String>> tlsauthoptions = getAllOption("tls-auth", 1, 2);
- if(tlsauthoptions!=null) {
- for(Vector<String> tlsauth:tlsauthoptions) {
- if(tlsauth!=null)
- {
- if(!tlsauth.get(1).equals("[inline]")) {
- np.mTLSAuthFilename=tlsauth.get(1);
- np.mUseTLSAuth=true;
- }
- if(tlsauth.size()==3)
- np.mTLSAuthDirection=tlsauth.get(2);
- }
- }
- }
-
- Vector<String> direction = getOption("key-direction", 1, 1);
- if(direction!=null)
- np.mTLSAuthDirection=direction.get(1);
-
- Vector<Vector<String>> defgw = getAllOption("redirect-gateway", 0, 5);
- if(defgw != null)
- {
- np.mUseDefaultRoute=true;
- checkRedirectParameters(np, defgw);
- }
-
- Vector<Vector<String>> redirectPrivate = getAllOption("redirect-private",0,5);
- if (redirectPrivate != null)
- {
- checkRedirectParameters(np,redirectPrivate);
- }
- Vector<String> dev =getOption("dev",1,1);
- Vector<String> devtype =getOption("dev-type",1,1);
-
- if ((devtype != null && devtype.get(1).equals("tun")) ||
- (dev != null && dev.get(1).startsWith("tun")) ||
- (devtype == null && dev == null)) {
- //everything okay
- } else {
- throw new ConfigParseError("Sorry. Only tun mode is supported. See the FAQ for more detail");
- }
-
- Vector<String> mssfix = getOption("mssfix",0,1);
-
- if (mssfix!=null) {
- if (mssfix.size()>=2) {
- try {
- np.mMssFix=Integer.parseInt(mssfix.get(1));
- } catch(NumberFormatException e) {
- throw new ConfigParseError("Argument to --mssfix has to be an integer");
- }
- } else {
- np.mMssFix = VpnProfile.DEFAULT_MSSFIX_SIZE;
- }
- }
-
-
- Vector<String> mode =getOption("mode",1,1);
- if (mode != null){
- if(!mode.get(1).equals("p2p"))
- throw new ConfigParseError("Invalid mode for --mode specified, need p2p");
- }
-
-
-
- Vector<Vector<String>> dhcpoptions = getAllOption("dhcp-option", 2, 2);
- if(dhcpoptions!=null) {
- for(Vector<String> dhcpoption:dhcpoptions) {
- String type=dhcpoption.get(1);
- String arg = dhcpoption.get(2);
- if(type.equals("DOMAIN")) {
- np.mSearchDomain=dhcpoption.get(2);
- } else if(type.equals("DNS")) {
- np.mOverrideDNS=true;
- if(np.mDNS1.equals(VpnProfile.DEFAULT_DNS1))
- np.mDNS1=arg;
- else
- np.mDNS2=arg;
- }
- }
- }
-
- Vector<String> ifconfig = getOption("ifconfig", 2, 2);
- if(ifconfig!=null) {
- try {
- CIDRIP cidr = new CIDRIP(ifconfig.get(1), ifconfig.get(2));
- np.mIPv4Address=cidr.toString();
- } catch (NumberFormatException nfe) {
- throw new ConfigParseError("Could not pase ifconfig IP address: " + nfe.getLocalizedMessage());
- }
-
- }
-
- if(getOption("remote-random-hostname", 0, 0)!=null)
- np.mUseRandomHostname=true;
-
- if(getOption("float", 0, 0)!=null)
- np.mUseFloat=true;
-
- if(getOption("comp-lzo", 0, 1)!=null)
- np.mUseLzo=true;
-
- Vector<String> cipher = getOption("cipher", 1, 1);
- if(cipher!=null)
- np.mCipher= cipher.get(1);
-
- Vector<String> auth = getOption("auth", 1, 1);
- if(auth!=null)
- np.mAuth = auth.get(1);
-
-
- Vector<String> ca = getOption("ca",1,1);
- if(ca!=null){
- np.mCaFilename = ca.get(1);
- }
-
- Vector<String> cert = getOption("cert",1,1);
- if(cert!=null){
- np.mClientCertFilename = cert.get(1);
- np.mAuthenticationType = VpnProfile.TYPE_CERTIFICATES;
- noauthtypeset=false;
- }
- Vector<String> key= getOption("key",1,1);
- if(key!=null)
- np.mClientKeyFilename=key.get(1);
-
- Vector<String> pkcs12 = getOption("pkcs12",1,1);
- if(pkcs12!=null) {
- np.mPKCS12Filename = pkcs12.get(1);
- np.mAuthenticationType = VpnProfile.TYPE_KEYSTORE;
- noauthtypeset=false;
- }
-
- Vector<String> cryptoapicert = getOption("cryptoapicert",1,1);
- if(cryptoapicert!=null) {
- np.mAuthenticationType = VpnProfile.TYPE_KEYSTORE;
- noauthtypeset=false;
- }
-
- Vector<String> compatnames = getOption("compat-names",1,2);
- Vector<String> nonameremapping = getOption("no-name-remapping",1,1);
- Vector<String> tlsremote = getOption("tls-remote",1,1);
- if(tlsremote!=null){
- np.mRemoteCN = tlsremote.get(1);
- np.mCheckRemoteCN=true;
- np.mX509AuthType = VpnProfile.X509_VERIFY_TLSREMOTE;
-
- if((compatnames!=null && compatnames.size() > 2) ||
- (nonameremapping!=null))
- np.mX509AuthType = VpnProfile.X509_VERIFY_TLSREMOTE_COMPAT_NOREMAPPING;
- }
-
- Vector<String> verifyx509name = getOption("verify-x509-name",1,2);
- if(verifyx509name!=null){
- np.mRemoteCN = verifyx509name.get(1);
- np.mCheckRemoteCN=true;
- if(verifyx509name.size()>2) {
- if (verifyx509name.get(2).equals("name"))
- np.mX509AuthType=VpnProfile.X509_VERIFY_TLSREMOTE_RDN;
- else if (verifyx509name.get(2).equals("name-prefix"))
- np.mX509AuthType=VpnProfile.X509_VERIFY_TLSREMOTE_RDN_PREFIX;
- else
- throw new ConfigParseError("Unknown parameter to x509-verify-name: " + verifyx509name.get(2) );
- } else {
- np.mX509AuthType = VpnProfile.X509_VERIFY_TLSREMOTE_DN;
- }
-
- }
-
-
- Vector<String> verb = getOption("verb",1,1);
- if(verb!=null){
- np.mVerb=verb.get(1);
- }
-
-
- if(getOption("nobind", 0, 0) != null)
- np.mNobind=true;
-
- if(getOption("persist-tun", 0,0) != null)
- np.mPersistTun=true;
-
- Vector<String> connectretry = getOption("connect-retry", 1, 1);
- if(connectretry!=null)
- np.mConnectRetry =connectretry.get(1);
-
- Vector<String> connectretrymax = getOption("connect-retry-max", 1, 1);
- if(connectretrymax!=null)
- np.mConnectRetryMax =connectretrymax.get(1);
-
- Vector<Vector<String>> remotetls = getAllOption("remote-cert-tls", 1, 1);
- if(remotetls!=null)
- if(remotetls.get(0).get(1).equals("server"))
- np.mExpectTLSCert=true;
- else
- options.put("remotetls",remotetls);
-
- Vector<String> authuser = getOption("auth-user-pass",0,1);
- if(authuser !=null){
- if(noauthtypeset) {
- np.mAuthenticationType=VpnProfile.TYPE_USERPASS;
- } else if(np.mAuthenticationType==VpnProfile.TYPE_CERTIFICATES) {
- np.mAuthenticationType=VpnProfile.TYPE_USERPASS_CERTIFICATES;
- } else if(np.mAuthenticationType==VpnProfile.TYPE_KEYSTORE) {
- np.mAuthenticationType=VpnProfile.TYPE_USERPASS_KEYSTORE;
- }
- if(authuser.size()>1) {
- // Set option value to password get to embed later.
- np.mUsername=null;
- useEmbbedUserAuth(np, authuser.get(1));
- }
- }
-
- Pair<Connection, Connection[]> conns = parseConnectionOptions(null);
- np.mConnections =conns.second;
-
- Vector<Vector<String>> connectionBlocks = getAllOption("connection", 1, 1);
-
- if (np.mConnections.length > 0 && connectionBlocks !=null ) {
- throw new ConfigParseError("Using a <connection> block and --remote is not allowed.");
- }
-
- if (connectionBlocks!=null) {
- np.mConnections = new Connection[connectionBlocks.size()];
-
- int connIndex = 0;
- for (Vector<String> conn : connectionBlocks) {
- Pair<Connection, Connection[]> connectionBlockConnection =
- parseConnection(conn.get(1), conns.first);
-
- if (connectionBlockConnection.second.length != 1)
- throw new ConfigParseError("A <connection> block must have exactly one remote");
- np.mConnections[connIndex] = connectionBlockConnection.second[0];
- connIndex++;
- }
- }
- if(getOption("remote-random", 0, 0) != null)
- np.mRemoteRandom=true;
-
- Vector<String> protoforce = getOption("proto-force", 1, 1);
- if(protoforce!=null) {
- boolean disableUDP;
- String protoToDisable = protoforce.get(1);
- if (protoToDisable.equals("udp"))
- disableUDP=true;
- else if (protoToDisable.equals("tcp"))
- disableUDP=false;
- else
- throw new ConfigParseError(String.format("Unknown protocol %s in proto-force", protoToDisable));
-
- for (Connection conn:np.mConnections)
- if(conn.mUseUdp==disableUDP)
- conn.mEnabled=false;
- }
-
- // Parse OpenVPN Access Server extra
- Vector<String> friendlyname = meta.get("FRIENDLY_NAME");
- if(friendlyname !=null && friendlyname.size() > 1)
- np.mName=friendlyname.get(1);
-
-
- Vector<String> ocusername = meta.get("USERNAME");
- if(ocusername !=null && ocusername.size() > 1)
- np.mUsername=ocusername.get(1);
-
- checkIgnoreAndInvalidOptions(np);
- fixup(np);
-
- return np;
- }
-
- private Pair<Connection, Connection[]> parseConnection(String connection, Connection defaultValues) throws IOException, ConfigParseError {
- // Parse a connection Block as a new configuration file
-
-
- ConfigParser connectionParser = new ConfigParser();
- StringReader reader = new StringReader(connection.substring(VpnProfile.INLINE_TAG.length()));
- connectionParser.parseConfig(reader);
-
- Pair<Connection, Connection[]> conn = connectionParser.parseConnectionOptions(defaultValues);
-
- return conn;
- }
-
- private Pair<Connection, Connection[]> parseConnectionOptions(Connection connDefault) throws ConfigParseError {
- Connection conn;
- if (connDefault!=null)
- try {
- conn = connDefault.clone();
- } catch (CloneNotSupportedException e) {
- e.printStackTrace();
- return null;
- }
- else
- conn = new Connection();
-
- Vector<String> port = getOption("port", 1,1);
- if(port!=null){
- conn.mServerPort = port.get(1);
- }
-
- Vector<String> rport = getOption("rport", 1,1);
- if(rport!=null){
- conn.mServerPort = rport.get(1);
- }
-
- Vector<String> proto = getOption("proto", 1,1);
- if(proto!=null){
- conn.mUseUdp=isUdpProto(proto.get(1));
- }
-
-
- // Parse remote config
- Vector<Vector<String>> remotes = getAllOption("remote",1,3);
-
-
- // Assume that we need custom options if connectionDefault are set
- if(connDefault!=null) {
- for (Vector<Vector<String>> option : options.values()) {
-
- conn.mCustomConfiguration += getOptionStrings(option);
-
- }
- if (!TextUtils.isEmpty(conn.mCustomConfiguration))
- conn.mUseCustomConfig = true;
- }
- // Make remotes empty to simplify code
- if (remotes==null)
- remotes = new Vector<Vector<String>>();
-
- Connection[] connections = new Connection[remotes.size()];
-
-
- int i=0;
- for (Vector<String> remote: remotes) {
- try {
- connections[i] = conn.clone();
- } catch (CloneNotSupportedException e) {
- e.printStackTrace();
- }
- switch (remote.size()) {
- case 4:
- connections[i].mUseUdp=isUdpProto(remote.get(3));
- case 3:
- connections[i].mServerPort = remote.get(2);
- case 2:
- connections[i].mServerName = remote.get(1);
- }
- i++;
- }
- return Pair.create(conn, connections);
-
- }
-
- private void checkRedirectParameters(VpnProfile np, Vector<Vector<String>> defgw) {
- for (Vector<String> redirect: defgw)
- for (int i=1;i<redirect.size();i++){
- if (redirect.get(i).equals("block-local"))
- np.mAllowLocalLAN=false;
- else if (redirect.get(i).equals("unblock-local"))
- np.mAllowLocalLAN=true;
- }
- }
-
- private boolean isUdpProto(String proto) throws ConfigParseError {
- boolean isudp;
- if(proto.equals("udp") || proto.equals("udp6"))
- isudp=true;
- else if (proto.equals("tcp-client") ||
- proto.equals("tcp") ||
- proto.equals("tcp6") ||
- proto.endsWith("tcp6-client"))
- isudp =false;
- else
- throw new ConfigParseError("Unsupported option to --proto " + proto);
- return isudp;
- }
-
- static public void useEmbbedUserAuth(VpnProfile np, String inlinedata)
- {
- String data = VpnProfile.getEmbeddedContent(inlinedata);
- String[] parts = data.split("\n");
- if(parts.length >= 2) {
- np.mUsername=parts[0];
- np.mPassword=parts[1];
- }
- }
-
- private void checkIgnoreAndInvalidOptions(VpnProfile np) throws ConfigParseError {
- for(String option:unsupportedOptions)
- if(options.containsKey(option))
- throw new ConfigParseError(String.format("Unsupported Option %s encountered in config file. Aborting",option));
-
- for(String option:ignoreOptions)
- // removing an item which is not in the map is no error
- options.remove(option);
-
-
-
-
- if(options.size()> 0) {
- np.mCustomConfigOptions += "# These Options were found in the config file do not map to config settings:\n";
-
- for(Vector<Vector<String>> option:options.values()) {
-
- np.mCustomConfigOptions += getOptionStrings(option);
-
- }
- np.mUseCustomConfig=true;
-
- }
- }
-
-
- boolean ignoreThisOption(Vector<String> option) {
- for (String[] ignoreOption : ignoreOptionsWithArg) {
-
- if (option.size() < ignoreOption.length)
- continue;
-
- boolean ignore = true;
- for (int i = 0; i < ignoreOption.length; i++) {
- if (!ignoreOption[i].equals(option.get(i)))
- ignore = false;
- }
- if (ignore)
- return true;
-
- }
- return false;
- }
-
- private String getOptionStrings(Vector<Vector<String>> option) {
- String custom = "";
- for (Vector<String> optionsline : option) {
- if (!ignoreThisOption(optionsline)) {
- for (String arg : optionsline)
- custom += VpnProfile.openVpnEscape(arg) + " ";
- custom += "\n";
- }
- }
- return custom;
- }
-
-
- private void fixup(VpnProfile np) {
- if(np.mRemoteCN.equals(np.mServerName)) {
- np.mRemoteCN="";
- }
- }
-
- private Vector<String> getOption(String option, int minarg, int maxarg) throws ConfigParseError {
- Vector<Vector<String>> alloptions = getAllOption(option, minarg, maxarg);
- if(alloptions==null)
- return null;
- else
- return alloptions.lastElement();
- }
-
-
- private Vector<Vector<String>> getAllOption(String option, int minarg, int maxarg) throws ConfigParseError {
- Vector<Vector<String>> args = options.get(option);
- if(args==null)
- return null;
-
- for(Vector<String> optionline:args)
-
- if(optionline.size()< (minarg+1) || optionline.size() > maxarg+1) {
- String err = String.format(Locale.getDefault(),"Option %s has %d parameters, expected between %d and %d",
- option,optionline.size()-1,minarg,maxarg );
- throw new ConfigParseError(err);
- }
- options.remove(option);
- return args;
- }
-
-}
-
-
-
-
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/DeviceStateReceiver.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/DeviceStateReceiver.java
deleted file mode 100644
index 4ccf5472..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/DeviceStateReceiver.java
+++ /dev/null
@@ -1,244 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-
-import android.content.BroadcastReceiver;
-import android.content.Context;
-import android.content.Intent;
-import android.content.SharedPreferences;
-import android.net.ConnectivityManager;
-import android.net.NetworkInfo;
-import android.net.NetworkInfo.State;
-import android.preference.PreferenceManager;
-import se.leap.bitmaskclient.R;
-import de.blinkt.openvpn.core.VpnStatus.ByteCountListener;
-
-import java.util.LinkedList;
-
-import static de.blinkt.openvpn.core.OpenVPNManagement.pauseReason;
-
-public class DeviceStateReceiver extends BroadcastReceiver implements ByteCountListener {
- private int lastNetwork = -1;
- private OpenVPNManagement mManagement;
-
- // Window time in s
- private final int TRAFFIC_WINDOW = 60;
- // Data traffic limit in bytes
- private final long TRAFFIC_LIMIT = 64 * 1024;
-
-
- connectState network = connectState.DISCONNECTED;
- connectState screen = connectState.SHOULDBECONNECTED;
- connectState userpause = connectState.SHOULDBECONNECTED;
-
- private String lastStateMsg = null;
-
- enum connectState {
- SHOULDBECONNECTED,
- PENDINGDISCONNECT,
- DISCONNECTED
- }
-
- static class Datapoint {
- private Datapoint(long t, long d) {
- timestamp = t;
- data = d;
- }
-
- long timestamp;
- long data;
- }
-
- LinkedList<Datapoint> trafficdata = new LinkedList<DeviceStateReceiver.Datapoint>();
-
- @Override
- public void updateByteCount(long in, long out, long diffIn, long diffOut) {
- if (screen != connectState.PENDINGDISCONNECT)
- return;
-
- long total = diffIn + diffOut;
- trafficdata.add(new Datapoint(System.currentTimeMillis(), total));
-
- while (trafficdata.getFirst().timestamp <= (System.currentTimeMillis() - TRAFFIC_WINDOW * 1000)) {
- trafficdata.removeFirst();
- }
-
- long windowtraffic = 0;
- for (Datapoint dp : trafficdata)
- windowtraffic += dp.data;
-
- if (windowtraffic < TRAFFIC_LIMIT) {
- screen = connectState.DISCONNECTED;
- VpnStatus.logInfo(R.string.screenoff_pause,
- OpenVPNService.humanReadableByteCount(TRAFFIC_LIMIT, false), TRAFFIC_WINDOW);
-
- mManagement.pause(getPauseReason());
- }
- }
-
-
- public void userPause(boolean pause) {
- if (pause) {
- userpause = connectState.DISCONNECTED;
- // Check if we should disconnect
- mManagement.pause(getPauseReason());
- } else {
- boolean wereConnected = shouldBeConnected();
- userpause = connectState.SHOULDBECONNECTED;
- if (shouldBeConnected() && !wereConnected)
- mManagement.resume();
- else
- // Update the reason why we currently paused
- mManagement.pause(getPauseReason());
- }
- }
-
- public DeviceStateReceiver(OpenVPNManagement magnagement) {
- super();
- mManagement = magnagement;
- }
-
-
- @Override
- public void onReceive(Context context, Intent intent) {
- SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
-
-
- if (ConnectivityManager.CONNECTIVITY_ACTION.equals(intent.getAction())) {
- networkStateChange(context);
- } else if (Intent.ACTION_SCREEN_OFF.equals(intent.getAction())) {
- boolean screenOffPause = prefs.getBoolean("screenoff", false);
-
- if (screenOffPause) {
- if (ProfileManager.getLastConnectedVpn()!=null && !ProfileManager.getLastConnectedVpn().mPersistTun)
- VpnStatus.logError(R.string.screen_nopersistenttun);
-
- screen = connectState.PENDINGDISCONNECT;
- fillTrafficData();
- if (network == connectState.DISCONNECTED || userpause == connectState.DISCONNECTED)
- screen = connectState.DISCONNECTED;
- }
- } else if (Intent.ACTION_SCREEN_ON.equals(intent.getAction())) {
- // Network was disabled because screen off
- boolean connected = shouldBeConnected();
- screen = connectState.SHOULDBECONNECTED;
-
- /* should be connected has changed because the screen is on now, connect the VPN */
- if (shouldBeConnected() != connected)
- mManagement.resume();
- else if (!shouldBeConnected())
- /*Update the reason why we are still paused */
- mManagement.pause(getPauseReason());
-
- }
- }
-
-
- private void fillTrafficData() {
- trafficdata.add(new Datapoint(System.currentTimeMillis(), TRAFFIC_LIMIT));
- }
-
-
- public void networkStateChange(Context context) {
- NetworkInfo networkInfo = getCurrentNetworkInfo(context);
- SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
- boolean sendusr1 = prefs.getBoolean("netchangereconnect", true);
-
-
- String netstatestring;
- if (networkInfo == null) {
- netstatestring = "not connected";
- } else {
- String subtype = networkInfo.getSubtypeName();
- if (subtype == null)
- subtype = "";
- String extrainfo = networkInfo.getExtraInfo();
- if (extrainfo == null)
- extrainfo = "";
-
- /*
- if(networkInfo.getType()==android.net.ConnectivityManager.TYPE_WIFI) {
- WifiManager wifiMgr = (WifiManager) context.getSystemService(Context.WIFI_SERVICE);
- WifiInfo wifiinfo = wifiMgr.getConnectionInfo();
- extrainfo+=wifiinfo.getBSSID();
-
- subtype += wifiinfo.getNetworkId();
- }*/
-
-
- netstatestring = String.format("%2$s %4$s to %1$s %3$s", networkInfo.getTypeName(),
- networkInfo.getDetailedState(), extrainfo, subtype);
- }
-
- if (networkInfo != null && networkInfo.getState() == State.CONNECTED) {
- int newnet = networkInfo.getType();
- network = connectState.SHOULDBECONNECTED;
-
- if (lastNetwork != newnet) {
- if (screen == connectState.PENDINGDISCONNECT)
- screen = connectState.DISCONNECTED;
-
- if (shouldBeConnected()) {
- if (lastNetwork == -1) {
- mManagement.resume();
- } else {
- mManagement.networkChange();
-
- }
- }
-
- lastNetwork = newnet;
- }
- } else if (networkInfo == null) {
- // Not connected, stop openvpn, set last connected network to no network
- lastNetwork = -1;
- if (sendusr1) {
- network = connectState.DISCONNECTED;
-
- // Set screen state to be disconnected if disconnect pending
- if (screen == connectState.PENDINGDISCONNECT)
- screen = connectState.DISCONNECTED;
-
- mManagement.pause(getPauseReason());
- }
- }
-
-
- if (!netstatestring.equals(lastStateMsg))
- VpnStatus.logInfo(R.string.netstatus, netstatestring);
- lastStateMsg = netstatestring;
-
- }
-
- public boolean isUserPaused() {
- return userpause == connectState.DISCONNECTED;
- }
-
- private boolean shouldBeConnected() {
- return (screen == connectState.SHOULDBECONNECTED && userpause == connectState.SHOULDBECONNECTED &&
- network == connectState.SHOULDBECONNECTED);
- }
-
- private pauseReason getPauseReason() {
- if (userpause == connectState.DISCONNECTED)
- return pauseReason.userPause;
-
- if (screen == connectState.DISCONNECTED)
- return pauseReason.screenOff;
-
- if (network == connectState.DISCONNECTED)
- return pauseReason.noNetwork;
-
- return pauseReason.userPause;
- }
-
- private NetworkInfo getCurrentNetworkInfo(Context context) {
- ConnectivityManager conn = (ConnectivityManager)
- context.getSystemService(Context.CONNECTIVITY_SERVICE);
-
- return conn.getActiveNetworkInfo();
- }
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ICSOpenVPNApplication.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ICSOpenVPNApplication.java
deleted file mode 100644
index 56a574dc..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ICSOpenVPNApplication.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-import android.app.Application;
-
-/*
-import org.acra.ACRA;
-import org.acra.ReportingInteractionMode;
-import org.acra.annotation.ReportsCrashes;
-*/
-
-import se.leap.bitmaskclient.BuildConfig;
-import se.leap.bitmaskclient.R;
-import de.blinkt.openvpn.core.PRNGFixes;
-
-/*
-@ReportsCrashes(
- formKey = "",
- formUri = "http://reports.blinkt.de/report-icsopenvpn",
- reportType = org.acra.sender.HttpSender.Type.JSON,
- httpMethod = org.acra.sender.HttpSender.Method.PUT,
- formUriBasicAuthLogin="report-icsopenvpn",
- formUriBasicAuthPassword="Tohd4neiF9Ai!!!!111eleven",
- mode = ReportingInteractionMode.TOAST,
- resToastText = R.string.crash_toast_text
-)
-*/
-public class ICSOpenVPNApplication extends Application {
- @Override
- public void onCreate() {
- super.onCreate();
- PRNGFixes.apply();
-
- if (BuildConfig.DEBUG) {
- //ACRA.init(this);
- }
- }
-
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/NativeUtils.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/NativeUtils.java
deleted file mode 100644
index f67b7730..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/NativeUtils.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-
-import java.security.InvalidKeyException;
-
-public class NativeUtils {
- public static native byte[] rsasign(byte[] input,int pkey) throws InvalidKeyException;
- public static native String[] getIfconfig() throws IllegalArgumentException;
- static native void jniclose(int fdint);
-
- static {
- System.loadLibrary("stlport_shared");
- System.loadLibrary("opvpnutil");
- }
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/NetworkSpace.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/NetworkSpace.java
deleted file mode 100644
index 26354689..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/NetworkSpace.java
+++ /dev/null
@@ -1,341 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-
-import android.os.Build;
-import android.text.TextUtils;
-
-import junit.framework.Assert;
-
-import org.jetbrains.annotations.NotNull;
-
-import java.math.BigInteger;
-import java.net.Inet6Address;
-import java.util.*;
-
-import se.leap.bitmaskclient.BuildConfig;
-
-public class NetworkSpace {
-
-
-
-
- static class ipAddress implements Comparable<ipAddress> {
- private BigInteger netAddress;
- public int networkMask;
- private boolean included;
- private boolean isV4;
- private BigInteger firstAddress;
- private BigInteger lastAddress;
-
-
- /**
- * sorts the networks with following criteria:
- * 1. compares first 1 of the network
- * 2. smaller networks are returned as smaller
- */
- @Override
- public int compareTo(@NotNull ipAddress another) {
- int comp = getFirstAddress().compareTo(another.getFirstAddress());
- if (comp != 0)
- return comp;
-
-
- if (networkMask > another.networkMask)
- return -1;
- else if (another.networkMask == networkMask)
- return 0;
- else
- return 1;
- }
-
- /**
- * Warning ignores the included integer
- *
- * @param o
- * the object to compare this instance with.
- */
- @Override
- public boolean equals(Object o) {
- if (!(o instanceof ipAddress))
- return super.equals(o);
-
-
- ipAddress on = (ipAddress) o;
- return (networkMask == on.networkMask) && on.getFirstAddress().equals(getFirstAddress());
- }
-
- public ipAddress(CIDRIP ip, boolean include) {
- included = include;
- netAddress = BigInteger.valueOf(ip.getInt());
- networkMask = ip.len;
- isV4 = true;
- }
-
- public ipAddress(Inet6Address address, int mask, boolean include) {
- networkMask = mask;
- included = include;
-
- int s = 128;
-
- netAddress = BigInteger.ZERO;
- for (byte b : address.getAddress()) {
- s -= 8;
- netAddress = netAddress.add(BigInteger.valueOf((b & 0xFF)).shiftLeft(s));
- }
- }
-
- public BigInteger getLastAddress() {
- if(lastAddress ==null)
- lastAddress = getMaskedAddress(true);
- return lastAddress;
- }
-
-
- public BigInteger getFirstAddress() {
- if (firstAddress ==null)
- firstAddress =getMaskedAddress(false);
- return firstAddress;
- }
-
-
- private BigInteger getMaskedAddress(boolean one) {
- BigInteger numAddress = netAddress;
-
- int numBits;
- if (isV4) {
- numBits = 32 - networkMask;
- } else {
- numBits = 128 - networkMask;
- }
-
- for (int i = 0; i < numBits; i++) {
- if (one)
- numAddress = numAddress.setBit(i);
- else
- numAddress = numAddress.clearBit(i);
- }
- return numAddress;
- }
-
-
- @Override
- public String toString() {
- //String in = included ? "+" : "-";
- if (isV4)
- return String.format(Locale.US,"%s/%d", getIPv4Address(), networkMask);
- else
- return String.format(Locale.US, "%s/%d", getIPv6Address(), networkMask);
- }
-
- ipAddress(BigInteger baseAddress, int mask, boolean included, boolean isV4) {
- this.netAddress = baseAddress;
- this.networkMask = mask;
- this.included = included;
- this.isV4 = isV4;
- }
-
-
- public ipAddress[] split() {
- ipAddress firstHalf = new ipAddress(getFirstAddress(), networkMask + 1, included, isV4);
- ipAddress secondHalf = new ipAddress(firstHalf.getLastAddress().add(BigInteger.ONE), networkMask + 1, included, isV4);
- if (BuildConfig.DEBUG) Assert.assertTrue(secondHalf.getLastAddress().equals(getLastAddress()));
- return new ipAddress[]{firstHalf, secondHalf};
- }
-
- String getIPv4Address() {
- if (BuildConfig.DEBUG) {
- Assert.assertTrue (isV4);
- Assert.assertTrue (netAddress.longValue() <= 0xffffffffl);
- Assert.assertTrue (netAddress.longValue() >= 0);
- }
- long ip = netAddress.longValue();
- return String.format(Locale.US, "%d.%d.%d.%d", (ip >> 24) % 256, (ip >> 16) % 256, (ip >> 8) % 256, ip % 256);
- }
-
- String getIPv6Address() {
- if (BuildConfig.DEBUG) Assert.assertTrue (!isV4);
- BigInteger r = netAddress;
- if (r.compareTo(BigInteger.ZERO)==0 && networkMask==0)
- return "::";
-
- Vector<String> parts = new Vector<String>();
- while (r.compareTo(BigInteger.ZERO) == 1) {
- parts.add(0, String.format(Locale.US, "%x", r.mod(BigInteger.valueOf(0x10000)).longValue()));
- r = r.shiftRight(16);
- }
-
- return TextUtils.join(":", parts);
- }
-
- public boolean containsNet(ipAddress network) {
- return getFirstAddress().compareTo(network.getFirstAddress()) != 1 &&
- getLastAddress().compareTo(network.getLastAddress()) != -1;
- }
- }
-
-
- TreeSet<ipAddress> mIpAddresses = new TreeSet<ipAddress>();
-
-
- public Collection<ipAddress> getNetworks(boolean included) {
- Vector<ipAddress> ips = new Vector<ipAddress>();
- for (ipAddress ip : mIpAddresses) {
- if (ip.included == included)
- ips.add(ip);
- }
- return ips;
- }
-
- public void clear() {
- mIpAddresses.clear();
- }
-
-
- void addIP(CIDRIP cidrIp, boolean include) {
-
- mIpAddresses.add(new ipAddress(cidrIp, include));
- }
-
- public void addIPSplit(CIDRIP cidrIp, boolean include) {
- ipAddress newIP = new ipAddress(cidrIp, include);
- ipAddress[] splitIps = newIP.split();
- for (ipAddress split: splitIps)
- mIpAddresses.add(split);
- }
-
- void addIPv6(Inet6Address address, int mask, boolean included) {
- mIpAddresses.add(new ipAddress(address, mask, included));
- }
-
- TreeSet<ipAddress> generateIPList() {
-
- PriorityQueue<ipAddress> networks = new PriorityQueue<ipAddress>(mIpAddresses);
-
- TreeSet<ipAddress> ipsDone = new TreeSet<ipAddress>();
-
- ipAddress currentNet = networks.poll();
- if (currentNet==null)
- return ipsDone;
-
- while (currentNet!=null) {
- // Check if it and the next of it are compatible
- ipAddress nextNet = networks.poll();
-
- if (BuildConfig.DEBUG) Assert.assertNotNull(currentNet);
- if (nextNet== null || currentNet.getLastAddress().compareTo(nextNet.getFirstAddress()) == -1) {
- // Everything good, no overlapping nothing to do
- ipsDone.add(currentNet);
-
- currentNet = nextNet;
- } else {
- // This network is smaller or equal to the next but has the same base address
- if (currentNet.getFirstAddress().equals(nextNet.getFirstAddress()) && currentNet.networkMask >= nextNet.networkMask) {
- if (currentNet.included == nextNet.included) {
- // Included in the next next and same type
- // Simply forget our current network
- currentNet=nextNet;
- } else {
- // our currentNet is included in next and types differ. Need to split the next network
- ipAddress[] newNets = nextNet.split();
-
-
- // TODO: The contains method of the Priority is stupid linear search
-
- // First add the second half to keep the order in networks
- if (!networks.contains(newNets[1]))
- networks.add(newNets[1]);
-
- if (newNets[0].getLastAddress().equals(currentNet.getLastAddress())) {
- if (BuildConfig.DEBUG) Assert.assertEquals (newNets[0].networkMask, currentNet.networkMask);
- // Don't add the lower half that would conflict with currentNet
- } else {
- if (!networks.contains(newNets[0]))
- networks.add(newNets[0]);
- }
- // Keep currentNet as is
- }
- } else {
- if (BuildConfig.DEBUG) {
- Assert.assertTrue(currentNet.networkMask < nextNet.networkMask);
- Assert.assertTrue (nextNet.getFirstAddress().compareTo(currentNet.getFirstAddress()) == 1);
- Assert.assertTrue (currentNet.getLastAddress().compareTo(nextNet.getLastAddress()) != -1);
- }
- // This network is bigger than the next and last ip of current >= next
-
- //noinspection StatementWithEmptyBody
- if (currentNet.included == nextNet.included) {
- // Next network is in included in our network with the same type,
- // simply ignore the next and move on
- } else {
- // We need to split our network
- ipAddress[] newNets = currentNet.split();
-
-
- if (newNets[1].networkMask == nextNet.networkMask) {
- if (BuildConfig.DEBUG) {
- Assert.assertTrue (newNets[1].getFirstAddress().equals(nextNet.getFirstAddress()));
- Assert.assertTrue (newNets[1].getLastAddress().equals(currentNet.getLastAddress()));
- // split second equal the next network, do not add it
- }
- networks.add(nextNet);
- } else {
- // Add the smaller network first
- networks.add(newNets[1]);
- networks.add(nextNet);
- }
- currentNet = newNets[0];
-
- }
- }
- }
-
- }
-
- return ipsDone;
- }
-
- Collection<ipAddress> getPositiveIPList() {
- TreeSet<ipAddress> ipsSorted = generateIPList();
-
- Vector<ipAddress> ips = new Vector<ipAddress>();
- for (ipAddress ia : ipsSorted) {
- if (ia.included)
- ips.add(ia);
- }
-
- if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) {
- // Include postive routes from the original set under < 4.4 since these might overrule the local
- // network but only if no smaller negative route exists
- for(ipAddress origIp: mIpAddresses){
- if (!origIp.included)
- continue;
-
- // The netspace exists
- if(ipsSorted.contains(origIp))
- continue;
-
- boolean skipIp=false;
- // If there is any smaller net that is excluded we may not add the positive route back
- for (ipAddress calculatedIp: ipsSorted) {
- if(!calculatedIp.included && origIp.containsNet(calculatedIp)) {
- skipIp=true;
- break;
- }
- }
- if (skipIp)
- continue;
-
- // It is safe to include the IP
- ips.add(origIp);
- }
-
- }
-
- return ips;
- }
-
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVPNManagement.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVPNManagement.java
deleted file mode 100644
index 1f28c77d..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVPNManagement.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-
-public interface OpenVPNManagement {
- enum pauseReason {
- noNetwork,
- userPause,
- screenOff
- }
-
- int mBytecountInterval =2;
-
- void reconnect();
-
- void pause(pauseReason reason);
-
- void resume();
-
- boolean stopVPN();
-
- /*
- * Rebind the interface
- */
- void networkChange();
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java
deleted file mode 100644
index 578d95e7..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java
+++ /dev/null
@@ -1,934 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-
-import android.Manifest.permission;
-import android.annotation.TargetApi;
-import android.app.Notification;
-import android.app.NotificationManager;
-import android.app.PendingIntent;
-import android.content.Context;
-import android.content.Intent;
-import android.content.IntentFilter;
-import android.content.SharedPreferences;
-import android.content.pm.PackageManager;
-import android.net.ConnectivityManager;
-import android.net.NetworkRequest;
-import android.net.VpnService;
-import android.os.Binder;
-import android.os.Build;
-import android.os.Handler.Callback;
-import android.os.IBinder;
-import android.os.Message;
-import android.os.ParcelFileDescriptor;
-import android.preference.PreferenceManager;
-import android.system.OsConstants;
-import android.text.TextUtils;
-import android.util.Log;
-
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.net.Inet6Address;
-import java.net.InetAddress;
-import java.net.UnknownHostException;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Locale;
-import java.util.Vector;
-
-import se.leap.bitmaskclient.BuildConfig;
-import se.leap.bitmaskclient.R;
-import de.blinkt.openvpn.VpnProfile;
-import de.blinkt.openvpn.activities.DisconnectVPN;
-import de.blinkt.openvpn.core.VpnStatus.ByteCountListener;
-import de.blinkt.openvpn.core.VpnStatus.ConnectionStatus;
-import de.blinkt.openvpn.core.VpnStatus.StateListener;
-
-import static de.blinkt.openvpn.core.NetworkSpace.ipAddress;
-import static de.blinkt.openvpn.core.VpnStatus.ConnectionStatus.LEVEL_CONNECTED;
-import static de.blinkt.openvpn.core.VpnStatus.ConnectionStatus.LEVEL_NONETWORK;
-import static de.blinkt.openvpn.core.VpnStatus.ConnectionStatus.LEVEL_NOTCONNECTED;
-import static de.blinkt.openvpn.core.VpnStatus.ConnectionStatus.LEVEL_CONNECTING_NO_SERVER_REPLY_YET;
-import static de.blinkt.openvpn.core.VpnStatus.ConnectionStatus.LEVEL_WAITING_FOR_USER_INPUT;
-import se.leap.bitmaskclient.Dashboard;
-
-public class OpenVPNService extends VpnService implements StateListener, Callback, ByteCountListener {
-
- public static final String START_SERVICE = "de.blinkt.openvpn.START_SERVICE";
- public static final String START_SERVICE_STICKY = "de.blinkt.openvpn.START_SERVICE_STICKY";
- public static final String ALWAYS_SHOW_NOTIFICATION = "de.blinkt.openvpn.NOTIFICATION_ALWAYS_VISIBLE";
- public static final String DISCONNECT_VPN = "de.blinkt.openvpn.DISCONNECT_VPN";
- private static final String PAUSE_VPN = "de.blinkt.openvpn.PAUSE_VPN";
- private static final String RESUME_VPN = "se.leap.bitmaskclient.RESUME_VPN";
- private static final int OPENVPN_STATUS = 1;
- private static boolean mNotificationAlwaysVisible = false;
- private final Vector<String> mDnslist = new Vector<String>();
- private final NetworkSpace mRoutes = new NetworkSpace();
- private final NetworkSpace mRoutesv6 = new NetworkSpace();
- private final IBinder mBinder = new LocalBinder();
- private Thread mProcessThread = null;
- private VpnProfile mProfile;
- private String mDomain = null;
- private CIDRIP mLocalIP = null;
- private int mMtu;
- private String mLocalIPv6 = null;
- private DeviceStateReceiver mDeviceStateReceiver;
- private boolean mDisplayBytecount = false;
- private boolean mStarting = false;
- private long mConnecttime;
- private boolean mOvpn3 = false;
- private OpenVPNManagement mManagement;
- private String mLastTunCfg;
- private String mRemoteGW;
- private final Object mProcessLock = new Object();
- private LollipopDeviceStateListener mLollipopDeviceStateListener;
-
- // From: http://stackoverflow.com/questions/3758606/how-to-convert-byte-size-into-human-readable-format-in-java
- public static String humanReadableByteCount(long bytes, boolean mbit) {
- if (mbit)
- bytes = bytes * 8;
- int unit = mbit ? 1000 : 1024;
- if (bytes < unit)
- return bytes + (mbit ? " bit" : " B");
-
- int exp = (int) (Math.log(bytes) / Math.log(unit));
- String pre = (mbit ? "kMGTPE" : "KMGTPE").charAt(exp - 1) + (mbit ? "" : "");
- if (mbit)
- return String.format(Locale.getDefault(), "%.1f %sbit", bytes / Math.pow(unit, exp), pre);
- else
- return String.format(Locale.getDefault(), "%.1f %sB", bytes / Math.pow(unit, exp), pre);
- }
-
- @Override
- public IBinder onBind(Intent intent) {
- String action = intent.getAction();
- if (action != null && action.equals(START_SERVICE))
- return mBinder;
- else
- return super.onBind(intent);
- }
-
- @Override
- public void onRevoke() {
- mManagement.stopVPN();
- endVpnService();
- }
-
- // Similar to revoke but do not try to stop process
- public void processDied() {
- endVpnService();
- }
-
- private void endVpnService() {
- synchronized (mProcessLock) {
- mProcessThread = null;
- }
- mConnecttime = 0;
- VpnStatus.removeByteCountListener(this);
- unregisterDeviceStateReceiver();
- ProfileManager.setConntectedVpnProfileDisconnected(this);
- if (!mStarting) {
- stopForeground(!mNotificationAlwaysVisible);
-
- if (!mNotificationAlwaysVisible) {
- stopSelf();
- VpnStatus.removeStateListener(this);
- }
- }
- }
-
- private void showNotification(String msg, String tickerText, boolean lowpriority, long when, ConnectionStatus status) {
- String ns = Context.NOTIFICATION_SERVICE;
- NotificationManager mNotificationManager = (NotificationManager) getSystemService(ns);
-
-
- int icon = getIconByConnectionStatus(status);
-
- android.app.Notification.Builder nbuilder = new Notification.Builder(this);
-
- if (mProfile != null)
- nbuilder.setContentTitle(getString(R.string.notifcation_title, mProfile.mName));
- else
- nbuilder.setContentTitle(getString(R.string.notifcation_title_notconnect));
-
- nbuilder.setContentText(msg);
- nbuilder.setOnlyAlertOnce(true);
- nbuilder.setOngoing(true);
- nbuilder.setContentIntent(getLogPendingIntent());
- nbuilder.setSmallIcon(icon);
-
-
- if (when != 0)
- nbuilder.setWhen(when);
-
-
- // Try to set the priority available since API 16 (Jellybean)
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN)
- jbNotificationExtras(lowpriority, nbuilder);
-
- if (tickerText != null && !tickerText.equals(""))
- nbuilder.setTicker(tickerText);
-
- @SuppressWarnings("deprecation")
- Notification notification = nbuilder.getNotification();
-
-
- mNotificationManager.notify(OPENVPN_STATUS, notification);
- //startForeground(OPENVPN_STATUS, notification);
- }
-
- private int getIconByConnectionStatus(ConnectionStatus level) {
- switch (level) {
- case LEVEL_CONNECTED:
- return R.drawable.ic_stat_vpn;
- case LEVEL_AUTH_FAILED:
- case LEVEL_NONETWORK:
- case LEVEL_NOTCONNECTED:
- return R.drawable.ic_stat_vpn_offline;
- case LEVEL_CONNECTING_NO_SERVER_REPLY_YET:
- case LEVEL_WAITING_FOR_USER_INPUT:
- return R.drawable.ic_stat_vpn_outline;
- case LEVEL_CONNECTING_SERVER_REPLIED:
- return R.drawable.ic_stat_vpn_empty_halo;
- case LEVEL_VPNPAUSED:
- return android.R.drawable.ic_media_pause;
- case UNKNOWN_LEVEL:
- default:
- return R.drawable.ic_stat_vpn;
-
- }
- }
-
- @TargetApi(Build.VERSION_CODES.JELLY_BEAN)
- private void jbNotificationExtras(boolean lowpriority,
- android.app.Notification.Builder nbuilder) {
- try {
- if (lowpriority) {
- Method setpriority = nbuilder.getClass().getMethod("setPriority", int.class);
- // PRIORITY_MIN == -2
- setpriority.invoke(nbuilder, -2);
-
- Method setUsesChronometer = nbuilder.getClass().getMethod("setUsesChronometer", boolean.class);
- setUsesChronometer.invoke(nbuilder, true);
-
- }
-
- Intent disconnectVPN = new Intent(this, DisconnectVPN.class);
- disconnectVPN.setAction(DISCONNECT_VPN);
- PendingIntent disconnectPendingIntent = PendingIntent.getActivity(this, 0, disconnectVPN, 0);
-
- nbuilder.addAction(android.R.drawable.ic_menu_close_clear_cancel,
- getString(R.string.cancel_connection), disconnectPendingIntent);
-
- Intent pauseVPN = new Intent(this, OpenVPNService.class);
- if (mDeviceStateReceiver == null || !mDeviceStateReceiver.isUserPaused()) {
- pauseVPN.setAction(PAUSE_VPN);
- PendingIntent pauseVPNPending = PendingIntent.getService(this, 0, pauseVPN, 0);
- nbuilder.addAction(android.R.drawable.ic_media_pause,
- getString(R.string.pauseVPN), pauseVPNPending);
-
- } else {
- pauseVPN.setAction(RESUME_VPN);
- PendingIntent resumeVPNPending = PendingIntent.getService(this, 0, pauseVPN, 0);
- nbuilder.addAction(android.R.drawable.ic_media_play,
- getString(R.string.resumevpn), resumeVPNPending);
- }
-
-
- //ignore exception
- } catch (NoSuchMethodException nsm) {
- VpnStatus.logException(nsm);
- } catch (IllegalArgumentException e) {
- VpnStatus.logException(e);
- } catch (IllegalAccessException e) {
- VpnStatus.logException(e);
- } catch (InvocationTargetException e) {
- VpnStatus.logException(e);
- }
-
- }
-
- PendingIntent getLogPendingIntent() {
- // Let the configure Button show the Log
- Intent intent = new Intent(getBaseContext(), Dashboard.class);
- intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
- PendingIntent startLW = PendingIntent.getActivity(this, 0, intent, 0);
- intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
- return startLW;
-
- }
-
- synchronized void registerDeviceStateReceiver(OpenVPNManagement magnagement) {
- // Registers BroadcastReceiver to track network connection changes.
- IntentFilter filter = new IntentFilter();
- filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
- filter.addAction(Intent.ACTION_SCREEN_OFF);
- filter.addAction(Intent.ACTION_SCREEN_ON);
- mDeviceStateReceiver = new DeviceStateReceiver(magnagement);
- registerReceiver(mDeviceStateReceiver, filter);
- VpnStatus.addByteCountListener(mDeviceStateReceiver);
-
- /*if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
- addLollipopCMListener(); */
- }
-
- synchronized void unregisterDeviceStateReceiver() {
- if (mDeviceStateReceiver != null)
- try {
- VpnStatus.removeByteCountListener(mDeviceStateReceiver);
- this.unregisterReceiver(mDeviceStateReceiver);
- } catch (IllegalArgumentException iae) {
- // I don't know why this happens:
- // java.lang.IllegalArgumentException: Receiver not registered: de.blinkt.openvpn.NetworkSateReceiver@41a61a10
- // Ignore for now ...
- iae.printStackTrace();
- }
- mDeviceStateReceiver = null;
-
- /*if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
- removeLollipopCMListener();*/
-
- }
-
- public void userPause(boolean shouldBePaused) {
- if (mDeviceStateReceiver != null)
- mDeviceStateReceiver.userPause(shouldBePaused);
- }
-
- @Override
- public int onStartCommand(Intent intent, int flags, int startId) {
-
- if (intent != null && intent.getBooleanExtra(ALWAYS_SHOW_NOTIFICATION, false))
- mNotificationAlwaysVisible = true;
-
- VpnStatus.addStateListener(this);
- VpnStatus.addByteCountListener(this);
-
- if (intent != null && PAUSE_VPN.equals(intent.getAction())) {
- if (mDeviceStateReceiver != null)
- mDeviceStateReceiver.userPause(true);
- return START_NOT_STICKY;
- }
-
- if (intent != null && RESUME_VPN.equals(intent.getAction())) {
- if (mDeviceStateReceiver != null)
- mDeviceStateReceiver.userPause(false);
- return START_NOT_STICKY;
- }
-
-
- if (intent != null && START_SERVICE.equals(intent.getAction()))
- return START_NOT_STICKY;
- if (intent != null && START_SERVICE_STICKY.equals(intent.getAction())) {
- return START_REDELIVER_INTENT;
- }
-
- /* The intent is null when the service has been restarted */
- if (intent == null) {
- mProfile = ProfileManager.getLastConnectedProfile(this, false);
-
- /* Got no profile, just stop */
- if (mProfile == null) {
- Log.d("OpenVPN", "Got no last connected profile on null intent. Stopping");
- stopSelf(startId);
- return START_NOT_STICKY;
- }
- /* Do the asynchronous keychain certificate stuff */
- mProfile.checkForRestart(this);
-
- /* Recreate the intent */
- intent = mProfile.getStartServiceIntent(this);
-
- } else {
- String profileUUID = intent.getStringExtra(getPackageName() + ".profileUUID");
- mProfile = ProfileManager.get(this, profileUUID);
- }
-
-
- // Extract information from the intent.
- String prefix = getPackageName();
- String[] argv = intent.getStringArrayExtra(prefix + ".ARGV");
- String nativeLibraryDirectory = intent.getStringExtra(prefix + ".nativelib");
-
- String startTitle = getString(R.string.start_vpn_title, mProfile.mName);
- String startTicker = getString(R.string.start_vpn_ticker, mProfile.mName);
- showNotification(startTitle, startTicker,
- false, 0, LEVEL_CONNECTING_NO_SERVER_REPLY_YET);
-
- // Set a flag that we are starting a new VPN
- mStarting = true;
- // Stop the previous session by interrupting the thread.
- if (mManagement != null && mManagement.stopVPN())
- // an old was asked to exit, wait 1s
- try {
- Thread.sleep(1000);
- } catch (InterruptedException e) {
- //ignore
- }
-
- synchronized (mProcessLock) {
- if (mProcessThread != null) {
- mProcessThread.interrupt();
- try {
- Thread.sleep(1000);
- } catch (InterruptedException e) {
- //ignore
- }
- }
- }
- // An old running VPN should now be exited
- mStarting = false;
-
- // Start a new session by creating a new thread.
- SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
-
- mOvpn3 = prefs.getBoolean("ovpn3", false);
- if (!"ovpn3".equals(BuildConfig.FLAVOR))
- mOvpn3 = false;
-
-
- // Open the Management Interface
- if (!mOvpn3) {
-
- // start a Thread that handles incoming messages of the managment socket
- OpenVpnManagementThread ovpnManagementThread = new OpenVpnManagementThread(mProfile, this);
- if (ovpnManagementThread.openManagementInterface(this)) {
-
- Thread mSocketManagerThread = new Thread(ovpnManagementThread, "OpenVPNManagementThread");
- mSocketManagerThread.start();
- mManagement = ovpnManagementThread;
- VpnStatus.logInfo("started Socket Thread");
- } else {
- return START_NOT_STICKY;
- }
- }
-
-
- Runnable processThread;
- if (mOvpn3) {
-
- OpenVPNManagement mOpenVPN3 = instantiateOpenVPN3Core();
- processThread = (Runnable) mOpenVPN3;
- mManagement = mOpenVPN3;
-
-
- } else {
- HashMap<String, String> env = new HashMap<String, String>();
- processThread = new OpenVPNThread(this, argv, env, nativeLibraryDirectory);
- }
-
- synchronized (mProcessLock) {
- mProcessThread = new Thread(processThread, "OpenVPNProcessThread");
- mProcessThread.start();
- }
- if (mDeviceStateReceiver != null)
- unregisterDeviceStateReceiver();
-
- registerDeviceStateReceiver(mManagement);
-
-
- ProfileManager.setConnectedVpnProfile(this, mProfile);
- /* TODO: At the moment we have no way to handle asynchronous PW input
- * Fixing will also allow to handle challenge/responsee authentication */
- if (mProfile.needUserPWInput(true) != 0)
- return START_NOT_STICKY;
-
- return START_STICKY;
- }
-
- private OpenVPNManagement instantiateOpenVPN3Core() {
- try {
- Class cl = Class.forName("de.blinkt.openvpn.core.OpenVPNThreadv3");
- return (OpenVPNManagement) cl.getConstructor(OpenVPNService.class, VpnProfile.class).newInstance(this, mProfile);
- } catch (IllegalArgumentException e) {
- e.printStackTrace();
- } catch (InstantiationException e) {
- e.printStackTrace();
- } catch (IllegalAccessException e) {
- e.printStackTrace();
- } catch (InvocationTargetException e) {
- e.printStackTrace();
- } catch (NoSuchMethodException e) {
- e.printStackTrace();
- } catch (ClassNotFoundException e) {
- e.printStackTrace();
- }
- return null;
- }
-
- @Override
- public void onDestroy() {
- synchronized (mProcessLock) {
- if (mProcessThread != null) {
- mManagement.stopVPN();
- }
- }
-
- if (mDeviceStateReceiver != null) {
- this.unregisterReceiver(mDeviceStateReceiver);
- }
- // Just in case unregister for state
- VpnStatus.removeStateListener(this);
-
- }
-
- private String getTunConfigString() {
- // The format of the string is not important, only that
- // two identical configurations produce the same result
- String cfg = "TUNCFG UNQIUE STRING ips:";
-
- if (mLocalIP != null)
- cfg += mLocalIP.toString();
- if (mLocalIPv6 != null)
- cfg += mLocalIPv6;
-
-
- cfg += "routes: " + TextUtils.join("|", mRoutes.getNetworks(true)) + TextUtils.join("|", mRoutesv6.getNetworks(true));
- cfg += "excl. routes:" + TextUtils.join("|", mRoutes.getNetworks(false)) + TextUtils.join("|", mRoutesv6.getNetworks(false));
- cfg += "dns: " + TextUtils.join("|", mDnslist);
- cfg += "domain: " + mDomain;
- cfg += "mtu: " + mMtu;
- return cfg;
- }
-
- public ParcelFileDescriptor openTun() {
-
- //Debug.startMethodTracing(getExternalFilesDir(null).toString() + "/opentun.trace", 40* 1024 * 1024);
-
- Builder builder = new Builder();
-
- VpnStatus.logInfo(R.string.last_openvpn_tun_config);
-
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP && mProfile.mAllowLocalLAN)
- {
- allowAllAFFamilies(builder);
- }
-
- if (mLocalIP == null && mLocalIPv6 == null) {
- VpnStatus.logError(getString(R.string.opentun_no_ipaddr));
- return null;
- }
-
- if (mLocalIP != null) {
- addLocalNetworksToRoutes();
- try {
- builder.addAddress(mLocalIP.mIp, mLocalIP.len);
- } catch (IllegalArgumentException iae) {
- VpnStatus.logError(R.string.dns_add_error, mLocalIP, iae.getLocalizedMessage());
- return null;
- }
- }
-
- if (mLocalIPv6 != null) {
- String[] ipv6parts = mLocalIPv6.split("/");
- try {
- builder.addAddress(ipv6parts[0], Integer.parseInt(ipv6parts[1]));
- } catch (IllegalArgumentException iae) {
- VpnStatus.logError(R.string.ip_add_error, mLocalIPv6, iae.getLocalizedMessage());
- return null;
- }
-
- }
-
-
- for (String dns : mDnslist) {
- try {
- builder.addDnsServer(dns);
- } catch (IllegalArgumentException iae) {
- VpnStatus.logError(R.string.dns_add_error, dns, iae.getLocalizedMessage());
- }
- }
-
- String release = Build.VERSION.RELEASE;
- if ((Build.VERSION.SDK_INT == Build.VERSION_CODES.KITKAT && !release.startsWith("4.4.3")
- && !release.startsWith("4.4.4") && !release.startsWith("4.4.5") && !release.startsWith("4.4.6"))
- && mMtu < 1280) {
- VpnStatus.logInfo(String.format(Locale.US, "Forcing MTU to 1280 instead of %d to workaround Android Bug #70916", mMtu));
- builder.setMtu(1280);
- } else {
- builder.setMtu(mMtu);
- }
-
- Collection<ipAddress> positiveIPv4Routes = mRoutes.getPositiveIPList();
- Collection<ipAddress> positiveIPv6Routes = mRoutesv6.getPositiveIPList();
-
- for (NetworkSpace.ipAddress route : positiveIPv4Routes) {
- try {
- builder.addRoute(route.getIPv4Address(), route.networkMask);
- } catch (IllegalArgumentException ia) {
- VpnStatus.logError(getString(R.string.route_rejected) + route + " " + ia.getLocalizedMessage());
- }
- }
-
- for (NetworkSpace.ipAddress route6 : positiveIPv6Routes) {
- try {
- builder.addRoute(route6.getIPv6Address(), route6.networkMask);
- } catch (IllegalArgumentException ia) {
- VpnStatus.logError(getString(R.string.route_rejected) + route6 + " " + ia.getLocalizedMessage());
- }
- }
-
- if (mDomain != null)
- builder.addSearchDomain(mDomain);
-
- VpnStatus.logInfo(R.string.local_ip_info, mLocalIP.mIp, mLocalIP.len, mLocalIPv6, mMtu);
- VpnStatus.logInfo(R.string.dns_server_info, TextUtils.join(", ", mDnslist), mDomain);
- VpnStatus.logInfo(R.string.routes_info_incl, TextUtils.join(", ", mRoutes.getNetworks(true)), TextUtils.join(", ", mRoutesv6.getNetworks(true)));
- VpnStatus.logInfo(R.string.routes_info_excl, TextUtils.join(", ", mRoutes.getNetworks(false)), TextUtils.join(", ", mRoutesv6.getNetworks(false)));
- VpnStatus.logDebug(R.string.routes_debug, TextUtils.join(", ", positiveIPv4Routes), TextUtils.join(", ", positiveIPv6Routes));
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
- setAllowedVpnPackages(builder);
- }
-
-
- String session = mProfile.mName;
- if (mLocalIP != null && mLocalIPv6 != null)
- session = getString(R.string.session_ipv6string, session, mLocalIP, mLocalIPv6);
- else if (mLocalIP != null)
- session = getString(R.string.session_ipv4string, session, mLocalIP);
-
- builder.setSession(session);
-
- // No DNS Server, log a warning
- if (mDnslist.size() == 0)
- VpnStatus.logInfo(R.string.warn_no_dns);
-
- mLastTunCfg = getTunConfigString();
-
- // Reset information
- mDnslist.clear();
- mRoutes.clear();
- mRoutesv6.clear();
- mLocalIP = null;
- mLocalIPv6 = null;
- mDomain = null;
-
- builder.setConfigureIntent(getLogPendingIntent());
-
- try {
- //Debug.stopMethodTracing();
- return builder.establish();
- } catch (Exception e) {
- VpnStatus.logError(R.string.tun_open_error);
- VpnStatus.logError(getString(R.string.error) + e.getLocalizedMessage());
- if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.JELLY_BEAN_MR1) {
- VpnStatus.logError(R.string.tun_error_helpful);
- }
- return null;
- }
-
- }
-
- @TargetApi(Build.VERSION_CODES.LOLLIPOP)
- private void allowAllAFFamilies(Builder builder) {
- builder.allowFamily(OsConstants.AF_INET);
- builder.allowFamily(OsConstants.AF_INET6);
- }
-
- @TargetApi(Build.VERSION_CODES.LOLLIPOP)
- void removeLollipopCMListener() {
- ConnectivityManager cm = (ConnectivityManager) getBaseContext().getSystemService(CONNECTIVITY_SERVICE);
- cm.unregisterNetworkCallback(mLollipopDeviceStateListener);
- mLollipopDeviceStateListener = null;
- }
-
- @TargetApi(Build.VERSION_CODES.LOLLIPOP)
- void addLollipopCMListener() {
- ConnectivityManager cm = (ConnectivityManager) getBaseContext().getSystemService(CONNECTIVITY_SERVICE);
- NetworkRequest.Builder nrb = new NetworkRequest.Builder();
-
- mLollipopDeviceStateListener = new LollipopDeviceStateListener();
- cm.registerNetworkCallback(nrb.build(), mLollipopDeviceStateListener);
- }
-
- private void addLocalNetworksToRoutes() {
-
- // Add local network interfaces
- String[] localRoutes = NativeUtils.getIfconfig();
-
- // The format of mLocalRoutes is kind of broken because I don't really like JNI
- for (int i = 0; i < localRoutes.length; i += 3) {
- String intf = localRoutes[i];
- String ipAddr = localRoutes[i + 1];
- String netMask = localRoutes[i + 2];
-
- if (intf == null || intf.equals("lo") ||
- intf.startsWith("tun") || intf.startsWith("rmnet"))
- continue;
-
- if (ipAddr==null || netMask == null) {
- VpnStatus.logError("Local routes are broken?! (Report to author) " + TextUtils.join("|", localRoutes));
- continue;
- }
-
- if (ipAddr.equals(mLocalIP.mIp))
- continue;
-
- if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT && !mProfile.mAllowLocalLAN) {
- mRoutes.addIPSplit(new CIDRIP(ipAddr, netMask), true);
-
- } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT && mProfile.mAllowLocalLAN)
- mRoutes.addIP(new CIDRIP(ipAddr, netMask), false);
- }
- }
-
-
- @TargetApi(Build.VERSION_CODES.LOLLIPOP)
- private void setAllowedVpnPackages(Builder builder) {
- for (String pkg : mProfile.mAllowedAppsVpn) {
- try {
- if (mProfile.mAllowedAppsVpnAreDisallowed) {
- builder.addDisallowedApplication(pkg);
- } else {
- builder.addAllowedApplication(pkg);
- }
- } catch (PackageManager.NameNotFoundException e) {
- mProfile.mAllowedAppsVpn.remove(pkg);
- VpnStatus.logInfo(R.string.app_no_longer_exists, pkg);
- }
- }
-
- if (mProfile.mAllowedAppsVpnAreDisallowed) {
- VpnStatus.logDebug(R.string.disallowed_vpn_apps_info, TextUtils.join(", ", mProfile.mAllowedAppsVpn));
- } else {
- VpnStatus.logDebug(R.string.allowed_vpn_apps_info, TextUtils.join(", ", mProfile.mAllowedAppsVpn));
- }
- }
-
- public void addDNS(String dns) {
- mDnslist.add(dns);
- }
-
- public void setDomain(String domain) {
- if (mDomain == null) {
- mDomain = domain;
- }
- }
-
- /**
- * Route that is always included, used by the v3 core
- */
- public void addRoute(CIDRIP route) {
- mRoutes.addIP(route, true);
- }
-
- public void addRoute(String dest, String mask, String gateway, String device) {
- CIDRIP route = new CIDRIP(dest, mask);
- boolean include = isAndroidTunDevice(device);
-
- NetworkSpace.ipAddress gatewayIP = new NetworkSpace.ipAddress(new CIDRIP(gateway, 32), false);
-
- if (mLocalIP == null) {
- VpnStatus.logError("Local IP address unset but adding route?! This is broken! Please contact author with log");
- return;
- }
- NetworkSpace.ipAddress localNet = new NetworkSpace.ipAddress(mLocalIP, true);
- if (localNet.containsNet(gatewayIP))
- include = true;
-
- if (gateway != null &&
- (gateway.equals("255.255.255.255") || gateway.equals(mRemoteGW)))
- include = true;
-
-
- if (route.len == 32 && !mask.equals("255.255.255.255")) {
- VpnStatus.logWarning(R.string.route_not_cidr, dest, mask);
- }
-
- if (route.normalise())
- VpnStatus.logWarning(R.string.route_not_netip, dest, route.len, route.mIp);
-
- mRoutes.addIP(route, include);
- }
-
- public void addRoutev6(String network, String device) {
- String[] v6parts = network.split("/");
- boolean included = isAndroidTunDevice(device);
-
- // Tun is opened after ROUTE6, no device name may be present
-
- try {
- Inet6Address ip = (Inet6Address) InetAddress.getAllByName(v6parts[0])[0];
- int mask = Integer.parseInt(v6parts[1]);
- mRoutesv6.addIPv6(ip, mask, included);
-
- } catch (UnknownHostException e) {
- VpnStatus.logException(e);
- }
-
-
- }
-
- private boolean isAndroidTunDevice(String device) {
- return device != null &&
- (device.startsWith("tun") || "(null)".equals(device) || "vpnservice-tun".equals(device));
- }
-
- public void setMtu(int mtu) {
- mMtu = mtu;
- }
-
- public void setLocalIP(CIDRIP cdrip) {
- mLocalIP = cdrip;
- }
-
- public void setLocalIP(String local, String netmask, int mtu, String mode) {
- mLocalIP = new CIDRIP(local, netmask);
- mMtu = mtu;
- mRemoteGW = null;
-
- long netMaskAsInt = CIDRIP.getInt(netmask);
-
- if (mLocalIP.len == 32 && !netmask.equals("255.255.255.255")) {
- // get the netmask as IP
-
- int masklen;
- long mask;
- if ("net30".equals(mode)) {
- masklen = 30;
- mask = 0xfffffffc;
- } else {
- masklen = 31;
- mask = 0xfffffffe;
- }
-
- // Netmask is Ip address +/-1, assume net30/p2p with small net
- if ((netMaskAsInt & mask) == (mLocalIP.getInt() & mask)) {
- mLocalIP.len = masklen;
- } else {
- mLocalIP.len = 32;
- if (!"p2p".equals(mode))
- VpnStatus.logWarning(R.string.ip_not_cidr, local, netmask, mode);
- }
- }
- if (("p2p".equals(mode) && mLocalIP.len < 32) || ("net30".equals(mode) && mLocalIP.len < 30)) {
- VpnStatus.logWarning(R.string.ip_looks_like_subnet, local, netmask, mode);
- }
-
-
- /* Workaround for Lollipop, it does not route traffic to the VPNs own network mask */
- if (mLocalIP.len <= 31 && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
- addRoute(mLocalIP);
-
-
- // Configurations are sometimes really broken...
- mRemoteGW = netmask;
- }
-
- public void setLocalIPv6(String ipv6addr) {
- mLocalIPv6 = ipv6addr;
- }
-
- @Override
- public void updateState(String state, String logmessage, int resid, ConnectionStatus level) {
- // If the process is not running, ignore any state,
- // Notification should be invisible in this state
-
- doSendBroadcast(state, level);
- if (mProcessThread == null && !mNotificationAlwaysVisible)
- return;
-
- boolean lowpriority = false;
- // Display byte count only after being connected
-
- {
- if (level == LEVEL_WAITING_FOR_USER_INPUT) {
- // The user is presented a dialog of some kind, no need to inform the user
- // with a notifcation
- return;
- } else if (level == LEVEL_CONNECTED) {
- mDisplayBytecount = true;
- mConnecttime = System.currentTimeMillis();
- lowpriority = true;
- if(mProfile.mPersistTun) {
- NotificationManager ns = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
- ns.cancel(OPENVPN_STATUS);
- return;
- }
- } else if (level == LEVEL_NONETWORK || level == LEVEL_NOTCONNECTED) {
- NotificationManager ns = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
- ns.cancel(OPENVPN_STATUS);
- return;
- } else if (level != LEVEL_NOTCONNECTED && mConnecttime > 0) {
- mDisplayBytecount = false;
- String msg = "Traffic is blocked until the VPN becomes active.";
- String ticker = msg;
- showNotification(msg, ticker, lowpriority , 0, level);
- return;
- } else {
- mDisplayBytecount = false;
- }
-
- // Other notifications are shown,
- // This also mean we are no longer connected, ignore bytecount messages until next
- // CONNECTED
- // Does not work :(
- String msg = getString(resid);
- String ticker = msg;
- showNotification(msg + " " + logmessage, ticker, lowpriority , 0, level);
- }
- }
-
- private void doSendBroadcast(String state, ConnectionStatus level) {
- Intent vpnstatus = new Intent();
- vpnstatus.setAction("de.blinkt.openvpn.VPN_STATUS");
- vpnstatus.putExtra("status", level.toString());
- vpnstatus.putExtra("detailstatus", state);
- sendBroadcast(vpnstatus, permission.ACCESS_NETWORK_STATE);
- }
-
- @Override
- public void updateByteCount(long in, long out, long diffIn, long diffOut) {
- if (mDisplayBytecount) {
- String netstat = String.format(getString(R.string.statusline_bytecount),
- humanReadableByteCount(in, false),
- humanReadableByteCount(diffIn / OpenVPNManagement.mBytecountInterval, true),
- humanReadableByteCount(out, false),
- humanReadableByteCount(diffOut / OpenVPNManagement.mBytecountInterval, true));
-
- boolean lowpriority = !mNotificationAlwaysVisible;
- //showNotification(netstat, null, lowpriority, mConnecttime, LEVEL_CONNECTED);
- }
-
- }
-
- @Override
- public boolean handleMessage(Message msg) {
- Runnable r = msg.getCallback();
- if (r != null) {
- r.run();
- return true;
- } else {
- return false;
- }
- }
-
- public OpenVPNManagement getManagement() {
- return mManagement;
- }
-
- public String getTunReopenStatus() {
- String currentConfiguration = getTunConfigString();
- if (currentConfiguration.equals(mLastTunCfg)) {
- return "NOACTION";
- } else {
- String release = Build.VERSION.RELEASE;
- if (Build.VERSION.SDK_INT == Build.VERSION_CODES.KITKAT && !release.startsWith("4.4.3")
- && !release.startsWith("4.4.4") && !release.startsWith("4.4.5") && !release.startsWith("4.4.6"))
- // There will be probably no 4.4.4 or 4.4.5 version, so don't waste effort to do parsing here
- return "OPEN_AFTER_CLOSE";
- else
- return "OPEN_BEFORE_CLOSE";
- }
- }
-
- public class LocalBinder extends Binder {
- public OpenVPNService getService() {
- // Return this instance of LocalService so clients can call public methods
- return OpenVPNService.this;
- }
- }
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java
deleted file mode 100644
index 298a6c40..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVPNThread.java
+++ /dev/null
@@ -1,209 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-
-import android.annotation.SuppressLint;
-import android.util.Log;
-
-import java.io.BufferedReader;
-import java.io.BufferedWriter;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.text.SimpleDateFormat;
-import java.util.Collections;
-import java.util.Date;
-import java.util.LinkedList;
-import java.util.Locale;
-import java.util.Map;
-import java.util.Map.Entry;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-import se.leap.bitmaskclient.R;
-import de.blinkt.openvpn.VpnProfile;
-import de.blinkt.openvpn.core.VpnStatus.ConnectionStatus;
-import de.blinkt.openvpn.core.VpnStatus.LogItem;
-
-public class OpenVPNThread implements Runnable {
- private static final String DUMP_PATH_STRING = "Dump path: ";
- @SuppressLint("SdCardPath")
- private static final String BROKEN_PIE_SUPPORT = "/data/data/de.blinkt.openvpn/cache/pievpn[1]: syntax error:";
- private static final String TAG = "OpenVPN";
- public static final int M_FATAL = (1 << 4);
- public static final int M_NONFATAL = (1 << 5);
- public static final int M_WARN = (1 << 6);
- public static final int M_DEBUG = (1 << 7);
- private String[] mArgv;
- private Process mProcess;
- private String mNativeDir;
- private OpenVPNService mService;
- private String mDumpPath;
- private Map<String, String> mProcessEnv;
- private boolean mBrokenPie=false;
-
- public OpenVPNThread(OpenVPNService service,String[] argv, Map<String,String> processEnv, String nativelibdir)
- {
- mArgv = argv;
- mNativeDir = nativelibdir;
- mService = service;
- mProcessEnv = processEnv;
- }
-
- public void stopProcess() {
- mProcess.destroy();
- }
-
- @Override
- public void run() {
- try {
- Log.i(TAG, "Starting openvpn");
- startOpenVPNThreadArgs(mArgv, mProcessEnv);
- Log.i(TAG, "Giving up");
- } catch (Exception e) {
- VpnStatus.logException("Starting OpenVPN Thread" ,e);
- Log.e(TAG, "OpenVPNThread Got " + e.toString());
- } finally {
- int exitvalue = 0;
- try {
- if (mProcess!=null)
- exitvalue = mProcess.waitFor();
- } catch ( IllegalThreadStateException ite) {
- VpnStatus.logError("Illegal Thread state: " + ite.getLocalizedMessage());
- } catch (InterruptedException ie) {
- VpnStatus.logError("InterruptedException: " + ie.getLocalizedMessage());
- }
- if( exitvalue != 0) {
- VpnStatus.logError("Process exited with exit value " + exitvalue);
- if (mBrokenPie) {
- /* This will probably fail since the NoPIE binary is probably not written */
- String[] noPieArgv = VPNLaunchHelper.replacePieWithNoPie(mArgv);
-
- // We are already noPIE, nothing to gain
- if (!noPieArgv.equals(mArgv)) {
- mArgv = noPieArgv;
- VpnStatus.logInfo("PIE Version could not be executed. Trying no PIE version");
- run();
- return;
- }
-
- }
-
- }
-
- VpnStatus.updateStateString("NOPROCESS", "No process running.", R.string.state_noprocess, ConnectionStatus.LEVEL_NOTCONNECTED);
- if(mDumpPath!=null) {
- try {
- BufferedWriter logout = new BufferedWriter(new FileWriter(mDumpPath + ".log"));
- SimpleDateFormat timeformat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss",Locale.GERMAN);
- for(LogItem li : VpnStatus.getlogbuffer()){
- String time = timeformat.format(new Date(li.getLogtime()));
- logout.write(time +" " + li.getString(mService) + "\n");
- }
- logout.close();
- VpnStatus.logError(R.string.minidump_generated);
- } catch (IOException e) {
- VpnStatus.logError("Writing minidump log: " + e.getLocalizedMessage());
- }
- }
-
- mService.processDied();
- Log.i(TAG, "Exiting");
- }
- }
-
- private void startOpenVPNThreadArgs(String[] argv, Map<String, String> env) {
- LinkedList<String> argvlist = new LinkedList<String>();
-
- Collections.addAll(argvlist, argv);
-
- ProcessBuilder pb = new ProcessBuilder(argvlist);
- // Hack O rama
-
- String lbpath = genLibraryPath(argv, pb);
-
- pb.environment().put("LD_LIBRARY_PATH", lbpath);
-
- // Add extra variables
- for(Entry<String,String> e:env.entrySet()){
- pb.environment().put(e.getKey(), e.getValue());
- }
- pb.redirectErrorStream(true);
- try {
- mProcess = pb.start();
- // Close the output, since we don't need it
- mProcess.getOutputStream().close();
- InputStream in = mProcess.getInputStream();
- BufferedReader br = new BufferedReader(new InputStreamReader(in));
-
- while(true) {
- String logline = br.readLine();
- if(logline==null)
- return;
-
- if (logline.startsWith(DUMP_PATH_STRING))
- mDumpPath = logline.substring(DUMP_PATH_STRING.length());
-
- if (logline.startsWith(BROKEN_PIE_SUPPORT))
- mBrokenPie = true;
-
-
- // 1380308330.240114 18000002 Send to HTTP proxy: 'X-Online-Host: bla.blabla.com'
-
- Pattern p = Pattern.compile("(\\d+).(\\d+) ([0-9a-f])+ (.*)");
- Matcher m = p.matcher(logline);
- if(m.matches()) {
- int flags = Integer.parseInt(m.group(3),16);
- String msg = m.group(4);
- int logLevel = flags & 0x0F;
-
- VpnStatus.LogLevel logStatus = VpnStatus.LogLevel.INFO;
-
- if ((flags & M_FATAL) != 0)
- logStatus = VpnStatus.LogLevel.ERROR;
- else if ((flags & M_NONFATAL)!=0)
- logStatus = VpnStatus.LogLevel.WARNING;
- else if ((flags & M_WARN)!=0)
- logStatus = VpnStatus.LogLevel.WARNING;
- else if ((flags & M_DEBUG)!=0)
- logStatus = VpnStatus.LogLevel.VERBOSE;
-
- if (msg.startsWith("MANAGEMENT: CMD"))
- logLevel = Math.max(4, logLevel);
-
-
- VpnStatus.logMessageOpenVPN(logStatus,logLevel,msg);
- } else {
- VpnStatus.logInfo("P:" + logline);
- }
- }
-
-
- } catch (IOException e) {
- VpnStatus.logException("Error reading from output of OpenVPN process" , e);
- stopProcess();
- }
-
-
- }
-
- private String genLibraryPath(String[] argv, ProcessBuilder pb) {
- // Hack until I find a good way to get the real library path
- String applibpath = argv[0].replaceFirst("/cache/.*$" , "/lib");
-
- String lbpath = pb.environment().get("LD_LIBRARY_PATH");
- if(lbpath==null)
- lbpath = applibpath;
- else
- lbpath = applibpath + ":" + lbpath;
-
- if (!applibpath.equals(mNativeDir)) {
- lbpath = mNativeDir + ":" + lbpath;
- }
- return lbpath;
- }
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java
deleted file mode 100644
index 1c3b3362..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/OpenVpnManagementThread.java
+++ /dev/null
@@ -1,614 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-
-import android.content.Context;
-import android.content.SharedPreferences;
-import android.net.LocalServerSocket;
-import android.net.LocalSocket;
-import android.net.LocalSocketAddress;
-import android.os.ParcelFileDescriptor;
-import android.preference.PreferenceManager;
-import android.util.Log;
-
-import junit.framework.Assert;
-
-import org.jetbrains.annotations.NotNull;
-
-import java.io.FileDescriptor;
-import java.io.IOException;
-import java.io.InputStream;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.net.InetSocketAddress;
-import java.net.SocketAddress;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.LinkedList;
-import java.util.Locale;
-import java.util.Vector;
-
-import se.leap.bitmaskclient.BuildConfig;
-import se.leap.bitmaskclient.R;
-import de.blinkt.openvpn.VpnProfile;
-import de.blinkt.openvpn.core.VpnStatus.ConnectionStatus;
-
-public class OpenVpnManagementThread implements Runnable, OpenVPNManagement {
-
- private static final String TAG = "openvpn";
- private LocalSocket mSocket;
- private VpnProfile mProfile;
- private OpenVPNService mOpenVPNService;
- private LinkedList<FileDescriptor> mFDList = new LinkedList<FileDescriptor>();
- private LocalServerSocket mServerSocket;
- private boolean mReleaseHold = true;
- private boolean mWaitingForRelease = false;
- private long mLastHoldRelease = 0;
-
- private static final Vector<OpenVpnManagementThread> active = new Vector<OpenVpnManagementThread>();
- private LocalSocket mServerSocketLocal;
-
- private pauseReason lastPauseReason = pauseReason.noNetwork;
-
- public OpenVpnManagementThread(VpnProfile profile, OpenVPNService openVpnService) {
- mProfile = profile;
- mOpenVPNService = openVpnService;
-
-
- SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(openVpnService);
- boolean managemeNetworkState = prefs.getBoolean("netchangereconnect", true);
- if (managemeNetworkState)
- mReleaseHold = false;
-
- }
-
- public boolean openManagementInterface(@NotNull Context c) {
- // Could take a while to open connection
- int tries = 8;
-
- String socketName = (c.getCacheDir().getAbsolutePath() + "/" + "mgmtsocket");
- // The mServerSocketLocal is transferred to the LocalServerSocket, ignore warning
-
- mServerSocketLocal = new LocalSocket();
-
- while (tries > 0 && !mServerSocketLocal.isConnected()) {
- try {
- mServerSocketLocal.bind(new LocalSocketAddress(socketName,
- LocalSocketAddress.Namespace.FILESYSTEM));
- } catch (IOException e) {
- // wait 300 ms before retrying
- try {
- Thread.sleep(300);
- } catch (InterruptedException e1) {
- }
-
- }
- tries--;
- }
-
- try {
-
- mServerSocket = new LocalServerSocket(mServerSocketLocal.getFileDescriptor());
- return true;
- } catch (IOException e) {
- VpnStatus.logException(e);
- }
- return false;
-
-
- }
-
- public void managmentCommand(String cmd) {
- try {
- if (mSocket != null && mSocket.getOutputStream() != null) {
- mSocket.getOutputStream().write(cmd.getBytes());
- mSocket.getOutputStream().flush();
- }
- } catch (IOException e) {
- // Ignore socket stack traces
- }
- }
-
-
- @Override
- public void run() {
- byte[] buffer = new byte[2048];
- // mSocket.setSoTimeout(5); // Setting a timeout cannot be that bad
-
- String pendingInput = "";
- synchronized (active) {
- active.add(this);
- }
-
- try {
- // Wait for a client to connect
- mSocket = mServerSocket.accept();
- InputStream instream = mSocket.getInputStream();
- // Close the management socket after client connected
-
- mServerSocket.close();
- // Closing one of the two sockets also closes the other
- //mServerSocketLocal.close();
-
- while (true) {
- int numbytesread = instream.read(buffer);
- if (numbytesread == -1)
- return;
-
- FileDescriptor[] fds = null;
- try {
- fds = mSocket.getAncillaryFileDescriptors();
- } catch (IOException e) {
- VpnStatus.logException("Error reading fds from socket", e);
- }
- if (fds != null) {
- Collections.addAll(mFDList, fds);
- }
-
- String input = new String(buffer, 0, numbytesread, "UTF-8");
-
- pendingInput += input;
-
- pendingInput = processInput(pendingInput);
-
-
- }
- } catch (IOException e) {
- if (!e.getMessage().equals("socket closed") && !e.getMessage().equals("Connection reset by peer"))
- VpnStatus.logException(e);
- }
- synchronized (active) {
- active.remove(this);
- }
- }
-
- //! Hack O Rama 2000!
- private void protectFileDescriptor(FileDescriptor fd) {
- Exception exp;
- try {
- Method getInt = FileDescriptor.class.getDeclaredMethod("getInt$");
- int fdint = (Integer) getInt.invoke(fd);
-
- // You can even get more evil by parsing toString() and extract the int from that :)
-
- boolean result = mOpenVPNService.protect(fdint);
- if (!result)
- VpnStatus.logWarning("Could not protect VPN socket");
-
-
- //ParcelFileDescriptor pfd = ParcelFileDescriptor.fromFd(fdint);
- //pfd.close();
- NativeUtils.jniclose(fdint);
- return;
- } catch (NoSuchMethodException e) {
- exp = e;
- } catch (IllegalArgumentException e) {
- exp = e;
- } catch (IllegalAccessException e) {
- exp = e;
- } catch (InvocationTargetException e) {
- exp = e;
- } catch (NullPointerException e) {
- exp = e;
- }
-
- Log.d("Openvpn", "Failed to retrieve fd from socket: " + fd);
- VpnStatus.logException("Failed to retrieve fd from socket (" + fd + ")", exp);
- }
-
- private String processInput(String pendingInput) {
-
-
- while (pendingInput.contains("\n")) {
- String[] tokens = pendingInput.split("\\r?\\n", 2);
- processCommand(tokens[0]);
- if (tokens.length == 1)
- // No second part, newline was at the end
- pendingInput = "";
- else
- pendingInput = tokens[1];
- }
- return pendingInput;
- }
-
-
- private void processCommand(String command) {
- //Log.i(TAG, "Line from managment" + command);
-
-
- if (command.startsWith(">") && command.contains(":")) {
- String[] parts = command.split(":", 2);
- String cmd = parts[0].substring(1);
- String argument = parts[1];
-
-
- if (cmd.equals("INFO")) {
- /* Ignore greeting from management */
- return;
- } else if (cmd.equals("PASSWORD")) {
- processPWCommand(argument);
- } else if (cmd.equals("HOLD")) {
- handleHold();
- } else if (cmd.equals("NEED-OK")) {
- processNeedCommand(argument);
- } else if (cmd.equals("BYTECOUNT")) {
- processByteCount(argument);
- } else if (cmd.equals("STATE")) {
- processState(argument);
- } else if (cmd.equals("PROXY")) {
- processProxyCMD(argument);
- } else if (cmd.equals("LOG")) {
- processLogMessage(argument);
- } else if (cmd.equals("RSA_SIGN")) {
- processSignCommand(argument);
- } else {
- VpnStatus.logWarning("MGMT: Got unrecognized command" + command);
- Log.i(TAG, "Got unrecognized command" + command);
- }
- } else if (command.startsWith("SUCCESS:")) {
- /* Ignore this kind of message too */
- return;
- } else if (command.startsWith("PROTECTFD: ")) {
- FileDescriptor fdtoprotect = mFDList.pollFirst();
- if (fdtoprotect != null)
- protectFileDescriptor(fdtoprotect);
- } else {
- Log.i(TAG, "Got unrecognized line from managment" + command);
- VpnStatus.logWarning("MGMT: Got unrecognized line from management:" + command);
- }
- }
-
- private void processLogMessage(String argument) {
- String[] args = argument.split(",", 4);
- // 0 unix time stamp
- // 1 log level N,I,E etc.
- /*
- (b) zero or more message flags in a single string:
- I -- informational
- F -- fatal error
- N -- non-fatal error
- W -- warning
- D -- debug, and
- */
- // 2 log message
-
- Log.d("OpenVPN", argument);
-
- VpnStatus.LogLevel level;
- if (args[1].equals("I")) {
- level = VpnStatus.LogLevel.INFO;
- } else if (args[1].equals("W")) {
- level = VpnStatus.LogLevel.WARNING;
- } else if (args[1].equals("D")) {
- level = VpnStatus.LogLevel.VERBOSE;
- } else if (args[1].equals("F")) {
- level = VpnStatus.LogLevel.ERROR;
- } else {
- level = VpnStatus.LogLevel.INFO;
- }
-
- int ovpnlevel = Integer.parseInt(args[2]) & 0x0F;
- String msg = args[3];
-
- if (msg.startsWith("MANAGEMENT: CMD"))
- ovpnlevel = Math.max(4, ovpnlevel);
-
- VpnStatus.logMessageOpenVPN(level, ovpnlevel, msg);
- }
-
- private void handleHold() {
- if (mReleaseHold) {
- releaseHoldCmd();
- } else {
- mWaitingForRelease = true;
-
- VpnStatus.updateStatePause(lastPauseReason);
-
-
- }
- }
-
- private void releaseHoldCmd() {
- if ((System.currentTimeMillis() - mLastHoldRelease) < 5000) {
- try {
- Thread.sleep(3000);
- } catch (InterruptedException ignored) {
- }
-
- }
- mWaitingForRelease = false;
- mLastHoldRelease = System.currentTimeMillis();
- managmentCommand("hold release\n");
- managmentCommand("bytecount " + mBytecountInterval + "\n");
- managmentCommand("state on\n");
- //managmentCommand("log on all\n");
- }
-
- public void releaseHold() {
- mReleaseHold = true;
- if (mWaitingForRelease)
- releaseHoldCmd();
-
- }
-
- private void processProxyCMD(String argument) {
- String[] args = argument.split(",", 3);
- SocketAddress proxyaddr = ProxyDetection.detectProxy(mProfile);
-
-
- if (args.length >= 2) {
- String proto = args[1];
- if (proto.equals("UDP")) {
- proxyaddr = null;
- }
- }
-
- if (proxyaddr instanceof InetSocketAddress) {
- InetSocketAddress isa = (InetSocketAddress) proxyaddr;
-
- VpnStatus.logInfo(R.string.using_proxy, isa.getHostName(), isa.getPort());
-
- String proxycmd = String.format(Locale.ENGLISH, "proxy HTTP %s %d\n", isa.getHostName(), isa.getPort());
- managmentCommand(proxycmd);
- } else {
- managmentCommand("proxy NONE\n");
- }
-
- }
-
- private void processState(String argument) {
- String[] args = argument.split(",", 3);
- String currentstate = args[1];
-
- if (args[2].equals(",,"))
- VpnStatus.updateStateString(currentstate, "");
- else
- VpnStatus.updateStateString(currentstate, args[2]);
- }
-
-
- private void processByteCount(String argument) {
- // >BYTECOUNT:{BYTES_IN},{BYTES_OUT}
- int comma = argument.indexOf(',');
- long in = Long.parseLong(argument.substring(0, comma));
- long out = Long.parseLong(argument.substring(comma + 1));
-
- VpnStatus.updateByteCount(in, out);
-
- }
-
-
- private void processNeedCommand(String argument) {
- int p1 = argument.indexOf('\'');
- int p2 = argument.indexOf('\'', p1 + 1);
-
- String needed = argument.substring(p1 + 1, p2);
- String extra = argument.split(":", 2)[1];
-
- String status = "ok";
-
-
- if (needed.equals("PROTECTFD")) {
- FileDescriptor fdtoprotect = mFDList.pollFirst();
- protectFileDescriptor(fdtoprotect);
- } else if (needed.equals("DNSSERVER")) {
- mOpenVPNService.addDNS(extra);
- } else if (needed.equals("DNSDOMAIN")) {
- mOpenVPNService.setDomain(extra);
- } else if (needed.equals("ROUTE")) {
- String[] routeparts = extra.split(" ");
-
- /*
- buf_printf (&out, "%s %s %s dev %s", network, netmask, gateway, rgi->iface);
- else
- buf_printf (&out, "%s %s %s", network, netmask, gateway);
- */
-
- if (routeparts.length == 5) {
- if (BuildConfig.DEBUG) Assert.assertEquals("dev", routeparts[3]);
- mOpenVPNService.addRoute(routeparts[0], routeparts[1], routeparts[2], routeparts[4]);
- } else if (routeparts.length >= 3) {
- mOpenVPNService.addRoute(routeparts[0], routeparts[1], routeparts[2], null);
- } else {
- VpnStatus.logError("Unrecognized ROUTE cmd:" + Arrays.toString(routeparts) + " | " + argument);
- }
-
- } else if (needed.equals("ROUTE6")) {
- String[] routeparts = extra.split(" ");
- mOpenVPNService.addRoutev6(routeparts[0], routeparts[1]);
- } else if (needed.equals("IFCONFIG")) {
- String[] ifconfigparts = extra.split(" ");
- int mtu = Integer.parseInt(ifconfigparts[2]);
- mOpenVPNService.setLocalIP(ifconfigparts[0], ifconfigparts[1], mtu, ifconfigparts[3]);
- } else if (needed.equals("IFCONFIG6")) {
- mOpenVPNService.setLocalIPv6(extra);
-
- } else if (needed.equals("PERSIST_TUN_ACTION")) {
- // check if tun cfg stayed the same
- status = mOpenVPNService.getTunReopenStatus();
- } else if (needed.equals("OPENTUN")) {
- if (sendTunFD(needed, extra))
- return;
- else
- status = "cancel";
- // This not nice or anything but setFileDescriptors accepts only FilDescriptor class :(
-
- } else {
- Log.e(TAG, "Unkown needok command " + argument);
- return;
- }
-
- String cmd = String.format("needok '%s' %s\n", needed, status);
- managmentCommand(cmd);
- }
-
- private boolean sendTunFD(String needed, String extra) {
- Exception exp;
- if (!extra.equals("tun")) {
- // We only support tun
- VpnStatus.logError(String.format("Device type %s requested, but only tun is possible with the Android API, sorry!", extra));
-
- return false;
- }
- ParcelFileDescriptor pfd = mOpenVPNService.openTun();
- if (pfd == null)
- return false;
-
- Method setInt;
- int fdint = pfd.getFd();
- try {
- setInt = FileDescriptor.class.getDeclaredMethod("setInt$", int.class);
- FileDescriptor fdtosend = new FileDescriptor();
-
- setInt.invoke(fdtosend, fdint);
-
- FileDescriptor[] fds = {fdtosend};
- mSocket.setFileDescriptorsForSend(fds);
-
- // Trigger a send so we can close the fd on our side of the channel
- // The API documentation fails to mention that it will not reset the file descriptor to
- // be send and will happily send the file descriptor on every write ...
- String cmd = String.format("needok '%s' %s\n", needed, "ok");
- managmentCommand(cmd);
-
- // Set the FileDescriptor to null to stop this mad behavior
- mSocket.setFileDescriptorsForSend(null);
-
- pfd.close();
-
- return true;
- } catch (NoSuchMethodException e) {
- exp = e;
- } catch (IllegalArgumentException e) {
- exp = e;
- } catch (IllegalAccessException e) {
- exp = e;
- } catch (InvocationTargetException e) {
- exp = e;
- } catch (IOException e) {
- exp = e;
- }
- VpnStatus.logException("Could not send fd over socket", exp);
-
- return false;
- }
-
- private void processPWCommand(String argument) {
- //argument has the form Need 'Private Key' password
- // or ">PASSWORD:Verification Failed: '%s' ['%s']"
- String needed;
-
-
- try {
-
- int p1 = argument.indexOf('\'');
- int p2 = argument.indexOf('\'', p1 + 1);
- needed = argument.substring(p1 + 1, p2);
- if (argument.startsWith("Verification Failed")) {
- proccessPWFailed(needed, argument.substring(p2 + 1));
- return;
- }
- } catch (StringIndexOutOfBoundsException sioob) {
- VpnStatus.logError("Could not parse management Password command: " + argument);
- return;
- }
-
- String pw = null;
-
- if (needed.equals("Private Key")) {
- pw = mProfile.getPasswordPrivateKey();
- } else if (needed.equals("Auth")) {
- String usercmd = String.format("username '%s' %s\n",
- needed, VpnProfile.openVpnEscape(mProfile.mUsername));
- managmentCommand(usercmd);
- pw = mProfile.getPasswordAuth();
- }
- if (pw != null) {
- String cmd = String.format("password '%s' %s\n", needed, VpnProfile.openVpnEscape(pw));
- managmentCommand(cmd);
- } else {
- VpnStatus.logError(String.format("Openvpn requires Authentication type '%s' but no password/key information available", needed));
- }
-
- }
-
-
- private void proccessPWFailed(String needed, String args) {
- VpnStatus.updateStateString("AUTH_FAILED", needed + args, R.string.state_auth_failed, ConnectionStatus.LEVEL_AUTH_FAILED);
- }
-
-
- private static boolean stopOpenVPN() {
- synchronized (active) {
- boolean sendCMD = false;
- for (OpenVpnManagementThread mt : active) {
- mt.managmentCommand("signal SIGINT\n");
- sendCMD = true;
- try {
- if (mt.mSocket != null)
- mt.mSocket.close();
- } catch (IOException e) {
- // Ignore close error on already closed socket
- }
- }
- return sendCMD;
- }
- }
-
- @Override
- public void networkChange() {
- if (!mWaitingForRelease)
- managmentCommand("network-change\n");
- }
-
- public void signalusr1() {
- mReleaseHold = false;
-
- if (!mWaitingForRelease)
- managmentCommand("signal SIGUSR1\n");
- else
- // If signalusr1 is called update the state string
- // if there is another for stopping
- VpnStatus.updateStatePause(lastPauseReason);
- }
-
- public void reconnect() {
- signalusr1();
- releaseHold();
- }
-
- private void processSignCommand(String b64data) {
-
- String signed_string = mProfile.getSignedData(b64data);
- if (signed_string == null) {
- managmentCommand("rsa-sig\n");
- managmentCommand("\nEND\n");
- stopOpenVPN();
- return;
- }
- managmentCommand("rsa-sig\n");
- managmentCommand(signed_string);
- managmentCommand("\nEND\n");
- }
-
- @Override
- public void pause(pauseReason reason) {
- lastPauseReason = reason;
- signalusr1();
- }
-
- @Override
- public void resume() {
- releaseHold();
- /* Reset the reason why we are disconnected */
- lastPauseReason = pauseReason.noNetwork;
- }
-
- @Override
- public boolean stopVPN() {
- return stopOpenVPN();
- }
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/PRNGFixes.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/PRNGFixes.java
deleted file mode 100644
index a788426a..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/PRNGFixes.java
+++ /dev/null
@@ -1,339 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;/*
- * This software is provided 'as-is', without any express or implied
- * warranty. In no event will Google be held liable for any damages
- * arising from the use of this software.
- *
- * Permission is granted to anyone to use this software for any purpose,
- * including commercial applications, and to alter it and redistribute it
- * freely, as long as the origin is not misrepresented.
- */
-
-import android.os.Build;
-import android.os.Process;
-import android.util.Log;
-
-import java.io.ByteArrayOutputStream;
-import java.io.DataInputStream;
-import java.io.DataOutputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.UnsupportedEncodingException;
-import java.security.NoSuchAlgorithmException;
-import java.security.Provider;
-import java.security.SecureRandom;
-import java.security.SecureRandomSpi;
-import java.security.Security;
-
-/**
- * Fixes for the output of the default PRNG having low entropy.
- *
- * The fixes need to be applied via {@link #apply()} before any use of Java
- * Cryptography Architecture primitives. A good place to invoke them is in the
- * application's {@code onCreate}.
- */
-public final class PRNGFixes {
-
- private static final int VERSION_CODE_JELLY_BEAN = 16;
- private static final int VERSION_CODE_JELLY_BEAN_MR2 = 18;
- private static final byte[] BUILD_FINGERPRINT_AND_DEVICE_SERIAL =
- getBuildFingerprintAndDeviceSerial();
-
- /** Hidden constructor to prevent instantiation. */
- private PRNGFixes() {}
-
- /**
- * Applies all fixes.
- *
- * @throws SecurityException if a fix is needed but could not be applied.
- */
- public static void apply() {
- applyOpenSSLFix();
- installLinuxPRNGSecureRandom();
- }
-
- /**
- * Applies the fix for OpenSSL PRNG having low entropy. Does nothing if the
- * fix is not needed.
- *
- * @throws SecurityException if the fix is needed but could not be applied.
- */
- private static void applyOpenSSLFix() throws SecurityException {
- if ((Build.VERSION.SDK_INT < VERSION_CODE_JELLY_BEAN)
- || (Build.VERSION.SDK_INT > VERSION_CODE_JELLY_BEAN_MR2)) {
- // No need to apply the fix
- return;
- }
-
- try {
- // Mix in the device- and invocation-specific seed.
- Class.forName("org.apache.harmony.xnet.provider.jsse.NativeCrypto")
- .getMethod("RAND_seed", byte[].class)
- .invoke(null, generateSeed());
-
- // Mix output of Linux PRNG into OpenSSL's PRNG
- int bytesRead = (Integer) Class.forName(
- "org.apache.harmony.xnet.provider.jsse.NativeCrypto")
- .getMethod("RAND_load_file", String.class, long.class)
- .invoke(null, "/dev/urandom", 1024);
- if (bytesRead != 1024) {
- throw new IOException(
- "Unexpected number of bytes read from Linux PRNG: "
- + bytesRead);
- }
- } catch (Exception e) {
- throw new SecurityException("Failed to seed OpenSSL PRNG", e);
- }
- }
-
- /**
- * Installs a Linux PRNG-backed {@code SecureRandom} implementation as the
- * default. Does nothing if the implementation is already the default or if
- * there is not need to install the implementation.
- *
- * @throws SecurityException if the fix is needed but could not be applied.
- */
- private static void installLinuxPRNGSecureRandom()
- throws SecurityException {
- if (Build.VERSION.SDK_INT > VERSION_CODE_JELLY_BEAN_MR2) {
- // No need to apply the fix
- return;
- }
-
- // Install a Linux PRNG-based SecureRandom implementation as the
- // default, if not yet installed.
- Provider[] secureRandomProviders =
- Security.getProviders("SecureRandom.SHA1PRNG");
- if ((secureRandomProviders == null)
- || (secureRandomProviders.length < 1)
- || (!LinuxPRNGSecureRandomProvider.class.equals(
- secureRandomProviders[0].getClass()))) {
- Security.insertProviderAt(new LinuxPRNGSecureRandomProvider(), 1);
- }
-
- // Assert that new SecureRandom() and
- // SecureRandom.getInstance("SHA1PRNG") return a SecureRandom backed
- // by the Linux PRNG-based SecureRandom implementation.
- SecureRandom rng1 = new SecureRandom();
- if (!LinuxPRNGSecureRandomProvider.class.equals(
- rng1.getProvider().getClass())) {
- throw new SecurityException(
- "new SecureRandom() backed by wrong Provider: "
- + rng1.getProvider().getClass());
- }
-
- SecureRandom rng2;
- try {
- rng2 = SecureRandom.getInstance("SHA1PRNG");
- } catch (NoSuchAlgorithmException e) {
- throw new SecurityException("SHA1PRNG not available", e);
- }
- if (!LinuxPRNGSecureRandomProvider.class.equals(
- rng2.getProvider().getClass())) {
- throw new SecurityException(
- "SecureRandom.getInstance(\"SHA1PRNG\") backed by wrong"
- + " Provider: " + rng2.getProvider().getClass());
- }
- }
-
- /**
- * {@code Provider} of {@code SecureRandom} engines which pass through
- * all requests to the Linux PRNG.
- */
- private static class LinuxPRNGSecureRandomProvider extends Provider {
-
- public LinuxPRNGSecureRandomProvider() {
- super("LinuxPRNG",
- 1.0,
- "A Linux-specific random number provider that uses"
- + " /dev/urandom");
- // Although /dev/urandom is not a SHA-1 PRNG, some apps
- // explicitly request a SHA1PRNG SecureRandom and we thus need to
- // prevent them from getting the default implementation whose output
- // may have low entropy.
- put("SecureRandom.SHA1PRNG", LinuxPRNGSecureRandom.class.getName());
- put("SecureRandom.SHA1PRNG ImplementedIn", "Software");
- }
- }
-
- /**
- * {@link SecureRandomSpi} which passes all requests to the Linux PRNG
- * ({@code /dev/urandom}).
- */
- public static class LinuxPRNGSecureRandom extends SecureRandomSpi {
-
- /*
- * IMPLEMENTATION NOTE: Requests to generate bytes and to mix in a seed
- * are passed through to the Linux PRNG (/dev/urandom). Instances of
- * this class seed themselves by mixing in the current time, PID, UID,
- * build fingerprint, and hardware serial number (where available) into
- * Linux PRNG.
- *
- * Concurrency: Read requests to the underlying Linux PRNG are
- * serialized (on sLock) to ensure that multiple threads do not get
- * duplicated PRNG output.
- */
-
- private static final File URANDOM_FILE = new File("/dev/urandom");
-
- private static final Object sLock = new Object();
-
- /**
- * Input stream for reading from Linux PRNG or {@code null} if not yet
- * opened.
- *
- * @GuardedBy("sLock")
- */
- private static DataInputStream sUrandomIn;
-
- /**
- * Output stream for writing to Linux PRNG or {@code null} if not yet
- * opened.
- *
- * @GuardedBy("sLock")
- */
- private static OutputStream sUrandomOut;
-
- /**
- * Whether this engine instance has been seeded. This is needed because
- * each instance needs to seed itself if the client does not explicitly
- * seed it.
- */
- private boolean mSeeded;
-
- @Override
- protected void engineSetSeed(byte[] bytes) {
- try {
- OutputStream out;
- synchronized (sLock) {
- out = getUrandomOutputStream();
- }
- out.write(bytes);
- out.flush();
- } catch (IOException e) {
- // On a small fraction of devices /dev/urandom is not writable.
- // Log and ignore.
- Log.w(PRNGFixes.class.getSimpleName(),
- "Failed to mix seed into " + URANDOM_FILE);
- } finally {
- mSeeded = true;
- }
- }
-
- @Override
- protected void engineNextBytes(byte[] bytes) {
- if (!mSeeded) {
- // Mix in the device- and invocation-specific seed.
- engineSetSeed(generateSeed());
- }
-
- try {
- DataInputStream in;
- synchronized (sLock) {
- in = getUrandomInputStream();
- }
- synchronized (in) {
- in.readFully(bytes);
- }
- } catch (IOException e) {
- throw new SecurityException(
- "Failed to read from " + URANDOM_FILE, e);
- }
- }
-
- @Override
- protected byte[] engineGenerateSeed(int size) {
- byte[] seed = new byte[size];
- engineNextBytes(seed);
- return seed;
- }
-
- private DataInputStream getUrandomInputStream() {
- synchronized (sLock) {
- if (sUrandomIn == null) {
- // NOTE: Consider inserting a BufferedInputStream between
- // DataInputStream and FileInputStream if you need higher
- // PRNG output performance and can live with future PRNG
- // output being pulled into this process prematurely.
- try {
- sUrandomIn = new DataInputStream(
- new FileInputStream(URANDOM_FILE));
- } catch (IOException e) {
- throw new SecurityException("Failed to open "
- + URANDOM_FILE + " for reading", e);
- }
- }
- return sUrandomIn;
- }
- }
-
- private OutputStream getUrandomOutputStream() throws IOException {
- synchronized (sLock) {
- if (sUrandomOut == null) {
- sUrandomOut = new FileOutputStream(URANDOM_FILE);
- }
- return sUrandomOut;
- }
- }
- }
-
- /**
- * Generates a device- and invocation-specific seed to be mixed into the
- * Linux PRNG.
- */
- private static byte[] generateSeed() {
- try {
- ByteArrayOutputStream seedBuffer = new ByteArrayOutputStream();
- DataOutputStream seedBufferOut =
- new DataOutputStream(seedBuffer);
- seedBufferOut.writeLong(System.currentTimeMillis());
- seedBufferOut.writeLong(System.nanoTime());
- seedBufferOut.writeInt(Process.myPid());
- seedBufferOut.writeInt(Process.myUid());
- seedBufferOut.write(BUILD_FINGERPRINT_AND_DEVICE_SERIAL);
- seedBufferOut.close();
- return seedBuffer.toByteArray();
- } catch (IOException e) {
- throw new SecurityException("Failed to generate seed", e);
- }
- }
-
- /**
- * Gets the hardware serial number of this device.
- *
- * @return serial number or {@code null} if not available.
- */
- private static String getDeviceSerialNumber() {
- // We're using the Reflection API because Build.SERIAL is only available
- // since API Level 9 (Gingerbread, Android 2.3).
- try {
- return (String) Build.class.getField("SERIAL").get(null);
- } catch (Exception ignored) {
- return null;
- }
- }
-
- private static byte[] getBuildFingerprintAndDeviceSerial() {
- StringBuilder result = new StringBuilder();
- String fingerprint = Build.FINGERPRINT;
- if (fingerprint != null) {
- result.append(fingerprint);
- }
- String serial = getDeviceSerialNumber();
- if (serial != null) {
- result.append(serial);
- }
- try {
- return result.toString().getBytes("UTF-8");
- } catch (UnsupportedEncodingException e) {
- throw new RuntimeException("UTF-8 encoding not supported");
- }
- }
-} \ No newline at end of file
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ProfileManager.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ProfileManager.java
deleted file mode 100644
index 1ebc0a57..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ProfileManager.java
+++ /dev/null
@@ -1,229 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
-import java.io.StreamCorruptedException;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Set;
-
-import de.blinkt.openvpn.VpnProfile;
-
-import android.app.Activity;
-import android.content.Context;
-import android.content.SharedPreferences;
-import android.content.SharedPreferences.Editor;
-import android.preference.PreferenceManager;
-
-public class ProfileManager {
- private static final String PREFS_NAME = "VPNList";
-
-
-
- private static final String LAST_CONNECTED_PROFILE = "lastConnectedProfile";
-
-
-
- private static ProfileManager instance;
-
-
-
- private static VpnProfile mLastConnectedVpn=null;
- private HashMap<String,VpnProfile> profiles=new HashMap<String, VpnProfile>();
- private static VpnProfile tmpprofile=null;
-
-
- private static VpnProfile get(String key) {
- if (tmpprofile!=null && tmpprofile.getUUIDString().equals(key))
- return tmpprofile;
-
- if(instance==null)
- return null;
- return instance.profiles.get(key);
-
- }
-
-
-
- private ProfileManager() { }
-
- private static void checkInstance(Context context) {
- if(instance == null) {
- instance = new ProfileManager();
- instance.loadVPNList(context);
- }
- }
-
- synchronized public static ProfileManager getInstance(Context context) {
- checkInstance(context);
- return instance;
- }
-
- public static void setConntectedVpnProfileDisconnected(Context c) {
- SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(c);
- Editor prefsedit = prefs.edit();
- prefsedit.putString(LAST_CONNECTED_PROFILE, null);
- prefsedit.apply();
-
- }
-
- public static void setConnectedVpnProfile(Context c, VpnProfile connectedrofile) {
- SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(c);
- Editor prefsedit = prefs.edit();
-
- prefsedit.putString(LAST_CONNECTED_PROFILE, connectedrofile.getUUIDString());
- prefsedit.apply();
- mLastConnectedVpn=connectedrofile;
-
- }
-
- public static VpnProfile getLastConnectedProfile(Context c, boolean onBoot) {
- SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(c);
-
- boolean useStartOnBoot = prefs.getBoolean("restartvpnonboot", false);
-
- if (onBoot && !useStartOnBoot)
- return null;
-
- String lastConnectedProfile = prefs.getString(LAST_CONNECTED_PROFILE, null);
- if(lastConnectedProfile!=null)
- return get(c, lastConnectedProfile);
- else
- return null;
- }
-
-
-
-
- public Collection<VpnProfile> getProfiles() {
- return profiles.values();
- }
-
- public VpnProfile getProfileByName(String name) {
- for (VpnProfile vpnp : profiles.values()) {
- if(vpnp.getName().equals(name)) {
- return vpnp;
- }
- }
- return null;
- }
-
- public void saveProfileList(Context context) {
- SharedPreferences sharedprefs = context.getSharedPreferences(PREFS_NAME,Activity.MODE_PRIVATE);
- Editor editor = sharedprefs.edit();
- editor.putStringSet("vpnlist", profiles.keySet());
-
- // For reasing I do not understand at all
- // Android saves my prefs file only one time
- // if I remove the debug code below :(
- int counter = sharedprefs.getInt("counter", 0);
- editor.putInt("counter", counter+1);
- editor.apply();
-
- }
-
- public void addProfile(VpnProfile profile) {
- profiles.put(profile.getUUID().toString(),profile);
-
- }
-
- public static void setTemporaryProfile(VpnProfile tmp) {
- ProfileManager.tmpprofile = tmp;
- }
-
-
- public void saveProfile(Context context,VpnProfile profile) {
- // First let basic settings save its state
-
- ObjectOutputStream vpnfile;
- try {
- vpnfile = new ObjectOutputStream(context.openFileOutput((profile.getUUID().toString() + ".vp"),Activity.MODE_PRIVATE));
-
- vpnfile.writeObject(profile);
- vpnfile.flush();
- vpnfile.close();
- } catch (FileNotFoundException e) {
-
- VpnStatus.logException("saving VPN profile", e);
- throw new RuntimeException(e);
- } catch (IOException e) {
- VpnStatus.logException("saving VPN profile", e);
- throw new RuntimeException(e);
- }
- }
-
-
- private void loadVPNList(Context context) {
- profiles = new HashMap<String, VpnProfile>();
- SharedPreferences listpref = context.getSharedPreferences(PREFS_NAME,Activity.MODE_PRIVATE);
- Set<String> vlist = listpref.getStringSet("vpnlist", null);
- Exception exp =null;
- if(vlist==null){
- vlist = new HashSet<String>();
- }
-
- for (String vpnentry : vlist) {
- try {
- ObjectInputStream vpnfile = new ObjectInputStream(context.openFileInput(vpnentry + ".vp"));
- VpnProfile vp = ((VpnProfile) vpnfile.readObject());
-
- // Sanity check
- if(vp==null || vp.mName==null || vp.getUUID()==null)
- continue;
-
- vp.upgradeProfile();
- profiles.put(vp.getUUID().toString(), vp);
-
- } catch (StreamCorruptedException e) {
- exp=e;
- } catch (FileNotFoundException e) {
- exp=e;
- } catch (IOException e) {
- exp=e;
- } catch (ClassNotFoundException e) {
- exp=e;
- }
- if(exp!=null) {
- VpnStatus.logException("Loading VPN List",exp);
- }
- }
- }
-
- public int getNumberOfProfiles() {
- return profiles.size();
- }
-
-
-
- public void removeProfile(Context context,VpnProfile profile) {
- String vpnentry = profile.getUUID().toString();
- profiles.remove(vpnentry);
- saveProfileList(context);
- context.deleteFile(vpnentry + ".vp");
- if(mLastConnectedVpn==profile)
- mLastConnectedVpn=null;
-
- }
-
-
-
- public static VpnProfile get(Context context, String profileUUID) {
- checkInstance(context);
- return get(profileUUID);
- }
-
-
-
- public static VpnProfile getLastConnectedVpn() {
- return mLastConnectedVpn;
- }
-
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ProxyDetection.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ProxyDetection.java
deleted file mode 100644
index 6e2abb13..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/ProxyDetection.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-
-import java.net.InetSocketAddress;
-import java.net.MalformedURLException;
-import java.net.Proxy;
-import java.net.ProxySelector;
-import java.net.SocketAddress;
-import java.net.URISyntaxException;
-import java.net.URL;
-import java.util.List;
-
-import se.leap.bitmaskclient.R;
-import de.blinkt.openvpn.VpnProfile;
-
-public class ProxyDetection {
- static SocketAddress detectProxy(VpnProfile vp) {
- // Construct a new url with https as protocol
- try {
- URL url = new URL(String.format("https://%s:%s",vp.mServerName,vp.mServerPort));
- Proxy proxy = getFirstProxy(url);
-
- if(proxy==null)
- return null;
- SocketAddress addr = proxy.address();
- if (addr instanceof InetSocketAddress) {
- return addr;
- }
-
- } catch (MalformedURLException e) {
- VpnStatus.logError(R.string.getproxy_error, e.getLocalizedMessage());
- } catch (URISyntaxException e) {
- VpnStatus.logError(R.string.getproxy_error, e.getLocalizedMessage());
- }
- return null;
- }
-
- static Proxy getFirstProxy(URL url) throws URISyntaxException {
- System.setProperty("java.net.useSystemProxies", "true");
-
- List<Proxy> proxylist = ProxySelector.getDefault().select(url.toURI());
-
-
- if (proxylist != null) {
- for (Proxy proxy: proxylist) {
- SocketAddress addr = proxy.address();
-
- if (addr != null) {
- return proxy;
- }
- }
-
- }
- return null;
- }
-} \ No newline at end of file
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java
deleted file mode 100644
index 73ed05bc..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-
-import android.annotation.TargetApi;
-import android.content.Context;
-import android.content.Intent;
-import android.content.pm.ApplicationInfo;
-import android.os.Build;
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.Vector;
-
-import se.leap.bitmaskclient.R;
-import de.blinkt.openvpn.VpnProfile;
-
-public class VPNLaunchHelper {
- private static final String MININONPIEVPN = "nopievpn";
- private static final String MINIPIEVPN = "pievpn";
- private static final String OVPNCONFIGFILE = "android.conf";
-
-
-
- static private String writeMiniVPN(Context context) {
- String[] abis;
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
- abis = getSupportedAbisLollipop();
- else
- abis = new String[]{Build.CPU_ABI, Build.CPU_ABI2};
-
- for (String abi: abis) {
-
- File mvpnout = new File(context.getCacheDir(), getMiniVPNExecutableName() + "." + abi);
- if ((mvpnout.exists() && mvpnout.canExecute()) || writeMiniVPNBinary(context, abi, mvpnout)) {
- return mvpnout.getPath();
- }
- }
-
- return null;
- }
-
- @TargetApi(Build.VERSION_CODES.LOLLIPOP)
- private static String[] getSupportedAbisLollipop() {
- return Build.SUPPORTED_ABIS;
- }
-
- private static String getMiniVPNExecutableName()
- {
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN)
- return MINIPIEVPN;
- else
- return MININONPIEVPN;
- }
-
-
- public static String[] replacePieWithNoPie(String[] mArgv)
- {
- mArgv[0] = mArgv[0].replace(MINIPIEVPN, MININONPIEVPN);
- return mArgv;
- }
-
-
- public static String[] buildOpenvpnArgv(Context c) {
- Vector<String> args = new Vector<String>();
-
- // Add fixed paramenters
- //args.add("/data/data/de.blinkt.openvpn/lib/openvpn");
- args.add(writeMiniVPN(c));
-
- args.add("--config");
- args.add(c.getCacheDir().getAbsolutePath() + "/" + OVPNCONFIGFILE);
-
- return args.toArray(new String[args.size()]);
- }
-
- private static boolean writeMiniVPNBinary(Context context, String abi, File mvpnout) {
- try {
- InputStream mvpn;
-
- try {
- mvpn = context.getAssets().open(getMiniVPNExecutableName() + "." + abi);
- }
- catch (IOException errabi) {
- VpnStatus.logInfo("Failed getting assets for archicture " + abi);
- return false;
- }
-
-
- FileOutputStream fout = new FileOutputStream(mvpnout);
-
- byte buf[]= new byte[4096];
-
- int lenread = mvpn.read(buf);
- while(lenread> 0) {
- fout.write(buf, 0, lenread);
- lenread = mvpn.read(buf);
- }
- fout.close();
-
- if(!mvpnout.setExecutable(true)) {
- VpnStatus.logError("Failed to make OpenVPN executable");
- return false;
- }
-
-
- return true;
- } catch (IOException e) {
- VpnStatus.logException(e);
- return false;
- }
-
- }
-
-
- public static void startOpenVpn(VpnProfile startprofile, Context context) {
- if(writeMiniVPN(context)==null) {
- VpnStatus.logError("Error writing minivpn binary");
- return;
- }
-
- VpnStatus.logInfo(R.string.building_configration);
-
- Intent startVPN = startprofile.prepareStartService(context);
- if(startVPN!=null)
- context.startService(startVPN);
-
- }
-
- public static String getConfigFilePath(Context context) {
- return context.getCacheDir().getAbsolutePath() + "/" + OVPNCONFIGFILE;
- }
-
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java
deleted file mode 100644
index ffc8097d..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/VpnStatus.java
+++ /dev/null
@@ -1,549 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-
-import android.annotation.SuppressLint;
-import android.content.Context;
-import android.content.pm.PackageInfo;
-import android.content.pm.PackageManager;
-import android.content.pm.PackageManager.NameNotFoundException;
-import android.content.pm.Signature;
-import android.os.Build;
-import android.os.Parcel;
-import android.os.Parcelable;
-import se.leap.bitmaskclient.R;
-
-import java.io.ByteArrayInputStream;
-import java.io.FileNotFoundException;
-import java.io.PrintWriter;
-import java.io.StringWriter;
-import java.security.MessageDigest;
-import java.security.NoSuchAlgorithmException;
-import java.security.cert.CertificateException;
-import java.security.cert.CertificateFactory;
-import java.security.cert.X509Certificate;
-import java.util.Arrays;
-import java.util.FormatFlagsConversionMismatchException;
-import java.util.LinkedList;
-import java.util.Locale;
-import java.util.UnknownFormatConversionException;
-import java.util.Vector;
-
-public class VpnStatus {
-
-
- public static LinkedList<LogItem> logbuffer;
-
- private static Vector<LogListener> logListener;
- private static Vector<StateListener> stateListener;
- private static Vector<ByteCountListener> byteCountListener;
-
- private static String mLaststatemsg="";
-
- private static String mLaststate = "NOPROCESS";
-
- private static int mLastStateresid=R.string.state_noprocess;
-
- private static long mlastByteCount[]={0,0,0,0};
-
- public static void logException(LogLevel ll, String context, Exception e) {
- StringWriter sw = new StringWriter();
- e.printStackTrace(new PrintWriter(sw));
- LogItem li;
- if (context !=null) {
- li = new LogItem(ll, R.string.unhandled_exception_context, e.getMessage(), sw.toString(), context);
- } else {
- li = new LogItem(ll, R.string.unhandled_exception, e.getMessage(), sw.toString());
- }
- newLogItem(li);
- }
-
- public static void logException(Exception e) {
- logException(LogLevel.ERROR, null, e);
- }
-
- public static void logException(String context, Exception e) {
- logException(LogLevel.ERROR, context, e);
- }
-
- private static final int MAXLOGENTRIES = 1000;
-
- public static final String MANAGMENT_PREFIX = "M:";
-
- public enum ConnectionStatus {
- LEVEL_CONNECTED,
- LEVEL_VPNPAUSED,
- LEVEL_CONNECTING_SERVER_REPLIED,
- LEVEL_CONNECTING_NO_SERVER_REPLY_YET,
- LEVEL_NONETWORK,
- LEVEL_NOTCONNECTED,
- LEVEL_AUTH_FAILED,
- LEVEL_WAITING_FOR_USER_INPUT,
- UNKNOWN_LEVEL
- }
-
- public enum LogLevel {
- INFO(2),
- ERROR(-2),
- WARNING(1),
- VERBOSE(3),
- DEBUG(4);
-
- protected int mValue;
- LogLevel(int value) {
- mValue = value;
- }
-
- public int getInt() {
- return mValue;
- }
-
- public static LogLevel getEnumByValue(int value) {
- switch (value) {
- case 1: return INFO;
- case 2: return ERROR;
- case 3: return WARNING;
- case 4: return DEBUG;
- default: return null;
- }
- }
- }
-
- // keytool -printcert -jarfile de.blinkt.openvpn_85.apk
- public static final byte[] officalkey = {-58, -42, -44, -106, 90, -88, -87, -88, -52, -124, 84, 117, 66, 79, -112, -111, -46, 86, -37, 109};
- public static final byte[] officaldebugkey = {-99, -69, 45, 71, 114, -116, 82, 66, -99, -122, 50, -70, -56, -111, 98, -35, -65, 105, 82, 43};
- public static final byte[] amazonkey = {-116, -115, -118, -89, -116, -112, 120, 55, 79, -8, -119, -23, 106, -114, -85, -56, -4, 105, 26, -57};
- public static final byte[] fdroidkey = {-92, 111, -42, -46, 123, -96, -60, 79, -27, -31, 49, 103, 11, -54, -68, -27, 17, 2, 121, 104};
-
-
- private static ConnectionStatus mLastLevel=ConnectionStatus.LEVEL_NOTCONNECTED;
-
- static {
- logbuffer = new LinkedList<LogItem>();
- logListener = new Vector<VpnStatus.LogListener>();
- stateListener = new Vector<VpnStatus.StateListener>();
- byteCountListener = new Vector<VpnStatus.ByteCountListener>();
- logInformation();
- }
-
-
- public static class LogItem implements Parcelable {
-
-
- private Object [] mArgs = null;
- private String mMessage = null;
- private int mRessourceId;
- // Default log priority
- LogLevel mLevel = LogLevel.INFO;
- private long logtime = System.currentTimeMillis();
- private int mVerbosityLevel = -1;
-
- private LogItem(int ressourceId, Object[] args) {
- mRessourceId = ressourceId;
- mArgs = args;
- }
-
- public LogItem(LogLevel level, int verblevel, String message) {
- mMessage=message;
- mLevel = level;
- mVerbosityLevel = verblevel;
- }
-
- @Override
- public int describeContents() {
- return 0;
- }
-
-
- @Override
- public void writeToParcel(Parcel dest, int flags) {
- dest.writeArray(mArgs);
- dest.writeString(mMessage);
- dest.writeInt(mRessourceId);
- dest.writeInt(mLevel.getInt());
- dest.writeInt(mVerbosityLevel);
-
- dest.writeLong(logtime);
- }
-
- public LogItem(Parcel in) {
- mArgs = in.readArray(Object.class.getClassLoader());
- mMessage = in.readString();
- mRessourceId = in.readInt();
- mLevel = LogLevel.getEnumByValue(in.readInt());
- mVerbosityLevel = in.readInt();
- logtime = in.readLong();
- }
-
- public static final Parcelable.Creator<LogItem> CREATOR
- = new Parcelable.Creator<LogItem>() {
- public LogItem createFromParcel(Parcel in) {
- return new LogItem(in);
- }
-
- public LogItem[] newArray(int size) {
- return new LogItem[size];
- }
- };
-
- public LogItem(LogLevel loglevel,int ressourceId, Object... args) {
- mRessourceId = ressourceId;
- mArgs =args;
- mLevel = loglevel;
- }
-
-
- public LogItem(LogLevel loglevel, String msg) {
- mLevel = loglevel;
- mMessage = msg;
- }
-
-
- public LogItem(LogLevel loglevel, int ressourceId) {
- mRessourceId =ressourceId;
- mLevel = loglevel;
- }
-
- public String getString(Context c) {
- try {
- if(mMessage !=null) {
- return mMessage;
- } else {
- if(c!=null) {
- if(mRessourceId==R.string.mobile_info)
- return getMobileInfoString(c);
- if(mArgs == null)
- return c.getString(mRessourceId);
- else
- return c.getString(mRessourceId,mArgs);
- } else {
- String str = String.format(Locale.ENGLISH,"Log (no context) resid %d", mRessourceId);
- if(mArgs !=null)
- for(Object o:mArgs)
- str += "|" + o.toString();
-
- return str;
- }
- }
- } catch (UnknownFormatConversionException e) {
- if (c != null)
- throw new UnknownFormatConversionException(e.getLocalizedMessage() + getString(null));
- else
- throw e;
- } catch (java.util.FormatFlagsConversionMismatchException e) {
- if (c != null)
- throw new FormatFlagsConversionMismatchException(e.getLocalizedMessage() + getString(null),e.getConversion());
- else
- throw e;
- }
-
- }
-
- public LogLevel getLogLevel()
- {
- return mLevel;
- }
-
- // The lint is wrong here
- @SuppressLint("StringFormatMatches")
- private String getMobileInfoString(Context c) {
- c.getPackageManager();
- String apksign="error getting package signature";
-
- String version="error getting version";
- try {
- Signature raw = c.getPackageManager().getPackageInfo(c.getPackageName(), PackageManager.GET_SIGNATURES).signatures[0];
- CertificateFactory cf = CertificateFactory.getInstance("X.509");
- X509Certificate cert = (X509Certificate) cf.generateCertificate(new ByteArrayInputStream(raw.toByteArray()));
- MessageDigest md = MessageDigest.getInstance("SHA-1");
- byte[] der = cert.getEncoded();
- md.update(der);
- byte[] digest = md.digest();
-
- if (Arrays.equals(digest, officalkey))
- apksign = c.getString(R.string.official_build);
- else if (Arrays.equals(digest, officaldebugkey))
- apksign = c.getString(R.string.debug_build);
- else if (Arrays.equals(digest, amazonkey))
- apksign = "amazon version";
- else if (Arrays.equals(digest, fdroidkey))
- apksign = "F-Droid built and signed version";
- else
- apksign = c.getString(R.string.built_by,cert.getSubjectX500Principal().getName());
-
- PackageInfo packageinfo = c.getPackageManager().getPackageInfo(c.getPackageName(), 0);
- version = packageinfo.versionName;
-
- } catch (NameNotFoundException e) {
- } catch (CertificateException e) {
- } catch (NoSuchAlgorithmException e) {
- }
-
- Object[] argsext = Arrays.copyOf(mArgs, mArgs.length+2);
- argsext[argsext.length-1]=apksign;
- argsext[argsext.length-2]=version;
-
- return c.getString(R.string.mobile_info_extended, argsext);
-
- }
-
- public long getLogtime() {
- return logtime;
- }
-
-
- public int getVerbosityLevel() {
- if (mVerbosityLevel==-1) {
- // Hack:
- // For message not from OpenVPN, report the status level as log level
- return mLevel.getInt();
- }
- return mVerbosityLevel;
- }
- }
-
-
-
- public interface LogListener {
- void newLog(LogItem logItem);
- }
-
- public interface StateListener {
- void updateState(String state, String logmessage, int localizedResId, ConnectionStatus level);
- }
-
- public interface ByteCountListener {
- void updateByteCount(long in, long out, long diffIn, long diffOut);
- }
-
- public synchronized static void logMessage(LogLevel level,String prefix, String message)
- {
- newLogItem(new LogItem(level, prefix + message));
-
- }
-
- public synchronized static void clearLog() {
- logbuffer.clear();
- logInformation();
- }
-
- private static void logInformation() {
- logInfo(R.string.mobile_info,Build.MODEL, Build.BOARD,Build.BRAND,Build.VERSION.SDK_INT);
- }
-
- public synchronized static void addLogListener(LogListener ll){
- logListener.add(ll);
- }
-
- public synchronized static void removeLogListener(LogListener ll) {
- logListener.remove(ll);
- }
-
- public synchronized static void addByteCountListener(ByteCountListener bcl) {
- bcl.updateByteCount(mlastByteCount[0], mlastByteCount[1], mlastByteCount[2], mlastByteCount[3]);
- byteCountListener.add(bcl);
- }
-
- public synchronized static void removeByteCountListener(ByteCountListener bcl) {
- byteCountListener.remove(bcl);
- }
-
-
- public synchronized static void addStateListener(StateListener sl){
- if(!stateListener.contains(sl)){
- stateListener.add(sl);
- if(mLaststate!=null)
- sl.updateState(mLaststate, mLaststatemsg, mLastStateresid, mLastLevel);
- }
- }
-
- private static int getLocalizedState(String state){
- if (state.equals("CONNECTING"))
- return R.string.state_connecting;
- else if (state.equals("WAIT"))
- return R.string.state_wait;
- else if (state.equals("AUTH"))
- return R.string.state_auth;
- else if (state.equals("GET_CONFIG"))
- return R.string.state_get_config;
- else if (state.equals("ASSIGN_IP"))
- return R.string.state_assign_ip;
- else if (state.equals("ADD_ROUTES"))
- return R.string.state_add_routes;
- else if (state.equals("CONNECTED"))
- return R.string.state_connected;
- else if (state.equals("DISCONNECTED"))
- return R.string.state_disconnected;
- else if (state.equals("RECONNECTING"))
- return R.string.state_reconnecting;
- else if (state.equals("EXITING"))
- return R.string.state_exiting;
- else if (state.equals("RESOLVE"))
- return R.string.state_resolve;
- else if (state.equals("TCP_CONNECT"))
- return R.string.state_tcp_connect;
- else
- return R.string.unknown_state;
-
- }
-
- public static void updateStatePause(OpenVPNManagement.pauseReason pauseReason) {
- switch (pauseReason) {
- case noNetwork:
- VpnStatus.updateStateString("NONETWORK", "", R.string.state_nonetwork, ConnectionStatus.LEVEL_NONETWORK);
- break;
- case screenOff:
- VpnStatus.updateStateString("SCREENOFF", "", R.string.state_screenoff, ConnectionStatus.LEVEL_VPNPAUSED);
- break;
- case userPause:
- VpnStatus.updateStateString("USERPAUSE", "", R.string.state_userpause, ConnectionStatus.LEVEL_VPNPAUSED);
- break;
- }
-
- }
-
- private static ConnectionStatus getLevel(String state){
- String[] noreplyet = {"CONNECTING","WAIT", "RECONNECTING", "RESOLVE", "TCP_CONNECT"};
- String[] reply = {"AUTH","GET_CONFIG","ASSIGN_IP","ADD_ROUTES"};
- String[] connected = {"CONNECTED"};
- String[] notconnected = {"DISCONNECTED", "EXITING"};
-
- for(String x:noreplyet)
- if(state.equals(x))
- return ConnectionStatus.LEVEL_CONNECTING_NO_SERVER_REPLY_YET;
-
- for(String x:reply)
- if(state.equals(x))
- return ConnectionStatus.LEVEL_CONNECTING_SERVER_REPLIED;
-
- for(String x:connected)
- if(state.equals(x))
- return ConnectionStatus.LEVEL_CONNECTED;
-
- for(String x:notconnected)
- if(state.equals(x))
- return ConnectionStatus.LEVEL_NOTCONNECTED;
-
- return ConnectionStatus.UNKNOWN_LEVEL;
-
- }
-
-
-
-
- public synchronized static void removeStateListener(StateListener sl) {
- stateListener.remove(sl);
- }
-
-
- synchronized public static LogItem[] getlogbuffer() {
-
- // The stoned way of java to return an array from a vector
- // brought to you by eclipse auto complete
- return logbuffer.toArray(new LogItem[logbuffer.size()]);
-
- }
-
- public static void updateStateString (String state, String msg) {
- int rid = getLocalizedState(state);
- ConnectionStatus level = getLevel(state);
- updateStateString(state, msg, rid, level);
- }
-
- public synchronized static void updateStateString(String state, String msg, int resid, ConnectionStatus level) {
- // Workound for OpenVPN doing AUTH and wait and being connected
- // Simply ignore these state
- if (mLastLevel == ConnectionStatus.LEVEL_CONNECTED &&
- (state.equals("WAIT") || state.equals("AUTH")))
- {
- newLogItem(new LogItem((LogLevel.DEBUG), String.format("Ignoring OpenVPN Status in CONNECTED state (%s->%s): %s",state,level.toString(),msg)));
- return;
- }
-
- mLaststate= state;
- mLaststatemsg = msg;
- mLastStateresid = resid;
- mLastLevel = level;
-
-
-
- for (StateListener sl : stateListener) {
- sl.updateState(state,msg,resid,level);
- }
- //newLogItem(new LogItem((LogLevel.DEBUG), String.format("New OpenVPN Status (%s->%s): %s",state,level.toString(),msg)));
- }
-
- public static void logInfo(String message) {
- newLogItem(new LogItem(LogLevel.INFO, message));
- }
-
- public static void logDebug(String message) {
- newLogItem(new LogItem(LogLevel.DEBUG, message));
- }
-
- public static void logInfo(int resourceId, Object... args) {
- newLogItem(new LogItem(LogLevel.INFO, resourceId, args));
- }
-
- public static void logDebug(int resourceId, Object... args) {
- newLogItem(new LogItem(LogLevel.DEBUG, resourceId, args));
- }
-
-
- private synchronized static void newLogItem(LogItem logItem) {
- logbuffer.addLast(logItem);
- if(logbuffer.size()>MAXLOGENTRIES)
- logbuffer.removeFirst();
-
- for (LogListener ll : logListener) {
- ll.newLog(logItem);
- }
- }
-
- public static void logError(String msg) {
- newLogItem(new LogItem(LogLevel.ERROR, msg));
-
- }
-
- public static void logWarning(int resourceId, Object... args) {
- newLogItem(new LogItem(LogLevel.WARNING, resourceId, args));
- }
-
- public static void logWarning(String msg) {
- newLogItem(new LogItem(LogLevel.WARNING, msg));
- }
-
-
- public static void logError(int resourceId) {
- newLogItem(new LogItem(LogLevel.ERROR, resourceId));
- }
- public static void logError(int resourceId, Object... args) {
- newLogItem(new LogItem(LogLevel.ERROR, resourceId, args));
- }
-
- public static void logMessageOpenVPN(LogLevel level, int ovpnlevel, String message) {
- newLogItem(new LogItem(level, ovpnlevel, message));
-
- }
-
-
- public static synchronized void updateByteCount(long in, long out) {
- long lastIn = mlastByteCount[0];
- long lastOut = mlastByteCount[1];
- long diffIn = mlastByteCount[2] = in - lastIn;
- long diffOut = mlastByteCount[3] = out - lastOut;
-
-
-
- mlastByteCount = new long[] {in,out,diffIn,diffOut};
- for(ByteCountListener bcl:byteCountListener){
- bcl.updateByteCount(in, out, diffIn,diffOut);
- }
- }
-
-
-
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/X509Utils.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/X509Utils.java
deleted file mode 100644
index 0786967b..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/core/X509Utils.java
+++ /dev/null
@@ -1,160 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.core;
-
-import android.content.Context;
-import android.text.TextUtils;
-
-import se.leap.bitmaskclient.R;
-import de.blinkt.openvpn.VpnProfile;
-import org.spongycastle.util.io.pem.PemObject;
-import org.spongycastle.util.io.pem.PemReader;
-
-
-import javax.security.auth.x500.X500Principal;
-import java.io.*;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.security.cert.Certificate;
-import java.security.cert.CertificateException;
-import java.security.cert.CertificateFactory;
-import java.security.cert.X509Certificate;
-import java.util.Hashtable;
-
-public class X509Utils {
- public static Certificate getCertificateFromFile(String certfilename) throws FileNotFoundException, CertificateException {
- CertificateFactory certFact = CertificateFactory.getInstance("X.509");
-
- InputStream inStream;
-
- if(VpnProfile.isEmbedded(certfilename)) {
- // The java certifcate reader is ... kind of stupid
- // It does NOT ignore chars before the --BEGIN ...
- int subIndex = certfilename.indexOf("-----BEGIN CERTIFICATE-----");
- subIndex = Math.max(0,subIndex);
- inStream = new ByteArrayInputStream(certfilename.substring(subIndex).getBytes());
-
-
- } else {
- inStream = new FileInputStream(certfilename);
- }
-
-
- return certFact.generateCertificate(inStream);
- }
-
- public static PemObject readPemObjectFromFile (String keyfilename) throws IOException {
-
- Reader inStream;
-
- if(VpnProfile.isEmbedded(keyfilename))
- inStream = new StringReader(VpnProfile.getEmbeddedContent(keyfilename));
- else
- inStream = new FileReader(new File(keyfilename));
-
- PemReader pr = new PemReader(inStream);
- PemObject r = pr.readPemObject();
- pr.close();
- return r;
- }
-
-
-
-
- public static String getCertificateFriendlyName (Context c, String filename) {
- if(!TextUtils.isEmpty(filename)) {
- try {
- X509Certificate cert = (X509Certificate) getCertificateFromFile(filename);
-
- return getCertificateFriendlyName(cert);
-
- } catch (Exception e) {
- VpnStatus.logError("Could not read certificate" + e.getLocalizedMessage());
- }
- }
- return c.getString(R.string.cannotparsecert);
- }
-
- public static String getCertificateFriendlyName(X509Certificate cert) {
- X500Principal principal = cert.getSubjectX500Principal();
- byte[] encodedSubject = principal.getEncoded();
- String friendlyName=null;
-
- /* Hack so we do not have to ship a whole Spongy/bouncycastle */
- Exception exp=null;
- try {
- Class X509NameClass = Class.forName("com.android.org.bouncycastle.asn1.x509.X509Name");
- Method getInstance = X509NameClass.getMethod("getInstance",Object.class);
-
- Hashtable defaultSymbols = (Hashtable) X509NameClass.getField("DefaultSymbols").get(X509NameClass);
-
- if (!defaultSymbols.containsKey("1.2.840.113549.1.9.1"))
- defaultSymbols.put("1.2.840.113549.1.9.1","eMail");
-
- Object subjectName = getInstance.invoke(X509NameClass, encodedSubject);
-
- Method toString = X509NameClass.getMethod("toString",boolean.class,Hashtable.class);
-
- friendlyName= (String) toString.invoke(subjectName,true,defaultSymbols);
-
- } catch (ClassNotFoundException e) {
- exp =e ;
- } catch (NoSuchMethodException e) {
- exp =e;
- } catch (InvocationTargetException e) {
- exp =e;
- } catch (IllegalAccessException e) {
- exp =e;
- } catch (NoSuchFieldException e) {
- exp =e;
- }
- if (exp!=null)
- VpnStatus.logException("Getting X509 Name from certificate", exp);
-
- /* Fallback if the reflection method did not work */
- if(friendlyName==null)
- friendlyName = principal.getName();
-
-
- // Really evil hack to decode email address
- // See: http://code.google.com/p/android/issues/detail?id=21531
-
- String[] parts = friendlyName.split(",");
- for (int i=0;i<parts.length;i++){
- String part = parts[i];
- if (part.startsWith("1.2.840.113549.1.9.1=#16")) {
- parts[i] = "email=" + ia5decode(part.replace("1.2.840.113549.1.9.1=#16", ""));
- }
- }
- friendlyName = TextUtils.join(",", parts);
- return friendlyName;
- }
-
- public static boolean isPrintableChar(char c) {
- Character.UnicodeBlock block = Character.UnicodeBlock.of( c );
- return (!Character.isISOControl(c)) &&
- block != null &&
- block != Character.UnicodeBlock.SPECIALS;
- }
-
- private static String ia5decode(String ia5string) {
- String d = "";
- for (int i=1;i<ia5string.length();i=i+2) {
- String hexstr = ia5string.substring(i-1,i+1);
- char c = (char) Integer.parseInt(hexstr,16);
- if (isPrintableChar(c)) {
- d+=c;
- } else if (i==1 && (c==0x12 || c==0x1b)) {
- ; // ignore
- } else {
- d += "\\x" + hexstr;
- }
- }
- return d;
- }
-
-
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java
deleted file mode 100644
index 92bf9ad3..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java
+++ /dev/null
@@ -1,675 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.fragments;
-
-import se.leap.bitmaskclient.R;
-
-import android.animation.Animator;
-import android.animation.AnimatorListenerAdapter;
-import android.animation.ObjectAnimator;
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.app.ListFragment;
-import android.content.ClipData;
-import android.content.ClipboardManager;
-import android.content.Context;
-import android.content.DialogInterface;
-import android.content.Intent;
-import android.database.DataSetObserver;
-import android.graphics.drawable.Drawable;
-import android.os.Bundle;
-import android.os.Handler;
-import android.os.Handler.Callback;
-import android.os.Message;
-import android.text.SpannableString;
-import android.text.format.DateFormat;
-import android.text.style.ImageSpan;
-import android.view.LayoutInflater;
-import android.view.Menu;
-import android.view.MenuInflater;
-import android.view.MenuItem;
-import android.view.View;
-import android.view.ViewGroup;
-import android.widget.AdapterView;
-import android.widget.AdapterView.OnItemLongClickListener;
-import android.widget.LinearLayout;
-import android.widget.ListAdapter;
-import android.widget.ListView;
-import android.widget.RadioGroup;
-import android.widget.SeekBar;
-import android.widget.TextView;
-import android.widget.Toast;
-
-import org.jetbrains.annotations.Nullable;
-
-import java.text.SimpleDateFormat;
-import java.util.Collections;
-import java.util.Date;
-import java.util.Locale;
-import java.util.Vector;
-
-import de.blinkt.openvpn.LaunchVPN;
-import se.leap.bitmaskclient.R;
-import de.blinkt.openvpn.VpnProfile;
-import de.blinkt.openvpn.activities.DisconnectVPN;
-import de.blinkt.openvpn.core.OpenVPNManagement;
-import de.blinkt.openvpn.core.OpenVPNService;
-import de.blinkt.openvpn.core.ProfileManager;
-import de.blinkt.openvpn.core.VpnStatus;
-import de.blinkt.openvpn.core.VpnStatus.ConnectionStatus;
-import de.blinkt.openvpn.core.VpnStatus.LogItem;
-import de.blinkt.openvpn.core.VpnStatus.LogListener;
-import de.blinkt.openvpn.core.VpnStatus.StateListener;
-
-import static de.blinkt.openvpn.core.OpenVPNService.humanReadableByteCount;
-
-import se.leap.bitmaskclient.Dashboard;
-
-public class LogFragment extends ListFragment implements StateListener, SeekBar.OnSeekBarChangeListener, RadioGroup.OnCheckedChangeListener, VpnStatus.ByteCountListener {
- private static final String LOGTIMEFORMAT = "logtimeformat";
- private static final int START_VPN_CONFIG = 0;
- private static final String VERBOSITYLEVEL = "verbositylevel";
-
-
- private SeekBar mLogLevelSlider;
- private LinearLayout mOptionsLayout;
- private RadioGroup mTimeRadioGroup;
- private TextView mUpStatus;
- private TextView mDownStatus;
- private TextView mConnectStatus;
- private boolean mShowOptionsLayout;
-
- @Override
- public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
- ladapter.setLogLevel(progress+1);
- }
-
- @Override
- public void onStartTrackingTouch(SeekBar seekBar) {
- }
-
- @Override
- public void onStopTrackingTouch(SeekBar seekBar) {
- }
-
- @Override
- public void onCheckedChanged(RadioGroup group, int checkedId) {
- switch (checkedId) {
- case R.id.radioISO:
- ladapter.setTimeFormat(LogWindowListAdapter.TIME_FORMAT_ISO);
- break;
- case R.id.radioNone:
- ladapter.setTimeFormat(LogWindowListAdapter.TIME_FORMAT_NONE);
- break;
- case R.id.radioShort:
- ladapter.setTimeFormat(LogWindowListAdapter.TIME_FORMAT_SHORT);
- break;
-
- }
- }
-
- @Override
- public void updateByteCount(long in, long out, long diffIn, long diffOut) {
- //%2$s/s %1$s - ↑%4$s/s %3$s
- final String down = String.format("%2$s/s %1$s", humanReadableByteCount(in, false), humanReadableByteCount(diffIn / OpenVPNManagement.mBytecountInterval, true));
- final String up = String.format("%2$s/s %1$s", humanReadableByteCount(out, false), humanReadableByteCount(diffOut / OpenVPNManagement.mBytecountInterval, true));
-
- if (mUpStatus != null && mDownStatus != null) {
- if (getActivity() != null) {
- getActivity().runOnUiThread(new Runnable() {
- @Override
- public void run() {
- mUpStatus.setText(up);
- mDownStatus.setText(down);
- }
- });
- }
- }
-
- }
-
-
- class LogWindowListAdapter implements ListAdapter, LogListener, Callback {
-
- private static final int MESSAGE_NEWLOG = 0;
-
- private static final int MESSAGE_CLEARLOG = 1;
-
- private static final int MESSAGE_NEWTS = 2;
- private static final int MESSAGE_NEWLOGLEVEL = 3;
-
- public static final int TIME_FORMAT_NONE = 0;
- public static final int TIME_FORMAT_SHORT = 1;
- public static final int TIME_FORMAT_ISO = 2;
- private static final int MAX_STORED_LOG_ENTRIES = 1000;
-
- private Vector<LogItem> allEntries=new Vector<LogItem>();
-
- private Vector<LogItem> currentLevelEntries=new Vector<LogItem>();
-
- private Handler mHandler;
-
- private Vector<DataSetObserver> observers=new Vector<DataSetObserver>();
-
- private int mTimeFormat=0;
- private int mLogLevel=3;
-
-
- public LogWindowListAdapter() {
- initLogBuffer();
- if (mHandler == null) {
- mHandler = new Handler(this);
- }
-
- VpnStatus.addLogListener(this);
- }
-
-
-
- private void initLogBuffer() {
- allEntries.clear();
- Collections.addAll(allEntries, VpnStatus.getlogbuffer());
- initCurrentMessages();
- }
-
- String getLogStr() {
- String str = "";
- for(LogItem entry:allEntries) {
- str+=getTime(entry, TIME_FORMAT_ISO) + entry.getString(getActivity()) + '\n';
- }
- return str;
- }
-
-
- private void shareLog() {
- Intent shareIntent = new Intent(Intent.ACTION_SEND);
- shareIntent.putExtra(Intent.EXTRA_TEXT, getLogStr());
- shareIntent.putExtra(Intent.EXTRA_SUBJECT, getString(R.string.ics_openvpn_log_file));
- shareIntent.setType("text/plain");
- startActivity(Intent.createChooser(shareIntent, "Send Logfile"));
- }
-
- @Override
- public void registerDataSetObserver(DataSetObserver observer) {
- observers.add(observer);
-
- }
-
- @Override
- public void unregisterDataSetObserver(DataSetObserver observer) {
- observers.remove(observer);
- }
-
- @Override
- public int getCount() {
- return currentLevelEntries.size();
- }
-
- @Override
- public Object getItem(int position) {
- return currentLevelEntries.get(position);
- }
-
- @Override
- public long getItemId(int position) {
- return ((Object)currentLevelEntries.get(position)).hashCode();
- }
-
- @Override
- public boolean hasStableIds() {
- return true;
- }
-
- @Override
- public View getView(int position, View convertView, ViewGroup parent) {
- TextView v;
- if(convertView==null)
- v = new TextView(getActivity());
- else
- v = (TextView) convertView;
-
- LogItem le = currentLevelEntries.get(position);
- String msg = le.getString(getActivity());
- String time = getTime(le, mTimeFormat);
- msg = time + msg;
-
- int spanStart = time.length();
-
- SpannableString t = new SpannableString(msg);
-
- //t.setSpan(getSpanImage(le,(int)v.getTextSize()),spanStart,spanStart+1, Spanned.SPAN_INCLUSIVE_INCLUSIVE);
- v.setText(t);
- return v;
- }
-
- private String getTime(LogItem le, int time) {
- if (time != TIME_FORMAT_NONE) {
- Date d = new Date(le.getLogtime());
- java.text.DateFormat timeformat;
- if (time== TIME_FORMAT_ISO)
- timeformat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.getDefault());
- else
- timeformat = DateFormat.getTimeFormat(getActivity());
-
- return timeformat.format(d) + " ";
-
- } else {
- return "";
- }
-
- }
-
- private ImageSpan getSpanImage(LogItem li, int imageSize) {
- int imageRes = android.R.drawable.ic_menu_call;
-
- switch (li.getLogLevel()) {
- case ERROR:
- imageRes = android.R.drawable.ic_notification_clear_all;
- break;
- case INFO:
- imageRes = android.R.drawable.ic_menu_compass;
- break;
- case VERBOSE:
- imageRes = android.R.drawable.ic_menu_info_details;
- break;
- case WARNING:
- imageRes = android.R.drawable.ic_menu_camera;
- break;
- }
-
- Drawable d = getResources().getDrawable(imageRes);
-
-
- //d.setBounds(0, 0, d.getIntrinsicWidth(), d.getIntrinsicHeight());
- d.setBounds(0, 0, imageSize, imageSize);
- ImageSpan span = new ImageSpan(d, ImageSpan.ALIGN_BOTTOM);
-
- return span;
- }
-
- @Override
- public int getItemViewType(int position) {
- return 0;
- }
-
- @Override
- public int getViewTypeCount() {
- return 1;
- }
-
- @Override
- public boolean isEmpty() {
- return currentLevelEntries.isEmpty();
-
- }
-
- @Override
- public boolean areAllItemsEnabled() {
- return true;
- }
-
- @Override
- public boolean isEnabled(int position) {
- return true;
- }
-
- @Override
- public void newLog(LogItem logMessage) {
- Message msg = Message.obtain();
- assert (msg!=null);
- msg.what=MESSAGE_NEWLOG;
- Bundle bundle=new Bundle();
- bundle.putParcelable("logmessage", logMessage);
- msg.setData(bundle);
- mHandler.sendMessage(msg);
- }
-
- @Override
- public boolean handleMessage(Message msg) {
- // We have been called
- if(msg.what==MESSAGE_NEWLOG) {
-
- LogItem logMessage = msg.getData().getParcelable("logmessage");
- if(addLogMessage(logMessage))
- for (DataSetObserver observer : observers) {
- observer.onChanged();
- }
- } else if (msg.what == MESSAGE_CLEARLOG) {
- for (DataSetObserver observer : observers) {
- observer.onInvalidated();
- }
- initLogBuffer();
- } else if (msg.what == MESSAGE_NEWTS) {
- for (DataSetObserver observer : observers) {
- observer.onInvalidated();
- }
- } else if (msg.what == MESSAGE_NEWLOGLEVEL) {
- initCurrentMessages();
-
- for (DataSetObserver observer: observers) {
- observer.onChanged();
- }
-
- }
-
- return true;
- }
-
- private void initCurrentMessages() {
- currentLevelEntries.clear();
- for(LogItem li: allEntries) {
- if (li.getVerbosityLevel() <= mLogLevel ||
- mLogLevel == VpnProfile.MAXLOGLEVEL)
- currentLevelEntries.add(li);
- }
- }
-
- /**
- *
- * @param logmessage
- * @return True if the current entries have changed
- */
- private boolean addLogMessage(LogItem logmessage) {
- allEntries.add(logmessage);
-
- if (allEntries.size() > MAX_STORED_LOG_ENTRIES) {
- Vector<LogItem> oldAllEntries = allEntries;
- allEntries = new Vector<LogItem>(allEntries.size());
- for (int i=50;i<oldAllEntries.size();i++) {
- allEntries.add(oldAllEntries.elementAt(i));
- }
- initCurrentMessages();
- return true;
- } else {
- if (logmessage.getVerbosityLevel() <= mLogLevel) {
- currentLevelEntries.add(logmessage);
- return true;
- } else {
- return false;
- }
- }
- }
-
- void clearLog() {
- // Actually is probably called from GUI Thread as result of the user
- // pressing a button. But better safe than sorry
- VpnStatus.clearLog();
- VpnStatus.logInfo(R.string.logCleared);
- mHandler.sendEmptyMessage(MESSAGE_CLEARLOG);
- }
-
-
-
- public void setTimeFormat(int newTimeFormat) {
- mTimeFormat= newTimeFormat;
- mHandler.sendEmptyMessage(MESSAGE_NEWTS);
- }
-
- public void setLogLevel(int logLevel) {
- mLogLevel = logLevel;
- mHandler.sendEmptyMessage(MESSAGE_NEWLOGLEVEL);
- }
-
- }
-
-
-
- private LogWindowListAdapter ladapter;
- private TextView mSpeedView;
-
-
-
-
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- if(item.getItemId()==R.id.clearlog) {
- ladapter.clearLog();
- return true;
- } else if(item.getItemId()==R.id.cancel){
- Intent intent = new Intent(getActivity(),DisconnectVPN.class);
- startActivity(intent);
- return true;
- } else if(item.getItemId()==R.id.send) {
- ladapter.shareLog();
- } else if(item.getItemId()==R.id.edit_vpn) {
- VpnProfile lastConnectedprofile = ProfileManager.getLastConnectedVpn();
-
- if(lastConnectedprofile!=null) {
- Intent vprefintent = new Intent(getActivity(),Dashboard.class)
- .putExtra(VpnProfile.EXTRA_PROFILEUUID,lastConnectedprofile.getUUIDString());
- startActivityForResult(vprefintent,START_VPN_CONFIG);
- } else {
- Toast.makeText(getActivity(), R.string.log_no_last_vpn, Toast.LENGTH_LONG).show();
- }
- } else if(item.getItemId() == R.id.toggle_time) {
- showHideOptionsPanel();
- } else if(item.getItemId() == android.R.id.home) {
- // This is called when the Home (Up) button is pressed
- // in the Action Bar.
- Intent parentActivityIntent = new Intent(getActivity(), Dashboard.class);
- parentActivityIntent.addFlags(
- Intent.FLAG_ACTIVITY_CLEAR_TOP |
- Intent.FLAG_ACTIVITY_NEW_TASK);
- startActivity(parentActivityIntent);
- getActivity().finish();
- return true;
-
- }
- return super.onOptionsItemSelected(item);
-
- }
-
- private void showHideOptionsPanel() {
- boolean optionsVisible = (mOptionsLayout.getVisibility() != View.GONE);
-
- ObjectAnimator anim;
- if (optionsVisible) {
- anim = ObjectAnimator.ofFloat(mOptionsLayout,"alpha",1.0f, 0f);
- anim.addListener(collapseListener);
-
- } else {
- mOptionsLayout.setVisibility(View.VISIBLE);
- anim = ObjectAnimator.ofFloat(mOptionsLayout,"alpha", 0f, 1.0f);
- //anim = new TranslateAnimation(0.0f, 0.0f, mOptionsLayout.getHeight(), 0.0f);
-
- }
-
- //anim.setInterpolator(new AccelerateInterpolator(1.0f));
- //anim.setDuration(300);
- //mOptionsLayout.startAnimation(anim);
- anim.start();
-
- }
-
- AnimatorListenerAdapter collapseListener = new AnimatorListenerAdapter() {
- @Override
- public void onAnimationEnd(Animator animator) {
- mOptionsLayout.setVisibility(View.GONE);
- }
-
- };
-
-
- @Override
- public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
- inflater.inflate(R.menu.logmenu, menu);
- if (getResources().getBoolean(R.bool.logSildersAlwaysVisible))
- menu.removeItem(R.id.toggle_time);
- }
-
-
- @Override
- public void onResume() {
- super.onResume();
- VpnStatus.addStateListener(this);
- VpnStatus.addByteCountListener(this);
- Intent intent = new Intent(getActivity(), OpenVPNService.class);
- intent.setAction(OpenVPNService.START_SERVICE);
-
- }
-
-
- @Override
- public void onActivityResult(int requestCode, int resultCode, Intent data) {
- if (requestCode == START_VPN_CONFIG && resultCode== Activity.RESULT_OK) {
- String configuredVPN = data.getStringExtra(VpnProfile.EXTRA_PROFILEUUID);
-
- final VpnProfile profile = ProfileManager.get(getActivity(),configuredVPN);
- ProfileManager.getInstance(getActivity()).saveProfile(getActivity(), profile);
- // Name could be modified, reset List adapter
-
- AlertDialog.Builder dialog = new AlertDialog.Builder(getActivity());
- dialog.setTitle(R.string.configuration_changed);
- dialog.setMessage(R.string.restart_vpn_after_change);
-
-
- dialog.setPositiveButton(R.string.restart,
- new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface dialog, int which) {
- Intent intent = new Intent(getActivity(), LaunchVPN.class);
- intent.putExtra(LaunchVPN.EXTRA_KEY, profile.getUUIDString());
- intent.setAction(Intent.ACTION_MAIN);
- startActivity(intent);
- }
-
-
- });
- dialog.setNegativeButton(R.string.ignore, null);
- dialog.create().show();
- }
- super.onActivityResult(requestCode, resultCode, data);
- }
-
-
- @Override
- public void onStop() {
- super.onStop();
- VpnStatus.removeStateListener(this);
- VpnStatus.removeByteCountListener(this);
-
- getActivity().getPreferences(0).edit().putInt(LOGTIMEFORMAT, ladapter.mTimeFormat)
- .putInt(VERBOSITYLEVEL, ladapter.mLogLevel).apply();
-
- }
-
-
- @Override
- public void onActivityCreated(Bundle savedInstanceState) {
- super.onActivityCreated(savedInstanceState);
- ListView lv = getListView();
-
- lv.setOnItemLongClickListener(new OnItemLongClickListener() {
-
- @Override
- public boolean onItemLongClick(AdapterView<?> parent, View view,
- int position, long id) {
- ClipboardManager clipboard = (ClipboardManager)
- getActivity().getSystemService(Context.CLIPBOARD_SERVICE);
- ClipData clip = ClipData.newPlainText("Log Entry",((TextView) view).getText());
- clipboard.setPrimaryClip(clip);
- Toast.makeText(getActivity(), R.string.copied_entry, Toast.LENGTH_SHORT).show();
- return true;
- }
- });
- }
-
- @Nullable
- @Override
- public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
- View v = inflater.inflate(R.layout.log_fragment, container, false);
-
- setHasOptionsMenu(true);
-
- ladapter = new LogWindowListAdapter();
- ladapter.mTimeFormat = getActivity().getPreferences(0).getInt(LOGTIMEFORMAT, 0);
- int logLevel = getActivity().getPreferences(0).getInt(VERBOSITYLEVEL, 0);
- ladapter.setLogLevel(logLevel);
-
- setListAdapter(ladapter);
-
- mTimeRadioGroup = (RadioGroup) v.findViewById(R.id.timeFormatRadioGroup);
- mTimeRadioGroup.setOnCheckedChangeListener(this);
-
- if(ladapter.mTimeFormat== LogWindowListAdapter.TIME_FORMAT_ISO) {
- mTimeRadioGroup.check(R.id.radioISO);
- } else if (ladapter.mTimeFormat == LogWindowListAdapter.TIME_FORMAT_NONE) {
- mTimeRadioGroup.check(R.id.radioNone);
- } else if (ladapter.mTimeFormat == LogWindowListAdapter.TIME_FORMAT_SHORT) {
- mTimeRadioGroup.check(R.id.radioShort);
- }
-
- mSpeedView = (TextView) v.findViewById(R.id.speed);
-
- mOptionsLayout = (LinearLayout) v.findViewById(R.id.logOptionsLayout);
- mLogLevelSlider = (SeekBar) v.findViewById(R.id.LogLevelSlider);
- mLogLevelSlider.setMax(VpnProfile.MAXLOGLEVEL-1);
- mLogLevelSlider.setProgress(logLevel-1);
-
- mLogLevelSlider.setOnSeekBarChangeListener(this);
-
- if(getResources().getBoolean(R.bool.logSildersAlwaysVisible))
- mOptionsLayout.setVisibility(View.VISIBLE);
-
- mUpStatus = (TextView) v.findViewById(R.id.speedUp);
- mDownStatus = (TextView) v.findViewById(R.id.speedDown);
- mConnectStatus = (TextView) v.findViewById(R.id.speedStatus);
- if (mShowOptionsLayout)
- mOptionsLayout.setVisibility(View.VISIBLE);
- return v;
- }
-
- @Override
- public void onAttach(Activity activity) {
- super.onAttach(activity);
- if(getResources().getBoolean(R.bool.logSildersAlwaysVisible)) {
- mShowOptionsLayout=true;
- if (mOptionsLayout!= null)
- mOptionsLayout.setVisibility(View.VISIBLE);
- }
- }
-
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
-
- //getActionBar().setDisplayHomeAsUpEnabled(true);
-
- }
-
-
- @Override
- public void updateState(final String status, final String logMessage, final int resId, final ConnectionStatus level) {
- if (isAdded()) {
- getActivity().runOnUiThread(new Runnable() {
-
- @Override
- public void run() {
- if (isAdded()) {
- String prefix = getString(resId) + ":";
- if (status.equals("BYTECOUNT") || status.equals("NOPROCESS"))
- prefix = "";
- if (resId == R.string.unknown_state)
- prefix += status;
- if (mSpeedView != null)
- mSpeedView.setText(prefix + logMessage);
-
- if (mConnectStatus != null)
- mConnectStatus.setText(getString(resId));
- }
- }
- });
- }
- }
-
-
- @Override
- public void onDestroy() {
- VpnStatus.removeLogListener(ladapter);
- super.onDestroy();
- }
-
-}
diff --git a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java b/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java
deleted file mode 100644
index 82378b00..00000000
--- a/ics-openvpn-stripped/main/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Arne Schwabe
- * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- */
-
-package de.blinkt.openvpn.views;
-
-import android.content.Context;
-import android.content.res.TypedArray;
-import android.graphics.Canvas;
-import android.graphics.Paint;
-import android.graphics.drawable.Drawable;
-import android.util.AttributeSet;
-import android.util.TypedValue;
-import android.view.ViewConfiguration;
-import android.widget.SeekBar;
-
-public class SeekBarTicks extends SeekBar {
- private Paint mTickPaint;
- private float mTickHeight;
-
- private float tickHeightRatio = 0.6f;
-
- public SeekBarTicks(Context context, AttributeSet attrs) {
- super (context, attrs);
-
- initTicks (context, attrs, android.R.attr.seekBarStyle);
- }
-
-
- public SeekBarTicks(Context context, AttributeSet attrs, int defStyle) {
- super(context, attrs, defStyle);
-
- initTicks (context, attrs, defStyle);
-
- /*mTickHeight = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,
- tickHeightDP,
- ctx.getResources().getDisplayMetrics()); */
- }
-
- private void initTicks(Context context, AttributeSet attrs, int defStyle) {
- TypedArray a = context.obtainStyledAttributes(attrs,
- new int[] { android.R.attr.secondaryProgress }, defStyle, 0);
-
-
- int tickColor = a.getColor(0, android.R.color.black);
- mTickPaint = new Paint();
- mTickPaint.setColor( context.getResources().getColor(tickColor));
- a.recycle();
- }
-
-
- @Override
- protected synchronized void onDraw(Canvas canvas) {
- drawTicks(canvas);
- super.onDraw(canvas);
- }
-
- private void drawTicks(Canvas canvas) {
-
- final int available = getWidth() - getPaddingLeft() - getPaddingRight();
- final int availableHeight = getHeight() - getPaddingBottom() - getPaddingTop();
-
- int extrapadding = (int) ((availableHeight- (availableHeight * tickHeightRatio))/2);
-
- int tickSpacing = available / (getMax() );
-
- for (int i = 1; i < getMax(); i++) {
- final float x = getPaddingLeft() + i * tickSpacing;
-
- canvas.drawLine(x, getPaddingTop()+extrapadding, x, getHeight()-getPaddingBottom()-extrapadding, mTickPaint);
- }
- }
-}
diff --git a/ics-openvpn-stripped/main/src/main/res/layout-sw600dp-port/log_fragment.xml b/ics-openvpn-stripped/main/src/main/res/layout-sw600dp-port/log_fragment.xml
deleted file mode 100644
index 1fb9fa54..00000000
--- a/ics-openvpn-stripped/main/src/main/res/layout-sw600dp-port/log_fragment.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- tools:context=".LogWindow">
-
- <LinearLayout
- android:background="@drawable/white_rect"
- android:elevation="1dp"
- android:layout_height="wrap_content"
- android:layout_width="match_parent">
-
- <include layout="@layout/log_silders"/>
-
- <Space
- android:layout_weight="5"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"/>
- <LinearLayout
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:orientation="vertical">
- <include layout="@layout/vpnstatus"/>
- </LinearLayout>
- <Space
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:layout_weight="1"/>
- </LinearLayout>
-
-
- <ListView
- android:id="@android:id/list"
- android:transcriptMode="normal"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"/>
-
-</LinearLayout> \ No newline at end of file
diff --git a/ics-openvpn-stripped/main/src/main/res/layout-sw600dp/log_fragment.xml b/ics-openvpn-stripped/main/src/main/res/layout-sw600dp/log_fragment.xml
deleted file mode 100644
index 0bd3f991..00000000
--- a/ics-openvpn-stripped/main/src/main/res/layout-sw600dp/log_fragment.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="horizontal"
- android:padding="20dp"
- tools:context=".LogWindow">
-
-
- <LinearLayout
- android:background="@drawable/white_rect"
- android:elevation="1dp"
- android:minWidth="300dp"
- android:orientation="vertical"
- android:layout_width="wrap_content"
- android:layout_height="match_parent">
-
- <include layout="@layout/log_silders"/>
-
- <include layout="@layout/vpnstatus"/>
- </LinearLayout>
-
- <ListView
- android:id="@android:id/list"
- android:transcriptMode="normal"
- android:layout_width="fill_parent"
- android:layout_height="match_parent"/>
-</LinearLayout>
diff --git a/ics-openvpn-stripped/main/src/main/res/layout/log_fragment.xml b/ics-openvpn-stripped/main/src/main/res/layout/log_fragment.xml
deleted file mode 100644
index 4fec942e..00000000
--- a/ics-openvpn-stripped/main/src/main/res/layout/log_fragment.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
- <LinearLayout
- android:background="@drawable/white_rect"
- android:elevation="1dp"
- android:layout_height="wrap_content"
- android:layout_width="match_parent">
-
- <include layout="@layout/log_silders"/>
-
- <TextView
- android:text="@string/speed_waiting"
- android:singleLine="true"
- android:id="@+id/speed"
- tools:ignore="InconsistentLayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"/>
- </LinearLayout>
-
- <ListView
- android:id="@android:id/list"
- android:transcriptMode="normal"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"/>
-
-</LinearLayout> \ No newline at end of file
diff --git a/ics-openvpn-stripped/main/src/main/res/layout/log_silders.xml b/ics-openvpn-stripped/main/src/main/res/layout/log_silders.xml
deleted file mode 100644
index 152407f9..00000000
--- a/ics-openvpn-stripped/main/src/main/res/layout/log_silders.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<LinearLayout
- xmlns:tools="http://schemas.android.com/tools"
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:id="@+id/logOptionsLayout"
- android:visibility="gone"
- tools:visibility="visible"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
-
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/log_verbosity_level"/>
-
-
- <de.blinkt.openvpn.views.SeekBarTicks
- android:id="@+id/LogLevelSlider"
- android:layout_width="300dp"
- android:layout_height="wrap_content"
- tools:max="5"
- android:indeterminate="false"/>
-
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/timestamps"/>
-
- <RadioGroup
- android:id="@+id/timeFormatRadioGroup"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
-
- <RadioButton
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/timestamps_none"
- android:id="@+id/radioNone"
- />
-
- <RadioButton
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/timestamp_short"
- android:id="@+id/radioShort"
- />
-
- <RadioButton
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/timestamp_iso"
- android:id="@+id/radioISO"
- />
-
-
- </RadioGroup>
-</LinearLayout> \ No newline at end of file
diff --git a/ics-openvpn-stripped/main/src/main/res/layout/log_window.xml b/ics-openvpn-stripped/main/src/main/res/layout/log_window.xml
deleted file mode 100644
index fcc7aa7a..00000000
--- a/ics-openvpn-stripped/main/src/main/res/layout/log_window.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".LogWindow"
- tools:ignore="MergeRootFrame" /> \ No newline at end of file
diff --git a/ics-openvpn-stripped/main/src/main/res/layout/vpnstatus.xml b/ics-openvpn-stripped/main/src/main/res/layout/vpnstatus.xml
deleted file mode 100644
index 2d77bbab..00000000
--- a/ics-openvpn-stripped/main/src/main/res/layout/vpnstatus.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<merge xmlns:tools="http://schemas.android.com/tools"
- xmlns:android="http://schemas.android.com/apk/res/android">
-
- <Space
- android:layout_weight="1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
-
-
- <TextView
- android:text="@string/uploaded_data"
- style="@style/logWindowStatusTitle"/>
-
- <TextView
- style="@style/logWindowStatusText"
- android:id="@+id/speedUp"
- tools:text="4 Mbit/s 6.7 GB"/>
-
- <TextView
- android:text="@string/downloaded_data"
- style="@style/logWindowStatusTitle"/>
-
- <TextView
- style="@style/logWindowStatusText"
- android:id="@+id/speedDown"
- tools:text="2 Mbit/s 4.7 GB"/>
-
-
- <Space
- android:layout_weight="1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
-
-
- <TextView
- android:text="@string/vpn_status"
- style="@style/logWindowStatusTitle"/>
-
- <TextView
- android:id="@+id/speedStatus"
- tools:text="Connected"
- style="@style/logWindowStatusText"/>
-
-
-</merge> \ No newline at end of file
diff --git a/ics-openvpn-stripped/main/src/main/res/menu/logmenu.xml b/ics-openvpn-stripped/main/src/main/res/menu/logmenu.xml
deleted file mode 100644
index d7ae59c8..00000000
--- a/ics-openvpn-stripped/main/src/main/res/menu/logmenu.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<menu xmlns:android="http://schemas.android.com/apk/res/android">
-
-
- <item
- android:id="@+id/toggle_time"
- android:alphabeticShortcut="t"
- android:icon="@drawable/ic_menu_view"
- android:showAsAction="withText|ifRoom"
- android:title="@string/logview_options" />
-
- <item
- android:id="@+id/clearlog"
- android:icon="@drawable/ic_menu_delete"
- android:showAsAction="ifRoom|withText"
- android:title="@string/clear_log"
- android:titleCondensed="@string/clear"/>
- <item
- android:id="@+id/send"
- android:icon="@drawable/ic_menu_share"
- android:showAsAction="ifRoom|withText"
- android:title="@string/send_logfile"
- android:titleCondensed="@string/send"/>
-
- <item
- android:id="@+id/cancel"
- android:icon="@drawable/ic_menu_close_clear_cancel"
- android:showAsAction="ifRoom|withText"
- android:title="@string/cancel_connection_long"
- android:titleCondensed="@string/cancel_connection"/>
- <item
- android:id="@+id/edit_vpn"
- android:alphabeticShortcut="e"
- android:icon="@drawable/ic_menu_edit"
- android:showAsAction="withText|ifRoom"
- android:title="@string/edit_vpn"
- android:visible="false"/>
-
-</menu>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-ca/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-ca/strings.xml
deleted file mode 100755
index 3da268e4..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-ca/strings.xml
+++ /dev/null
@@ -1,125 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN per Android</string>
- <string name="address">Adreá del servidor:</string>
- <string name="port">Port del servidor:</string>
- <string name="location">Lloc</string>
- <string name="select">Selecciona</string>
- <string name="cancel">Cancel·la</string>
- <string name="no_data">Sense informació</string>
- <string name="useLZO">Compresió LZO</string>
- <string name="client_no_certificate">Sense Certificat</string>
- <string name="client_certificate_title">Certificat Client</string>
- <string name="client_key_title">Clau del certificat client</string>
- <string name="client_pkcs12_title">Fitxer PKCS12</string>
- <string name="ca_title">Certificat CA</string>
- <string name="about">Quan a</string>
- <string name="vpn_type">Tipus</string>
- <string name="pkcs12pwquery">Contrasenya PKCS12</string>
- <string name="file_select">Selecciona&#8230;</string>
- <string name="useTLSAuth">Utiltiza autenticació TLS</string>
- <string name="tls_direction">Direcció TLS</string>
- <string name="ipv6_dialog_tile">Introduïu l\'adreça/mascara de xarxa IPv6 en format CIDR Format (e.g. 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">Introduïu l\'adreça/mascara de xarxa IPv4 en format CIDR (e.g. 1.2.3.4/24)</string>
- <string name="ipv4_address">Adreça IPv4</string>
- <string name="ipv6_address">Adreça IPv6</string>
- <string name="auth_username">Usuari</string>
- <string name="auth_pwquery">Contrasenya</string>
- <string name="configure_the_vpn">Configura la VPN</string>
- <string name="menu_add_profile">Afegeix un perfil</string>
- <string name="add_profile_name_prompt">Introduïu un nom identificant el perfil</string>
- <string name="profilename">Nom del perfil</string>
- <string name="no_error_found">No s\'ha trobat cap error</string>
- <string name="config_error_found">S\'ha trobat un error a la configuració</string>
- <string name="vpn_shortcut">Acces directe de OpenVPN</string>
- <string name="vpn_launch_title">Conecta a la VPN</string>
- <string name="shortcut_profile_notfound">No s\'ha trobat el perfil especificat a l\'accès directe</string>
- <string name="random_host_prefix">Prefix aleatoria del host</string>
- <string name="route_rejected">La ruta ha estat refusas per Android</string>
- <string name="cancel_connection">Desconecta</string>
- <string name="clear_log">Neteja el registre</string>
- <string name="title_cancel">Cancela la confirmació</string>
- <string name="cancel_connection_query">Desconcta la conexió VPN/cancela l\'intent de conexió?</string>
- <string name="remove_vpn">Eliminar VPN</string>
- <string name="dns">DNS</string>
- <string name="dns1_summary">Servidor DNS a utilitzar.</string>
- <string name="dns_server">Servidor DNS</string>
- <string name="default_route_summary">Redirecciona tot el trafic a través de la VPN</string>
- <string name="use_default_title">Utilitza la ruta per defecte</string>
- <string name="custom_routes_title">Rutes personalitzadse</string>
- <string name="log_verbosity_level">Nivell de detall del registre</string>
- <string name="custom_options_title">Opcions personalitzades</string>
- <string name="edit_vpn">Edita la configuració VPN</string>
- <string name="error">"Error: "</string>
- <string name="clear">Neteja</string>
- <string name="send_logfile">Envia el fitxer de registre</string>
- <string name="send">Envia</string>
- <string name="ics_openvpn_log_file">Fitxer de registre de ICS OpenVPN</string>
- <string name="copied_entry">S\'ha copiat l\'entrada al porta-retalls</string>
- <string name="tap_mode">Mode Tap</string>
- <string name="faq_tap_mode">No es pot utiltizar el mode tap amb la api no rootejada. L\'aplicació no suporta tap</string>
- <string name="faq">FAQ</string>
- <string name="copying_log_entries">Copiant entrades de registre</string>
- <string name="faq_shortcut">Acces directe per inciar</string>
- <string name="encryption">Encriptació</string>
- <string name="cipher_dialog_title">Introduïu el mètode d\'encriptació</string>
- <string name="settings_auth">Autentificació/Encriptació</string>
- <string name="file_explorer_tab">Explorador de fitxers</string>
- <string name="inline_file_tab">Fitxer en linea</string>
- <string name="error_importing_file">Error important el fitxer</string>
- <string name="import_error_message">No s\'ha pogut importar el fitxer del sistema de fitxers</string>
- <string name="inline_file_data">[[Inline file data]]</string>
- <string name="menu_import">Importa el perfil d\'un fitxer ovpn</string>
- <string name="menu_import_short">Importa</string>
- <string name="import_content_resolve_error">No s\'ha pogut llegir el fitxer a importar</string>
- <string name="error_reading_config_file">Error llegint el fitxer de configuració</string>
- <string name="add_profile">afegir un Perfil</string>
- <string name="import_done">S\'ha llegit el fitxer de configuració.</string>
- <string name="import_vpn">Importa</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Esperant el missatge d\'estat&#8230;</string>
- <string name="converted_profile">Perfil importat</string>
- <string name="converted_profile_i">Perfil importat %d</string>
- <string name="broken_images">Imatges trencades</string>
- <string name="private_key_password">Contrasenya de la clau privada</string>
- <string name="password">Contrasenya</string>
- <string name="file_icon">Icona del fitxer</string>
- <string name="tls_authentication">Autentificació TLS</string>
- <string name="generated_config">Configuració generada</string>
- <string name="owner_fix">Corregir els permisos de /dev/tun</string>
- <string name="generated_config_summary">Mostra el fitxer de configuració d\'OpenVPN generat</string>
- <string name="edit_profile_title">Editant \"%s\"</string>
- <string name="building_configration">Construint la configuració&#8230;</string>
- <string name="netchange">Reconecta al canviar de xarxa</string>
- <string name="netstatus">Estat de la xarxa %s</string>
- <string name="select_file">Selecciona</string>
- <string name="show_log_window">Mostra la finestra de registre</string>
- <string name="translationby">Traducció al catala per Sergi Almacellas
-&lt;sergi@koolpi.com&gt;</string>
- <string name="ipdns">IP i DNS</string>
- <string name="basic">Bàsic</string>
- <string name="routing">Ruting</string>
- <string name="advanced">Avançat</string>
- <string name="faq_howto_title">Inici rapid</string>
- <string name="using_proxy">Utilitzant el proxy %1$s %2$d</string>
- <string name="use_system_proxy">Utiliza el proxy del sistema</string>
- <string name="onbootrestart">Torna a conectar al reiniciar</string>
- <string name="ignore">Ignorar</string>
- <string name="restart">Reinicia</string>
- <string name="restart_vpn_after_change">Els canvis de configuració s\'apliquen desprès de reinicar la VPN. (Re)inicar la VPN ara?</string>
- <string name="configuration_changed">S\'ha canviat la configuració</string>
- <string name="faq_duplicate_notification_title">Notificacions duplicades</string>
- <string name="no_vpn_profiles_defined">No s\'han definit cap perfil.</string>
- <string name="faq_routing_title">Configuració del Ruting/Interficies</string>
- <string name="openvpn_log">Registre OpenVPN</string>
- <string name="import_config">Importa la configuració OpenVPN</string>
- <string name="battery_consumption_title">Consum de la bateria</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-cs/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-cs/strings.xml
deleted file mode 100755
index b81397e1..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-cs/strings.xml
+++ /dev/null
@@ -1,351 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN pro Android</string>
- <string name="address">Adresa serveru:</string>
- <string name="port">Port serveru:</string>
- <string name="location">Lokace</string>
- <string name="cant_read_folder">Nelze přečíst adresář</string>
- <string name="select">Zvolit</string>
- <string name="cancel">Storno</string>
- <string name="no_data">Žádná data</string>
- <string name="useLZO">LZO komprese</string>
- <string name="client_no_certificate">Žádný certifikát</string>
- <string name="client_certificate_title">Klientský certifikát</string>
- <string name="client_key_title">Klientský klíč</string>
- <string name="client_pkcs12_title">PKCS12 soubor</string>
- <string name="ca_title">CA certifikát</string>
- <string name="no_certificate">Je třeba vybrat certifikát</string>
- <string name="copyright_guicode">Zdrojové kódy a seznam problémů je na http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">Tento program používá následující komponenty; viz zdrojový kód pro detaily o licenci</string>
- <string name="about">O programu</string>
- <string name="vpn_list_title">Profily</string>
- <string name="vpn_type">Typ</string>
- <string name="pkcs12pwquery">PKCS12 heslo</string>
- <string name="file_select">Vyber&#8230;</string>
- <string name="file_nothing_selected">Je třeba vybrat soubor</string>
- <string name="useTLSAuth">Použij TLS autentikaci</string>
- <string name="tls_direction">TLS řízení</string>
- <string name="ipv6_dialog_tile">Zadej IPv6 adresu/masku v CIDR formátu (tj. 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">Zadej IPv4 adresu/masku v CIDR formátu (tj. 1.2.3.4/24)</string>
- <string name="ipv4_address">IPv4 adresa</string>
- <string name="ipv6_address">IPv6 adresa</string>
- <string name="custom_option_warning">Zadat vlastní nastavení. Používat opatrně. Poznámka, mnoho voleb okolo tun adaptéru nemůže být podporováno. Pokud si myslíte, že chybí podstatná volba, kontaktujte autora</string>
- <string name="auth_username">Jméno</string>
- <string name="auth_pwquery">Heslo</string>
- <string name="static_keys_info">Pro statickou konfiguraci bude jako klíč použit autentizační klíč TLS</string>
- <string name="configure_the_vpn">Konfigurace VPN</string>
- <string name="menu_add_profile">Přidat profil</string>
- <string name="add_profile_name_prompt">Zadej jméno identifikující nový profil</string>
- <string name="duplicate_profile_name">Zadej prosím unikátní jméno profilu</string>
- <string name="profilename">Jméno profilu</string>
- <string name="no_keystore_cert_selected">Je třeba vybrat uživatelský certifikát</string>
- <string name="no_error_found">Bez chyb</string>
- <string name="config_error_found">Chyba v konfiguraci</string>
- <string name="ipv4_format_error">Chyba při zpracování IPv4 adresy</string>
- <string name="custom_route_format_error">Chyba při zpracování vlastního směrování</string>
- <string name="pw_query_hint">(nechej prázdné pro dotazování, až bude potřeba)</string>
- <string name="vpn_shortcut">OpenVPN zkratka</string>
- <string name="vpn_launch_title">Připojit k VPN</string>
- <string name="shortcut_profile_notfound">Profil zvolený ve zkratce nenalezen</string>
- <string name="random_host_prefix">Náhodný prefix klienta</string>
- <string name="random_host_summary">Přidej 6 náhodných znaků před jméno klienta (hostname)</string>
- <string name="custom_config_title">Povolit vlastní nastavení</string>
- <string name="custom_config_summary">Zadat vlastní nastavení. Používat opatrně!</string>
- <string name="route_rejected">Směrování odmítnuto Androidem</string>
- <string name="cancel_connection">Odpojit</string>
- <string name="cancel_connection_long">Odpojit VPN</string>
- <string name="clear_log">vymazat log</string>
- <string name="title_cancel">Zrušit potvrzení</string>
- <string name="cancel_connection_query">Odpojit/Zrušit připojování?</string>
- <string name="remove_vpn">Odstranit VPN</string>
- <string name="check_remote_tlscert">Kontrolovat, zda server používá certifikát s rozšířením TLS Server (--remote-cert-tls server)</string>
- <string name="check_remote_tlscert_title">Očekávat serverový TLS certifikát</string>
- <string name="remote_tlscn_check_summary">Kontrola DN v certifikátu vzdáleného serveru</string>
- <string name="remote_tlscn_check_title">Ověření jména certifikátu</string>
- <string name="enter_tlscn_dialog">Specifikuj způsob kontroly DN v certifikátu vzdáleného serveru (př. C=DE, L=Paderborn, OU=Avian IP Carriers, CN=openvpn.blinkt.de)\n\nSpecifikuj kompletní DN nebo RDN (openvpn.blinkt.de v příkladu) nebo RDN prefix pro verifikaci.\n\nPři použití RDN prefixu, \"Server\" sedí na \"Server-1\" i \"Server-2\"\n\nJe-li RDN pole prázdné, kontroluje se proti jménu serveru.\n\nPro více detailů, viz manuálová stránka OpenVPN 2.3.1+, přepínač —verify-x509-name</string>
- <string name="enter_tlscn_title">Předmět vzdáleného certifikátu</string>
- <string name="tls_key_auth">Zapnout autentikaci pomocí TLS klíče</string>
- <string name="tls_auth_file">TLS autentikační soubor</string>
- <string name="pull_on_summary">Použít IP adresu, směrování a časování přijaté od serveru.</string>
- <string name="pull_off_summary">Žádné informace od serveru nevyžadovat. Nastavení je potřeba zadat níže.</string>
- <string name="use_pull">Automaticky</string>
- <string name="dns">DNS</string>
- <string name="override_dns">Přepsat DNS nastavení</string>
- <string name="dns_override_summary">Použit vlastní DNS server</string>
- <string name="searchdomain">Doména pro hledání</string>
- <string name="dns1_summary">Adresa primárního DNS serveru</string>
- <string name="dns_server">Primární DNS server</string>
- <string name="secondary_dns_message">Adresa záložního DNS serveru, pokud se nelze připojit k primárnímu.</string>
- <string name="backup_dns">Záložní DNS server</string>
- <string name="ignored_pushed_routes">Ignorovat přijaté</string>
- <string name="ignore_routes_summary">Ignorovat směrování, které zaslal server.</string>
- <string name="default_route_summary">Přesměrovat všechen provoz skrz VPN</string>
- <string name="use_default_title">Použít jako výchozí</string>
- <string name="custom_route_message">Zadat vlastní směrování. Zadej cíle v CIDR formátu. \"10.0.0.0/8 2002::/16\" nasměruje sítě 10.0.0.0/8 a 2002::/16 skrz VPN.</string>
- <string name="custom_route_message_excluded">Trasy, které NEmají být směrovány skrze VPN. Použij stejnou syntaxi jako pro zahrnuté trasy.</string>
- <string name="custom_routes_title">Vlastní směrování</string>
- <string name="custom_routes_title_excluded">Vyloučené sítě</string>
- <string name="log_verbosity_level">Ukecanost logu</string>
- <string name="float_summary">Povol autentifikované pakety z libovolné IP</string>
- <string name="float_title">Povol plovoucí server</string>
- <string name="custom_options_title">Vlastní nastavení</string>
- <string name="edit_vpn">Změnit nastavení VPN</string>
- <string name="remove_vpn_query">Odstranit VPN profil \'%s\'?</string>
- <string name="tun_error_helpful">Na některých ICS systémech může být oprávnění pro /dev/tun špatně nastavené, nebo tun modul může zcela chybět. Pro systém s CM9 zkus využít opravy vlastnictví v obecném nastavení</string>
- <string name="tun_open_error">Chyba při otvírání tun zařízení</string>
- <string name="error">"Chyba: "</string>
- <string name="clear">Vymazat</string>
- <string name="last_openvpn_tun_config">Otevření rozhraní tun:</string>
- <string name="local_ip_info">Místní IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">DNS server: %1$s, Doména: %2$s</string>
- <string name="routes_info_incl">Trasy: %1$s %2$s</string>
- <string name="routes_info_excl">Vyloučené trasy: %1$s %2$s</string>
- <string name="routes_debug">Instalované VPNService trasy: %1$s%2$s</string>
- <string name="ip_not_cidr">Získány informace o rozhraní %1$s a %2$s, předpokládám, že druhá adresa je adresa vzdáleného kolegy. Používám /32 masku pro místní IP adresu. Mód OpenVPN je \"%3$s\".</string>
- <string name="route_not_cidr">%1$s a %2$s jako IP adresy s CIDR maskou nedávají smysl, používám /32 jako masku.</string>
- <string name="route_not_netip">Směrování opraveno z %1$s/%2$s na %3$s/%2$s</string>
- <string name="keychain_access">Nelze přistoupit k Androidímu úložišti certifikátů. To může být způsobeno aktualizací firmwaru nebo obnovováním aplikace a jejího nastavení ze zálohy. Uprav VPN profil a znovu vyber certifikát pro vytvoření patřičných povolení.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Odeslat soubor s logem</string>
- <string name="send">Odeslat</string>
- <string name="ics_openvpn_log_file">ICS OpenVPN logovací soubor</string>
- <string name="copied_entry">Záznam z logu zkopírován do schránky</string>
- <string name="tap_mode">Tap mód</string>
- <string name="faq_tap_mode">Tap mód není možný bez rootovského VPN API, proto tato aplikace nemá podporu pro tap</string>
- <string name="tap_faq2">Opět? Děláš si srandu? Ne, tap mód opravdu není podporován a další maily na tom nic nezmění.</string>
- <string name="tap_faq3">Potřetí? Ve skutečnosti, šlo by napsat emulátor tap zařizení pomocí tun, které by patřičně zpracovávalo informace z druhé vrstvy. Ale tento emulátor by také musel implementovat ARP a DHCP. Nejsem si vědom, že by někdo tímto směrem něco podnikl. Kontaktuj mne, pokud máš zájem toto naprogramovat.</string>
- <string name="faq">FAQ</string>
- <string name="copying_log_entries">Kopírování záznamů z logu</string>
- <string name="faq_copying">Pro zkopírování jednoho záznamu stačí dlouze zmáčknout požadovaný záznam. Pro zkopírování/odeslání celého logu použij možnost Odeslat soubor s logem. Pokud není tlačítko viditené v uživatelském rozhraní, zkus použít to hardwarové.</string>
- <string name="faq_shortcut">Zkratka na spuštění</string>
- <string name="faq_howto_shortcut">Můžeš umístit zástupce pro spuštění OpenVPN na plochu. V závislosti na úvodní obrazovce budeš muset přidat buď zástupce nebo widget.</string>
- <string name="no_vpn_support_image">Tvůj obrázek není podporovaný rozhraním VPNService, je mi líto :-(</string>
- <string name="encryption">Šifrování</string>
- <string name="cipher_dialog_title">Zadej šifrovací metodu</string>
- <string name="chipher_dialog_message">Zadej šifrovací algoritmus. Ponech prázdné pro výchozí šifru.</string>
- <string name="auth_dialog_message">Zadej algoritmus pro autentizaci. Nech prázdné pro výchozí algoritmus.</string>
- <string name="settings_auth">Autentizace/Šifrování</string>
- <string name="file_explorer_tab">Prohlížeč souború</string>
- <string name="inline_file_tab">Vložený soubor</string>
- <string name="error_importing_file">Chyba při importu souboru</string>
- <string name="import_error_message">Nemohu importovat soubor ze souborového systému</string>
- <string name="inline_file_data">[[Vložená data]]</string>
- <string name="opentun_no_ipaddr">Odmítám otevřít tun zařízení bez informace o IP</string>
- <string name="menu_import">Importovat profil z ovpn souboru</string>
- <string name="menu_import_short">Import</string>
- <string name="import_content_resolve_error">Nemohu přečíst profil k importu</string>
- <string name="error_reading_config_file">Chyba při čtení konfiguračního souboru</string>
- <string name="add_profile">přidat profil</string>
- <string name="import_could_not_open">Nemohu najít soubor %1$s zmiňovaný v importovaném profilu</string>
- <string name="importing_config">Importuji nastavení z %1$s</string>
- <string name="import_warning_custom_options">V konfiguraci bylo několik nastavení, která nejsou mapována na uživateské rozhraní. Toto nastavení bylo přidáno jako vlastní konfigurace. Vlastní konfigurace je zobrazena níže:</string>
- <string name="import_done">Dočetl jsem konfigurační soubor.</string>
- <string name="nobind_summary">Nevázat se k místní adrese a portu</string>
- <string name="no_bind">Nesvazovat se</string>
- <string name="import_configuration_file">Importovat nastavení ze souboru</string>
- <string name="faq_security_title">Úvaha o bezpečnosti</string>
- <string name="faq_security">\"Protože OpenVPN je citlivá na bezpečnost je na místě několik poznámek. Všechna data na SD kartě jsou už z principu nezabezpečená. Každá aplikace je může číst (například ani tento program nepotřebuje žádná speciǎlní práva pro SD kartu). Data této aplikace může přečist jen aplikace sama. Použitím importu pro certifikáty/klíče jsou data uložena do VPN profilu. VPN profily jsou přístupné pouze pro tuto aplikaci. (Nezapomeň ale potom smazat kopie z SD karty.) Ale i když jsou data čitelná jen touto aplikací, nejsou nijak šifrována. Je-li zařízení rootnuté nebo nějak jinak upravené, existuje možnost získat tyto data. Uložená hesla jsou také v čitelné podobě. Pro pkcs12 certifikáty je velmi doporučeno využít importu do androidího úložiště.</string>
- <string name="import_vpn">Import</string>
- <string name="broken_image_cert_title">Chyba při zobrazení výběru certifikátu</string>
- <string name="broken_image_cert">Vyjímka při pokusu o zobrazení Android 4.0+ dialogu pro výběr certifikátu. Toto je standardní funkce Androidu 4.0+, takže k této chybě nemělo vůbec dojít, možná je chyba v podpoře certifikátů ve tvém systému</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Čekám na zprávu o stavu&#8230;</string>
- <string name="converted_profile">importovaný profil</string>
- <string name="converted_profile_i">importovaný profil %d</string>
- <string name="broken_images">Rozbité systémy</string>
- <string name="broken_images_faq">&lt;p&gt; Oficiální HTC obrazy jsou známy tím, že mají zvláštní problémy se směrováním síťového tok skrze tunel (viz také &lt; href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\" &gt; problém 18 &lt;/a&gt; v bug trackeru.)&lt;/p&gt; &lt;p&gt; Starší oficiální obrazy SONY Xperia Arc S a Xperia Ray zcela postrádaly VPNService. (Viz také &lt; href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\" &gt; problém 29 &lt;/a&gt; v bug trackeru.)&lt;/p&gt; &lt;p&gt; Na vlastních obrazech Tun modul může chybět nebo mít špatně nastavená práva. Některé obrazy CM9 potřebují povolené \"Opravit vlastnictví\" v nastavení.&lt;/p&gt; &lt;p&gt;Nejdůležitější: Pokud má zařízení poškozený Android obraz, oznam to výrobci. Čím více lidí oznámí problém výrobci, tím větší je pravděpodobnost, že to opraví.&lt;/p&gt;</string>
- <string name="pkcs12_file_encryption_key">Šifrovací klíč PKCS12</string>
- <string name="private_key_password">Heslo k soukromému klíči</string>
- <string name="password">Heslo</string>
- <string name="file_icon">ikona souboru</string>
- <string name="tls_authentication">TLS autentikace</string>
- <string name="generated_config">Vygenerované nastavení</string>
- <string name="generalsettings">Nastavení</string>
- <string name="owner_fix_summary">Pokusit se nastavit vlastníka /dev/tun zařízení. Na některých systémech s CM9 je toto potřeba pro zprovoznění VPNService API. Vyžaduje root zařízení.</string>
- <string name="owner_fix">Opravit vlastnictví /dev/tun</string>
- <string name="generated_config_summary">Zobrazí vygenerované nastavení OpenVPN</string>
- <string name="edit_profile_title">Úprava \"%s\"</string>
- <string name="building_configration">Vytvářím konfiguraci&#8230;</string>
- <string name="netchange_summary">Zapnutím této volby bude vynuceno opětovné připojení, pokud se změní stav sítě (např. z WiFi na mobilní síť a zpět)</string>
- <string name="netchange">Opětovně připojit při změně sítě</string>
- <string name="netstatus">Stav sítě: %s</string>
- <string name="extracahint">CA certifikát je obvykle získán z Androidího úložiště. Zadej samostatný certifikát, pokud dostáváš chybu při verifikaci.</string>
- <string name="select_file">Vyber</string>
- <string name="keychain_nocacert">Žádný CA certifikát nebyl získán z úložiště, autentikace pravděpodobně selže.</string>
- <string name="show_log_summary">Zobrazit okno s logem při připojování. okno lze vždy otevřít z notifikace.</string>
- <string name="show_log_window">Zobrazit okno s logem</string>
- <string name="mobile_info">Spuštěno na %1$s (%2$s) %3$s, Android API %4$d</string>
- <string name="error_rsa_sign">Chyba při podepisování klíčem %1$s: %2$s</string>
- <string name="faq_system_dialogs">VPN varování při připojování oznamující o možnosti přesměrování veškerého provozu je vynuceno systémem, aby se zabránilo zneužití VPNService API.\nNotifikace (symbol s klíčem) je také vynucena systémem, aby signalizovala odchozí VPN spojení. Na některých systémech přehrává notifikace i zvuk.\nAndroid zavedl tyto dialogy pro tvoji osobní bezpečnost a ujistil se, že nejdou obejít. (Někdu to bohužel zahrnuje i zvuk notifikace.)</string>
- <string name="faq_system_dialogs_title">Varování při připojení a zvuková notifikace</string>
- <string name="translationby">Českou lokalizaci zpracoval Jan Baier &lt;baier.jan@gmail.com&gt;</string>
- <string name="ipdns">IP a DNS</string>
- <string name="basic">Základní nastavení</string>
- <string name="routing">Směrování</string>
- <string name="obscure">Skryté OpenVPN volby. Normálně nejsou nutné.</string>
- <string name="advanced">Pokročilé</string>
- <string name="export_config_title">ICS OpenVPN nastavení</string>
- <string name="warn_no_dns">Žádné DNS servery nejsou použity. Překlad jmen nemusí fungovat. Zvaž nastavení vlastních DNS serverů. Též dbej na to, že Android bude nadále používat nastavení proxy určené pro mobilní/Wi-Fi připojení, pokud nejsou nastaveny žádné servery DNS.</string>
- <string name="dns_add_error">Nemohu přidat DNS server \"%1$s\", odmítnuto systémem: %2$s</string>
- <string name="ip_add_error">Nelze nastavit IP adresu \"%1$s\", odmítnuto systémem: %2$s</string>
- <string name="faq_howto">&lt;p&gt;Získej fungující nastavení (otestované na tvém počítači nebo stažené od poskytovatele/zaměstnavatele).&lt;/p&gt;&lt;p&gt;Pokud je to jeden soubor bez extra pem/pks12 souborů, můžeš ho poslat emailem jako přílohu. Pokud je souborů více, ulož je na SD kartu.&lt;/p&gt;&lt;p&gt;Klepni na přilohu mailu/Použij ikonu adresáře v seznamu VPN pro import nastavení.&lt;/p&gt;&lt;p&gt;Pokud se zobrazí chyby o chybějících souborech, ulož je na SD kartu.&lt;/p&gt;&lt;p&gt;Pro přidání importované VPN do seznamu, klepni na symbol pro uložení.&lt;/p&gt;&lt;p&gt;Pro připojení k VPN klepni na její jméno.&lt;/p&gt;&lt;p&gt;Pokud se v logu objeví varování nebo chyby, pokus se jim porozumět a opravit nastavení.&lt;/p&gt; </string>
- <string name="faq_howto_title">Rychlý start</string>
- <string name="setting_loadtun_summary">pokus se nahrát jaderný modul tun.ko před pokusem o připojení. Vyžaduje rootnuté zařízení.</string>
- <string name="setting_loadtun">Nahrát tun modul</string>
- <string name="importpkcs12fromconfig">Importovat PKCS12 z konfigurace do Andoidího úložiště</string>
- <string name="getproxy_error">Chyba při zjišťování nastavení proxy: %s</string>
- <string name="using_proxy">Používám proxy %1$s %2$d</string>
- <string name="use_system_proxy">Použít systémovou proxy</string>
- <string name="use_system_proxy_summary">K připojení použít systémové nastavení pro HTTP/HTTPS.</string>
- <string name="donatewithpaypal">K přispění můžeš využít &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;PayPal&lt;/a&gt; </string>
- <string name="onbootrestartsummary">OpenVPN se opětovně připojí k VPN, pokud byla aktivní před vypnutím/restartem systému. Přečti si oddíl o varování před připojením než použiješ tuto možnost.</string>
- <string name="onbootrestart">Znovu připoj po restartu</string>
- <string name="ignore">Ignorovat</string>
- <string name="restart">Restartovat</string>
- <string name="restart_vpn_after_change">Změna nastavení začne platit až po restartu VPN. Restartovat teď?</string>
- <string name="configuration_changed">Nastavení změněno</string>
- <string name="log_no_last_vpn">Nemohu zjistit naposledy připojený profil k úpravě</string>
- <string name="faq_duplicate_notification_title">Zdvojená notifikace</string>
- <string name="faq_duplicate_notification">Pokud je Android pod velkým tlakem (na RAM paměť), aplikace a služby, které nejsou zrovna potřeba, jsou odstraněny z aktivní paměti. To ukončí odchozí VPN spojení. K zajištění, že OpenVPN spojení přežije, služba běží s vysokou prioritou. Aby mohla služba běžet s vysokou prioritou, musí zobrazit notifikaci. Notifikace s klíčem je vynucena systémem (jak je popsáno v jiném oddílu) a nepočítá se jako aplikační notifikace pro účely běhu s vysokou prioritou.</string>
- <string name="no_vpn_profiles_defined">není definován VPN profil.</string>
- <string name="add_new_vpn_hint">Použij ikonu &lt;img src=\"ic_menu_add\"/&gt; k přidání nové VPN</string>
- <string name="vpn_import_hint">Použij ikonu &lt;img src=\"ic_menu_archive\"/&gt; k imporu existujícího (.ovpn nebo .conf) profilu z SD karty.</string>
- <string name="faq_hint">Ujisti se, že jsi si pročetl FAQ. Je zde nápověda pro rychlý start.</string>
- <string name="faq_routing_title">Nastavení směrování/rozhraní</string>
- <string name="faq_routing">Směrování a konfigurace rozhraní není provedena pomocí tradičních příkazů ifconfig/route, ale pomocí VPNService API. To má za následek odlišnou konfiguraci směrování, než na jiných operačních systémech. Konfigurace VPN tunelu se skládá z IP adresy a sítě, která má být směrována skrze toto rozhraní. Zejména není potřeba adresa protistrany nebo brány. Speciální směrování pro dosažení VPN serveru (například v případě použití redirect-gataway direktivy) také není potřeba. Aplikace bude toto nastavení při importu konfigurace ignorovat. Aplikace pomocí VPNService API zajišťuje, že spojení k VPN serveru není směrováno skrze tunel. Povoleno je pouze specifikování sítí, které se mají směrovat skrze tunel. Aplikace se snaží detekovat sítě, které by neměli procházet tunelem (např. route x.x.x.x y.y.y.y net_gateway) a vypočítává nastavení směrování tak, aby emulovalo správné chováni jako na ostatních platformách. Logovací okno ukazuje konfiguraci VPNService při navázání spojení.</string>
- <string name="persisttun_summary">Nevracej se ke spojení mimo VPN, zatímco se OpenVPN připojuje.</string>
- <string name="persistent_tun_title">Trvalý tun</string>
- <string name="openvpn_log">OpenVPN Log</string>
- <string name="import_config">Importovat OpenVPN nastavení</string>
- <string name="battery_consumption_title">Spotřeba baterie</string>
- <string name="baterry_consumption">V testech se jako hlavní důvod vysoké spotřeby baterie ukázaly keepalive pakety. Většina OpenVPN serverů má v konfiguraci něco jako \'keepalive 10 60\', což znamená posílání paketů každých deset vteřin. &lt;p&gt; Tyto pakety jsou malé a neznamenají velký provoz, ale udržují mobilní síť aktivní a zvyšují spotřebu energie. (Viz také &lt;a href=\"http://developer.android.com/training/efficient-downloads/efficient-network-access.html#RadioStateMachine\"&gt;The Radio State Machine | Android Developers&lt;/a&gt;)&lt;p&gt; Toto nastavení nelze změnit na klientské straně. Jen administrátor OpenVPN může toto nastavení změnit. &lt;p&gt; Bohužel používání keepalive hodnot větších než 60 vteřin spolu s UDP může způsobovat problémy s některými NATy, které ukončují po krátkém čase spojení. Použití TCP s dlouhým keepalive funguje, ale má problém \"TCP přes TCP\" (Viz &lt;a href=\"http://sites.inka.de/bigred/devel/tcp-tcp.html\"&gt;Proč je TCP přes TCP špatný nápad&lt;/a&gt;)</string>
- <string name="faq_tethering">Androidí funkce tetheringu (přes WiFi, USB, nebo Bluetooth) a VPService API (používané tímto programem) spolu nepracují. Více detailů viz &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\"&gt;problém #34&lt;/a&gt;</string>
- <string name="vpn_tethering_title">VPN a tethering</string>
- <string name="connection_retries">Opakování připojení</string>
- <string name="reconnection_settings">Nastavení obnovení</string>
- <string name="connectretrymessage">Počet vteřin mezi pokusy o připojení.</string>
- <string name="connectretrywait">Vteřin mezi připojeními</string>
- <string name="minidump_generated">OpenVPN neočekávaně havarovalo. Zvaž možnost použití volby poslat Minidump z hlavního menu</string>
- <string name="send_minidump">Poslat Minidump vývojáři</string>
- <string name="send_minidump_summary">Poslat ladící informace o poslední havárii vývojáři</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">Připojuji se</string>
- <string name="state_wait">Čekání na odpověď serveru</string>
- <string name="state_auth">Ověřuji autorizaci</string>
- <string name="state_get_config">Stahuji konfiguraci klienta</string>
- <string name="state_assign_ip">Nastavuji IP adresu</string>
- <string name="state_add_routes">Přidávám trasy</string>
- <string name="state_connected">Připojeno</string>
- <string name="state_disconnected">Odpojit</string>
- <string name="state_reconnecting">Obnovuji připojení</string>
- <string name="state_exiting">Ukončuji</string>
- <string name="state_noprocess">Neběží</string>
- <string name="state_resolve">Překlad názvů</string>
- <string name="state_tcp_connect">Připojuji (TCP)</string>
- <string name="state_auth_failed">Přihlášení nebylo úspěšné</string>
- <string name="state_nonetwork">Čekání na použitelnou síť</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Nepřipojeno</string>
- <string name="start_vpn_title">Připojování k VPN %s</string>
- <string name="start_vpn_ticker">Připojování k VPN %s</string>
- <string name="jelly_keystore_alphanumeric_bug">Některé verze Androidu 4.1 mají problém, pokud je ve jméně certifikátu obsažen jiný než alfanumerický znak (mezera, podtržítko, mínus). Zkus reimportovat certifikát bez speciálních znaků</string>
- <string name="encryption_cipher">Šifrovací algoritmus</string>
- <string name="packet_auth">Ověřování paketů</string>
- <string name="auth_dialog_title">Zadej způsob ověřování paketů</string>
- <string name="mobile_info_extended">Běží na %1$s (%2$s) %3$s, Android API %4$d, verze %5$s, %6$s</string>
- <string name="built_by">sestaveno od %s</string>
- <string name="debug_build">ladící verze</string>
- <string name="official_build">oficiální verze</string>
- <string name="make_selection_inline">Zkopírovat do profilu</string>
- <string name="crashdump">Havarijní výpis</string>
- <string name="add">Přidat</string>
- <string name="send_config">Odeslat konfigurační soubor</string>
- <string name="complete_dn">Kompletní DN</string>
- <string name="remotetlsnote">Tvá importovaná konfigurace používá ZASTARALÉ nastavení tls-remote, které používá jiný formát DN.</string>
- <string name="rdn">RDN (běžné jméno)</string>
- <string name="rdn_prefix">RDN prefix</string>
- <string name="tls_remote_deprecated">tls-remote (ZASTARALÉ)</string>
- <string name="help_translate">Můžeš pomoci s překladem, navštiv http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s se pokouší o kontrolu %2$s</string>
- <string name="remote_warning">Pokračováním dáváš aplikaci oprávnění pro kompletní kontrolu OpenVPN a k zachytávání veškerého síťového provozu. <b>Nepotvrzuj, pokud nevěříš aplikaci.</b> V opačném případě riskuješ napadení nebezpečným softwarem</string>
- <string name="remote_trust">Věřím této aplikaci.</string>
- <string name="no_external_app_allowed">Žádné aplikaci není povoleno použít externí API</string>
- <string name="allowed_apps">Povolené aplikace: %s</string>
- <string name="clearappsdialog">Vyčistit seznam povolených aplikací?\nSoučasný seznam povolených aplikací:\n\n%s</string>
- <string name="screenoff_summary">\"Pozastavit VPN, pokud je obrazovka vypnutá a za posledních 60 vteřin se přeneslo méně než 64 kB. Pokud je volba \"Trvalé TUN\" povolena, pozastavení VPN dostane zařízení do stavu BEZ konektivity. Bez \"Trvalé TUN\" možnosti nebude mít zařízení VPN připojení (ochranu).</string>
- <string name="screenoff_title">Pozastavit VPN připojení při vypnutí obrazovky</string>
- <string name="screenoff_pause">Pozastavit připojení při vypnuté obrazovce: méně než %1$s za %2$s vteřin</string>
- <string name="screen_nopersistenttun">Varování: \"Trvalý TUN\" není pro tuto VPN povolen. Provoz použije při vypnuté obrazovce normální internetové připojení.</string>
- <string name="save_password">Uložit heslo</string>
- <string name="pauseVPN">Pozastavit VPN</string>
- <string name="resumevpn">Obnovit VPN</string>
- <string name="state_userpause">Pozastavení VPN vyžádáno uživatelem</string>
- <string name="state_screenoff">VPN pozastaveno - vypnutá obrazovka</string>
- <string name="device_specific">Hacky specifické pro zařízení</string>
- <string name="cannotparsecert">Nelze zobrazit informace o certifikátu</string>
- <string name="appbehaviour">Chování aplikace</string>
- <string name="vpnbehaviour">Chování VPN</string>
- <string name="allow_vpn_changes">Povolit změny VPN profilů</string>
- <string name="hwkeychain">Hardwarové úložiště:</string>
- <string name="permission_icon_app">Ikona aplikace snažící se použít OpenVPN pro Android</string>
- <string name="faq_vpndialog43">"Počínaje Androidem 4.3, VPN konfirmace je chráněná proti \"překryvným aplikacím\". Výsledkem je dialog nereagující na dotyk. Pokud máš aplikaci používající překryv, může to způsobit toto chování. Pokud nalezneš škodlivou aplikaci, kontaktuj jejího autora. Tento problém ovlivňuje všechny VPN aplikace na Androidu 4.3 a vyšší. Viz také &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=185\"&gt;Problém 185&lt;a&gt; pro další detaily."</string>
- <string name="faq_vpndialog43_title">VPN potvrzovací dialog na Androidu 4.3 a vyšší</string>
- <string name="donatePlayStore">Případně mě můžete sponzorovat přes Play Store:</string>
- <string name="thanks_for_donation">Díky za sponzorováni %s!</string>
- <string name="logCleared">Log vyčištěn.</string>
- <string name="show_password">Ukázat heslo</string>
- <string name="keyChainAccessError">Chyba přístupu ke KeyChain: %s</string>
- <string name="timestamp_short">Krátký</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">Časové značky</string>
- <string name="timestamps_none">Žádný</string>
- <string name="uploaded_data">Nahrávání</string>
- <string name="downloaded_data">Stahování</string>
- <string name="vpn_status">VPN stav</string>
- <string name="logview_options">Zobrazit možnosti</string>
- <string name="unhandled_exception">Neošetřená výjimka: %1$s\n\n%2$s</string>
- <string name="unhandled_exception_context">%3$s: %1$s\n\n%2$s</string>
- <string name="faq_system_dialog_xposed">Pokud máš rootnuté zařízení, můžeš nainstalovat &lt;a href=\"http://xposed.info/\"&gt;Xposed framework&lt;/a&gt; a &lt;a href=\"http://repo.xposed.info/module/de.blinkt.vpndialogxposed\"&gt;VPN potvrzovací modul&lt;/a&gt; na vlastní nebezpečí\"</string>
- <string name="full_licenses">Plné licence</string>
- <string name="blocklocal_summary">Sítě přímo připojené na lokální rozhraní nebudou směrovány skrze VPN. Odškrtnutím této volby bude přesměrován všechen lokální provoz do VPN.</string>
- <string name="blocklocal_title">Nepoužívat VPN pro lokální sítě</string>
- <string name="userpw_file">Soubor pro Jméno/Heslo</string>
- <string name="imported_from_file">[Importováno z: %s]</string>
- <string name="files_missing_hint">Některé soubory nemohly být nalezeny. Prosím vyber profil, který chceš importovat:</string>
- <string name="openvpn_is_no_free_vpn">Pro používání této aplikace je potřeba VPN poskytovatel/brána, která podporuje OpenVPN (často je to zaměstnavatel). Pro více informací a návod na nastavení OpenVPN serveru navštiv http://community.openvpn.net/</string>
- <string name="import_log">Import logu:</string>
- <string name="ip_looks_like_subnet">Vpn topologie \"%3$s\" soecifikována, ale ifconfig %1$s %2$s vypadá spíše jako IP adresa se síťovou maskou. Předpokládám \"podsíťovou\" topologii.</string>
- <string name="mssfix_invalid_value">mssfix hodnota musí být celé číslo mezi 0 a 9000</string>
- <string name="mssfix_value_dialog">Oznámit TCP sezením běžícím skrze tunel, že mají limitovat velikost odesílaných paketů tak, aby poté, co je OpenVPN zabalí, byla výsledná velikost UDP paketu, které OpenVPN posílá menší než tento počet bytů. (výchozí je 1450)</string>
- <string name="mssfix_checkbox">Přepsat hodnotu MSS pro TCP obsah</string>
- <string name="mssfix_dialogtitle">Nastavit MSS pro TCP obsah</string>
- <string name="client_behaviour">Chování klienta</string>
- <string name="clear_external_apps">Zrušit povolené externí aplikace</string>
- <string name="loading">Načítání&#8230;</string>
- <string name="allowed_vpn_apps_info">Povolené VPN aplikace: %1$s</string>
- <string name="disallowed_vpn_apps_info">Zakázané VPN aplikace: %1$s</string>
- <string name="app_no_longer_exists">Balíček %s již není nainstalován, odstraňuji ho ze seznamu povolených/zakázaných aplikací</string>
- <string name="vpn_disallow_radio">VPN je používaná pro všechny aplikace, kromě</string>
- <string name="vpn_allow_radio">VPN je používaná je pro vybrané aplikace</string>
- <string name="query_delete_remote">Odstranit položku vzdáleného serveru?</string>
- <string name="keep">Zachovat</string>
- <string name="delete">Smazat</string>
- <string name="add_remote">Přidat nové vzdálené místo</string>
- <string name="remote_random">Použít položky k připojení v náhodném pořadí</string>
- <string name="remote_no_server_selected">Je potřeba definovat a povolit alespoň jeden vzdálený server.</string>
- <string name="server_list">Seznam serverů</string>
- <string name="vpn_allowed_apps">Povolené aplikace</string>
- <string name="advanced_settings">Pokročilé nastavení</string>
- <string name="payload_options">Možnosti dat</string>
- <string name="tls_settings">Nastevení TLS</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-de/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-de/strings.xml
deleted file mode 100755
index b15f6b20..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-de/strings.xml
+++ /dev/null
@@ -1,354 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN für Android</string>
- <string name="address">Server:</string>
- <string name="port">Server Port:</string>
- <string name="location">Ort</string>
- <string name="cant_read_folder">Verzeichnis kann nicht gelesen werden</string>
- <string name="select">Auswählen</string>
- <string name="cancel">Abbrechen</string>
- <string name="no_data">Keine Daten</string>
- <string name="useLZO">LZO Komprimierung</string>
- <string name="client_no_certificate">Kein Zertifikat</string>
- <string name="client_certificate_title">Clientzertifikat</string>
- <string name="client_key_title">Clientzertifikatsschlüssel</string>
- <string name="client_pkcs12_title">PKCS12 Datei</string>
- <string name="ca_title">CA Zertifikat</string>
- <string name="no_certificate">Kein Zertifikat ausgewählt</string>
- <string name="copyright_guicode">Quellcode und Issue Tracker sind verfügbar unter http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">Dieses Programm nutzt die folgenden Komponenten. Die kompletten Lizenzdetails sind im Quelltext verfügbar.</string>
- <string name="about">Über</string>
- <string name="vpn_list_title">Profile</string>
- <string name="vpn_type">Typ</string>
- <string name="pkcs12pwquery">PKCS12 Passwort</string>
- <string name="file_select">Auswählen&#8230;</string>
- <string name="file_nothing_selected">Nichts ausgewählt</string>
- <string name="useTLSAuth">Benutze TLS Authentifizierung</string>
- <string name="tls_direction">TLS Richtung</string>
- <string name="ipv6_dialog_tile">Tragen Sie die IPv6 Adresse und Netzmaske im CIDR Format ein (z.B. 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">Tragen Sie die IPv4 Adresse und Netzmaske im CIDR Format ein (z.B. 1.2.3.4/24)</string>
- <string name="ipv4_address">IPv4 Adresse</string>
- <string name="ipv6_address">IPv6 Adresse</string>
- <string name="custom_option_warning">Tragen Sie eigene OpenVPN Optionen ein. Beachten Sie, dass einige (vor allem tun spezifische) Optionen von der Android Version nicht unterstützt werden können. Wenn Sie denken, dass eine wichtige Option fehlt, kontaktieren Sie den Autor</string>
- <string name="auth_username">Benutzername</string>
- <string name="auth_pwquery">Passwort</string>
- <string name="static_keys_info">Für die statische Konfiguration werden die TLS Auth Schlüssel als statische Schlüssel benutzt</string>
- <string name="configure_the_vpn">VPN konfigurieren</string>
- <string name="menu_add_profile">Profil hinzufügen</string>
- <string name="add_profile_name_prompt">Geben Sie einen Namen für das neue Profil an</string>
- <string name="duplicate_profile_name">Profilname bereits vorhanden. Bitte vergeben Sie einen eindeutigen Profilnamen.</string>
- <string name="profilename">Profilname</string>
- <string name="no_keystore_cert_selected">Kein Benutzerzertifikat ausgewählt</string>
- <string name="no_error_found">Kein Fehler.</string>
- <string name="config_error_found">Fehler in der Konfiguration</string>
- <string name="ipv4_format_error">Fehler beim Auflösen der IPv4-Adresse</string>
- <string name="custom_route_format_error">Kann die manuell angegeben Routen nicht parsen</string>
- <string name="pw_query_hint">(Leer lassen um nicht zu speichern)</string>
- <string name="vpn_shortcut">OpenVPN Verknüpfung</string>
- <string name="vpn_launch_title">VPN verbinden</string>
- <string name="shortcut_profile_notfound">Von der Verknüpfung referenziertes Profil konnte nicht gefunden werden</string>
- <string name="random_host_prefix">Random Host Präfix</string>
- <string name="random_host_summary">Verwürfelt den Hostnamen mit zufälligen Präfix</string>
- <string name="custom_config_title">Eigene Konfigurationsoptionen</string>
- <string name="custom_config_summary">Geben Sie eigene Konfigurationsoptionen an. Seien Sie vorsichtig!</string>
- <string name="route_rejected">Route von Android zurückgewiesen.</string>
- <string name="cancel_connection">Trennen</string>
- <string name="cancel_connection_long">VPN Verbindung trennen</string>
- <string name="clear_log">Log löschen.</string>
- <string name="title_cancel">Trennungsbestätigung</string>
- <string name="cancel_connection_query">Möchten Sie das VPN trennen bzw. den Verbindungsversuch abbrechen?</string>
- <string name="remove_vpn">VPN löschen</string>
- <string name="check_remote_tlscert">Überprüfe, ob der Server ein Zertifikat mit TLS-Servererweiterungen verwendet (--remote-cert-tls server)</string>
- <string name="check_remote_tlscert_title">TLS-Serverzertifikat erwarten</string>
- <string name="remote_tlscn_check_summary">Server Zertifikatssubjekt DN überprüfen</string>
- <string name="remote_tlscn_check_title">Zertifikat Namen überprüfen</string>
- <string name="enter_tlscn_dialog">Spezifizieren Sie die Methode mit welcher der DN des Serverzertifikates (z. B. C=DE, L=Paderborn, OU=Avian IP-Carrier, CN=openvpn.blinkt.de) überprüft wird.\n\nSie können den vollständigen DN oder den RDN (openvpn.blinkt.de im Beispiel) oder ein RDN-Präfix angeben.\n\nDer RDN Präfix \"Server\" erlaubt z.B. \"Server-1\" und \"Server-2\" \n\nWenn Sie das Eingabefeld leer lassen, wird der RDN gegen den Servernamen geprüft.\n\n Für weitere Details sehen Sie die Manpage von OpenVPN 2.3.1+ unter —verify-x509-name</string>
- <string name="enter_tlscn_title">Serverzertifikat Subject</string>
- <string name="tls_key_auth">Benutzte TLS Schlüssel Authentifizierung</string>
- <string name="tls_auth_file">TLS Auth Datei</string>
- <string name="pull_on_summary">Fordert IP Adressen, Routen und andere Optionen vom Server an.</string>
- <string name="pull_off_summary">Keine Informationen werden vom Server bezogen. Geben Sie manuell die Optionen an.</string>
- <string name="use_pull">Pull Settings</string>
- <string name="dns">DNS</string>
- <string name="override_dns">Eigene DNS Server.</string>
- <string name="dns_override_summary">Eigene DNS Server benutzen.</string>
- <string name="searchdomain">DNS Such Domäne</string>
- <string name="dns1_summary">Primärer DNS Server</string>
- <string name="dns_server">DNS Server</string>
- <string name="secondary_dns_message">Sekundärer DNS Server. Wird genutzt falls der normale DNS Server nicht erreicht werden kann</string>
- <string name="backup_dns">Backup DNS Server</string>
- <string name="ignored_pushed_routes">Ignoriere gepushte Routen</string>
- <string name="ignore_routes_summary">Ignoriere die Routen, die der Server dem Client sendet.</string>
- <string name="default_route_summary">Leitet allen Internet Verkehr über das VPN</string>
- <string name="use_default_title">Benutze Default Route</string>
- <string name="custom_route_message">Benutze eigene Routen. Geben Sie Zielnetzwerk im CIDR Format an. Z.b. \"10.0.0.0/8 2002::/16\" würde die Netzwerke 10.0.0.0/8 und 2002::/16 über das VPN routen.</string>
- <string name="custom_route_message_excluded">Netze, die nicht über das VPN geleitet werden sollen. Nutzt die gleiche Syntax wie die eigenen Routen.</string>
- <string name="custom_routes_title">Eigene Routen</string>
- <string name="custom_routes_title_excluded">Ausgeschlossene Netze</string>
- <string name="log_verbosity_level">Log Detail Level</string>
- <string name="float_summary">Erlaube authentifizierte Pakete von jeder IP</string>
- <string name="float_title">Erlaube floating Server</string>
- <string name="custom_options_title">Eigene Optionen</string>
- <string name="edit_vpn">Ändere VPN Einstellungen</string>
- <string name="remove_vpn_query">VPN Profile \'%s\' löschen?</string>
- <string name="tun_error_helpful">Auf manchen ROM Version sind eventuell die Zugriffsrechte von /dev/tun falsch oder das tun Kernel Modul fehlt. Für Cyanogenmod 9 ROMs mit root gibt einen provisorischen Fix in den generellen Einstellungen.</string>
- <string name="tun_open_error">Das Öffnen des tun Interfaces ist katastrophal gescheitert</string>
- <string name="error">"Fehler: "</string>
- <string name="clear">Clear</string>
- <string name="last_openvpn_tun_config">Öffne tun Netzwerkinterface:</string>
- <string name="local_ip_info">Lokale IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">DNS-Server: %1$s, Domäne: %2$s</string>
- <string name="routes_info_incl">Routen: %1$s %2$s</string>
- <string name="routes_info_excl">ausgeschlossene Routen: %1$s %2$s</string>
- <string name="routes_debug">Installierte Routen (VpnService): %1$s %2$s</string>
- <string name="ip_not_cidr">Interface Information %1$s und %2$s, nehme an, die zweite Adresse ist die Peer Adresse. Benutze /32 Netzmaske für die lokale IP Adresse. Interface Modus spezifiziert von OpenVPN ist \"%3$s\".</string>
- <string name="route_not_cidr">Die Route %1$s mit der Netzmaske %2$s ist keine Route mit einer CIDR Netzmaske, benutze /32 als Netzmaske.</string>
- <string name="route_not_netip">Route %1$s/%2$s korrigiert zu %3$s/%2$s</string>
- <string name="keychain_access">Kann nicht auf die Android Keychain Zertifikate zugreifen (dies kann durch ein System Update oder durch Zurücksichern der Anwendung aus einem Backup hervorgerufen werden). Bitte editieren Sie das VPN und wählen Sie erneut das Zertifikat in dem Grundeinstellungen aus, um die Zugriffsberechtigung für das Zertifikat wieder herzustellen.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Sende Logdatei</string>
- <string name="send">Sende</string>
- <string name="ics_openvpn_log_file">ICS OpenVPN log Datei</string>
- <string name="copied_entry">Log Eintrag in die Zwischenablage kopiert</string>
- <string name="tap_mode">Tap Mode</string>
- <string name="faq_tap_mode">Die VPN API von Android, die ohne rooten des Telefons funktioniert, unterstützt nur den tun Modus. Das Unterstützen des Tap Modus ist daher nicht möglich.</string>
- <string name="tap_faq2">Die gleiche Frage nochmal? Meinen Sie das ernst? Ohne root kann tap wirklich nicht unterstützt werden. Emails an mich, mit der Frage, wann tap unterstützt wird, helfen hier kein Stück.</string>
- <string name="tap_faq3">Ein drittes Mal? Nun gut, theoretisch kann tap mit einem tun Gerät emuliert werden. Dieser tap Emulator müsste die Layer 2 Informationen beim Senden hinzufügen und beim Empfangen wieder entfernen. Zusätzlich muss noch ARP und sinnvollerweise auch ein DHCP Client implementiert werden. Mir ist niemand bekannt, der etwas in dieser Richtung unternimmt. Kontaktieren Sie mich, falls Sie so etwas implementieren möchten.</string>
- <string name="faq">FAQ</string>
- <string name="copying_log_entries">Kopieren von Log Einträgen</string>
- <string name="faq_copying">Um einen einzelnen Log Eintrag zu kopieren berühren Sie den Log Eintrag und halten Sie gedrückt. Um das ganze Log zu Kopieren/Versenden benutzen Sie die \"Sende Log\" Option. Falls Sie Option nicht im in der GUI sehen, drücken Sie die Menü Taste am Gerät.</string>
- <string name="faq_shortcut">Verknüpfung zu einem VPN</string>
- <string name="faq_howto_shortcut">Sie können ein Shortcut zum Starten des VPN auf Ihren Startbildschirm ablegen. Abhängig von der verwendeten Benutzeroberfläche müssen Sie ein Widget, einen Shortcut oder eine Verknüpfung hinzufügen.</string>
- <string name="no_vpn_support_image">Dieses Android ROM enthält keine VPNService API. Sorry :(</string>
- <string name="encryption">Verschlüsselung</string>
- <string name="cipher_dialog_title">Geben Sie die Verschlüsslungsmethode an</string>
- <string name="chipher_dialog_message">Geben sie den Verschlüsslungsalgorithmus an, der von OpenVPN genutzt werden soll. Lassen sie das Feld frei, um den Standardalgorithmus zu verwenden.</string>
- <string name="auth_dialog_message">Geben Sie den Hashalgorithmus der zur Nachrichtenauthentifizierung benutzt wird an. Leer lassen um den Standard Algorithmus zu nutzen.</string>
- <string name="settings_auth">Authentifizierung/Verschlüsselung</string>
- <string name="file_explorer_tab">Datei auswählen…</string>
- <string name="inline_file_tab">Eingebettete Datei</string>
- <string name="error_importing_file">Fehler beim importieren der Datei</string>
- <string name="import_error_message">Konnte Datei nicht vom Dateisystem importieren</string>
- <string name="inline_file_data">[[Eingebettete Datei]]</string>
- <string name="opentun_no_ipaddr">Verweigere tun Gerät zu öffnen ohne IP Information</string>
- <string name="menu_import">Importiere Profil von .ovpn Datei</string>
- <string name="menu_import_short">Import</string>
- <string name="import_content_resolve_error">Konnte zu importierendes Profil nicht lesen</string>
- <string name="error_reading_config_file">Fehler beim Lesen der Konfigurationsdatei</string>
- <string name="add_profile">Profil hinzufügen</string>
- <string name="import_could_not_open">Konnte die Datei %1$s, die in der importierten Konfiguration angeben war, nicht finden</string>
- <string name="importing_config">Importiere Konfigurationsdatei aus %1$s</string>
- <string name="import_warning_custom_options">Ihre Konfiguration hatte ein paar Konfigurationsoptionen, die nicht direkt mit der GUI konfigurierbar sind. Diese Optionen wurden als benutzerdefinierte Konfigurationsoptionen hinzugefügt. Dies sind:</string>
- <string name="import_done">Konfigurationsdatei lesen abgeschlossen.</string>
- <string name="nobind_summary">Binde nicht an lokalen Port und IP Adresse</string>
- <string name="no_bind">Kein lokales Binden</string>
- <string name="import_configuration_file">Importiere Konfigurationsdatei</string>
- <string name="faq_security_title">Bemerkungen zur Sicherheit</string>
- <string name="faq_security">Da OpenVPN sicherheitsrelevant ist, sind einige Worte zur Sicherheit der Anwendung angebracht. Alle Daten, die sich auf der SD Karte befinden sind als absolut unsicher anzusehen. Jede Anwendung kann diese lesen. (Diese Anwendung braucht zum Beispiel keine SD Karten Berechtigung). Die restlichen Konfiguration dieser Anwendung kann nur von der Anwendung selbst gelesen werden. Wenn die Option genutzt wird, dass die Zertifikate und Schlüssel eingebettet werden, werden diese im VPN Profil gespeichert. Die VPN Profile sind nur von der Anwendung selbst lesbar. (Vergessen Sie nicht die ursprünglichen Zertifikate/Schlüssel von der SD Karte zu löschen). Die Daten die Anwendung selbst speichert sind unverschlüsselt. Es besteht die Möglichkeit diese mittels \"rooten\" des Telefons/Tablets oder anderen Schwachstellend diese Daten auszulesen. Gespeicherte Passwörter werden auch im Klartext gespeichert. Es wird dringend empfohlen die Zertifikate in dem Android Keystore zu speichern.\"</string>
- <string name="import_vpn">Importieren</string>
- <string name="broken_image_cert_title">Fehler beim Anzeigen des Zertifikatsauswahlbildschirmes</string>
- <string name="broken_image_cert">Android hat einen Fehler beim Anzeigen des Zertifikat Dialog gemeldet. Dies sollte nie passieren, da dies ein Standard Feature von Android 4.0+ ist. Eventuell ist Unterstützung von Zertifikaten in Ihrer Firmware fehlerhaft</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Warte auf OpenVPN Status Nachricht&#8230;</string>
- <string name="converted_profile">Importiertes Profil</string>
- <string name="converted_profile_i">Importiertes Profil %d</string>
- <string name="broken_images">Fehlerhafte Images</string>
- <string name="broken_images_faq">&lt;p&gt;Von offiziellen HTC Firmwares ist bekannt, dass diese teilweise merkwürdige Routing Probleme haben, die dafür sorgen, dass der Verkehr nicht durch den Tunnel fließt. (Siehe auch &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\"&gt;Issue 18&lt;/a&gt; im Bug Tracker.)&lt;/p&gt;&lt;p&gt;Bei älteren Version der offiziellen SONY Firmwares für das Xperia arc S and Xperia Ray scheint der VPNService Support komplett zu fehlen. (Siehe auch &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\"&gt;Issue 29&lt;/a&gt; im Bug Tracker.)&lt;/p&gt;&lt;p&gt;Auf anderen (insbesondere Custom ROMS) fehlt teilweise das tun Kernel Modul oder die Rechte von /dev/tun sind falsch gesetzt. Auf einigen CM9 Firmware wird die \"/dev/tun Eigentümer setzen\" Option in den Allgemeinen Einstellungen benötigt.&lt;/p&gt;&lt;p&gt;Am wichtigsten ist aber, falls Sie eine fehlerhafte Firmware haben, melden Sie dies Ihrem Hersteller. Je mehr Leute den Fehler dem Hersteller melden, desto wahrscheinlicher werden Sie eine Fehlerkorrektur bekommen.&lt;/p&gt;</string>
- <string name="pkcs12_file_encryption_key">PKCS12 Veschlüsslungspassword</string>
- <string name="private_key_password">Passphrase privater Schlüssel</string>
- <string name="password">Passwort</string>
- <string name="file_icon">Datei Symbol</string>
- <string name="tls_authentication">TLS Authentifizierung</string>
- <string name="generated_config">Generierte Konfiguration</string>
- <string name="generalsettings">Einstellungen</string>
- <string name="owner_fix_summary">Versucht den Eigentümer von /dev/tun auf system zu ändern. Einige Cyanogenmod 9 ROM Versionen benötigen diese Option, damit die VPN API funktioniert. Benötigt root.</string>
- <string name="owner_fix">/dev/tun Eigentümer setzen.</string>
- <string name="generated_config_summary">Zeigt die generierte Konfigurationsdatei</string>
- <string name="edit_profile_title">Editiere \"%s\"</string>
- <string name="building_configration">Generiere OpenVPN Konfiguration&#8230;</string>
- <string name="netchange_summary">Aktivieren dieser Option zwingt OpenVPN dazu, beim Wechsel des Netzwerkes (WLAN zu Mobilfunk und umgekehrt), neu zu verbinden</string>
- <string name="netchange">Netzwerkänderungen beachten</string>
- <string name="netstatus">Netzwerkstatus: %s</string>
- <string name="extracahint">Das CA Zertifikat wird meist aus dem Zertifikatsspeicher automatisch ausgewählt. Sollte dies nicht funktionieren und Sie Verifizierungsprobleme erhalten(self signed certificate), wählen Sie manuell ein Zertifikat aus.</string>
- <string name="select_file">Auswählen</string>
- <string name="keychain_nocacert">Beim Abfragen des Android KeyStore wurde kein CA Zertifikat zurückgegeben. Überprüfen des Serverzertifikat wird wahrscheinlich fehlschlagen. Geben Sie manuell ein CA Zertifikat an.</string>
- <string name="show_log_summary">Zeigt das Status Log, wenn ein VPN verbunden wird. Das Status log kann immer über die Benachrichtigung aufgerufen werden.</string>
- <string name="show_log_window">Zeige Log</string>
- <string name="mobile_info">Modell %1$s (%2$s) %3$s, Android API %4$d</string>
- <string name="error_rsa_sign">Fehler beim Zugriff auf den Android Keystore %1$s: %2$s</string>
- <string name="faq_system_dialogs">Die Meldung, dass OpenVPN versucht eine VPN-Verbindung aufzubauen und dabei den gesamten Netzwerkverkehr abhören kann, wird vom Android System selbst erzeugt. Diese wird vom System erzwungen, damit keine Anwendung vom Benutzer unbemerkt eine VPN Verbindung aufbauen kann\Die VPN Benachrichtigung (Das Schlüssel Symbol) wird genauso vom Android System angezeigt um eine bestehende VPN anzuzeigen.\nDiese beiden Features wurden in Android für die Sicherheit des Nutzers implementiert und können nicht umgangen werden. (Auf machen Telefon/Tablets wird die Benachrichtigung leider mit einem Ton signalisiert.)</string>
- <string name="faq_system_dialogs_title">Warnung beim Verbinden und Benachrichtigungston</string>
- <string name="translationby">Deutsche Übersetzung von Arne Schwabe &lt;arne@rfc2549.org&gt;</string>
- <string name="ipdns">IP und DNS</string>
- <string name="basic">Grundeinstellungen</string>
- <string name="routing">Routing</string>
- <string name="obscure">Obskure OpenVPN Einstellungen, die normalerweise nicht benötigt werden.</string>
- <string name="advanced">Erweitert</string>
- <string name="export_config_title">ICS OpenVPN Konfiguration</string>
- <string name="warn_no_dns">Es werden keine DNS Server für die VPN Verbindung genutzt. Die Namensauflösung wird möglicherweise nicht funktionieren. Ziehen Sie in Erwähung selbst DNS Server in den Optionen zu setzen. Beachten Sie weiterhin, dass Android die Proxyeinstellungen für Handy/WLAN weiterhin benutzt, falls keine DNS Server für das VPN festgelegt sind.</string>
- <string name="dns_add_error">Konnte den DNS Server \"%1$s\" nicht hinzufügen, da das System ihn zurückweist mit %2$s</string>
- <string name="ip_add_error">Konnte nicht die IP Adresse \"%1$s\" nicht setzen. Fehlermeldung des Systems: %2$s</string>
- <string name="faq_howto">&lt;p&gt;Benutzen Sie eine funktionierende Konfiguration (getestet auf einem Computer, oder von Ihrer Organisation/Ihrem Provider bereitgestellt)&lt;/p&gt;&lt;p&gt;Falls Sie nur eine einzelne Datei benötigen, können Sie sich diese als Email-Anhang zuschicken. Falls Ihre OpenVPN Konfiguration aus mehreren Dateien besteht, müssen Sie alle Dateien auf die SD Karte kopieren.&lt;/p&gt;&lt;p&gt;Klicken Sie auf den Email Anhang im Android Mail Programm bzw. benutzen Sie das Ordner Symbol in der VPN Liste und wählen Sie die .ovpn bzw. .conf Konfigurationsdatei aus.&lt;/p&gt;&lt;p&gt;Falls der Import fehlende Dateien anmerkt, kopieren Sie diese auf die SD Karte und starten den Import erneut.&lt;/p&gt;&lt;p&gt;Benutzen Sie anschließend das Speichern Symbol um das VPN zur VPN Liste hinzuzufügen&lt;/p&gt;&lt;p&gt;Tippen Sie den Namen des VPNs an, um das VPN zu starten&lt;/p&gt;&lt;p&gt;Achten Sie auf Fehler und Warnungen im Verbindungslog.&lt;/p&gt; </string>
- <string name="faq_howto_title">Schnellstart</string>
- <string name="setting_loadtun_summary">Versuche das tun.ko Kernel Modul zu laden. Benötigt root.</string>
- <string name="setting_loadtun">Lade tun Modul</string>
- <string name="importpkcs12fromconfig">Importiere die PKCS12 Datei, die in der Konfiguration angegeben ist, in den Android Keystore</string>
- <string name="getproxy_error">Fehler beim Ermitteln der Proxy Einstellungen: %s</string>
- <string name="using_proxy">Benutzt Proxy %1$s %2$d</string>
- <string name="use_system_proxy">Benutze System Proxys</string>
- <string name="use_system_proxy_summary">Benutze die System weiten Einstellungen für HTTP/HTTPS Proxys beim Verbinden.</string>
- <string name="donatewithpaypal">&lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;Spenden mit PayPal&lt;/a&gt; </string>
- <string name="onbootrestartsummary">OpenVPN wird bei einem Neustart des Telefon das beim herunterfahren/neu starten aktive VPN wieder verbinden. Bitte lesen Sie die FAQ \"Warnung beim Verbinden\" FAQ bevor Sie diese Option verwenden.</string>
- <string name="onbootrestart">Nach Neustart verbinden</string>
- <string name="ignore">Ignorieren</string>
- <string name="restart">Neu verbinden</string>
- <string name="restart_vpn_after_change">Konfigurationsänderungen werden erst nach einem VPN Neustart aktiv. Jetzt neu verbinden?</string>
- <string name="configuration_changed">Konfiguration geändert</string>
- <string name="log_no_last_vpn">Konnte das zuletzt verbundene Profile beim Versuch des Editieren nicht ermitteln.</string>
- <string name="faq_duplicate_notification_title">Doppelte Benachrichtigungen</string>
- <string name="faq_duplicate_notification">Android beendet automatisch Anwendungen und Dienste, die im Hintergrund laufen, wenn der Arbeitsspeicher knapp wird. Wird dabei OpenVPN beendet, bricht die VPN Verbindung ab. Um dies zu vermeiden, läuft der VPN Prozess mit einer höheren Priorität. Um eine höhere Priorität nutzen zu können, muss die Anwesenheit des Prozesses dem Benutzer im Form einer Benachrichtigung mitgeteilt werden. Daher zeigt OpenVPN für Android immer seine eigene Benachrichtigung an. Die Schlüssel Benachrichtigung, die auch im letzten Eintrag erklärt wird, zählt leider nicht als Benachrichtigung, die der Anwendung erlaubt mit höherer Priorität zu arbeiten.</string>
- <string name="no_vpn_profiles_defined">Keine VPN Profile definiert.</string>
- <string name="add_new_vpn_hint">Benutzen Sie &lt;img src=\"ic_menu_add\"/&gt; um ein neues VPN anzulegen</string>
- <string name="vpn_import_hint">Benutzen Sie &lt;img src=\"ic_menu_archive\"/&gt; um ein vorhandenes (.ovpn oder .conf) Profil von Ihrer SD Karte zu importieren</string>
- <string name="faq_hint">Lesen Sie auch die FAQ. Dort befindet sich eine Schnellstart Anleitung</string>
- <string name="faq_routing_title">Routing/Netzwerk Konfiguration</string>
- <string name="faq_routing">In dieser Anwendung wird die Routing und Netzwerkkonfiguration nicht mit den traditionellen ifconfig/route Kommandos konfiguriert sondern mittels der VPNService API. Diese erwartet eine Tunnel IP Adresse und die Netzwerke, die über den Tunnel geroutet werden sollen. Insbesondere wird keine Gateway oder Peer IP Adresse benötigt. Die Anwendung ignoriert diese daher auch beim Import. Dass die Verbindung zum VPN Server nicht über den Tunnel geroutet wird, wird auch über die VPNService API sichergestellt ohne dass hierfür spezielle Routen nötig sind. Da nur Netzwerke, die über den Tunnel geroutet werden sollen, angeben werden können, ist es nicht möglich andere Routen zu unterstützen. Die Anwendung versucht daher andere Routen (wie z.B. route x.x.x.x y.y.y.y net_gateway)\" die nicht über den Tunnel geroutet werden sollen zu erkken und eine Menge von Routen zu berechnen die das Verhalten auf anderen Plattformen emulieren. Das Verbindungslog zeigt die genaue Konfiguration und die errechneten Routen beim Verbinden an.</string>
- <string name="persisttun_summary">Verhindere Zurückfallen auf nicht VPN Verbindungen während OpenVPN neu verbindet.</string>
- <string name="persistent_tun_title">Persistentes tun Device</string>
- <string name="openvpn_log">OpenVPN-Log</string>
- <string name="import_config">OpenVPN Konfiguration importieren</string>
- <string name="battery_consumption_title">Energieverbrauch</string>
- <string name="baterry_consumption">In meinen eigenen Tests ist der Hauptgrund für den hohen Stromverbrauch von OpenVPN das Senden und Empfangen der Keepalive-Pakete. Die meisten OpenVPN-Server haben eine Konfigurationsoption wie \'keepalive 10 60\', was bedeutet, dass vom Client an den Server und vom Server an den Client alle zehn Sekunden ein Paket geschickt wird. &lt;p&gt; Diese Pakete sind klein und erzeugen keine große Datenmenge. Sie sorgen allerdings dafür, dass permanent Daten übertragen werden und somit auch die Mobilfunk- bzw. WLAN Einheit aktiv ist und steigern damit den Energieverbrauch. (Siehe auch &lt;a href=\"http://developer.android.com/training/efficient-downloads/efficient-network-access.html#RadioStateMachine\"&gt;The Radio State Machine | Android Developers&lt;/a&gt;)&lt;p&gt; Diese keepalive Einstellung kann nicht auf dem Client geändert werden. Nur der Systemadministrator des VPN Servers kann die Einstellung ändern. lt;pgt; Leider hat eine keepalive Einstellung von mehr als 60 Sekunden unter udp Probleme mit einigen NAT-Gateways, die für inaktive Verbindungen nur eine sehr kurze Haltzeit haben und danach verwerfen (60s in meinen Tests). Benutzen von TCP mit langen Keep-Alive-Timeouts funktioniert, hat aber das TCP über TCP Problem. (Siehe &lt;a href=\"http://sites.inka.de/bigred/devel/tcp-tcp.html\" &gt; Why TCP Over TCP Is A Bad Idea &lt;/a&gt;)</string>
- <string name="faq_tethering">Die Funktion \"Anbindung &amp; mobiler WLAN-Hotspot\" und die VPNService-API, die von diesem Programm verwendet wird, funktionieren nicht zusammen. Für weitere Details siehe &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\"&gt; Issue #34 &lt;/a&gt;</string>
- <string name="vpn_tethering_title">VPN und \"Anbindung &amp; mobiler WLAN-Hotspot\"</string>
- <string name="connection_retries">Anzahl Verbindungsversuche</string>
- <string name="reconnection_settings">Einstellungen für das Neuverbinden</string>
- <string name="connectretrymessage">Anzahl von Sekunden zwischen Verbindungsversuchen.</string>
- <string name="connectretrywait">Sekunden zwischen Verbindungsversuchen</string>
- <string name="minidump_generated">Der OpenVPN Prozess ist unerwartet abgestürzt. Bitte erwägen Sie die Option \"Minidump senden\" im Hauptmenü</string>
- <string name="send_minidump">Minidump an Entwickler senden</string>
- <string name="send_minidump_summary">Sendet Debugging Informationen des letzten Absturzes an den Entwickler</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">Verbinde</string>
- <string name="state_wait">Warte auf Serverantwort</string>
- <string name="state_auth">Authentifiziere</string>
- <string name="state_get_config">Warte auf Clientkonfiguration</string>
- <string name="state_assign_ip">Weise IP Adressen zu</string>
- <string name="state_add_routes">Hinzufügen von Routen</string>
- <string name="state_connected">Verbunden</string>
- <string name="state_disconnected">Trennen</string>
- <string name="state_reconnecting">Wiederverbinden</string>
- <string name="state_exiting">Beende</string>
- <string name="state_noprocess">Kein OpenVPN Prozess</string>
- <string name="state_resolve">Löse Hostnamen auf</string>
- <string name="state_tcp_connect">Verbinde (TCP)</string>
- <string name="state_auth_failed">Authentifizierung fehlgeschlagen</string>
- <string name="state_nonetwork">Warte auf Internetverbindung</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Nicht verbunden</string>
- <string name="start_vpn_title">Verbinde mit VPN %s</string>
- <string name="start_vpn_ticker">Verbinde mit VPN %s</string>
- <string name="jelly_keystore_alphanumeric_bug">Einige Versionen von Android 4.1 haben Probleme, wenn der Name des im Zertifikat Keystore gespeicherten Zertifikates nicht alphanumerische Zeichen (wie Leerzeichen, Unterstriche oder Bindestriche) enthält. Probieren Sie das Sie das Zertifikat mit einem Namen ohne Sonderzeichen zu importieren.</string>
- <string name="encryption_cipher">Verschlüsslungsalgorithmus</string>
- <string name="packet_auth">Packetauthentifizierung</string>
- <string name="auth_dialog_title">Geben Sie den Authentifizierungsalgorithmus an</string>
- <string name="mobile_info_extended">Modell %1$s (%2$s) %3$s, Android API %4$d, version %5$s, %6$s</string>
- <string name="built_by">compiliert von %s</string>
- <string name="debug_build">Testversion</string>
- <string name="official_build">offizielle Version</string>
- <string name="make_selection_inline">Ins Profil einbetten</string>
- <string name="crashdump">Crashlog</string>
- <string name="add">Hinzufügen</string>
- <string name="send_config">Konfigurationsdatei senden</string>
- <string name="complete_dn">Völlständiger DN</string>
- <string name="remotetlsnote">Ihre importierte Konfiguration verwendete die alte VERALTETE tls-remote-Option, die ein anderes DN-Format verwendet.</string>
- <string name="rdn">RDN (common name)</string>
- <string name="rdn_prefix">RDN Präfix</string>
- <string name="tls_remote_deprecated">tls-remote (VERALTET)</string>
- <string name="help_translate">Sie können helfen die Übersetzung zu verbessern auf der Website http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s versucht %2$s zu steuern</string>
- <string name="remote_warning">Wenn Sie fortfahren, gestatten Sie der App OpenVPN für Android komplett zu kontrollieren und den gesamten Netzwerkverkehr abzufangen. <b> Akzeptieren Sie nur, wenn Sie der App vertrauen. </b> Anderenfalls riskieren Sie, dass Ihre Daten von schädlicher Software manipuliert werden</string>
- <string name="remote_trust">Ich vertraue dieser App.</string>
- <string name="no_external_app_allowed">Keine App für die Verwendung der API freigegeben</string>
- <string name="allowed_apps">Freigegebene Apps: %s</string>
- <string name="clearappsdialog">Liste der freigegeben externen Apps löschen? \nAktuelle Liste der freigegebenen Apps:\n\n%s</string>
- <string name="screenoff_summary">Pausiert das VPN, wenn der Bildschirm aus ist und weniger als 64 kB in 60 Sekunden übertragen wurden. Falls die Option \"Persistentes tun Device\" ausgewählt wird durch das Pausieren des VPNs das Gerät KEINE Netzwerkverbindung haben. Ohne die \"Persistentes tun Device\" Option, benutzt das Gerät die normal (ungesicherte) Internetverbindung, wenn das VPN pausiert wird.</string>
- <string name="screenoff_title">Bei ausgeschalteten Bildschirm VPN Verbindung pausieren</string>
- <string name="screenoff_pause">Pausiere VPN Verbindung da weniger als %1$s in %2$ss.</string>
- <string name="screen_nopersistenttun">Warnung: Persistentes tun Device für dieses VPN nicht aktiviert. Der Netzwerkverkehr nutzt die normale Internet Verbindung, wenn der Bildschirm aus ist.</string>
- <string name="save_password">Passwort merken</string>
- <string name="pauseVPN">VPN pausieren</string>
- <string name="resumevpn">VPN fortsetzen</string>
- <string name="state_userpause">VPN Verbindung durch Benutzer pausiert</string>
- <string name="state_screenoff">VPN pausiert wegen Inaktitvität pausiert (Bildschirm aus)</string>
- <string name="device_specific">Geräte spezifische Hacks</string>
- <string name="cannotparsecert">Kann Zertifikatsinformationen nicht anzeigen.</string>
- <string name="appbehaviour">Anwendung</string>
- <string name="vpnbehaviour">VPN</string>
- <string name="allow_vpn_changes">Änderungen an VPN-profilen zulassen</string>
- <string name="hwkeychain">Im Hardware Keystore gespeichert:</string>
- <string name="permission_icon_app">Symbol der Anwendung, die versucht OpenVPN für Android zu kontrollieren</string>
- <string name="faq_vpndialog43">Beginnend mit Android 4.3 wird der VPN-Bestätigungsdialog vor \"überlappenden Anwendungen\" geschützt. Dadurch kann es vorkommen, dass der Dialog nicht auf Eingaben reagiert. Eine Anwendung benutzen, die Overlays verwendet, kann es dieses Verhalten verursachen. Sollten Sie die verursachende Anwendung finden, kontaktieren Sie dessen Author. Dieses Problem betrifft alle VPN-Anwendungen ab Android 4.3. Siehe auch &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=185\" &gt; Issue 185 &lt;a&gt; für zusätzliche Details \"</string>
- <string name="faq_vpndialog43_title">VPN-Bestätigungsdialog ab Android 4.3</string>
- <string name="donatePlayStore">Alternativ können Sie mir per Play Store Geld zukommen lassen:</string>
- <string name="thanks_for_donation">Vielen Dank für die %s Spende!</string>
- <string name="logCleared">Protokoll gelöscht.</string>
- <string name="show_password">Passwort anzeigen</string>
- <string name="keyChainAccessError">KeyChain Zugriffsfehler: %s</string>
- <string name="timestamp_short">Kurze</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">Zeitstempel</string>
- <string name="timestamps_none">Keine</string>
- <string name="uploaded_data">Hochgeladen</string>
- <string name="downloaded_data">Heruntergeladen</string>
- <string name="vpn_status">VPN-Status</string>
- <string name="logview_options">Ansichtsoptionen</string>
- <string name="unhandled_exception">Unbehandelte Ausnahme: %1$s\n\n%2$s</string>
- <string name="unhandled_exception_context">%3$s: %1$s\n\n%2$s</string>
- <string name="faq_system_dialog_xposed">Wenn Sie ihr Gerät gerootet haben können Sie das &lt;a href=\"http://xposed.info/\"&gt;Xposed Framework&lt;/a&gt; und das &lt;a href=\"http://repo.xposed.info/module/de.blinkt.vpndialogxposed\"&gt;VPN Dialog confirm Modul&lt;/a&gt; auf eigene Gefahr installieren.</string>
- <string name="full_licenses">Komplette Lizenzen</string>
- <string name="blocklocal_summary">Netze, die direkt über ein lokales Interfaces erreicht werden können werden nicht über das VPN geroutet. Deaktivieren dieser Option leitet allen Verkehr, der für lokale Netzwerke bestimmt ist, über das VPN.</string>
- <string name="blocklocal_title">VPN für lokale Netzwerke umgehen</string>
- <string name="userpw_file">Datei mit Benutzername und Passwort</string>
- <string name="imported_from_file">[Importiert aus %s]</string>
- <string name="files_missing_hint">Einige Dateien konnten nicht gefunden werden. Bitte wählen Sie diese manuell aus:</string>
- <string name="openvpn_is_no_free_vpn">Um diese Anwendung nutzen zu können brauchen Sie einen OpenVPN fähigen Server. Diese werden häufig von Ihrer Firma oder Universität bereitgestellt. Besuchen Sie http://community.openvpn.net/ um mehr über OpenVPN zu erfahren und wie Sie Ihren eigenen Server aufsetzen können.</string>
- <string name="import_log">Import-Protokoll:</string>
- <string name="ip_looks_like_subnet">VPN-Topologie \"%3$s\" wurde angegeben, die Interface Konfiguration \'ifconfig %1$s %2$s sieht wie eine IP-Adresse mit einer Netzwerkmaske. Topologie \"subnet\" wird angenommen.</string>
- <string name="mssfix_invalid_value">mssfix Wert muss eine Zahl zwischen 0 und 9000 sein</string>
- <string name="mssfix_value_dialog">Ändere TCP-Verbindungen, die über den Tunnel laufen, so dass die resultierende UDP-Paketgröße nach der Enkapsulierung durch OpenVPN auf diesen Wert beschränkt bleibt. (Standardwert ist 1450)</string>
- <string name="mssfix_checkbox">Überschreiben des MSS-Wert von TCP-Nutzlast</string>
- <string name="mssfix_dialogtitle">Setze MSS von TCP-Nutzlast</string>
- <string name="client_behaviour">Client-Verhalten</string>
- <string name="clear_external_apps">Widerrufe Berechtigungen OpenVPN zu steuern</string>
- <string name="loading">Wird geladen&#8230;</string>
- <string name="allowed_vpn_apps_info">Apps erlaubt für das VPN: %1$s</string>
- <string name="disallowed_vpn_apps_info">Apps, die nicht das VPN nutzen: %1$s</string>
- <string name="app_no_longer_exists">Anwendung mit Paketnamen \'%s\' ist nicht mehr installiert, wird von der Liste der erlaubten/nicht erlaubten VPN Anwendungen gelöscht.</string>
- <string name="vpn_disallow_radio">VPN für alle Anwendung ausgenommen den ausgewählten</string>
- <string name="vpn_allow_radio">VPN nur für die ausgewählten Anwendungen</string>
- <string name="query_delete_remote">Servereintrag entfernen?</string>
- <string name="keep">Behalten</string>
- <string name="delete">Entfernen</string>
- <string name="add_remote">Neuen Server hinzufügen</string>
- <string name="remote_random">Beim Verbinden Servereinträge in zufälliger Reihenfolge verwenden</string>
- <string name="remote_no_server_selected">Sie müssen mindestens einen Server definieren und aktivieren.</string>
- <string name="server_list">Serverliste</string>
- <string name="vpn_allowed_apps">Erlaubte Anwendungen</string>
- <string name="advanced_settings">Erweiterte Einstellungen</string>
- <string name="payload_options">Nutzlast-Optionen</string>
- <string name="tls_settings">TLS-Einstellungen</string>
- <string name="no_remote_defined">Keine Server definiert</string>
- <string name="duplicate_vpn">VPN Profil duplizieren</string>
- <string name="duplicate_profile_title">VPN Profil duplizieren: %s</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-es/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-es/strings.xml
deleted file mode 100755
index b9e10fd2..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-es/strings.xml
+++ /dev/null
@@ -1,355 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN para Android</string>
- <string name="address">Dirección del servidor:</string>
- <string name="port">Puerto del servidor:</string>
- <string name="location">Ubicación</string>
- <string name="cant_read_folder">No se puede leer el directorio</string>
- <string name="select">Seleccionar</string>
- <string name="cancel">Cancelar</string>
- <string name="no_data">No hay datos</string>
- <string name="useLZO">Compresión LZO</string>
- <string name="client_no_certificate">Sin Certificado</string>
- <string name="client_certificate_title">Certificado de Cliente</string>
- <string name="client_key_title">Llave del Certificado de Cliente</string>
- <string name="client_pkcs12_title">Archivo PKCS12</string>
- <string name="ca_title">Certificado de la CA</string>
- <string name="no_certificate">Debe seleccionar un certificado</string>
- <string name="copyright_guicode">Codigo fuente y sistema de reporte de errores disponibles en http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">El programa utiliza los siguientes componentes. Vea los códigos fuentes para obtener más información sobre las licencias</string>
- <string name="about">Acerca de</string>
- <string name="vpn_list_title">Perfiles</string>
- <string name="vpn_type">Tipo</string>
- <string name="pkcs12pwquery">Contraseña PKCS12</string>
- <string name="file_select">Seleccionar&#8230;</string>
- <string name="file_nothing_selected">Debe seleccionar un archivo</string>
- <string name="useTLSAuth">Utilizar la autenticación TLS</string>
- <string name="tls_direction">Dirección TLS</string>
- <string name="ipv6_dialog_tile">Introduzca la dirección/máscara de red IPv6 en formato CIDR (por ejemplo, 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">Introduzca la dirección/máscara de red IPv4 en formato CIDR (por ejemplo, 1.2.3.4/24)</string>
- <string name="ipv4_address">Dirección IPv4</string>
- <string name="ipv6_address">Dirección IPv6</string>
- <string name="custom_option_warning">Introduzca las opciones personalizadas de OpenVPN. Úselas con mucho cuidado. Además, tenga en cuenta que muchas de las configuraciones de OpenVPN relacionadas con tun no pueden ser soportadas por el diseño de VPNSettings. Si cree que falta una función importante, contacte al autor</string>
- <string name="auth_username">Nombre de usuario</string>
- <string name="auth_pwquery">Contraseña</string>
- <string name="static_keys_info">Para la configuración estática las claves de autenticación TLS se utilizaran como claves estáticas</string>
- <string name="configure_the_vpn">Configurar la VPN</string>
- <string name="menu_add_profile">Agregar perfil</string>
- <string name="add_profile_name_prompt">Escriba un nombre que identifica el nuevo perfil</string>
- <string name="duplicate_profile_name">Por favor, introduzca un nombre de perfil único</string>
- <string name="profilename">Nombre del Perfil</string>
- <string name="no_keystore_cert_selected">Debe seleccionar un certificado de usuario</string>
- <string name="no_error_found">No se encontraron errores</string>
- <string name="config_error_found">Error en la configuración</string>
- <string name="ipv4_format_error">Error al analizar la dirección IPv4</string>
- <string name="custom_route_format_error">Error al analizar las rutas personalizadas</string>
- <string name="pw_query_hint">(Deje en blanco para consultar sobre demanda)</string>
- <string name="vpn_shortcut">Acceso directo de OpenVPN</string>
- <string name="vpn_launch_title">Conectar a VPN</string>
- <string name="shortcut_profile_notfound">Perfil especificado en el acceso directo no encontrado</string>
- <string name="random_host_prefix">Prefijo aleatorio de Host</string>
- <string name="random_host_summary">Agrega 6 caracteres al azar delante del nombre de host</string>
- <string name="custom_config_title">Habilitar opciones personalizadas</string>
- <string name="custom_config_summary">Especificar opciones personalizadas. ¡Use con cuidado!</string>
- <string name="route_rejected">Ruta rechazada por Android</string>
- <string name="cancel_connection">Desconectar</string>
- <string name="cancel_connection_long">Desconectar VPN</string>
- <string name="clear_log">Limpiar registro</string>
- <string name="title_cancel">Cancelar confirmación</string>
- <string name="cancel_connection_query">¿Desconectar la conexión VPN/cancelar el intento de conexión?</string>
- <string name="remove_vpn">Eliminar VPN</string>
- <string name="check_remote_tlscert">Comprueba si el servidor utiliza un certificado con las extensiones TLS de servidor (--remote-cert-tls server)</string>
- <string name="check_remote_tlscert_title">Espere certificado de servidor TLS</string>
- <string name="remote_tlscn_check_summary">Checar el sujeto del DN del Certificado del Servidor Remoto</string>
- <string name="remote_tlscn_check_title">Comprobación del certificado de nombre de host</string>
- <string name="enter_tlscn_dialog">Especifica el chequeo usado para verificar el certificado remoto DN (ej. C=DE, L=Paderborn, OU=Avian IP Carriers, CN=openvpn.blinkt.de)\n\nEspecifica el DN completo o el RDN (openvpn.blinkt.de en el ejemplo) o un prefijo RDN para la verificación.\n\nCuando se usa un prefijo RDN como \"Server\" este coincide también con \"Server-1\" y \"Server-2\"\n\nDejando el campo de texto vacío verificara el RDN contra el nombre host del servidor.\n\nPara más detalles ve la página de manual (manpage) de OpenVPN 2.3.1+ en --verify-x509-name</string>
- <string name="enter_tlscn_title">Sujeto del Certificado Remoto</string>
- <string name="tls_key_auth">habilita la autenticación de clave TLS</string>
- <string name="tls_auth_file">Archivo de autenticación TLS</string>
- <string name="pull_on_summary">Obtener Direcciones IP, rutas y opciones de sincronizacion del servidor.</string>
- <string name="pull_off_summary">No se pedira informacion del servidor. Necesita especifiar la configuracion abajo.</string>
- <string name="use_pull">Obtener Configuracion</string>
- <string name="dns">DNS</string>
- <string name="override_dns">Reemplazar la configuración DNS del Servidor</string>
- <string name="dns_override_summary">Usar sus propios servidores DNS</string>
- <string name="searchdomain">Dominio de busqueda</string>
- <string name="dns1_summary">Servidor DNS a ser usado.</string>
- <string name="dns_server">Servidor DNS</string>
- <string name="secondary_dns_message">El servidor DNS secundario se utiliza si el servidor DNS normal falla.</string>
- <string name="backup_dns">Servidor DNS de respaldo</string>
- <string name="ignored_pushed_routes">Ignorar rutas obtenidas</string>
- <string name="ignore_routes_summary">Ignorar rutas obtenidas del servidor.</string>
- <string name="default_route_summary">Redirige todo el tráfico a través de VPN</string>
- <string name="use_default_title">Usar ruta predeterminada</string>
- <string name="custom_route_message">Introduzca las rutas personalizadas. Sólo introduzca destinos en formato CIDR. \"10.0.0.0/8 2002:: / 16\" dirigiría las redes 10.0.0.0/8 y 2002::/16 sobre la VPN.</string>
- <string name="custom_route_message_excluded">Rutas que NO deberían ser enrutadas a través de la VPN. Use la misma sintaxis que para las rutas incluidas.</string>
- <string name="custom_routes_title">Rutas personalizadas</string>
- <string name="custom_routes_title_excluded">Redes Excluidas</string>
- <string name="log_verbosity_level">Nivel de detalle del registro</string>
- <string name="float_summary">Permite paquetes autenticados desde cualquier IP</string>
- <string name="float_title">Permitir servidor flotante</string>
- <string name="custom_options_title">Opciones personalizadas</string>
- <string name="edit_vpn">Modificar la configuración de VPN</string>
- <string name="remove_vpn_query">¿Eliminar el perfil VPN %s?</string>
- <string name="tun_error_helpful">En algunas ROMS personalizadas de ICS los permisos sobre /dev/tun podrían ser incorrectos, o el módulo tun podría faltar. Para imágenes de CM9 pruebe la opción \"arreglar la propiedad de /dev/tun\" ubicada en la configuración general</string>
- <string name="tun_open_error">No se puede abrir interfaz tun</string>
- <string name="error">"Error: "</string>
- <string name="clear">Limpiar</string>
- <string name="last_openvpn_tun_config">Abriendo interfaz tun:</string>
- <string name="local_ip_info">Local IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">Servidor DNS : %1$s, Dominio: %2$s</string>
- <string name="routes_info_incl">Rutas: %1$s %2$s</string>
- <string name="routes_info_excl">Rutas excluidas: %1$s %2$s</string>
- <string name="routes_debug">Rutas instaladas por VpnService: %1$s %2$s</string>
- <string name="ip_not_cidr">Información de la interfaz obtenida %1$s and %2$s, asumiendo que la segunda dirección es una dirección equivalente del remoto. Usando una máscara de red /32 para la IP local. El modo dado por OpenVPN es \"%3$s\".</string>
- <string name="route_not_cidr">No tienen sentido %1$s y %2$s como ruta IP con máscara de red CIDR, usando /32 como máscara de red.</string>
- <string name="route_not_netip">Ruta conectada de %1$s/%2$s a %3$s/%2$s</string>
- <string name="keychain_access">No se puede acceder a los certificados de Android. Puede ser causado por una actualización de firmware o por restaurar una copia de seguridad de la aplicación/configuración de la aplicación. Por favor edite la VPN y vuelva a seleccionar el certificado bajo meltdownajustes básicos para recrear los permisos para acceder al certificado.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Enviar el archivo de registro</string>
- <string name="send">Enviar</string>
- <string name="ics_openvpn_log_file">Archivo de registro de OpenVPN de ICS</string>
- <string name="copied_entry">Entrada de registro copiada al Portapapeles</string>
- <string name="tap_mode">Modo Tap</string>
- <string name="faq_tap_mode">El Modo tap no es posible sin la API VPN de root. Por lo tanto la aplicacion no puede dar soporte a tap</string>
- <string name="tap_faq2">¿Otra vez? ¿Estás bromeando? No, el modo tap realmente no está soportado y enviar más correos preguntando si será soportado no ayudará.</string>
- <string name="tap_faq3">¿Una tercera vez? En realidad se podría escribir un emulador de tap basado en tun que podria agregar información layer2 al enviar y obtener información layer2 al recibir. Pero este emulador tap tendría que implementar también ARP y posiblemente un cliente DHCP. No sé de alguien que este realizando trabajo en esa dirección. Ponte en contacto conmigo si deseas iniciar la codificación de esto.</string>
- <string name="faq">P+F</string>
- <string name="copying_log_entries">Copiar las entradas del registro</string>
- <string name="faq_copying">Para copiar una sola entrada de registro presione y mantenga pulsado sobre la entrada del registro. Para copiar y enviar el registro completo use la opción Enviar registro. Utilice el botón fisico de menú si no visible en la interfaz.</string>
- <string name="faq_shortcut">Acceso directo para iniciar</string>
- <string name="faq_howto_shortcut">Puede colocar un acceso directo para iniciar OpenVPN desde el escritorio. Dependiendo del launcher tiene que añadir un acceso directo o un widget.</string>
- <string name="no_vpn_support_image">Su imagen no es compatible con la API de VPNService, lo siento :(</string>
- <string name="encryption">Cifrado</string>
- <string name="cipher_dialog_title">Especifique el método de cifrado</string>
- <string name="chipher_dialog_message">Proporcione el algoritmo de cifrado usado por OpenVPN. Deje en blanco para usar el cifrado de fábrica.</string>
- <string name="auth_dialog_message">Introduce la autenticacion digest usada por OpenVPN. Deja en blanco para usar el digest predeterminado.</string>
- <string name="settings_auth">Autenticación/Cifrado</string>
- <string name="file_explorer_tab">Administrador de archivos</string>
- <string name="inline_file_tab">Archivo en línea</string>
- <string name="error_importing_file">Error al importar el archivo</string>
- <string name="import_error_message">No se pudo importar el archivo del sistema de archivos</string>
- <string name="inline_file_data">[[Datos de archivo en línea]]</string>
- <string name="opentun_no_ipaddr">Negandose a abrir el dispositivo tun sin información de IP</string>
- <string name="menu_import">Importar perfil de un archivo ovpn</string>
- <string name="menu_import_short">Importar</string>
- <string name="import_content_resolve_error">No se pudo leer el perfil a importar</string>
- <string name="error_reading_config_file">Error al leer el archivo de configuración</string>
- <string name="add_profile">Agregar perfil</string>
- <string name="import_could_not_open">No se pudo encontrar el archivo %1$s mencionado en el archivo de configuracion importado</string>
- <string name="importing_config">Importando archivo de configuración del origen %1$s</string>
- <string name="import_warning_custom_options">Su configuración tiene algunas opciones de configuración que no están establecidas en la interfaz de usuario . Estas opciones fueron agregadas como opciones de configuración personalizadas. A continuación se muestra la configuración personalizada:</string>
- <string name="import_done">Se termino de leer el archivo de configuración.</string>
- <string name="nobind_summary">No enlazar con el puerto y la dirección local</string>
- <string name="no_bind">No enlazar localmente</string>
- <string name="import_configuration_file">Importar archivo de configuracion</string>
- <string name="faq_security_title">Consideraciones de seguridad</string>
- <string name="faq_security">"Como OpenVPN es sensible a la seguridad, son razonables algunas notas acerca de seguridad. Todos los datos en la tarjeta SD son inherentemente inseguros. Cualquier aplicación puede leerla (por ejemplo, esta aplicación no requiere ningún permiso especial sobre la tarjeta SD). Los datos de esta aplicación sólo pueden ser leidos por la misma aplicación. Al utilizar la opción importar para el certificado de la CA/certificado/llave, en la ventana de diálogo para selección de archivos, los datos se almacenan en el perfil de la VPN. Los perfiles de VPN sólo son accesibles por esta aplicación. (No olvide después borrar las copias de la tarjeta SD). Aunque sólo sea accesible por esta aplicación, los datos aún están sin encriptar. Al acceder el dispositivo portátil como root u otro medio, es posible recuperar estos datos. Las contraseñas guardadas son almacenadas también en texto plano. Para archivos pkcs12 es muy recomendable que los importe al repositorio de llaves de Android."</string>
- <string name="import_vpn">Importar</string>
- <string name="broken_image_cert_title">Error mostrando la seleccion de certificados</string>
- <string name="broken_image_cert">Se obtuvo una excepción al intentar mostrar el diálogo de selección de certificado de Android 4.0+. Esto nunca debería ocurrir por ser una funcionalidad estándar de Android 4.0+. Quizás el respaldo ROM para almacenamiento de certificados de su Android está arruinado</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Esperando el mensaje de estado&#8230;</string>
- <string name="converted_profile">perfil importado</string>
- <string name="converted_profile_i">perfil importado %d</string>
- <string name="broken_images">Imágenes rotas</string>
- <string name="broken_images_faq">&lt;p&gt;Las imágenes oficiales de HTC son conocidas por tener un extraño problema de enrutamiento, causando que el tráfico no fluya a través del túnel (Ver también &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\"&gt;Issue 18&lt;/a&gt; en el bug tracker.)&lt;/p&gt;&lt;p&gt; Han reportado que el VPNService hace falta completamente de las imagenes oficiales de SONY más viejas del XPeria Arc S y Xperia Ray. (Ver también &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\"&gt;Issue 29&lt;/a&gt; en el bug tracker.)&lt;/p&gt;&lt;p&gt;Puede faltar el módulo tun o los permisos de /dev/tun/ pueden estar incorrectos. Algunas imágenes de CM9 necesitan habilitada la opcion \"Fix ownership\" option bajo \"Hacks específicos del dispositivo\".&lt;/p&gt;&lt;p&gt;De mayor importancia: Si tu dispositivo tiene una imágen corrupta de Android, reportalo a tu proveedor. Entre mayor gente reporte el problema al proveedor, mayores son las probabilidades de que lo reparen.&lt;/p&gt;</string>
- <string name="pkcs12_file_encryption_key">Clave PKCS12 de cifrado de archivos</string>
- <string name="private_key_password">Contraseña de clave privada</string>
- <string name="password">Contraseña</string>
- <string name="file_icon">icono de archivo</string>
- <string name="tls_authentication">Autenticación TLS</string>
- <string name="generated_config">Configuración generada</string>
- <string name="generalsettings">Preferencias</string>
- <string name="owner_fix_summary">Intenta establecer el propietario de /dev/tun a system. Algunas imágenes de CM9 lo necesitan hacer funcionar la API de VPNService. Requiere permisos root.</string>
- <string name="owner_fix">Arreglar la propiedad de /dev/tun</string>
- <string name="generated_config_summary">Muestra el archivo de configuración OpenVPN generado</string>
- <string name="edit_profile_title">Editando \"%s\"</string>
- <string name="building_configration">Construyendo configuracion&#8230;</string>
- <string name="netchange_summary">Activando esta opción forzara una reconexión si el estado de la red es cambiado (Ej. De/hacia WIFi
-hacia/de Móvil)</string>
- <string name="netchange">Reconectar en cambio de red</string>
- <string name="netstatus">Estado de la red: %s</string>
- <string name="extracahint">El certificado de la CA usualmente es recuperado del almacén de claves de Android. Especifique un certificado diferente si obtiene errores de verificación de certificado.</string>
- <string name="select_file">Seleccionar</string>
- <string name="keychain_nocacert">No se obtuvo ningún certificado de CA al leer el almacén de claves de Android. La autenticación probablemente fallará.</string>
- <string name="show_log_summary">Muestra la ventana de registro el conectarse. La ventana de registro siempre puede accederse desde el estado de la notificación.</string>
- <string name="show_log_window">Mostrar ventana de registro</string>
- <string name="mobile_info">Ejecutándose en %1$s (%2$s) %3$s, API de Android %4$d</string>
- <string name="error_rsa_sign">Error al firmar con la llave del almacén de llaves de Android %1$s: %2$s</string>
- <string name="faq_system_dialogs">El aviso de conectividad VPN que esta aplicación puede interceptar todo el trafico esta impuesta por el sistema para evitar abusos de la API VPNService.\nLa notificación de conectividad (El símbolo de llave) también esta impuesta por el sistema Android para notificar una conexión VPN en curso. En algunas imágenes, esta notificación también emite un sonido.\nAndroid ha introducido estos diálogos de sistema para su seguridad e se ha asegurado que no pueden ser evitados. (En algunas imágenes, esto incluye la notificación sonora)</string>
- <string name="faq_system_dialogs_title">Advertencia de conexión y sonido de notificación</string>
- <string name="translationby">Traducción al español por José Luis Bandala Pérez&lt;luis.449bp@gmail.com&gt;</string>
- <string name="ipdns">IP y DNS</string>
- <string name="basic">Básico</string>
- <string name="routing">Enrutamiento</string>
- <string name="obscure">Configuraciones oscuras de OpenVPN. Normalmente no se necesitan.</string>
- <string name="advanced">Avanzado</string>
- <string name="export_config_title">Configuracion Openvpn de ICS</string>
- <string name="warn_no_dns">No hay servidores DNS a utilizar. La Resolución de nombres puede no funcionar. Considere configurar servidores DNS personalizados. Tenga en cuenta que Android sigue usando la configuración de proxy especificada para su conexión móvil/Wi-Fi cuando no hay servidores DNS establecidos.</string>
- <string name="dns_add_error">No se puede agregar el servidor DNS \"%1$s\", rechazado por el sistema: %2$s</string>
- <string name="ip_add_error">No se pudo configurar la dirección IP \"%1$s\", rechazada por el sistema: %2$s</string>
- <string name="faq_howto">&lt;p&gt;Obtén una configuración funcionando (probada en tu computadora o descargada de tu proveedor/organización)&lt;/p&gt;&lt;p&gt;Si es un solo archivo sin archivos pem/pks12 puedes enviar en un correo tu mismo el archivo y abrir el adjunto. Si tienes varios archivos ponlos en tu tarjeta SD.&lt;/p&gt;&lt;p&gt;Da clic en el adjunto de tu correo/Usa el icono de carpeta en la lista de VPN para importar el archivo de configuración &lt;/p&gt;&lt;p&gt;Si hay errores de archivos faltantes pon los archivos que faltan en tu tarjeta SD.&lt;/p&gt;&lt;p&gt;Da clic en el símbolo de guardar para agregar la VPN importada a tu lista de VPN&lt;/p&gt;&lt;p&gt;Conéctate a la VPN dando clic en el nombre de la VPN&lt;/p&gt;&lt;p&gt;Si hay errores o advertencias en el registro intenta comprender los errores/advertencias e intenta solucionarlos&lt;/p&gt;</string>
- <string name="faq_howto_title">Inicio rápido</string>
- <string name="setting_loadtun_summary">Intente cargar el módulo del kernel tun.ko antes de intentar conectarse. Necesita dispositivos rooteados.</string>
- <string name="setting_loadtun">Cargar modulo tun</string>
- <string name="importpkcs12fromconfig">Importar PKCS12 de la configuración en el almacén de claves de Android</string>
- <string name="getproxy_error">Error al obtener la configuración de proxy: %s</string>
- <string name="using_proxy">Usando proxy %1$s %2$d</string>
- <string name="use_system_proxy">Usar el proxy del sistema</string>
- <string name="use_system_proxy_summary">Utilice la configuración del sistema para los proxies HTTP/HTTPS a conectar.</string>
- <string name="donatewithpaypal">Usted puede &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;donar con PayPal&lt;/a&gt; </string>
- <string name="onbootrestartsummary">OpenVPN volvera a conectar a una VPN si estaba activa en el apagado/reinicio del sistema. Por favor lea la P+F de advertencia de conexión antes de usar esta opción.</string>
- <string name="onbootrestart">Vuelva a conectar al reiniciar</string>
- <string name="ignore">Ignorar</string>
- <string name="restart">Reiniciar</string>
- <string name="restart_vpn_after_change">Los cambios de configuración se aplican después de reiniciar la VPN. ¿(Re)iniciar la VPN ahora?</string>
- <string name="configuration_changed">Configuración cambiada</string>
- <string name="log_no_last_vpn">No se pudo determinar el último perfil conectado para editar</string>
- <string name="faq_duplicate_notification_title">Notificaciones duplicadas</string>
- <string name="faq_duplicate_notification">Si Android está bajo presión de memoria del sistema (RAM), las aplicaciones y servicios que no estén siendo usados en el momento son removidos de la memoria activa. Esto termina una conexión VPN en marcha. Para asegurarse que la conexión/OpenVPN sobreviva el servicio tiene que ejecutarse con prioridad alta. Para ejecutarse con prioridad alta la aplicación debe de mostrar una notificación. El icono de notificación de llave es impuesto por el sistema como se describió en la entrada de FAQ anterior. Esta con cuenta como notificación de la aplicación con el propósito de ejecutarse con prioridad alta.</string>
- <string name="no_vpn_profiles_defined">No hay perfiles VPN definidos.</string>
- <string name="add_new_vpn_hint">Use el icono &lt;img src=\"ic_menu_add\"/&gt; para agregar una nueva VPN</string>
- <string name="vpn_import_hint">Use el icono &lt;img src=\"ic_menu_archive\"/&gt; para importar un perfil existente (.ovpn or .conf) de tu tarjeta.</string>
- <string name="faq_hint">Asegúrese de checar también las preguntas frecuentes. Hay una guía de inicio rápido.</string>
- <string name="faq_routing_title">Configuración de enrutamiento o interfaz</string>
- <string name="faq_routing">El enrutamiento y la configuración de la interfaz no se realiza a través de comandos tradicionales ifconfig / ruta, pero mediante el uso de la API VPNService. Esto resulta en una configuración de enrutamiento diferente que en otros sistemas operativos. La configuración del túnel VPN consta de la dirección IP y las redes que deben ser colocados de través de esta interfaz. Se necesita Especialmente hay dirección compañero de estudios o de gateway. Rutas especiales para llegar a la VPN Server (por ejemplo agregan al usar redirect-gateway) no son necesarios, ya sea. La aplicación, en consecuencia ignorará esta configuración al importar una configuración. La aplicación asegura con la API VPNService que la conexión con el servidor no se encamina a través del túnel VPN. Sólo redes especificando ser enrutados a través del túnel es compatible. La aplicación intenta detectar las redes que no deben ser enrutados a través de túnel (por ejemplo, la ruta xxxx aaaa net_gateway) y calcula un conjunto de rutas que excluye este rutas para emular el comportamiento de otras plataformas. Las ventanas de registro muestra la configuración de la VPNService al establecer una conexión.</string>
- <string name="persisttun_summary">No regresar a modo sin conexión VPN cuando OpenVPN esta volviendose a conectar.</string>
- <string name="persistent_tun_title">Tun persistente</string>
- <string name="openvpn_log">Registro de OpenVPN</string>
- <string name="import_config">Importar configuración de OpenVPN</string>
- <string name="battery_consumption_title">Consumo de batería</string>
- <string name="baterry_consumption">En mis pruebas personales, la mayor razón de el alto consumo de batería de OpenVPN son los paquetes keepalive. La mayoría de los servidores OpenVPN tienen una directiva de configuración como \'keepalive 10 60\' la cual causa que el cliente y el servidor intercambien paquetes cada diez segundos. &lt;p&gt; Mientras estos paquetes sean pequeños y no utilicen mucho tráfico, mantienen la red móvil de radio ocupada e incrementan el consumo de energía. (Ver también &lt;a href=\"http://developer.android.com/training/efficient-downloads/efficient-network-access.html#RadioStateMachine\"&gt;The Radio State Machine | Android Developers&lt;/a&gt;) &lt;p&gt; Dicha configuración keepalive no puede ser cambiada en el cliente. Solo el administrador de OpenVPN puede hacerlo. &lt;p&gt; Infortunadamente, usar un keepalive mayor a 60 segundos con UDP puede causar que algunas puertas de enlace NAT cierren la conexión debido a inactividad. Usar TCP con largos periodos de inactividad keepalive funciona, pero el tuneleo TCP sobre TCP resulta en conexiones extremadamente pobres con alta pérdida de paquetes. (Ver &lt;a href=\"http://sites.inka.de/bigred/devel/tcp-tcp.html\"&gt;Why TCP Over TCP Is A Bad Idea&lt;/a&gt;)</string>
- <string name="faq_tethering">La funcionalidad de Tethering de Android (sobre WiFi, USB o Bluetooth) y la API del servicio de VPN (utilizada por esta aplicación) no pueden trabajar juntas. Para más detalles vea el &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\"&gt;problema #34&lt;/a&gt;</string>
- <string name="vpn_tethering_title">VPN y Tethering</string>
- <string name="connection_retries">Reintentos de conexión</string>
- <string name="reconnection_settings">Configuración de reconexión</string>
- <string name="connectretrymessage">Número de segundos de espera entre intentos de conexión.</string>
- <string name="connectretrywait">Segundos entre las conexiones</string>
- <string name="minidump_generated">OpenVPN falló inesperadamente. Por favor considere usar la opción envío de minivolcado en el menú principal</string>
- <string name="send_minidump">Enviar minivolcado al desarrollador</string>
- <string name="send_minidump_summary">Enviar información de depuración sobre último fallo al desarrollador</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">Conectando</string>
- <string name="state_wait">Esperando respuesta del servidor</string>
- <string name="state_auth">Autenticando</string>
- <string name="state_get_config">Obteniendo información del cliente</string>
- <string name="state_assign_ip">Asignando direcciones IP</string>
- <string name="state_add_routes">Añadiendo rutas</string>
- <string name="state_connected">Conectado</string>
- <string name="state_disconnected">Desconectar</string>
- <string name="state_reconnecting">Reconectando</string>
- <string name="state_exiting">Saliendo</string>
- <string name="state_noprocess">Proceso terminado</string>
- <string name="state_resolve">Resolviendo nombres de host</string>
- <string name="state_tcp_connect">Conectando (TCP)</string>
- <string name="state_auth_failed">Fallo de autenticación</string>
- <string name="state_nonetwork">Esperando por una red que se pueda usar</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">No conectado</string>
- <string name="start_vpn_title">Conectando a VPN %s</string>
- <string name="start_vpn_ticker">Conectando a VPN %s</string>
- <string name="jelly_keystore_alphanumeric_bug">Algunas versiones de Android 4.1 experimentan problemas si el nombre del almacén de certificados contiene caracteres no alfanuméricos (como espacios, subrayados o barras). Intente volver a importar el certificado sin caracteres especiales</string>
- <string name="encryption_cipher">Algoritmo de encriptación</string>
- <string name="packet_auth">Autenticación de paquetes</string>
- <string name="auth_dialog_title">Introduzca método de autenticación de paquetes</string>
- <string name="mobile_info_extended">Corriendo sobre %1$s (%2$s) %3$s, API Android %4$d, versión %5$s, %6$s</string>
- <string name="built_by">compilado por %s</string>
- <string name="debug_build">versión de depuración</string>
- <string name="official_build">versión oficial</string>
- <string name="make_selection_inline">Copiar en perfil</string>
- <string name="crashdump">Volcado de fallo</string>
- <string name="add">Añadir</string>
- <string name="send_config">Enviar el archivo de configuración</string>
- <string name="complete_dn">DN Completo</string>
- <string name="remotetlsnote">La configuracion que importaste usa la opcion OBSOLETA tls-remote que usa un formato diferente para DN.</string>
- <string name="rdn">RDN (nombre comun)</string>
- <string name="rdn_prefix">Prefijo RDN</string>
- <string name="tls_remote_deprecated">tls-remote (OBSOLETO)</string>
- <string name="help_translate">Tu puedes ayudar a traducir visitando http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s intentos de controlar %2$s</string>
- <string name="remote_warning">Al proceder, le estás proporcionando permiso a la aplicación para controlar completamente OpenVPN for Android e interceptar todo el tráfico de la red.<b>NO aceptar a menos que confíes en la aplicación.</b> De otro modo, corres el riesgo de que tus datos se vean comprometidos por software malicioso.\"</string>
- <string name="remote_trust">Confío en esta aplicación.</string>
- <string name="no_external_app_allowed">La aplicación no permite usar API externo</string>
- <string name="allowed_apps">Aplicaciones autorizadas: %s</string>
- <string name="clearappsdialog">¿Borrar la lista de aplicaciones externas permitidas?\nLista de aplicaciones permitidas:\n\n%s</string>
- <string name="screenoff_summary">Pausa la VPN cuando la pantalla está apagada y se transfieren menos de 64 Kb de datos en 60 segundos. Cuando la opción \"TUN persistente\" está habilitada, pausar la VPN dejará tu dispositivo sin conexión a la red. Sin la opción \"TUN persistente\" el dispositivo carecerá de la conexión/protección de la VPN.</string>
- <string name="screenoff_title">Pausar conexión de VPN cuando se apaga la pantalla</string>
- <string name="screenoff_pause">Conexión en pausa si el estado de la pantalla es apagado: menos de %1$s en %2$ss</string>
- <string name="screen_nopersistenttun">Advertencia: TUN persistente no habilitado para esta VPN. El tráfico usará la conexión normal a Internet cuando la pantalla esté apagada.</string>
- <string name="save_password">Guardar contraseña</string>
- <string name="pauseVPN">Pausar VPN</string>
- <string name="resumevpn">Reanudar VPN</string>
- <string name="state_userpause">VPN pausado por solicitud del usuario</string>
- <string name="state_screenoff">VPN pausado - pantalla fuera</string>
- <string name="device_specific">Hacks específicos del Dispositivo</string>
- <string name="cannotparsecert">No se puede mostrar la información del certificado</string>
- <string name="appbehaviour">Comportamiento de la aplicación</string>
- <string name="vpnbehaviour">Comportamiento de VPN</string>
- <string name="allow_vpn_changes">Permitir cambios a los perfiles VPN</string>
- <string name="hwkeychain">Tecla Física:</string>
- <string name="permission_icon_app">Ícono de la aplicación intentando usar OpenVPN for Android</string>
- <string name="faq_vpndialog43">"Empezando con Android 4.3, la confirmación de VPN está protegida contra \"aplicaciones superpuestas\". Esto resulta en que la ventana de diálogo no reaccione a los toques de pantalla. Si tienes una aplicación que sea superpuesta, es lo que puede ocasionar este problema. Si encuentras una aplicación ofensiva, contactar al autor de la misma. Este problema afecta a todas las aplicaciones VPN en Android 4.3 y superior. Ver también &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=185\"&gt;Issue 185&lt;a&gt; para más detalles"</string>
- <string name="faq_vpndialog43_title">Ventana de diálogo de confirmación VPN en Android 4.3 y superior</string>
- <string name="donatePlayStore">Alternativamente usted puede enviar una donación con el Play Store:</string>
- <string name="thanks_for_donation">Gracias por su donación %s!</string>
- <string name="logCleared">Registro borrado.</string>
- <string name="show_password">Mostrar contraseña</string>
- <string name="keyChainAccessError">Error de acceso al llavero: %s</string>
- <string name="timestamp_short">Corto</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">Marcas de tiempo</string>
- <string name="timestamps_none">Ninguno</string>
- <string name="uploaded_data">Subir</string>
- <string name="downloaded_data">Descargar</string>
- <string name="vpn_status">Estado de VPN</string>
- <string name="logview_options">Opciones de visualización</string>
- <string name="unhandled_exception">Excepcion no controlada: %1$s\n\n%2$s</string>
- <string name="unhandled_exception_context">%3$s: %1$s\n\n%2$s</string>
- <string name="faq_system_dialog_xposed">Si ha rooteado su dispositivo Android, puede instalar el &lt;a href=\"http://xposed.info/\"&gt;framework Xposed&lt;/a&gt; y añadir el &lt;a href=\"http://repo.xposed.info/module/de.blinkt.vpndialogxposed\"&gt;módulo de confirmación de Diálogo VPN&lt;/a&gt; bajo su propio riesgo\"</string>
- <string name="full_licenses">Licencias completas</string>
- <string name="blocklocal_summary">Las redes conectadas directamente a los interfaces locales no serán enrutadas a través de la VPN. Al desmarcar esta opción, todo el tráfico previsto para las redes locales será redirigido a la VPN.</string>
- <string name="blocklocal_title">Saltarse la VPN en redes locales</string>
- <string name="userpw_file">Archivo de Usuario/Contraseña</string>
- <string name="imported_from_file">[Importado de:%s]</string>
- <string name="files_missing_hint">Algunos archivos no se pudo encontrar. Por favor, seleccione los archivos que desea importar el perfil:</string>
- <string name="openvpn_is_no_free_vpn">Para utilizar esta aplicación usted necesita un proveedor de servicio VPN / es un apoyo OpenVPN (a menudo proporcionados por su empleador). Echa un vistazo a http://community.openvpn.net/ para más información sobre OpenVPN y cómo configurar su propio servidor OpenVPN.</string>
- <string name="import_log">Importar registros:</string>
- <string name="ip_looks_like_subnet">Topología de VPN \"%3$s\" especificado pero ifconfig %1$s %2$s se parece más a una dirección IP con una máscara de red. Asumiendo una topología de \"subred\".</string>
- <string name="mssfix_invalid_value">El valor de mssfix debe ser un número entero entre 0 y 9000</string>
- <string name="mssfix_value_dialog">Anunciar a las sesiones TCP ejecutandose sobre el túnel que deben limitar su tamaño de paquetes enviados de tal manera que después de que OpenVPN los hay encapsulado, el tamaño del paquete UDP resultante enviado a su par no exceda este numero de bytes. (Por defecto es 1450)</string>
- <string name="mssfix_checkbox">Reemplazar el valor MSS de la carga TCP</string>
- <string name="mssfix_dialogtitle">Establecer MSS de la carga TCP</string>
- <string name="client_behaviour">Comportamiento del cliente</string>
- <string name="clear_external_apps">Borrar aplicaciones externas permitidas</string>
- <string name="loading">Cargando&#8230;</string>
- <string name="allowed_vpn_apps_info">Aplicaciones VPN permitidas: %1$s</string>
- <string name="disallowed_vpn_apps_info">Aplicaciones VPN no permitidas: %1$s</string>
- <string name="app_no_longer_exists">El paquete %s ya no está instalado, sacándolo de la lista de apps permitidas/no permitidas</string>
- <string name="vpn_disallow_radio">La VPN es usada por todas las aplicaciones, excepto por las seleccionadas</string>
- <string name="vpn_allow_radio">La VPN es utilizada únicamente por las aplicaciones seleccionadas</string>
- <string name="query_delete_remote">¿Eliminar entrada del servidor remoto?</string>
- <string name="keep">Mantener</string>
- <string name="delete">Eliminar</string>
- <string name="add_remote">Añadir nuevo acceso remoto</string>
- <string name="remote_random">Utiliza las entradas de conexión en orden aleatorio en la conexión</string>
- <string name="remote_no_server_selected">Es necesario definir y habilitar al menos un servidor remoto.</string>
- <string name="server_list">Lista de servidores</string>
- <string name="vpn_allowed_apps">Aplicaciones permitidas</string>
- <string name="advanced_settings">Opciones Avanzadas</string>
- <string name="payload_options">Opciones de carga útil</string>
- <string name="tls_settings">Configuración TLS</string>
- <string name="no_remote_defined">Servidor remoto no definido</string>
- <string name="duplicate_vpn">Duplicar perfil VPN</string>
- <string name="duplicate_profile_title">Duplicando Perfil: %s</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-et/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-et/strings.xml
deleted file mode 100755
index 9e6e0c7e..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-et/strings.xml
+++ /dev/null
@@ -1,354 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN Androidile</string>
- <string name="address">Serveri aadress:</string>
- <string name="port">Serveri port:</string>
- <string name="location">Asukoht</string>
- <string name="cant_read_folder">Kataloog pole loetav</string>
- <string name="select">Vali</string>
- <string name="cancel">Tühista</string>
- <string name="no_data">Andmed puuduvad</string>
- <string name="useLZO">LZO pakkimine</string>
- <string name="client_no_certificate">Puudub sertifikaat</string>
- <string name="client_certificate_title">Kliendisertifikaat</string>
- <string name="client_key_title">Kliendisertifikaadi võti</string>
- <string name="client_pkcs12_title">PKCS12 fail</string>
- <string name="ca_title">CA sertifikaat</string>
- <string name="no_certificate">Peate valima sertifikaadi</string>
- <string name="copyright_guicode">Lähtetekst ja probleemihaldur asuvad veebilehel http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">Programmis kasutatakse järgnevaid komponente. Detailse litsenseerimisinfo leiate lähtekoodist</string>
- <string name="about">Lähemalt</string>
- <string name="vpn_list_title">Profiilid</string>
- <string name="vpn_type">Tüüp</string>
- <string name="pkcs12pwquery">PKCS12 salasõna</string>
- <string name="file_select">Vali&#8230;</string>
- <string name="file_nothing_selected">Valige fail</string>
- <string name="useTLSAuth">Kasuta TLS autentimist</string>
- <string name="tls_direction">TLS suund</string>
- <string name="ipv6_dialog_tile">Sisesta IPv6 Aadress/Võrgumask CIDR formaadis (nt. 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">Sisesta IPv4 Aadress/Võrgumask CIDR formaadis (nt. 1.2.3.4/24)</string>
- <string name="ipv4_address">IPv4 aadress</string>
- <string name="ipv6_address">IPv6 aadress</string>
- <string name="custom_option_warning">Sisestage OpenVPN kohandatud valikud. Ettevaatlikkus ei tee paha. Palun samuti tähele panna et VPNSettings API ei toeta paljusid tun liidesega seotud OpenVPN seadistusi. Siiski, kui te leiate et mõni oluline seadistusvalik on puudu, siis kontakteeruge programmi autoriga</string>
- <string name="auth_username">Kasutajanimi</string>
- <string name="auth_pwquery">Salasõna</string>
- <string name="static_keys_info">Staatilise konfiguratsiooni puhul kasutatakse TLS Auth võtmeid staatiliste võtmetena</string>
- <string name="configure_the_vpn">Konfigureeri VPN</string>
- <string name="menu_add_profile">Lisa profiil</string>
- <string name="add_profile_name_prompt">Lisage uuele profiilile osutav nimi</string>
- <string name="duplicate_profile_name">Palun sisestage unikaalne profiilinimi</string>
- <string name="profilename">Profiili nimi</string>
- <string name="no_keystore_cert_selected">Peate valima kasutaja sertifikaadi</string>
- <string name="no_error_found">Vigu ei leitud</string>
- <string name="config_error_found">Konfiguratsiooni viga</string>
- <string name="ipv4_format_error">Sisestatud IPv4 aadress ei allu süntaksianalüüsile</string>
- <string name="custom_route_format_error">Kohandatud marsruudid ei allu süntaksianalüüsile</string>
- <string name="pw_query_hint">(jäta tühjaks, küsitakse vajadusel)</string>
- <string name="vpn_shortcut">OpenVPN kiirkäivitus</string>
- <string name="vpn_launch_title">Ühendu VPN\'iga</string>
- <string name="shortcut_profile_notfound">Lühivalikus määratud profiil puudub</string>
- <string name="random_host_prefix">Juhuslik serveri eesliide</string>
- <string name="random_host_summary">Lisab 6 juhuslikku tähte serveri nime ette</string>
- <string name="custom_config_title">Luba kohandatud valikud</string>
- <string name="custom_config_summary">Määrake kohandatud valikud. Kasutage ettevaatlikult!</string>
- <string name="route_rejected">Androidi poolt keelatud ruutingud</string>
- <string name="cancel_connection">Katkesta ühendus</string>
- <string name="cancel_connection_long">Katkesta VPN</string>
- <string name="clear_log">Tühjenda logi</string>
- <string name="title_cancel">Loobu kinnitusest</string>
- <string name="cancel_connection_query">Katkesta VPN ühendus/tühista ühendumise katse?</string>
- <string name="remove_vpn">Eemalda VPN</string>
- <string name="check_remote_tlscert">Kontrollitakse, kas server kasutab sertifikaati koos TLS Server laiendustega (--remote-cert-tls server)</string>
- <string name="check_remote_tlscert_title">Oodata TLS serveri sertifikaati</string>
- <string name="remote_tlscn_check_summary">Kontrollib eemalasuva serveri sertifikaadi subjekti DN\'i</string>
- <string name="remote_tlscn_check_title">Sertifikaadi domeeninime kontroll</string>
- <string name="enter_tlscn_dialog">Määrake meetod millega kontrollida eemalasuva sertifikaadi DN (n.: C=DE, L=Paderborn, OU=Avian IP Carriers, CN=openvpn.blinkt.de)\n\nMäärata saab kas täieliku DN, RDN (openvpn.blinkt.de eelmises näites) või eesliitega RDN kontrolli.\n\nRDN eesliite kasutamisel vastab sellele nii \"Server\", \"Server-1\" kui ka \"Server-2\"\n\nTekstivälja tühjaks jätmisel kontrollitakse kas RDN on vastavuses serveri nimega.\n\nDetailsema info leiate OpenVPN 2.3.1+ käsiraamatust —kinnita-x509-nimi all</string>
- <string name="enter_tlscn_title">Eemalasuva sertifikaadi subjekt</string>
- <string name="tls_key_auth">Lubab TLS võtmega autentimise</string>
- <string name="tls_auth_file">TLS Auth fail</string>
- <string name="pull_on_summary">Küsib serverist IP aadresse, marsruute ja ajastusvalikuid.</string>
- <string name="pull_off_summary">Andmeid ei küsita serverist. Seadistused tuleb määrata allpool.</string>
- <string name="use_pull">Sikuta seadistused</string>
- <string name="dns">DNS</string>
- <string name="override_dns">Eira serveri pakutavaid DNS seadeid</string>
- <string name="dns_override_summary">Kasuta oma DNS servereid</string>
- <string name="searchdomain">otsinguDomeen</string>
- <string name="dns1_summary">Kasutatav DNS server.</string>
- <string name="dns_server">DNS server</string>
- <string name="secondary_dns_message">Sekundaarne DNS server mida kasutatakse kui vaikimisi DNS server on kättesaamatu.</string>
- <string name="backup_dns">VaruDNS server</string>
- <string name="ignored_pushed_routes">Ignoreeri serveri pakutavaid marsruute</string>
- <string name="ignore_routes_summary">Ignoreeri serveri \'push\' direktiivi ruutinguid.</string>
- <string name="default_route_summary">Suuna kogu võrguliiklus VPN kaudu</string>
- <string name="use_default_title">Kasuta vaikeruutingut</string>
- <string name="custom_route_message">Sisesta oma personaalsed ruutingud. Sihtkoht peab olema CIDR formaadis. \"10.0.0.0/8 2002::/16\" suunab võrgud 10.0.0.0/8 ja 2002::/16 VPN kaudu.</string>
- <string name="custom_route_message_excluded">Marsruudid mida EI TOHI suunata üle VPN\'i. Kasuta sama süntaksit kui kaasatud marsruutide jaoks.</string>
- <string name="custom_routes_title">Marsruutide kohandamine</string>
- <string name="custom_routes_title_excluded">Välistatud võrgud</string>
- <string name="log_verbosity_level">Logimise detailsus</string>
- <string name="float_summary">Suvalise IP autenditud paketid on lubatud</string>
- <string name="float_title">Luba \'ujuv\' server</string>
- <string name="custom_options_title">Kohandatud valikud</string>
- <string name="edit_vpn">Muuda VPN seadistusi</string>
- <string name="remove_vpn_query">Kas eemaldada VPN profiil \'%s\'?</string>
- <string name="tun_error_helpful">Mõnel modifitseeritud ICS versioonil võivad /dev/tun õigused olla valed, või selle moodul sootuks puududa. CM9 puhul võib probleemi lahendada üldiste seadistuste alt omanikuõiguste parandamine</string>
- <string name="tun_open_error">Tun liidese avamine ebaõnnestus</string>
- <string name="error">"Viga:"</string>
- <string name="clear">Tühjenda</string>
- <string name="last_openvpn_tun_config">tun liidese avamine:</string>
- <string name="local_ip_info">Lokaalne IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">DNS server: %1$s, Domeen: %2$s</string>
- <string name="routes_info_incl">Marsruudid: %1$s %2$s</string>
- <string name="routes_info_excl">Välistatud marsruudid: %1$s %2$s</string>
- <string name="routes_debug">Määratud VpnService marsruudid: %1$s %2$s</string>
- <string name="ip_not_cidr">Liidese andmed on %1$s ja %2$s, eeldades et teine aadress on eemalasuva serveri aadress. Lokaalse IP jaoks kasutatakse /32 võrgumaski. OpenVPN teatab režiimiks %3$s\".</string>
- <string name="route_not_cidr">%1$s ja %2$s on mõttetud CIDR võrgumaskiga IP marsruutidest, võrgumaskiks määratakse /32.</string>
- <string name="route_not_netip">%1$s/%2$s marsruut parandatud: %3$s/%2$s</string>
- <string name="keychain_access">Androidi Keychain sertifikaadid on kättesaamatud. See võib olla põhjustatud püsivara uuendamisest või appide/apiseadistuste taastamisest. Sertifikaatide pääsuõiguste taastamiseks redigeerige palun VPN seadistusi ja valige uuesti üldiste seadistuste alt sertifikaat.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Saada logifail</string>
- <string name="send">Saada</string>
- <string name="ics_openvpn_log_file">ICS OpenVPN logifail</string>
- <string name="copied_entry">Logikirje kopeeriti lõikepuhvrisse</string>
- <string name="tap_mode">Tap liides</string>
- <string name="faq_tap_mode">VPNService API ei toeta tap liidest. Seega ei ole ruutimata seadmel selle programmiga tap liidese kasutamine võimalik</string>
- <string name="tap_faq2">Jälle? Kas teete nalja? Tap režiim pole tõepoolest toetatud ja selle lunimine e-kirjade vahendusel ei anna tulemusi.</string>
- <string name="tap_faq3">Ja juba kolmas kord? Noh, kui päris aus olla, siis tun liidesel töötava tap emulaatori kirjutamine, mis lisaks saatmisel layer2 informatsiooni ja eemaldaks selle taas vastuvõtmisel, on muidugi võimalik. Aga see emulaator peaks sisaldama ka ARP ja DHCP klienti. Mul ei ole andmeid et keegi selle kallal töötaks. Aga kui soovite selle töö ette võtta, siis kontakteeruge palun minuga.</string>
- <string name="faq">KKK</string>
- <string name="copying_log_entries">Logikirjete kopeerimine</string>
- <string name="faq_copying">Ühe logikirje kopeerimiseks vajuta ja hoia sellel kirjel. Kogu logi kopeerimiseks/saatmiseks kasuta Saada Logi valikut. Kui see valik puudub GUI all, siis kasuta riistvaralist menüünuppu.</string>
- <string name="faq_shortcut">Kiirkäivitus</string>
- <string name="faq_howto_shortcut">Saate paigaldada seadme töölauale OpenVPN kiirkäivituse. Selleks tuleb sõltuvalt teie seadme ekraanihalduri programmist kasutada kas kiirkäivitusikooni või vidinat.</string>
- <string name="no_vpn_support_image">Teie süsteemitarkvara ei toeta VPNService API\'t, vabandame :(</string>
- <string name="encryption">Krüpteerimine</string>
- <string name="cipher_dialog_title">Vali krüpteerimismeetod</string>
- <string name="chipher_dialog_message">Sisestage OpenVPN poolt kasutatav krüptošifri algoritm. Tühi väli tähendab vaikešifrit.</string>
- <string name="auth_dialog_message">Sisestage OpenVPN poolt kasutatav autentimise räsifunktsioon. Tühi väli tähendab vaikeräsi.</string>
- <string name="settings_auth">Autentimine/Krüpteerimine</string>
- <string name="file_explorer_tab">Failihaldur</string>
- <string name="inline_file_tab">Integreeritud fail</string>
- <string name="error_importing_file">Viga faili importimisel</string>
- <string name="import_error_message">Faili importimine failisüsteemist ebaõnnestus</string>
- <string name="inline_file_data">[[tekstisisene faili info]]</string>
- <string name="opentun_no_ipaddr">IP andmeteta keeldutakse tun liidese avamisest</string>
- <string name="menu_import">Impordi profiil ovpn failist</string>
- <string name="menu_import_short">Impordi</string>
- <string name="import_content_resolve_error">Imporditava faili lugemine ebaõnnestus</string>
- <string name="error_reading_config_file">Viga konfiguratsioonifaili lugemisel</string>
- <string name="add_profile">lisa profiil</string>
- <string name="import_could_not_open">Ei õnnestunud leida imporditavas konfiguratsioonifailis mainitud faili: %1$s</string>
- <string name="importing_config">Allikast %1$s imporditakse konfiguratsioonifaili</string>
- <string name="import_warning_custom_options">Teie konfiguratsioon sisaldas seadistusi mida ei saa liigitada ühegi graafilise kasutajaliidese poolt pakutava seadistuse alla. Need valikud lisati kui kohandatud seadistusvalikud. Kohandatud konfiguratsiooni kuvatakse allpool:</string>
- <string name="import_done">Konfiguratsioonifail loetud.</string>
- <string name="nobind_summary">Ära seo lokaalse aadressi ja pordiga</string>
- <string name="no_bind">Lokaalne sidumine puudub</string>
- <string name="import_configuration_file">Impordi konfiguratsioonifail</string>
- <string name="faq_security_title">Turvakaalutlused</string>
- <string name="faq_security">"Kuna OpenVPN puhul on turvalisus oluline siis on õigustatud mõned märkused. Kõik sdcard seadmel asuvad andmed on iseenesest ebaturvalised kuna suvaline programm saab neid lugeda (näiteks käesolev programm ei vaja spetsiifilisi sd card õiguseid). Samas, kindla programmi andmed on loetavad ainult sellesama programmi poolt. Kui importida cacert/cert/key andmed faili dialoogi abil, siis salvestatakse need andmed VPN profiili mis on loetav ainult käesoleva programmi poolt. (Pärast andmete importimist ära unusta kustutada koopiad sd kaardilt). Ehkki profiili andmed on loetavad ainult käesoleva programmi poolt, on nad siiski krüpteerimata ja ruuditud seade või mõni exploit võimaldab neid sellegipoolest lugeda. Sealhulgas ei ole krüptitud ka salvestatud paroolid. Pkcs12 failide puhul on tungivalt soovitatav nende importimine android keystore\'sse."</string>
- <string name="import_vpn">Impordi</string>
- <string name="broken_image_cert_title">Viga sertifikaadivaliku näitamisel</string>
- <string name="broken_image_cert">Android 4.0+ sertifikaadivaliku dialoogi näitamise katsel tekkis erandolukord. Seda ei tohiks kunagi juhtuda kuna tegu on Android 4.0+ standardfunktsiooniga. Ehk on teie Androidi sertifikaadihoidla ROM tugi riknenud</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Ootan olekuteadet&#8230;</string>
- <string name="converted_profile">imporditud profiil</string>
- <string name="converted_profile_i">imporditud profiil %d</string>
- <string name="broken_images">Probleemsed Androidi püsivara versioonid</string>
- <string name="broken_images_faq">&lt;p&gt;Ametlikel HTC versioonidel teatakse olevat kummaline marsruutimisprobleem, mille tulemusel ei liigu andmevoog läbi tunneli (Vaata ka &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\"&gt;Issue 18&lt;/a&gt; veahalduses.)&lt;/p&gt;&lt;p&gt;Ametlike vanemate SONY Xperia arc S ja Xperia Ray versioonide puhul on raporteeritud ka täielikku VPNService API puudumist. (Vaata ka &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\"&gt;Issue 29&lt;/a&gt; veahalduses.)&lt;/p&gt;&lt;p&gt;Kohandatud tarkvaraversioonides võib puududa tun moodul või /dev/tun õigused võivad olla valed. Mõned CM9 versioonid nõuavad \"seadmespetsiifiliste häkkide\" alt \"õiguste parandamise\" valiku kasutamist.&lt;/p&gt;&lt;p&gt;Aga mis kõige olulisem: kui teil juhtub olema vigane tarkvaraversioon, siis teatage sellest oma tarnijale. Mida rohkem kliente tarnijat seadme probleemidest teavitab, seda suurema tõenäosusega tehakse seadme tarkvara ka korda.&lt;/p&gt;</string>
- <string name="pkcs12_file_encryption_key">PKCS12 faili krüpteerimisvõti</string>
- <string name="private_key_password">Privaatse võtme salasõna</string>
- <string name="password">Salasõna</string>
- <string name="file_icon">faili ikoon</string>
- <string name="tls_authentication">TLS autentimine</string>
- <string name="generated_config">Genereeritud konfiguratsioon</string>
- <string name="generalsettings">Seaded</string>
- <string name="owner_fix_summary">Püütakse seada /dev/tun omanikku system\'iks. VPNService API nõuab seda mõne CM9 versiooni puhul. Seade peab olema ruuditud.</string>
- <string name="owner_fix">Korrasta /dev/tun omanikuõigused</string>
- <string name="generated_config_summary">Näitab genereeritud OpenVPN konfiguratsioonifaili</string>
- <string name="edit_profile_title">Redigeeritakse \"%s\"</string>
- <string name="building_configration">Koostatakse konfiguratsiooni&#8230;</string>
- <string name="netchange_summary">Selle valiku aktiveerimine kutsub esile VPN uuestiühendumise kui võrgu olek muutub (nt. WIFI peale/pealt mobiilile)</string>
- <string name="netchange">Uuestiühendus võrgu oleku muutumisel</string>
- <string name="netstatus">Võrgu olek: %s</string>
- <string name="extracahint">CA sertifikaat saadakse tavaliselt Androidi võtmehoidlast. Kui sertifikaadi kontrollimisel esineb probleeme, siis määrake palun sertifikaat ise.</string>
- <string name="select_file">Vali</string>
- <string name="keychain_nocacert">Androidi võtmehoidlast lugemine ei andnud ühtegi CA sertifikaati. Suure tõenäosusega autentimine ebaõnnestub.</string>
- <string name="show_log_summary">Näitab ühendumisel logiakent. Logiakna saab alati ette manada VPN teatisealast.</string>
- <string name="show_log_window">Näita logiakent</string>
- <string name="mobile_info">Töötamas %1$s (%2$s) %3$s peal, Android API %4$d</string>
- <string name="error_rsa_sign">Viga allkirjastamisel Androidi võtmehoidla võtmega %1$s: %2$s</string>
- <string name="faq_system_dialogs">VPN ühendumisel ilmub ekraanile hoiatus et see programm võib pealt kuulata kogu võrguliiklust. Tegemist on VPNService API süsteemse hoiatusega et hoida ära väärkasutust.\nVPN ühenduse teatis (Võtme sümbol) on samuti VPNService API poolt kuvatav aktiivse VPN ühenduse indikaator. Mõne süsteemitarkvara puhul võib see indikaator anda märku ka heliga.\nNeed teatised on Androidi süsteemile lisatud teie turvalisuse tagamiseks ja samuti on välistatud nende kasutamisest mööda minemine. (Kahjuks tähendab see seda et mõne süsteemitarkvara puhul kaasneb ühendusega alati ka heliteade)</string>
- <string name="faq_system_dialogs_title">Hoiatused ja helimärguanded ühenduse loomisel</string>
- <string name="translationby">Eesti keelde tõlkis Robert Tiismus</string>
- <string name="ipdns">IP ja DNS</string>
- <string name="basic">Põhilised seaded</string>
- <string name="routing">Marsruutimine</string>
- <string name="obscure">Harvaesinevad OpenVPN seaded. Tavaliselt ebavajalikud.</string>
- <string name="advanced">Põhjalikum</string>
- <string name="export_config_title">ICS OpenVPN konfiguratsioon</string>
- <string name="warn_no_dns">Kasutuses pole ühtegi DNS serverit. Nimelahendus ei pruugi töötada. Kaaluge kohandatud DNS serverite konfiguratsiooni. Pange tähele et DNS seadete puudumisel jätkab Android teie mobiilse/Wi-Fi proxy seadete kasutamist.</string>
- <string name="dns_add_error">DNS serveri \"%1$s\" lisamine ebaõnnestus, süsteemi poolt keelduti: %2$s</string>
- <string name="ip_add_error">IP aadressi \"%1$s\" seadistamine ei õnnestunud, süsteemi poolt välja praagitud: %2$s</string>
- <string name="faq_howto">&lt;p&gt;Hankige töötav konfiguratsioon (kas arvutis järele proovitud või alla laetud võrguteenusepakkuja/organisatsiooni veebilehelt)&lt;/p&gt;&lt;p&gt;Kui tegu on ainult ühe failiga millega ei kaasne pem/pkcs12 faile, siis saad selle saata e-kirjas manusena iseendale. Kui faile on mitu, saab need kopeerida sdcard peale.&lt;/p&gt;&lt;p&gt;Kliki saabunud e-kirja manusele ja kasuta konfiguratsiooni importimiseks vpn kaustaikooni.&lt;/p&gt;&lt;p&gt;Kui siiski esineb puuduvatele failidele viitavaid vigu, siis kopeeri puuduvad failid sdcard peale.&lt;/p&gt;&lt;p&gt;Imporditud VPN lisamiseks ühenduste nimekirjale, klikkige salvestussümbolile.&lt;/p&gt;&lt;p&gt;VPN ühenduse loomiseks kliki loodud VPN ühenduse nimele.&lt;/p&gt;&lt;p&gt;Ekraanil nähtav logi lihtsustab esineda võivate probleemide/vigade lahendamist.&lt;/p&gt; </string>
- <string name="faq_howto_title">Kasutamise lühijuhend</string>
- <string name="setting_loadtun_summary">Proovi enne ühendumist laadida tun.ko tuumamoodul. Nõuab ruuditud seadet.</string>
- <string name="setting_loadtun">Laadi tun moodul</string>
- <string name="importpkcs12fromconfig">Lae PKCS12 OpenVPN konfiguratsioonist Androidi võtmehoidlasse</string>
- <string name="getproxy_error">Viga proxy seadistuste vastuvõtul: %s</string>
- <string name="using_proxy">Kasutusel proxy %1$s %2$d</string>
- <string name="use_system_proxy">Kasuta süsteemset proxy\'t</string>
- <string name="use_system_proxy_summary">Kasuta ühendumisel süsteemse HTTP/HTTPS proxy konfiguratsiooni.</string>
- <string name="donatewithpaypal">Sul on võimalus &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;annetada PayPal vahendusel&lt;/a&gt; </string>
- <string name="onbootrestartsummary">Kui VPN oli süsteemi uuestilaadimisel/sulgemisel aktiivne siis taastatakse seadme käivitamisel OpenVPN ühendus. Palun lugege enne selle valiku kasutamist läbi ühendumise hoiatuse KKK.</string>
- <string name="onbootrestart">Uuestilaadimisel ühendu uuesti</string>
- <string name="ignore">Ignoreeri</string>
- <string name="restart">Uuestilaadimine</string>
- <string name="restart_vpn_after_change">Konfiguratsioonimuudatused rakendatakse peale VPN uuestilaadimist. Kas soovite VPN kohe (uuesti)laadida?</string>
- <string name="configuration_changed">Konfiguratsiooni muudeti</string>
- <string name="log_no_last_vpn">Viimast kasutatud profiili pole redigeerimiseks võimalik tuvastada</string>
- <string name="faq_duplicate_notification_title">Mitu teatisikooni</string>
- <string name="faq_duplicate_notification">Kui Androidi süsteemimälu (RAM) on täitumas, siis eemaldatakse aktiivsest kasutusest hetkel ebavajalikud programmid ja teenused. Sellega võib kaasneda muu hulgas ka VPN ühenduse katkemine. Katkestuste välistamiseks töötab OpenVPN teenus kõrgendatud prioriteediga. Kuid prioriteeti tõstmisel kuvab Androidi süsteem sellekohane teavitusikooni. Võtme ikooniga teavitus on määratud VPNService API poolt, millest oli juttu ka eelmises KKK lõigus ja see ei lähe arvesse programmi kõrgendatud prioriteedist teatava ikoonina.</string>
- <string name="no_vpn_profiles_defined">VPN profiile pole defineeritud.</string>
- <string name="add_new_vpn_hint">Kasuta uue VPN lisamiseks &lt;img src=\"ic_menu_add\"/&gt; ikooni</string>
- <string name="vpn_import_hint">Kasuta olemasoleva (.ovpn või .conf) profiili importimiseks sdcard pealt &lt;img src=\"ic_menu_archive\"/&gt; ikooni.</string>
- <string name="faq_hint">Kindlasti vaata KKK\'d. See sisaldab ka alustamise lühijuhendit.</string>
- <string name="faq_routing_title">Marsruutimine ja võrguliidese konfigureerimine</string>
- <string name="faq_routing">Marsruutimine ja liidese konfigureerimine ei toimu traditsiooniliste ifconfig/route käskude abil, vaid kasutades VPNService API\'t. Selle tulemuseks on teistest operatsioonisüsteemidest erinev marsruutimiskonfiguratsioon. VPN tunneli konfiguratsioon koosneb IP aadressist ja selle liidese kaudu suunatavatest võrkudest. Täpsemalt, pole vaja ei VPN partneri ega lüüsi aadressi. Erilised marsruudid VPN serverini jõudmiseks (näiteks redirect-gateway poolt lisatud) pole samuti vajalikud. Selle tulemusena ignoreerib rakendus konfiguratsiooni importimisel neid seadeid. Rakendus tagab VPNService API abil selle, et ühendus VPN serveriga ei toimu läbi VPN tunneli. Toetatud on ainult VPN tunneli kaudu suunatud võrkude määratlemine. Rakendus üritab avastada võrgud mida ei tohiks suunata üle tunneli (näiteks route x.x.x.x y.y.y.y net_gateway) ja arvutab marsruudid mis välistavad eelmainitud marsruudid, jäljendades teiste platvormide toimimist. Logiaknas kuvatakse peale ühenduse loomist kehtivat VPNService konfiguratsiooni.</string>
- <string name="persisttun_summary">Ära taasta otseühendust kui OpenVPN on taasühendumas.</string>
- <string name="persistent_tun_title">Katkematu tun</string>
- <string name="openvpn_log">OpenVPN Logi</string>
- <string name="import_config">Impordi OpenVPN konfiguratsioon</string>
- <string name="battery_consumption_title">Akukasutus</string>
- <string name="baterry_consumption">Minu isiklike testide põhjal kulutavad akut peamiselt OpenVPN ülalhoide (keepalive) paketid. Enamik OpenVPN serverieid kasutab sarnast direktiivi nagu \'keepalive 10 60\' mis määrab kliendilt serverile ja serverilt kliendile saadetavate keepalive pakettide intervalliks 10 sekundit. &lt;p&gt; Ehkki ülalhoidepaketid on väikesed ja ei põhjusta märgatavat võrguliiklust, ei lase nad mobiilse ühenduse raadiovõrgukiibil lülituda energiasäästurežiimi. (Vaata ka &lt;a href=\"http://developer.android.com/training/efficient-downloads/efficient-network-access.html#RadioStateMachine\"&gt;The Radio State Machine | Android Developers&lt;/a&gt;) &lt;p&gt; Nimetatud ülalhoidepaketi seadistused ei ole kliendi poolt muudetavad ja neid seadistusi saab muuta ainult OpenVPN serveri süsteemiadministraator. &lt;p&gt; Kahjuks esineb üle 60 sekundi pikkuse keepalive puhul probleeme UDP protokolliga üle mõnede NAT võrguväratite ühenduse aegumise tõttu. TCP protokolliga seda probleemi ei esine, kuid TCP üle TCP tunnel töötab üüratult viletsasti üle kõrge paketikaoga linkide. (Vaata &lt;a href=\"http://sites.inka.de/bigred/devel/tcp-tcp.html\"&gt;Miks TCP üle TCP on halb mõte&lt;/a&gt;)</string>
- <string name="faq_tethering">Android Tethering (üle WiFi, USB või Bluetoothi) ja VPNService API (mida käesolev programm kasutab) ei ole koos kasutatavad. Täpsemad detailid leiad &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\"&gt;issue #34&lt;/a&gt;</string>
- <string name="vpn_tethering_title">VPN ja tether</string>
- <string name="connection_retries">Ühendumise korduskatseid</string>
- <string name="reconnection_settings">Taasühendusseaded</string>
- <string name="connectretrymessage">Mitu sekundit oodata ühendumiskatsete vahel.</string>
- <string name="connectretrywait">Sekundeid ühenduste vahel</string>
- <string name="minidump_generated">OpenVPN jooksis ootamatult kokku. Palun kaaluge \"saada Minitõmmis\" valiku lubamist peamenüüs</string>
- <string name="send_minidump">Saada arendajale minitõmmis</string>
- <string name="send_minidump_summary">Saada eelmise kokkujooksmise kohta käiv silumisinfo arendajale</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">Ühendumine</string>
- <string name="state_wait">Serveri vastuse ootamine</string>
- <string name="state_auth">Autentimine</string>
- <string name="state_get_config">Kliendikonfiguratsiooni lugemine</string>
- <string name="state_assign_ip">IP-aadressite omistamine</string>
- <string name="state_add_routes">Marsruutide lisamine</string>
- <string name="state_connected">Ühendatud</string>
- <string name="state_disconnected">Katkesta ühendus</string>
- <string name="state_reconnecting">Taasühendumine</string>
- <string name="state_exiting">Väljumine</string>
- <string name="state_noprocess">Ei tööta</string>
- <string name="state_resolve">Arvutinimede lahendamine</string>
- <string name="state_tcp_connect">Ühendumine (TCP)</string>
- <string name="state_auth_failed">Autentimine ebaõnnestus</string>
- <string name="state_nonetwork">Oodatakse kasutatavat võrku</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Pole ühendatud</string>
- <string name="start_vpn_title">Ühendumine VPN %s külge</string>
- <string name="start_vpn_ticker">Ühendumine VPN %s külge</string>
- <string name="jelly_keystore_alphanumeric_bug">Mõnede Android 4.1 versioonide puhul esineb probleeme kui võtmehoidla sertifikaadi nimi sisaldab mittetähestikulisi sümboleid (nagu tühikud, alakriipsud või sidekriipsud). Proovige selline sertifikaat erisümboliteid kasutamata uuesti importida</string>
- <string name="encryption_cipher">Krüptošiffer</string>
- <string name="packet_auth">Pakettide autentimine</string>
- <string name="auth_dialog_title">Sisestage pakettide autentimismeetod</string>
- <string name="mobile_info_extended">Töötab seadmel %1$s (%2$s) %3$s, Android API %4$d, versioon %5$s, %6$s</string>
- <string name="built_by">Kompileerija: %s</string>
- <string name="debug_build">Silumisversioon</string>
- <string name="official_build">Ametlik versioon</string>
- <string name="make_selection_inline">Kopeeri profiili</string>
- <string name="crashdump">Pangestustõmmis</string>
- <string name="add">Lisa</string>
- <string name="send_config">Saada konfiguratsioonifail</string>
- <string name="complete_dn">Täielik DN</string>
- <string name="remotetlsnote">Teie imporditud konfiguratsioon kasutab vana ja TAUNITAVAT tls-remote valikut mis kasutab erinevat DN kuju.</string>
- <string name="rdn">RDN (ühine nimi)</string>
- <string name="rdn_prefix">RDN eesliide</string>
- <string name="tls_remote_deprecated">tls-remote (TAUNITAV)</string>
- <string name="help_translate">Tõlkimisel saate abi pakkuda külastades veebilehte http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s katset et juhtida %2$s</string>
- <string name="remote_warning">Jätkates annate sellele programmile täieliku kontrolli üle Androidi OpenVPN-i ja samuti õiguse jälgida kogu võrguliiklust. <b> Kui te ei usalda seda programmi, siis ÄRGE NÕUSTUGE. </b> Vastasel juhul seate oma andmed pahatahtliku tarkvara poolt ohtu.\"</string>
- <string name="remote_trust">Ma usaldan seda programmi.</string>
- <string name="no_external_app_allowed">Ühelgi programmil pole luba kasutada välist API-t</string>
- <string name="allowed_apps">Lubatud programmid: %s</string>
- <string name="clearappsdialog">Kas tühjenda lubatud väliste programmide nimekiri?\nKehtiv lubatud programmide nimekiri:\n\n%s</string>
- <string name="screenoff_summary">\"Peata VPN kui ekraan on välja lülitatud ja viimase 60s jooksul on üle kantud alla 64kB anmeid. Kui \"Katkematu Tun\" valik on sees, siis jätab VPN peatamine teie seadme ilma võrguühenduseta. \"Katkematu Tun\" valikuta ei ole aga seadmel VPN ühendust/kaitset.</string>
- <string name="screenoff_title">Peata VPN ühendus peale ekraani välja lülitamist</string>
- <string name="screenoff_pause">Ühenduse peatamine väljalülitatud ekraani korral: vähem kui %1$s %2$ss jooksul</string>
- <string name="screen_nopersistenttun">Hoiatus: Katkematu tun ei ole sellel seadmel sisse lülitatud. Andmed liiguvad ekraani välja lülitamisel tavalise Internetiühenduse kaudu.</string>
- <string name="save_password">Salvesta parool</string>
- <string name="pauseVPN">Peata VPN</string>
- <string name="resumevpn">Jätka VPN</string>
- <string name="state_userpause">Kasutaja nõudis VPN peatamist</string>
- <string name="state_screenoff">VPN peatatud - ekraan väljas</string>
- <string name="device_specific">Seadmespetsiifilised häkid</string>
- <string name="cannotparsecert">Sertifikaadiinfo kuvamine ei õnnestu</string>
- <string name="appbehaviour">Rakenduse käitumine</string>
- <string name="vpnbehaviour">VPN käitumine</string>
- <string name="allow_vpn_changes">Luba muudatused VPN profiilides</string>
- <string name="hwkeychain">Riistvaraline võtmehoidla:</string>
- <string name="permission_icon_app">\'OpenVPN Androidile\' üritatakse kasutada programmi ikooni poolt</string>
- <string name="faq_vpndialog43">"Alates Android 4.3 versioonist kaitstakse VPN kinnitust \"kattuvate programmide\" eest. Selle tulemusena ei reageeri dialoog puutesisendile. Võite sattuda sellisele probleemile kui teil on programm, mis kasutab kattumist. Leides sellise häiriva programmi, teavitage sellest programmi autorit. Nimetatud probleem mõjutab kõiki VPN programme alates Android 4.3 versioonist. Lisadetailid: &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=185\"&gt; teema 185&lt;/a&gt;"</string>
- <string name="faq_vpndialog43_title">Android 4.3 (ja hilisemate) VPN kinnitusdialoog</string>
- <string name="donatePlayStore">Võite saata mulle annetusena raha ka Play Store kaudu:</string>
- <string name="thanks_for_donation">Aitäh annetatud %s eest!</string>
- <string name="logCleared">Logi tühjendatud.</string>
- <string name="show_password">Näita salasõna</string>
- <string name="keyChainAccessError">Viga KeyChain poole pöördumisel: %s</string>
- <string name="timestamp_short">Lühike</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">Ajatemplid</string>
- <string name="timestamps_none">Ükski</string>
- <string name="uploaded_data">Üleslaadimine</string>
- <string name="downloaded_data">Allalaadimine</string>
- <string name="vpn_status">Vpn olek</string>
- <string name="logview_options">Kuva valikud</string>
- <string name="unhandled_exception">Käsitlematu erand: %1$s\n\n%2$s</string>
- <string name="unhandled_exception_context">%3$s: %1$s\n\n%2$s</string>
- <string name="faq_system_dialog_xposed">Kui olete ome Androidiseadme ruutinud, saate paigaldada omal riisikol &lt;a href=\"http://xposed.info/\"&gt;Xposed framework&lt;/a&gt; ja &lt;a href=\"http://repo.xposed.info/module/de.blinkt.vpndialogxposed\"&gt;VPN Dialoogi kinnitusmooduli&lt;/a&gt;\"</string>
- <string name="full_licenses">Kõik litsentsid</string>
- <string name="blocklocal_summary">Kohaliku liidese külge ühendatud võrkude ühendusi ei suunata üle VPN\'i. Selle valiku keelamisel suunatakse ka kohaliku võrgu andmeliiklus VPN\'i.</string>
- <string name="blocklocal_title">Keela VPN kohalike võrkude jaoks</string>
- <string name="userpw_file">Kasutajanimede/Paroolide fail</string>
- <string name="imported_from_file">[Imporditud: %s]</string>
- <string name="files_missing_hint">Mõningaid faile ei leitud. Palun valige importimiseks profiili failid:</string>
- <string name="openvpn_is_no_free_vpn">Selle rakenduse kasutamiseks vajate OpenVPN toega VPN teenusepakkujat/VPN lüüsi (mida sageli pakub teie tööandja). Lisainfo saamiseks OpenVPN kohta ja oma isikliku OpenVPN serveri seadistamise kohta tutvuge veebilehega http://community.openvpn.net/ .</string>
- <string name="import_log">Impordi logi:</string>
- <string name="ip_looks_like_subnet">Valitud on \"%3$s\" Vpn topoloogia, kuid ifconfig %1$s %2$s sarnaneb rohkem maskiga IP aadressile. Määratakse \"alamvõrgu\" topoloogia.</string>
- <string name="mssfix_invalid_value">mssfix väärtus peab olema täisarv vahemikus 0 kuni 9000</string>
- <string name="mssfix_value_dialog">Informeeri tunneldatud TCP sessioone et nad piiraksid saadetavate pakettide suuruse nii, et peale OpenVPN kapseldatud paketi partnerile saatmist ei oleks saadud UDP pakett suurem kui ette antud baitide arv. (vaikeväärtus on 1450)</string>
- <string name="mssfix_checkbox">Ignoreeri TCP lasti MSS väärtust</string>
- <string name="mssfix_dialogtitle">Sea TCP lasti MSS väärtus</string>
- <string name="client_behaviour">Kliendi toimimine</string>
- <string name="clear_external_apps">Nulli lubatud välised programmid</string>
- <string name="loading">Laadimine&#8230;</string>
- <string name="allowed_vpn_apps_info">Lubatud VPN programmid: %1$s</string>
- <string name="disallowed_vpn_apps_info">Keelatud VPN programmid: %1$s</string>
- <string name="app_no_longer_exists">Programm %s on seadmest eemaldatud, see kustutatakse ka lubatud/keelatud programmide nimistust</string>
- <string name="vpn_disallow_radio">VPN on kõigi, välja arvatud märgitud, programmide puhul kasutuses</string>
- <string name="vpn_allow_radio">VPN on kasutuses ainult märgitud programmide puhul</string>
- <string name="query_delete_remote">Kas eemaldada kaugserveri kirje?</string>
- <string name="keep">Säilita</string>
- <string name="delete">Eemalda</string>
- <string name="add_remote">Uue kaugserveri lisamine</string>
- <string name="remote_random">Ühendumisel kasuta ühenduskirjeid juhuslikus järjekorras</string>
- <string name="remote_no_server_selected">Peate määrama vähemalt ühe kaugserveri.</string>
- <string name="server_list">Serverite Nimistu</string>
- <string name="vpn_allowed_apps">Lubatud Programmid</string>
- <string name="advanced_settings">Täpsemad seaded</string>
- <string name="payload_options">Nimikoormuse valikud</string>
- <string name="tls_settings">TLS Seaded</string>
- <string name="no_remote_defined">Kaugserverid määramata</string>
- <string name="duplicate_vpn">Dubleeritud VPN profiil</string>
- <string name="duplicate_profile_title">Duplitseeritakse profiili: %s</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-fr/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-fr/strings.xml
deleted file mode 100755
index f7168cef..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-fr/strings.xml
+++ /dev/null
@@ -1,327 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">"OpenVPN pour Android"</string>
- <string name="address">"Adresse du serveur:"</string>
- <string name="port">"Port du serveur:"</string>
- <string name="location">"Emplacement"</string>
- <string name="cant_read_folder">"Le dossier ne peut être lu !"</string>
- <string name="select">"Sélectionner"</string>
- <string name="cancel">"Annuler"</string>
- <string name="no_data">"Aucune donnée"</string>
- <string name="useLZO">"Compression LZO"</string>
- <string name="client_no_certificate">"Aucun certificat"</string>
- <string name="client_certificate_title">"Certificat client"</string>
- <string name="client_key_title">"Clé du certificat client"</string>
- <string name="client_pkcs12_title">"Fichier PKCS12"</string>
- <string name="ca_title">"Certificat CA"</string>
- <string name="no_certificate">"Vous devez sélectionner un certificat"</string>
- <string name="copyright_guicode">"Le code source et le tracker de bugs est disponible ici: http://code.google.com/p/ics-openvpn/ "</string>
- <string name="copyright_others">"Le programme utilise les composants suivants. Voir le code source pour plus de détails sur les licences."</string>
- <string name="about">"À propos"</string>
- <string name="vpn_list_title">Profils</string>
- <string name="vpn_type">"Type"</string>
- <string name="pkcs12pwquery">"Mot de passe PKCS12"</string>
- <string name="file_select">"Sélectionner…"</string>
- <string name="file_nothing_selected">Vous devez sélectionner un fichier</string>
- <string name="useTLSAuth">"Utiliser l\'authentification TLS"</string>
- <string name="tls_direction">"Direction de l\'authentification TLS"</string>
- <string name="ipv6_dialog_tile">"Entrez l\'adresse IPv6 / masque de réseau au format CIDR (ex.: 2000:jj::23/64)"</string>
- <string name="ipv4_dialog_title">"Saisissez l\'adresse IPv4 / masque de réseau au format CIDR (ex.: 1.2.3.4/24)"</string>
- <string name="ipv4_address">"Adresse IPv4"</string>
- <string name="ipv6_address">"Adresse IPv6"</string>
- <string name="custom_option_warning">"Entrez les options d\'OpenVPN personnalisés. A manipuler avec le plus grand soin. A noter également que de nombreux paramètres Tun d\'OpenVPN ne sont pas pris en charge à cause de la conception de \"VPNSettings\". Si vous pensez qu\'une option importante manque, veuillez contacter l\'auteur"</string>
- <string name="auth_username">"Nom d\'utilisateur"</string>
- <string name="auth_pwquery">"Mot de passe"</string>
- <string name="static_keys_info">"Pour la configuration statique, des clés d\'authentification TLS seront utilisés comme des clés statiques."</string>
- <string name="configure_the_vpn">"Configurer le VPN"</string>
- <string name="menu_add_profile">"Ajouter un profil"</string>
- <string name="add_profile_name_prompt">"Entrez un nom identifiant le nouveau profil"</string>
- <string name="duplicate_profile_name">Veuillez entrer un nom de profil unique</string>
- <string name="profilename">"Nom de profil"</string>
- <string name="no_keystore_cert_selected">"Aucun certificat utilisateur sélectionné."</string>
- <string name="no_error_found">"Aucune erreur"</string>
- <string name="config_error_found">"Erreur dans la configuration"</string>
- <string name="ipv4_format_error">"Impossible d\'analyser l\'adresse IPv4"</string>
- <string name="custom_route_format_error">"Impossible d\'analyser les règles de redirection personnalisés"</string>
- <string name="pw_query_hint">"Laissez vide pour définir si nécessaire"</string>
- <string name="vpn_shortcut">"Raccourci OpenVPN"</string>
- <string name="vpn_launch_title">"Se connecter au VPN"</string>
- <string name="shortcut_profile_notfound">"Profil spécifié dans raccourci introuvable"</string>
- <string name="random_host_prefix">"Préfixe de l\'hôte au hasard"</string>
- <string name="random_host_summary">"Ajoute 6 caractères aléatoires en face du nom d\'hôte"</string>
- <string name="custom_config_title">"Activer les options personnalisées"</string>
- <string name="custom_config_summary">"Spécifiez les options personnalisées. A utiliser avec précaution !"</string>
- <string name="route_rejected">"Route rejetée par Android"</string>
- <string name="cancel_connection">"Déconnecter"</string>
- <string name="cancel_connection_long">Déconnecter le VPN</string>
- <string name="clear_log">"Effacer les logs"</string>
- <string name="title_cancel">"Annuler la confirmation"</string>
- <string name="cancel_connection_query">"Déconnecter le VPN connecté / annuler la tentative de connexion ?"</string>
- <string name="remove_vpn">"Retirer le VPN"</string>
- <string name="check_remote_tlscert">Vérifier si le serveur utilise des certificats avec les extensions TLS serveur (--remote-cert-tls serveur)</string>
- <string name="check_remote_tlscert_title">Attendre un certificat de serveur TLS</string>
- <string name="remote_tlscn_check_summary">Vérifie l\'objet du certificat serveur distant DN</string>
- <string name="remote_tlscn_check_title">"Vérification du certificat de l\'hôte"</string>
- <string name="enter_tlscn_dialog">Spécifiez le contrôle utilisé pour vérifier le certificat à distance DN (par exemple, C=DE, L=Paderborn, OU =Avian IP Carriers, CN=openvpn.blinkt.de)\n\nIndiquez le DN complet ou le RDN (openvpn.blinkt.de dans l\'exemple) ou un préfixe RDN pour vérification.\n\nEn utilisant le préfixe RDN \"Server\" correspond à \"Server-1\" et \"Server 2\"\n\nSi vous laissez le champ de texte vide, cela vérifiera le RDN contre le nom du serveur.\n\nPour plus de détails, voir la page du manuel OpenVPN 2.3.1 sous —verify-x509-name</string>
- <string name="enter_tlscn_title">Objet du certificat distant</string>
- <string name="tls_key_auth">"Activer l\'authentification par clé TLS"</string>
- <string name="tls_auth_file">"Fichier d\'authentification TLS"</string>
- <string name="pull_on_summary">"Demande les adresses IP, les règles de redirection et les options de synchronisation du serveur."</string>
- <string name="pull_off_summary">"Aucune information n\'est demandée par le serveur. Les paramètres doivent être spécifiés ci-dessous."</string>
- <string name="use_pull">"Réglages \"Pull\""</string>
- <string name="dns">"DNS"</string>
- <string name="override_dns">"Remplacer les paramètres DNS par le serveur"</string>
- <string name="dns_override_summary">"Utilisez vos propres serveurs DNS"</string>
- <string name="searchdomain">"Domaine"</string>
- <string name="dns1_summary">"Serveur DNS à utiliser."</string>
- <string name="dns_server">"Serveur DNS"</string>
- <string name="secondary_dns_message">"Serveur DNS secondaire utilisé si le serveur DNS principal ne peut pas être atteint."</string>
- <string name="backup_dns">"Serveur DNS secondaire"</string>
- <string name="ignored_pushed_routes">"Ignorer les règles envoyées"</string>
- <string name="ignore_routes_summary">"Ignorer les règles de redirection de ports envoyées par le serveur."</string>
- <string name="default_route_summary">"Redirige tout le trafic sur la connexion VPN"</string>
- <string name="use_default_title">"Utiliser la redirection par défaut"</string>
- <string name="custom_route_message">"Entrez les règles de redirection. N\'entrez la destination qu\'au format CIDR. \"10.0.0.0 / 8 2002::/16\" redirigerait les réseaux 10.0.0.0/8 et 2002::/16 via le VPN."</string>
- <string name="custom_route_message_excluded">Routes qui ne devraient pas être routés via le VPN. Utilisez la même syntaxe que pour les routes incluses.</string>
- <string name="custom_routes_title">"Règles personnalisés"</string>
- <string name="custom_routes_title_excluded">Réseaux exclus</string>
- <string name="log_verbosity_level">"Niveau de verbosité des logs"</string>
- <string name="float_summary">"Autorise les paquets authentifiés à partir de n\'importe quelle adresse IP"</string>
- <string name="float_title">"Permettre des serveur flottants"</string>
- <string name="custom_options_title">"Options personnalisées"</string>
- <string name="edit_vpn">"Modifier les paramètres VPN"</string>
- <string name="remove_vpn_query">\"Effacer le profil VPN %s ?\"?</string>
- <string name="tun_error_helpful">"Sur certaines ROMs ICS les permissions de /dev/tun peuvent être incorrectes, ou le module Tun peut être manquant. Pour les ROMs CM9, essayez de corriger les options dans \"General Settings\""</string>
- <string name="tun_open_error">"L\'ouverture de l\'interface Tun a échoué."</string>
- <string name="error">"Erreur: "</string>
- <string name="clear">"Effacer"</string>
- <string name="last_openvpn_tun_config">Ouverture de l\'interface tun:</string>
- <string name="local_ip_info">"IPv4 locale: %1$s/%2$d IPv6: %3$s MTU: %4$d"</string>
- <string name="dns_server_info">Serveur DNS: %1$s, Domaine: %2$s</string>
- <string name="routes_info_incl">Routes : %1$s %2$s</string>
- <string name="routes_info_excl">Routes exclues : %1$s %2$s</string>
- <string name="routes_debug">Routes VpnService installés : %1$s %2$s</string>
- <string name="ip_not_cidr">"Informations récupérées de l\'interface: %1$s et %2$s , en supposant que la seconde adresse est l\'adresse peer du réseau distant. Utilisation du masque de réseau /32 pour l\'IP locale. Mode donné par OpenVPN: \"%3$s\"."</string>
- <string name="route_not_cidr">"Ne peut pas donner un sens à %1$s et %2$s comme routage IP avec masque réseau de type CIDR, en utilisant /32 comme masque de réseau."</string>
- <string name="route_not_netip">"Règle de redirection corrigée: %1$s / %2$s en %3$s / %2$s"</string>
- <string name="keychain_access">\"Impossible d\'accéder aux certificats \"Android Keychain\". (Peut être causé par une mise à jour du firmware ou par une restauration d\'une sauvegarde des paramètres de l\'application). Veuillez modifier le profil VPN et sélectionnez de nouveau le certificat dans les réglages de base pour recréer l\'autorisation d\'accéder au certificat.\".</string>
- <string name="version_info">"%1$s %2$s"</string>
- <string name="send_logfile">"Envoyer le fichier de log"</string>
- <string name="send">"Envoyer"</string>
- <string name="ics_openvpn_log_file">"Fichier de log OpenVPN ICS"</string>
- <string name="copied_entry">"Entrée du log copiée"</string>
- <string name="tap_mode">"Mode TAP"</string>
- <string name="faq_tap_mode">"Le mode TAP est indisponible avec l\'API non root VPN. Par conséquent, cette application ne peut pas supporter TAP"</string>
- <string name="tap_faq2">\"Encore une fois? Vous plaisantez? Le mode TAP n\'est absolument pas pris en charge et l\'envoi de plus d\'e-mails demandant si il sera intégré ne va en rien aider.\".</string>
- <string name="tap_faq3">\"Encore une fois ? En fait il est possible que quelqu\'un puisse écrire un émulateur TAP basé sur TUN qui pourrait analyser des informations de type \"layer2\". Mais cet émulateur devrait aussi implémenter ARP et un client DHCP. Je ne suis actuellement pas au courant que quelqu\'un travail dessus. Contactez moi si vous voulez m\'aider là dessus\".</string>
- <string name="faq">"FAQ"</string>
- <string name="copying_log_entries">"Copie des entrées du log"</string>
- <string name="faq_copying">"Pour copier une seule entrée du log restez appuyé sur celle-ci. Pour copier ou envoyer le log au complet utilisez l\'option \"Envoi du Log\". Utilisez le bouton matériel s\'il n\'est pas visible."</string>
- <string name="faq_shortcut">"Raccourci pour démarrer"</string>
- <string name="faq_howto_shortcut">Vous pouvez placer un raccourci pour démarrer OpenVPN sur l\'écran d\'accueil. En fonction du programme gérant votre écran d\'accueil, vous devez soit ajouter un raccourci, soit un widget.</string>
- <string name="no_vpn_support_image">"Votre ROM ne prend pas en charge l\'API VPNService, désolé :("</string>
- <string name="encryption">"Cryptage"</string>
- <string name="cipher_dialog_title">"Entrez la méthode de cryptage"</string>
- <string name="chipher_dialog_message">Entrer l\'algorithme de chiffrement utilisé par OpenVPN. Laisser vide pour utiliser l\'algorithme par défaut.</string>
- <string name="auth_dialog_message">Entrer le digest à utiliser par OpenVPN pour l\'authentification. Laisser vide pour utiliser l\'algorithme par défaut.</string>
- <string name="settings_auth">"Authentification / Cryptage"</string>
- <string name="file_explorer_tab">"Explorateur de fichiers"</string>
- <string name="inline_file_tab">"Fichier personnalisé"</string>
- <string name="error_importing_file">"Impossible d\'importer le fichier"</string>
- <string name="import_error_message">"Impossible d\'importer le fichier depuis le système de fichiers"</string>
- <string name="inline_file_data">"[[Fichier de données personnalisé]]"</string>
- <string name="opentun_no_ipaddr">"Impossible d\'ouvrir le périphérique TUN sans informations IP"</string>
- <string name="menu_import">"Importer un profil depuis un fichier .ovpn"</string>
- <string name="menu_import_short">"Importer"</string>
- <string name="import_content_resolve_error">"Impossible de lire le profil à importer"</string>
- <string name="error_reading_config_file">"Erreur de lecture du fichier de configuration"</string>
- <string name="add_profile">"Ajouter un profil"</string>
- <string name="import_could_not_open">"Impossible de trouver le fichier %1$s mentionné dans le fichier de configuration importé"</string>
- <string name="importing_config">"Importation du fichier de configuration depuis %1$s"</string>
- <string name="import_warning_custom_options">Votre configuration a quelques options qui ne sont pas prises en compte par l\'interface utilisateur. Ces options ont donc été ajoutées comme des options de configuration personnalisées:</string>
- <string name="import_done">"Fin de la lecture du fichier de configuration."</string>
- <string name="nobind_summary">"Ne pas se lier à l\'adresse locale et au port"</string>
- <string name="no_bind">"Aucune liaison locale"</string>
- <string name="import_configuration_file">"Importer un fichier de configuration"</string>
- <string name="faq_security_title">"Considérations de sécurité"</string>
- <string name="faq_security">"La stratégie de sécurité d\'OpenVPN amène quelque remarques concernant la sécurité des données saisies. En général, toutes les informations stockées sur la carte SD ne sont pas sécurisées. Toute application peut en obtenir l\'accès (par exemple, ce programme ne requiert aucun droit particulier d\'accès à la carte SD). Dans le cas de ce programme, il est le seul à avoir accès à ces données. En utilisant l\'option d\'importation pour les CaCert/Cert/Key, les données sont stockées dans le porfile VPN. Ce dernier est seulement accessible à cette application. Ainsi, veuillez ne pas oublier de supprimer les copies sur la carte SD après importation. Car, même si l\'application en a l\'exclusivité, les données ne sont pas pour autant cryptées. En \"rootant\" l\'appareil ou par d\'autres exploits il est toujours possible d\'accéder à ces informations. A titre d\'exemple, les mots de passe sont stockés en clair. Pour les fichiers de type Pkfcs12, il est fortement recommandé que vous les importiez dans le gestionnaire de clées d\'Android."</string>
- <string name="import_vpn">"Importer"</string>
- <string name="broken_image_cert_title">"Erreur d\'affichage certificat sélectionné"</string>
- <string name="broken_image_cert">"Exception en essayant d\'afficher le dialogue de sélection du certification d\'Android 4.0+. Ceci ne devrait pas se produire car c\'est une des fonctionnalités de base de ce système. Il est donc possible que votre ROM ne supporte pas le stockage de certfiicats."</string>
- <string name="ipv4">"IPv4"</string>
- <string name="ipv6">"IPv6"</string>
- <string name="speed_waiting">Attente du status&#8230;</string>
- <string name="converted_profile">"profil importé"</string>
- <string name="converted_profile_i">"profil importé: %d"</string>
- <string name="broken_images">"Images corrompues "</string>
- <string name="broken_images_faq">&lt;&gt;Les ROMs officielles HTC sont connues pour avoir des problèmes de routage entraînant que le trafic ne passe pas par le tunnel VPN. (C.f.: &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\"&gt;Issue 18&lt;/a&gt; dans le \"bug tacker\")&lt;/p&gt;&lt;p&gt;Les ROMs officielles de SONY pour le Xperia Arc S et le Xperia Ray ont été signalé comme ne possédant pas le service VPN. Toute autre ROM SONY peut avoir le même problème. (C.f.: &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\"&gt;Issue 29&lt;/a&gt; dans le \"bug tacker\")&lt;/p&gt;&lt;p&gt;Sur les ROM personnalisées le module TUN peut être manquant ou les droits de /dev/tun peuvent être incorrects. Certaines ROM CM9 peuvent nécessiter d\'utiliser l\'option de correction des droits de /dev/tun accessible depuis les \"Options générales\"/&lt;/p&gt;&lt;p&gt;Important: Si votre ROM a un problème, contactez le vendeur, il se peut que qu\'il vous fournisse un patch.&lt;/p&gt;</string>
- <string name="pkcs12_file_encryption_key">"Fichier de clé de cryptage PKCS12"</string>
- <string name="private_key_password">"Mot de passe de clé privée"</string>
- <string name="password">"Mot de passe"</string>
- <string name="file_icon">"icône du fichier"</string>
- <string name="tls_authentication">"Authentification TLS"</string>
- <string name="generated_config">"Configuration générée"</string>
- <string name="generalsettings">Paramètres</string>
- <string name="owner_fix_summary">"Tente de définir le propriétaire de /dev/tun. Certaines ROMs CM9 en ont besoin pour faire fonctionner l\'API VPNService. Nécessite les droits root."</string>
- <string name="owner_fix">"Corriger le propriétaire de /dev/tun"</string>
- <string name="generated_config_summary">"Affiche le fichier de configuration OpenVPN généré"</string>
- <string name="edit_profile_title">"Modification \"%s\""</string>
- <string name="building_configration">"Création de la configuration…"</string>
- <string name="netchange_summary">"L\'activation de cette option forcera l\'appareil à se reconnecter si l\'état du réseau change (ex.: WIFI/Mobile)"</string>
- <string name="netchange">"Reconnexion lors de changement du réseau"</string>
- <string name="netstatus">"État du réseau: %s"</string>
- <string name="extracahint">"Le certificat CA est généralement renvoyé par le gestionnaire de clés Android. Spécifiez un certificat distinct si vous obtenez des erreurs de vérification de certificat."</string>
- <string name="select_file">"Sélectionner"</string>
- <string name="keychain_nocacert">"Aucun certificat CA renvoyée lors de la lecture depuis le gestionnaire de clés. L\'authentification échouera probablement."</string>
- <string name="show_log_summary">"Affiche la fenêtre de log à la connexion. Cette fenêtre peut toujours être consultée à partir de la notification d\'état."</string>
- <string name="show_log_window">"Afficher la fenêtre de log"</string>
- <string name="mobile_info">"Fonctionnant sur %1$s (%2$s) %3$s , Android API %4$d"</string>
- <string name="error_rsa_sign">"Erreur de signature de la clé %1$s : %2$s par le gestionnaire d\'Android"</string>
- <string name="faq_system_dialogs">\"L\'avertissement de connexion au VPN qui vous informe que cette application peut intercepter tout le trafic est imposé par le système pour éviter les abus de l\'API du service VPN.\nLa notification de connexion au VPN (Le symbole qui ressemble à une clé) est aussi imposé par le système Android pour signaler une connexion VPN en cours de fonctionnement.
-Sur certaines images, cette notification joue un son.\nAndroid à introduit ces dialogues système pour votre propre sécurité et à fait en sorte d\'être impossible à contourner. (Cela peut inclure en plus une notification sonore pour certaines images)\"</string>
- <string name="faq_system_dialogs_title">"Avertissement de connexion et son de notification"</string>
- <string name="translationby">French translation by Stanislas Bach&lt;stanislasbach@gmail.com&gt;</string>
- <string name="ipdns">"IP et DNS"</string>
- <string name="basic">"Base"</string>
- <string name="routing">"Redirection de ports"</string>
- <string name="obscure">"Réglages OpenVPN avancés"</string>
- <string name="advanced">"Avancé"</string>
- <string name="export_config_title">"Configuration ICS OpenVPN "</string>
- <string name="warn_no_dns">Aucun serveur DNS utilisé. La résolution de noms de domaines peut ne pas fonctionner. Envisager d\'ajouter des serveurs DNS personnalisés. Veuillez également noter que Android va continuer à utiliser vos paramètres de proxy spécifiés pour votre connexion Wi-Fi/mobile lorsque aucun serveur DNS n\'est défini.</string>
- <string name="dns_add_error">"Impossible d\'ajouter le serveur DNS \"%1$s\", rejetés par le système: %2$s"</string>
- <string name="ip_add_error">Impossible de configurer l\'adresse IP \"%1$s\", rejetées par le système : %2$s</string>
- <string name="faq_howto">"&lt;p&gt;Obtenez une configuration fonctionnelle (testé sur un ordinateur ou téléchargé depuis le site de votre fournisseur/entreprise)&lt;/p&gt;&lt;p&gt;S\'il s\'agit d\'un seul fichier avec aucun fichier Pem/Pks12 supplémentaire, vous pouvez vous envoyer celui par mail et l\'ouvrir directement. Si vous avez plusieurs fichiers de configuration, mettez les sur votre carte SD.&lt;/p&gt;&lt;p&gt;Cliquez sur la pièce jointe de votre e-mail / Utilisez l\'icône du dossier dans la liste des VPN pour importer le fichier de configuration.&lt;/p&gt;&lt;p&gt;Si des erreurs concernant des fichiers manquants apparaissent, veuillez mettre les fichiers manquant sur la carte SD.&lt;/p&gt;&lt;p&gt;Cliquez sur l\'icône \"enregistrer\" pour ajouter le profil VPN importé à la liste.&lt;/p&gt;&lt;p&gt;Connectez le VPN en cliquant sur son nom dans cette liste.&lt;/p&gt;&lt;p&gt;Si vous rencontrez des erreurs ou des avertissements, veuillez lire ce qu\'il y a d\'écrit dans le log pour les corriger.&lt;/p&gt; "</string>
- <string name="faq_howto_title">"Démarrage rapide"</string>
- <string name="setting_loadtun_summary">"Essayez de charger le module du noyau \"tun.ko\" avant d\'essayer de vous connecter. Requiert des droits root."</string>
- <string name="setting_loadtun">"Charger le module TUN"</string>
- <string name="importpkcs12fromconfig">"Importer PKCS12 de la configuration dans le gestionnaire de clés Android"</string>
- <string name="getproxy_error">"Erreur d\'obtention des paramètres de proxy: %s"</string>
- <string name="using_proxy">"Utilisation du proxy %1$s %2$d"</string>
- <string name="use_system_proxy">"Utiliser le proxy système"</string>
- <string name="use_system_proxy_summary">"Utiliser la configuration générale du système pour que les proxy HTTP / HTTPS se connectent."</string>
- <string name="donatewithpaypal">"Vous pouvez faire un &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;cmd=_s-xclick\"&gt;don avec PayPal&lt;/ a&gt; "</string>
- <string name="onbootrestartsummary">"Reconnecter OpenVPN automatiquement si une connexion était active lors de l\'extinction/redémarrage de l\'appareil. Veuillez lire l\'avertissement de connexion dans la FAQ avant d\'utiliser cette option."</string>
- <string name="onbootrestart">"Connexion automatique au redémarrage"</string>
- <string name="ignore">"Ignorer"</string>
- <string name="restart">"Redémarrer"</string>
- <string name="restart_vpn_after_change">"Les changements de configuration sont appliquées après redémarrage du VPN. (Re)démarrer le VPN maintenant?"</string>
- <string name="configuration_changed">"Configuration modifiée"</string>
- <string name="log_no_last_vpn">"Impossible de déterminer le dernier profil connecté pour l\'édition"</string>
- <string name="faq_duplicate_notification_title">"Notifications multiples"</string>
- <string name="faq_duplicate_notification">"Si Android tourne sur la mémoire du système (RAM), les application et les services qui ne sont pas nécessaires à un moment sont automatiquement supprimés de la mémoire. Cela stoppe donc la connexion VPN en cours. Pour s\'assurer que celle-ci reste toujours lancée, le service est lancé avec une priorité plus élevée. Pour cela, l\'application doit afficher une notification permanente. L\'icône de \"clé\" dans la notification est imposée par le système comme expliqué dans l\'entrée de la FAQ précédente."</string>
- <string name="no_vpn_profiles_defined">"Pas de profils VPN définis."</string>
- <string name="add_new_vpn_hint">"Utilisez l\'icône &lt;img src=\"ic_menu_add\"/ pour ajouter un nouveau VPN"</string>
- <string name="vpn_import_hint">"Utilisez l\'icône &lt;img src=\"ic_menu_archive\"/&gt; pour importer un fichier profil (.opvpn ou .conf) de votre carte SD."</string>
- <string name="faq_hint">"Veillez également à consulter la FAQ. Il s\'y trouve un guide de démarrage rapide."</string>
- <string name="faq_routing_title">"Redirections / Configuration de l\'interface"</string>
- <string name="persisttun_summary">Ne pas couper la connexion VPN lors de la reconnexion d\'OpenVPN.</string>
- <string name="persistent_tun_title">Persistance de l\'interface TUN</string>
- <string name="openvpn_log">Log OpenVPN</string>
- <string name="import_config">"Importer une configuration OpenVPN"</string>
- <string name="battery_consumption_title">"Consommation de la batterie"</string>
- <string name="baterry_consumption">In my personal tests the main reason for high battery consumption of OpenVPN are the keepalive packets. Most OpenVPN servers have a configuration directive like \'keepalive 10 60\' which causes the client and server to exchange keepalive packets every ten seconds. &lt;p&gt; While these packets are small and do not use much traffic, they keep the mobile radio network busy and increase the energy consumption. (See also &lt;a href=\"http://developer.android.com/training/efficient-downloads/efficient-network-access.html#RadioStateMachine\"&gt;The Radio State Machine | Android Developers&lt;/a&gt;) &lt;p&gt; This keepalive setting cannot be changed on the client. Only the system administrator of the OpenVPN can change the setting. &lt;p&gt; Unfortunately using a keepalive larger than 60 seconds with UDP can cause some NAT gateways to drop the connection due to an inactivity timeout. Using TCP with a long keepalive timeout works, but tunneling TCP over TCP performs extremely poorly on connections with high packet loss. (See &lt;a href=\"http://sites.inka.de/bigred/devel/tcp-tcp.html\"&gt;Why TCP Over TCP Is A Bad Idea&lt;/a&gt;)</string>
- <string name="faq_tethering">La fonctionnalité de Tethering Android (sur WiFi, USB ou Bluetooth) et l\'API VPNService (utilisé par ce programme) ne fonctionnent pas ensemble. Pour plus de détails, voir la &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\" &gt; page #34 &lt;/a&gt;</string>
- <string name="vpn_tethering_title">VPN et Tethering</string>
- <string name="connection_retries">"Tentatives de connexion"</string>
- <string name="reconnection_settings">"Paramètres de reconnexion"</string>
- <string name="connectretrymessage">Nombre de secondes d\'attente entre chaque tentative de connexion.</string>
- <string name="connectretrywait">"Temps, en secondes, entre deux connexions"</string>
- <string name="minidump_generated">OpenVPN s\'est écrasé de façon inattendue. S\'il vous plaît, envisagez d\'utiliser l\'option de Minidump depuis le menu principal</string>
- <string name="send_minidump">Envoyer le Minidump au développeur</string>
- <string name="send_minidump_summary">Envoyer les informations de débogage à propos du dernier accident au développeur</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">Connexion</string>
- <string name="state_wait">En attente de la réponse du serveur</string>
- <string name="state_auth">Authentification</string>
- <string name="state_get_config">Obtention de la configuration du client</string>
- <string name="state_assign_ip">Attribution de l\'adresses IP</string>
- <string name="state_add_routes">Ajout des routes</string>
- <string name="state_connected">Connecté</string>
- <string name="state_disconnected">Déconnecter</string>
- <string name="state_reconnecting">Reconnexion</string>
- <string name="state_exiting">Fermeture</string>
- <string name="state_noprocess">Eteint</string>
- <string name="state_resolve">Résolution des noms d\'hôtes</string>
- <string name="state_tcp_connect">Connexion (TCP)</string>
- <string name="state_auth_failed">Echec de l\'authentification</string>
- <string name="state_nonetwork">En attente d\'un réseau utilisable</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Non connecté</string>
- <string name="start_vpn_title">Connexion au VPN %s</string>
- <string name="start_vpn_ticker">Connexion au VPN %s</string>
- <string name="jelly_keystore_alphanumeric_bug">Certaines versions d\'Android 4.1 rencontrent des problèmes si le nom du certificat du trousseau de clé contient des caractères non alphanumériques (comme des espaces, des caractères de soulignement ou des tirets). Essayez de réimporter le certificat sans caractères spéciaux</string>
- <string name="encryption_cipher">Chiffrement de cryptage</string>
- <string name="packet_auth">Authentification des paquets</string>
- <string name="auth_dialog_title">Méthode d\'authentification des paquets</string>
- <string name="mobile_info_extended">Environnement: %1$s (%2$s) %3$s, Android API %4$d, version %5$s, %6$s</string>
- <string name="built_by">compilé par %s</string>
- <string name="debug_build">version de debug</string>
- <string name="official_build">version officielle</string>
- <string name="make_selection_inline">Copier dans le profil</string>
- <string name="crashdump">Vidage sur incident</string>
- <string name="add">Ajouter</string>
- <string name="send_config">Envoyer le fichier de config</string>
- <string name="complete_dn">DN complet</string>
- <string name="remotetlsnote">La configuration que vous avez importée utilise l\'option désuette tls-remote qui utilise un format de DN différent.</string>
- <string name="rdn">RDN (nom commun)</string>
- <string name="rdn_prefix">Préfixe RDN</string>
- <string name="tls_remote_deprecated">tl-remote (OBSOLETE)</string>
- <string name="help_translate">Vous pouvez aider à traduire en visitant http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s essais de controler %2$s</string>
- <string name="remote_warning">En poursuivant vous donnez la permission a l\'application de contrôler complètement OpenVPN pour Android et d\'intercepter tout le trafic réseau.<b>N\'acceptez que si vous faite confiance à l\'application.</b> Sinon vous vous exposez au risque de voir vos données compromises par un logiciel malveillant.\"</string>
- <string name="remote_trust">Faire confiance à cette application.</string>
- <string name="no_external_app_allowed">Aucune application n\'est autorisée à utiliser l\'API externe</string>
- <string name="allowed_apps">Applications autorisées: %s</string>
- <string name="clearappsdialog">Effacer la liste des appli. externes?\nListe des appli. autorisées:\n\n%s</string>
- <string name="screenoff_summary">\"Mettre le VPN en pause lorsque l\'écran est éteint et moins de 64ko de données sont transférées dans les 60s. Lorsque l\'option \"Persistance Tun\" est activée, la pause laissera votre appareil SANS connectivité réseau. Sans l\'option \"Persistance Tun\" le dispositif n\'aura pas connexion/protection VPN.</string>
- <string name="screenoff_title">Mettre la connection VPN en pause à l\'exctinction de l\'écran</string>
- <string name="screenoff_pause">Connexion en pause quand l\'écran est éteint : moins de %1$s en %2$ss</string>
- <string name="screen_nopersistenttun">Attention: tun persistant pas activé pour ce VPN. Le trafic utilisera la connexion Internet normale lorsque l\'écran est éteint.</string>
- <string name="save_password">Enregistrer le mot de passe</string>
- <string name="pauseVPN">Pause du VPN</string>
- <string name="resumevpn">Reprendre VPN</string>
- <string name="state_userpause">Pause du VPN demandé par l\'utilisateur</string>
- <string name="state_screenoff">VPN en pause - écran eteint</string>
- <string name="device_specific">Hacks spécifiques à l\'appareil</string>
- <string name="cannotparsecert">Ne peut pas afficher les informations de certificat</string>
- <string name="appbehaviour">Comportement de l\'application</string>
- <string name="vpnbehaviour">Comportement du VPN</string>
- <string name="allow_vpn_changes">Autoriser les modifications des profils VPN</string>
- <string name="hwkeychain">Clés du matériel :</string>
- <string name="permission_icon_app">Icône de l\'application qui essaie d\'utiliser OpenVPN for Android</string>
- <string name="faq_vpndialog43">"À partir d\'Android 4.3 la confirmation VPN est gardée contre les \"applications recouvrante\". Cela se traduit par la boîte de dialogue qui ne réagi pas à la saisie tactile. Si vous avez une application qui utilise des superpositions, elle peut causer ce comportement. Si vous trouvez une application délinquante contacter l\'auteur de l\'application. Ce problème affecte toutes les applications VPN sur Android 4.3 et plus. Voir aussi &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=185\"&gt;Issue 185&lt;a&gt; pour plus de détails"</string>
- <string name="faq_vpndialog43_title">Dialogue de confirmation du VPN sur Android 4,3 et plus</string>
- <string name="donatePlayStore">Sinon, vous pouvez m\'envoyer un don avec le Play Store :</string>
- <string name="thanks_for_donation">Merci pour le don %s!</string>
- <string name="logCleared">Journal effacé.</string>
- <string name="show_password">Afficher le mot de passe</string>
- <string name="keyChainAccessError">Erreur d\'accès de KeyChain : %s</string>
- <string name="timestamp_short">Court</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">Horodateurs</string>
- <string name="timestamps_none">Aucun</string>
- <string name="uploaded_data">Envoyé</string>
- <string name="downloaded_data">Téléchargé</string>
- <string name="vpn_status">État VPN</string>
- <string name="logview_options">Options d\'affichage</string>
- <string name="unhandled_exception">Exception non gérée : %1$s\n\n%2$s</string>
- <string name="unhandled_exception_context">%3$s: %1$s\n\n%2$s</string>
- <string name="faq_system_dialog_xposed">Si vous avez \"rooté\" votre Android vous pouvez installer &lt;a href=\"http://xposed.info/\"&gt;Xposed framework&lt;/a&gt; et &lt;a href=\"http://repo.xposed.info/module/de.blinkt.vpndialogxposed\"&gt;le module de confirmation VPN&lt;/a&gt; à vos risques et périls\"</string>
- <string name="full_licenses">Licences complètes</string>
- <string name="blocklocal_summary">Les réseaux directement connectés aux interfaces locales ne seront pas routés via le VPN. Décochez cette option pour rediriger tout le trafic local vers le VPN.</string>
- <string name="blocklocal_title">Ne pas utilisé le VPN pour les réseaux locaux</string>
- <string name="userpw_file">Fichier Nom d\'utilisateur/Mot de passe</string>
- <string name="imported_from_file">[Importé de : %s]</string>
- <string name="files_missing_hint">Certains fichiers sont introuvables. Sélectionner les fichiers pour importer le profil :</string>
- <string name="openvpn_is_no_free_vpn">Pour utiliser cette application, vous avez besoin d\'un fournisseur/passerelle VPN qui soutient OpenVPN (souvent fourni par votre employeur). Vérifier ici http://community.openvpn.net/ pour plus d\'informations sur OpenVPN et comment configurer votre propre serveur OpenVPN.</string>
- <string name="import_log">Journal d\'importation :</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-hu/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-hu/strings.xml
deleted file mode 100755
index f59fd184..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-hu/strings.xml
+++ /dev/null
@@ -1,289 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN Androidhoz</string>
- <string name="address">Szerver cím:</string>
- <string name="port">Szerver port:</string>
- <string name="location">Hely</string>
- <string name="cant_read_folder">A könyvtár nem olvasható</string>
- <string name="select">Választ</string>
- <string name="cancel">Mégsem</string>
- <string name="no_data">Nincs Adat</string>
- <string name="useLZO">LZO tömörítés</string>
- <string name="client_no_certificate">Nincs Tanúsítvány</string>
- <string name="client_certificate_title">Kliens Tanúsítvány</string>
- <string name="client_key_title">Kliens Privátkulcs</string>
- <string name="client_pkcs12_title">PKCS12 Fájl</string>
- <string name="ca_title">CA Tanúsítvány</string>
- <string name="no_certificate">Válasszon egy tanúsítványt</string>
- <string name="copyright_guicode">A forráskód és a hibakezelő elérhetősége http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">A program a következő komponenseket használja; a licenszek összes részletei a forráskódban találhatóak</string>
- <string name="about">Névjegy</string>
- <string name="vpn_list_title">Profilok</string>
- <string name="vpn_type">Típus</string>
- <string name="pkcs12pwquery">PKCS12 Jelszó</string>
- <string name="file_select">Válasszon&#8230;</string>
- <string name="file_nothing_selected">Válasszon egy fájlt</string>
- <string name="useTLSAuth">TLS-hitelesítés használata</string>
- <string name="tls_direction">TLS irány</string>
- <string name="ipv6_dialog_tile">Adja meg az IPv6 címet CIDR formában (pl.: 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">Adja meg az IPv4 címet CIDR formában (pl.: 1.2.3.4/24)</string>
- <string name="ipv4_address">IPv4 Cím</string>
- <string name="ipv6_address">IPv6 Cím</string>
- <string name="custom_option_warning">Egyéni OpenVPN opciók megadása. Körültekintéssel használja! Vegye figyelembe, hogy a tun-nal kapcsolatos OpenVPN beállítások nem támogatottak a VPNSettings felépítéséből adódóan. Ha úgy gondolja, hogy egy fontos opció hiányzik, lépjen kapcsolatba a fejlesztőkkel</string>
- <string name="auth_username">Felhasználónév</string>
- <string name="auth_pwquery">Jelszó</string>
- <string name="static_keys_info">A statikus konfigurációhoz a TLS Auth Key-ek statikus kulcsokként lesznek használva</string>
- <string name="configure_the_vpn">A VPN beállítása</string>
- <string name="menu_add_profile">Profil hozzáadása</string>
- <string name="add_profile_name_prompt">Adja meg az új Profil nevét</string>
- <string name="duplicate_profile_name">Kérlek, egyedi profilnevet válassz magadnak</string>
- <string name="profilename">Profil név</string>
- <string name="no_keystore_cert_selected">Válassz egy felhasználói tanúsítványt</string>
- <string name="no_error_found">hiba nem található</string>
- <string name="config_error_found">Hiba a beállításokban</string>
- <string name="ipv4_format_error">Hiba az IPv4 cím elemzésekor</string>
- <string name="custom_route_format_error">Hiba az egyéni útvonalak elemzésekor</string>
- <string name="pw_query_hint">(a lekérdezés igénye szerint hagyja üresen)</string>
- <string name="vpn_shortcut">OpenVPN parancsikon</string>
- <string name="vpn_launch_title">Csatlakozás a VPN-hez</string>
- <string name="shortcut_profile_notfound">A parancsikonban kiválasztott Profil nem létezik</string>
- <string name="random_host_prefix">Véletlen Host Prefix</string>
- <string name="random_host_summary">6 random karakter hozzáadása a hosztnév elejére</string>
- <string name="custom_config_title">Egyéni Beállítások engedélyezése</string>
- <string name="custom_config_summary">Egyéni beállítások megadása. Óvatosan használja!</string>
- <string name="route_rejected">Az Android elutasította az útvonalat</string>
- <string name="cancel_connection">Szétkapcsolás</string>
- <string name="cancel_connection_long">VPN kapcsolat szétkapcsolása</string>
- <string name="clear_log">napló törlése</string>
- <string name="title_cancel">jóváhagyás törlése</string>
- <string name="cancel_connection_query">VPN kapcsolat/kapcsolódás megszakítása?</string>
- <string name="remove_vpn">VPN kapcsolat eltávolítása</string>
- <string name="check_remote_tlscert">Ellenőrzi, hogy a kiszolgáló használ-e tanúsitványt TLS Server kiterjesztéssel (--remote-cert-tls server)</string>
- <string name="check_remote_tlscert_title">TLS server tanúsítvány megkövetelése</string>
- <string name="remote_tlscn_check_summary">Ellenőrzi a Távoli Kiszolgáló Tanúsítvány Subject DN mezőt</string>
- <string name="remote_tlscn_check_title">Tanúsítvány Kiszolgálónév Ellenőrzés</string>
- <string name="enter_tlscn_dialog">Adja meg a távoli tanúsítvány DN ellenőrzését (pl.: C=DE, L=Paderborn, OU=Avian IP Carriers, CN=openvpn.blinkt.de)\n\nAdja meg a teljes DN-t vagy az RDN-t (openvpn.blinkt.de a példában) vagy egy RDN prefix-et az ellenőrzéshez.\n\nRDN prefix használatakor a \"Server\" egyezik a \"Server-1\"-gyel és a \"Server-2\"-vel\n\nA mező üresen hagyásakor az RDN a kiszolgáló nevével kerül ellenőrzésre.\n\nTovábbi részleteket az OpenVPN 2.3.1+ manuál oldalon talál —verify-x509-name</string>
- <string name="enter_tlscn_title">Távoli tanúsítvány tárgy</string>
- <string name="tls_key_auth">TLS Key Hitelesítés engedélyetése</string>
- <string name="tls_auth_file">TLS Auth Fájl</string>
- <string name="pull_on_summary">IP címek, útvonalak és időzítések lekérése a kiszolgálótól.</string>
- <string name="pull_off_summary">Nem történt információkérés a kiszolgálótól. Alul meg kell adni a beállításokat.</string>
- <string name="use_pull">Pull Beállítások</string>
- <string name="dns">DNS</string>
- <string name="override_dns">A kiszolgálótól kapott DNS Beállítások felülbírálása</string>
- <string name="dns_override_summary">Saját DNS Szerverek használata</string>
- <string name="searchdomain">searchDomain</string>
- <string name="dns1_summary">a használatban levő DNS-kiszolgáló.</string>
- <string name="dns_server">DNS szerver</string>
- <string name="secondary_dns_message">A másodlagos DNS-kiszolgáló használható, ha a normál DNS-kiszolgáló nem érhető el.</string>
- <string name="backup_dns">tartalék DNS szerver</string>
- <string name="ignored_pushed_routes">Push-olt útvonalak figyelmen kívül hagyása</string>
- <string name="ignore_routes_summary">A szerver által push-olt útvonalak figyelmen kívül hagyása.</string>
- <string name="default_route_summary">A teljes forgalom átirányítása a VPN-re</string>
- <string name="use_default_title">használja az alapértelmezett útvonalat</string>
- <string name="custom_route_message">Egyéni útvonalak megadása. A célt csak CIDR formátumban adja meg. \"10.0.0.0/8 2002::/16\" átirányítaná a 10.0.0.0/8 és 2002::/16 hálózatokat a VPN-en.</string>
- <string name="custom_route_message_excluded">Útvonalak amikek nem a VPN-en át kell route-olni.</string>
- <string name="custom_routes_title">Egyéni útvonalak</string>
- <string name="custom_routes_title_excluded">Hálózat kivételek</string>
- <string name="log_verbosity_level">Napló részletességi szint</string>
- <string name="float_summary">Hitelesített csomagok engedélyezése minden IP-ről</string>
- <string name="float_title">Lebegő szerver engedélyezése</string>
- <string name="custom_options_title">Egyéni beállítások</string>
- <string name="edit_vpn">VPN-beállítások szerkesztése</string>
- <string name="remove_vpn_query">\'%s\' VPN Profil eltávolítása?</string>
- <string name="tun_error_helpful">Néhány egyedi ICS image-en a /dev/tun hozzáférési jogai rosszak lehetnek, vagy a tun modul teljesen hiányzik. CM9 imagek-en próbálja a fix tulajdonos opciót az általános beállításokban</string>
- <string name="tun_open_error">Nem sikerült megnyitni a tun interfészt</string>
- <string name="error">"Hiba:"</string>
- <string name="clear">töröl</string>
- <string name="last_openvpn_tun_config">tun interfész megnyitása:</string>
- <string name="local_ip_info">Helyi IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">DNS Szerver: %1$s, Domain: %2$s</string>
- <string name="routes_info_incl">Útvonalak: %1$s %2$s</string>
- <string name="routes_info_excl">Kizárt útvonalak: %1$s %2$s</string>
- <string name="routes_debug">VpnService útvonalak telepítve: %1$s %2$s</string>
- <string name="ip_not_cidr">Érkezett interfész információk: %1$s és %2$s, feltételezve a második cím a távoli oldali cím. /32 alhálózati maszk lesz használva a helyi IP-hez. OpenVPN beállította a módokat: \"%3$s\".</string>
- <string name="route_not_cidr">Nincs értelme a %1$s és %2$s-nek, mint IP útvonalnak CIDR alhálózati maszkkal, /32 alhálózati maszk kerül használatra.</string>
- <string name="route_not_netip">Az %1$s/%2$s útvonal javítva: %3$s/%2$s</string>
- <string name="keychain_access">Nem sikerült hozzáférni az Android Keychain Tanúsivànyokhoz. Ezt egy firmware frissítés vagy az alkalmazás/beállításainak visszaállítása okozhatja. Kérem szerkessze meg a VPN-t, és újra válassza ki a tanúsítványokat az alapvető beállításoknál, hogy visszaálljanak a tanúsítványok hozzáférési jogai.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">naplófájl küldése</string>
- <string name="send">küld</string>
- <string name="ics_openvpn_log_file">ICS OpenVPN naplófájl</string>
- <string name="copied_entry">Naplóbejegyzés másolva a vágólapra</string>
- <string name="tap_mode">Tap mód</string>
- <string name="faq_tap_mode">Tap mód nem lehetséges nem-root VPN API-val. Ez által az alkalmazás nem kínál tap támogatást</string>
- <string name="tap_faq2">Megint? Viccelsz? Nem, a tap mód tényleg nem támogatott és további levelek küldése hogy támogatott lesz-e sem fog segíteni.</string>
- <string name="tap_faq3">Harmadszor is? Tulajdonképpen lehetne írni egy tap emulátort a tun alapján ami képes layer2 adatokat is küldeni és fogadni, de ennek a tap emulátornak implementálnia kell ARP-t és lehetőleg egy DHCP klienst is. Nem tudok róla, hogy bárki is ezen az irányon dolgozna. Ha lenne kedve ilyet kódolni, lépjen kapcsolatba velem.</string>
- <string name="faq">GYIK</string>
- <string name="copying_log_entries">naplóbejegyzések másolása</string>
- <string name="faq_copying">Másoláshoz nyomja le és tartsa lenyomva a naplóbejegyzést. A teljes napló küldéséhez használja a Napló Küldése opciót. Használja a hardver menü gombot ha nem látható a GUI-ban.</string>
- <string name="faq_shortcut">Parancsikon az indításhoz</string>
- <string name="faq_howto_shortcut">Az asztalra helyezhet egy OpenVPN parancsikont. A képernyőkezelő programtól függően parancsikont vagy widget-et helyezhet el.</string>
- <string name="no_vpn_support_image">Az image-ed nem támogatja a VPNService API-t, elnézést :(</string>
- <string name="encryption">Titkosítás</string>
- <string name="cipher_dialog_title">Adja meg a titkosítási módszert</string>
- <string name="chipher_dialog_message">Adja meg az OpenVPN által használt titkosítási algoritmust. Hagyja üresen az alapértelmezett kódoláshoz.</string>
- <string name="auth_dialog_message">Adja meg az OpenVPN által használt authentication digest-et. Hagyja üresen az alapértelmezett digest-hez.</string>
- <string name="settings_auth">Hitelesítés/Titkosítás</string>
- <string name="file_explorer_tab">Fájlkezelő</string>
- <string name="inline_file_tab">Beágyazott fájl</string>
- <string name="error_importing_file">Hiba a fájl importálása közben</string>
- <string name="import_error_message">Nem sikerült importálni a Fájlt a fájlrendszerből</string>
- <string name="inline_file_data">[[Beágyazott fájladatok]]</string>
- <string name="opentun_no_ipaddr">IP információ nélküli tun eszköz megnyitás megtagadva</string>
- <string name="menu_import">Profil import ovpn fájlból</string>
- <string name="menu_import_short">Import</string>
- <string name="import_content_resolve_error">Nem sikerült beolvasni az importálási profilt</string>
- <string name="error_reading_config_file">Hiba a konfigurációs fájl olvasása közben</string>
- <string name="add_profile">Profil hozzáadása</string>
- <string name="import_could_not_open">%1$s fájl nem található, pedig az importált konfigurációs fájlban hivatkozás van rá</string>
- <string name="importing_config">Konfigurációs fájl importálása %1$s forrásból</string>
- <string name="import_warning_custom_options">A konfiguráció tartalmaz néhány opciót, amik nincsenek UI konfigurációhoz rendelve. Ezek az opciók az egyéni konfiguráció alatt találhatók. Az egyéni konfiguráció lent látható:</string>
- <string name="import_done">Konfigurációs fájl olvasása kész.</string>
- <string name="nobind_summary">Ne bind-eljen helyi címhez és porthoz</string>
- <string name="no_bind">Nincs helyi bind</string>
- <string name="import_configuration_file">Konfigurációs fájl importálása</string>
- <string name="faq_security_title">Biztonsági szempontok</string>
- <string name="import_vpn">Import</string>
- <string name="broken_image_cert_title">Hiba a tanúsítvány kiválasztása során</string>
- <string name="broken_image_cert">Exception történt az Android 4.0+ tanúsítvány legördülő megjelenítésekor. Ennek sohasem szabad megtörténnie, mivel ez egy szavványos Android 4.0+ funkció. Lehet, hogy az Android ROM tanúsítványtár támogatása nem működik megfelelően</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Állapot üzenetre várakozás&#8230;</string>
- <string name="converted_profile">importált profil</string>
- <string name="converted_profile_i">%d profil importálva</string>
- <string name="broken_images">Működésképtelen image-ek</string>
- <string name="pkcs12_file_encryption_key">PKCS12 Fájltitkosítási kulcs</string>
- <string name="private_key_password">Privát kulcs jelszó</string>
- <string name="password">Jelszó</string>
- <string name="file_icon">fájlikon</string>
- <string name="tls_authentication">TLS hitelesítés</string>
- <string name="generated_config">Generált konfiguráció</string>
- <string name="generalsettings">Beállítások</string>
- <string name="owner_fix_summary">/dev/tun tulajdonosának beállítása. Néhány CM9 image-hez ez kell, hogy a VPNService API működjön. Root szükséges.</string>
- <string name="owner_fix">Fix tulajdonos a /dev/tun-hoz</string>
- <string name="generated_config_summary">Generált OpenVPN konfigurációs fájl megmutatása</string>
- <string name="edit_profile_title">\"%s\" szerkesztése</string>
- <string name="building_configration">Konfiguráció felépítése&#8230;</string>
- <string name="netchange_summary">Ennek az opciónak a bekapcsolása erőlteti az újracsatlakozást ha a hálózati állapot megváltozik (pl.: WiFi-re/ről mobil-ra/ról)</string>
- <string name="netchange">Újracsatlakozás hálózatváltáskor</string>
- <string name="netstatus">Hálózati állapot: %s</string>
- <string name="extracahint">A CA tanúsítvány általában visszajön az Android Keystore-ból. Adjon meg egy külön tanúsítványt ha tanúsítvány-ellenőrzési hibát kap.</string>
- <string name="select_file">Választ</string>
- <string name="keychain_nocacert">Nem jött vissza CA tanúsítvány az Android keystore olvasása során. A hitelesítés valószínűleg sikertelen lesz.</string>
- <string name="show_log_summary">Napló ablak mutatása a csatlakozás alatt. A napló ablak mindig elérető a rolóról is.</string>
- <string name="show_log_window">Naplózási ablak mutatása</string>
- <string name="mobile_info">%1$s (%2$s) %3$s, Android API %4$d</string>
- <string name="error_rsa_sign">Hiba az Android keystore %1$s: %2$s kulccsal való belépéskor</string>
- <string name="faq_system_dialogs_title">Kapcsolat figyelmeztetés és értesítés hang</string>
- <string name="translationby">A magyar fordítást készítette Juhász Sándor &lt;msc@digitaltrip.hu&gt;</string>
- <string name="ipdns">IP és DNS</string>
- <string name="basic">Alapvető</string>
- <string name="routing">Útválasztás</string>
- <string name="obscure">Obscure OpenVPN beállítások. Általában nem szükséges.</string>
- <string name="advanced">Speciális</string>
- <string name="export_config_title">ICS Openvpn Konfiguráció</string>
- <string name="warn_no_dns">Nincsenek DNS szerverek használatban. A névfeloldás nem működik. Fontolja meg az egyéni DNS szerverek beállítását. Kérjük, vegye figyelembe, hogy az Android továbbra is ugyanazokat a proxy beállításokat fogja használni a mobil/WiFi csatlakozáshoz, mint amit a DNS szerverek megadása előtt.</string>
- <string name="dns_add_error">Nem lehet hozzáadni a %1$s DNS szervert, a rendszer elutasította: %2$s</string>
- <string name="ip_add_error">A \"%1$s\" IP címet nem lehet konfigurálni, a rendszer elutasította: %2$s</string>
- <string name="faq_howto_title">Quick Start</string>
- <string name="setting_loadtun_summary">Próbálja meg betölteni a tun.ko kernel modult mielőtt megpróbál csatlakozni. Root-olt eszköz szükséges.</string>
- <string name="setting_loadtun">Tun modul betöltése</string>
- <string name="importpkcs12fromconfig">PKCS12 konfiguráció importálása az Android Keystore-ba</string>
- <string name="getproxy_error">Hiba a proxy beállítások lekérésekor: %s</string>
- <string name="using_proxy">Proxy használatban: %1$s %2$d</string>
- <string name="use_system_proxy">Rendszerproxy használata</string>
- <string name="use_system_proxy_summary">Rendszerszintű konfiguráció használata a HTTP/HTTPS proxy csatlakozáshoz.</string>
- <string name="donatewithpaypal">&lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;Adakozhat PayPal-al&lt;/a&gt; </string>
- <string name="onbootrestartsummary">Az OpenVPN újracsatlakozik a VPN-hez ha az aktív volt az újraindításkoz/leállításkor.</string>
- <string name="onbootrestart">Újracsatlakozás újraindításkor</string>
- <string name="ignore">Hagyja figyelmen kívül</string>
- <string name="restart">Újraindítás</string>
- <string name="restart_vpn_after_change">A konfiguráció változások a VPN újraindítása után lépnek életbe. (Újra)indítja most a VPN-t?</string>
- <string name="configuration_changed">A konfiguráció megváltozott</string>
- <string name="log_no_last_vpn">A legutóbb csatlakozott profil nem található</string>
- <string name="no_vpn_profiles_defined">Nincsenek VPN profilok definiálva.</string>
- <string name="add_new_vpn_hint">Használd az &lt;img src=\"ic_menu_add\"/&gt; ikont új VPN hozzáadásához</string>
- <string name="vpn_import_hint">Használd az &lt;img src=\"ic_menu_archive\"/&gt; ikont egy SD-kártyán meglevő (.ovpn or .conf) profil importálásához.</string>
- <string name="faq_hint">Tekintse meg a FAQ-ot. Ott van egy a kezdeti lépéseket segítő leírás.</string>
- <string name="faq_routing_title">Routing/Interfész Beállítás</string>
- <string name="persisttun_summary">Ne térjen vissza VPN kapcsolat nélküli módba, amikor az OpenVPN újracsatlakozik.</string>
- <string name="persistent_tun_title">Megmaradó tun</string>
- <string name="openvpn_log">OpenVPN Napló</string>
- <string name="import_config">OpenVPN konfiguráció importálása</string>
- <string name="battery_consumption_title">Akkumulátor használat</string>
- <string name="vpn_tethering_title">VPN és Internetmegosztás</string>
- <string name="connection_retries">Csatlakozás újrapróbálkozások</string>
- <string name="reconnection_settings">Újracsatlakozás beállítások</string>
- <string name="connectretrymessage">Csatlakozási próbálkozások közötti várakozási idő másodpercben.</string>
- <string name="connectretrywait">Csatlakozások közotti idő másodpercben</string>
- <string name="minidump_generated">Az OpenVPN váratlanul összeomlott. Kérem, gondolja meg a főmenüben levő Minidump elküldése opció használatát</string>
- <string name="send_minidump">Minidump elküldése a fejlesztőnek</string>
- <string name="send_minidump_summary">Hibakeresési információkat küld a fejlesztőnek a legutóbbi összeomlásról</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">Csatlakozás</string>
- <string name="state_wait">Várakozás a szerver válaszára</string>
- <string name="state_auth">Hitelesítés</string>
- <string name="state_get_config">Kliens konfiguráció lekérése</string>
- <string name="state_assign_ip">IP címek kiosztása</string>
- <string name="state_add_routes">Útvonalak hozzáadása</string>
- <string name="state_connected">Csatlakoztatva</string>
- <string name="state_disconnected">Szétkapcsolás</string>
- <string name="state_reconnecting">Újracsatlakozás</string>
- <string name="state_exiting">Kilépés</string>
- <string name="state_noprocess">Nem fut</string>
- <string name="state_resolve">Állomásnevek feloldása</string>
- <string name="state_tcp_connect">Csatlakozás (TCP)</string>
- <string name="state_auth_failed">Hitelesítési hiba</string>
- <string name="state_nonetwork">Várakozás használható hálózatra</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Nincs kapcsolat</string>
- <string name="start_vpn_title">Csatlakozás VPN-hez %s</string>
- <string name="start_vpn_ticker">Csatlakozás VPN-hez %s</string>
- <string name="jelly_keystore_alphanumeric_bug">Néhány Android 4.1-es verzió alatt problémába ütközhet ha a hitelesítési tanúsítvány nevében nem csak alfanumerikus karakterek szerepelnek (mint pl szóköz, alulvonás vagy kötőjel). Speciális karakterek nélkül próbálja újra importálni</string>
- <string name="encryption_cipher">Titkosítás</string>
- <string name="packet_auth">Csomag hitelesítés</string>
- <string name="auth_dialog_title">Adja meg a csomaghitelesítési metódust</string>
- <string name="mobile_info_extended">%1$s (%2$s) %3$s, Android API %4$d, %5$s, %6$s verzió</string>
- <string name="built_by">%s fordítóval</string>
- <string name="debug_build">hibakeresési fordítás</string>
- <string name="official_build">hivatalos build</string>
- <string name="make_selection_inline">Másolás profilba</string>
- <string name="crashdump">Crashdump</string>
- <string name="add">Hozzáad</string>
- <string name="send_config">Konfig fájl küldése</string>
- <string name="complete_dn">Teljes DN</string>
- <string name="remotetlsnote">Az importált konfiguráció a régi tls-remote konfigurációt használta, ami egy másik DN formátumban volt.</string>
- <string name="rdn">RDN (közös név)</string>
- <string name="rdn_prefix">RDN előtag</string>
- <string name="tls_remote_deprecated">tls-remote (elavult)</string>
- <string name="help_translate">Segíthetsz fordítani ha meglátogatod http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s próbálkozás %2$s vezérlésre</string>
- <string name="remote_trust">Megbízom ebben az alkalmazásban.</string>
- <string name="no_external_app_allowed">Egy alkalmazás sem használhat külső API-t</string>
- <string name="allowed_apps">Engedélyezett alkalmazások: %s</string>
- <string name="clearappsdialog">Engedélyezett külső alkalmazások listájának törlése?\nAz engedélyezett alkalmazások aktuális listája:\n\n%s</string>
- <string name="screenoff_title">VPN kapcsolat szüneteltetése a képernyő lekapcsolása után</string>
- <string name="screenoff_pause">Kapcsolat szüneteltetése a képernyő kikapcsolt állapotában: kevesebb mint %1$s %2$ss alatt</string>
- <string name="screen_nopersistenttun">Figyelmeztetés: Megmaradó tun nem engedélyezett ehhez a VPN-hez. A forgalom a normál internetcsatlakozáson megy amikor a képernyő ki van kapcsolva.</string>
- <string name="save_password">Jelszó mentése</string>
- <string name="timestamp_short">Rövid</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">Időbélyegzők</string>
- <string name="timestamps_none">Egyik sem</string>
- <string name="uploaded_data">Feltöltés</string>
- <string name="downloaded_data">Letöltés</string>
- <string name="vpn_status">Vpn állapot</string>
- <string name="logview_options">Nézet beállításai</string>
- <string name="unhandled_exception">Nem kezelt kivétel: %1$s\n\n%2$s</string>
- <string name="full_licenses">Teljes engedélyek</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-in/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-in/strings.xml
deleted file mode 100755
index f3a3a8c5..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-in/strings.xml
+++ /dev/null
@@ -1,291 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN untuk Android</string>
- <string name="address">Alamat Server:</string>
- <string name="port">Port server:</string>
- <string name="location">Lokasi</string>
- <string name="cant_read_folder">Gagal membaca direktori</string>
- <string name="select">Pilih</string>
- <string name="cancel">Batal</string>
- <string name="no_data">Tak ada data</string>
- <string name="useLZO">Kompresi LZO</string>
- <string name="client_no_certificate">Tanpa Sertifikat</string>
- <string name="client_certificate_title">Sertifikat Klien</string>
- <string name="client_key_title">Kunci Sertifikat Klien</string>
- <string name="client_pkcs12_title">Berkas PKCS12</string>
- <string name="ca_title">Sertifikat CA</string>
- <string name="no_certificate">Anda harus memilih sertifikat</string>
- <string name="copyright_guicode">Kode program dan perekam masalah tersedia di</string>
- <string name="copyright_others">Aplikasi memakai komponen berikut; lihat kode program untuk lebih jelas mengenai lisensi</string>
- <string name="about">Tentang…</string>
- <string name="vpn_list_title">Profil</string>
- <string name="vpn_type">Tipe</string>
- <string name="pkcs12pwquery">Password PKCS12</string>
- <string name="file_select">Pilih&#8230;</string>
- <string name="file_nothing_selected">Anda harus memilih berkas (file)</string>
- <string name="useTLSAuth">Pakai otentikasi TLS</string>
- <string name="tls_direction">Pengarah TLS</string>
- <string name="ipv6_dialog_tile">Masukkan IPv6 Address/Netmask dalam format CIDR (contoh: 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">Masukkan IPv4 Address/Netmask dalam format CIDR (contoh: 1.2.3.4/24)</string>
- <string name="ipv4_address">Alamat IPv4</string>
- <string name="ipv6_address">Alamat IPv6</string>
- <string name="custom_option_warning">Masukan seting openvpn. Gunakan dengan hati-hati. Harap dicatat, TUN yanng terkait seting OpenVPN tidak didukung oleh VPNsettings. Jika anda berpikir ada hal penting belum tersedia, hubungi pembuatnya</string>
- <string name="auth_username">Nama Penguna</string>
- <string name="auth_pwquery">Password</string>
- <string name="static_keys_info">Untuk konfigurasi statis, kunci otentifikasi TLS akan digunakan sebagai kunci konfigurasi statis</string>
- <string name="configure_the_vpn">Konfigurasi VPN</string>
- <string name="menu_add_profile">Tambah Profil</string>
- <string name="add_profile_name_prompt">Masukkan nama profil yang baru</string>
- <string name="duplicate_profile_name">Silakan masukan UPN (Unique Profile Name)</string>
- <string name="profilename">Nama profil</string>
- <string name="no_keystore_cert_selected">Anda harus memilih sertifikat pengguna</string>
- <string name="no_error_found">Tidak ada kesalahan</string>
- <string name="config_error_found">Konfigurasi Salah</string>
- <string name="ipv4_format_error">Gagal menganalisa alamat IPV4</string>
- <string name="custom_route_format_error">Gagal menganalisa rute buatan</string>
- <string name="pw_query_hint">(biarkan kosong untuk antrian permintaan)</string>
- <string name="vpn_shortcut">Jalan Pintas OpenVPN</string>
- <string name="vpn_launch_title">Hubungkan VPN</string>
- <string name="shortcut_profile_notfound">Profil di shrotcut tidak ada</string>
- <string name="random_host_prefix">Acak awalan Host </string>
- <string name="random_host_summary">Tambah 6 karakter acak di depan nama host</string>
- <string name="custom_config_title">Aktifkan pilihan buatan</string>
- <string name="custom_config_summary">Tentukan seting buatan. Gunakan hati-hati</string>
- <string name="route_rejected">Rute ditolak Android</string>
- <string name="cancel_connection">Putus</string>
- <string name="cancel_connection_long">Memutuskan sambungan VPN</string>
- <string name="clear_log">Bersihkan catatan</string>
- <string name="title_cancel">Batal Konfirmasi</string>
- <string name="cancel_connection_query">Putuskan sambungan VPN/Batalkan usaha menyambungkan VPN?</string>
- <string name="remove_vpn">Singkirkan VPN</string>
- <string name="check_remote_tlscert">Memeriksa apakah server menggunakan sertifikat dengan ekstensi TLS Server (--server remote-cert-tls)</string>
- <string name="check_remote_tlscert_title">Mengharapkan sertifikat server TLS</string>
- <string name="remote_tlscn_check_summary">Memeriksa sertifikat Remote Server Subjek DN</string>
- <string name="remote_tlscn_check_title">Cek nama sertifikat Host</string>
- <string name="enter_tlscn_dialog">Tentukan nilai ynag digunakan untuk memverifikasi sertifikat remote DN (misal C=nama perusahaan, L=Kota lokasi, OU=nama departemen perusahaan, CN=openvpn.blinkt.de. Tentukan DN atau RDN yang lengkap (dalam contoh : openvpn.blinkt.de) atau sebuah awalan RDN untuk verifikasi. Saat memakai RDN awalan \"server\" cocok dengan \"server-1\" dan \"server-2\". Mengosongkan field akan membuat RDN diperiksa dengan nama host server. Lebih jelasnya lihat OpenVPN 2.3.1 manpage di bagian -verify-x509-name</string>
- <string name="enter_tlscn_title">Subyek sertifikat remote</string>
- <string name="tls_key_auth">Aktifkan otentifikasi kunci TLS</string>
- <string name="tls_auth_file">Berkas otintikasi TLS</string>
- <string name="pull_on_summary">Meminta pilihan alamat IP, rute dan waktu dari server.</string>
- <string name="pull_off_summary">Tidak ada informasi diminta dari server. Seting harus ditentukan di bawah ini</string>
- <string name="use_pull">Tarik pengaturan</string>
- <string name="dns">DNS</string>
- <string name="override_dns">Menimpa pengaturan DNS oleh Server</string>
- <string name="dns_override_summary">Gunakan server DNS pribadi</string>
- <string name="searchdomain">Cari domain</string>
- <string name="dns1_summary">Server DNS yang akan digunakan</string>
- <string name="dns_server">Server DNS</string>
- <string name="secondary_dns_message">Server DNS sekunder digunakan jika Server DNS yang normal tidak dapat dicapai.</string>
- <string name="backup_dns">Server DNS cadangan</string>
- <string name="ignored_pushed_routes">Abaikan rute yang diberikan</string>
- <string name="ignore_routes_summary">Abaikan rute yang diberikan server</string>
- <string name="default_route_summary">Alihkan semua lalulintas data melalui VPN</string>
- <string name="use_default_title">Gunakan rute standar</string>
- <string name="custom_route_message">Masukkan rute butan sendiri. Masukkan tujuan dalam format CIDR. \"10.0.0.0/8 2002:: / 16\" akan mengarahkan jaringan 10.0.0.0/8 dan 2002:: / 16 melalui jaringan VPN</string>
- <string name="custom_routes_title">Rute buatan sendiri</string>
- <string name="custom_routes_title_excluded">Jaringan Dikecualikan</string>
- <string name="log_verbosity_level">Tingkat rincian catatan</string>
- <string name="float_summary">Ijinkan paket terotentifikasi dari semua IP</string>
- <string name="float_title">Ijinkan server mengambang</string>
- <string name="custom_options_title">Pilihan buatan</string>
- <string name="edit_vpn">Ubah seting OpenVPN</string>
- <string name="remove_vpn_query">Hapus profil \'%s\'?</string>
- <string name="tun_error_helpful">Pada beberapa setelan manual gambar ICS izin pada/dev/tun mungkin salah, atau modul tun mungkin hilang sepenuhnya. Untuk gambar CM9, coba perbaiki pilihan kepemilikannya di bawah pengaturan umum</string>
- <string name="tun_open_error">Gagal membuka layanan antarmuka TUN</string>
- <string name="error">"Kesalahan: "</string>
- <string name="clear">Bersihkan</string>
- <string name="last_openvpn_tun_config">Membuka interface tun :</string>
- <string name="local_ip_info">IPv4 lokal : %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">DNS Server: %1$s, Domain: %2$s</string>
- <string name="ip_not_cidr">Memilki informasi antarmuka %1$s dan %2$s, asumsi alamat kedua adalah alamat remote. Menggunakan netmask /32 untuk IP lokal. Mode yang diberikan oleh OpenVPN adalah \"%3$s\".</string>
- <string name="route_not_cidr">Tidak masuk akal membuat %1$s dan %2$s sebagai rute IP dengan netmask CIDR, Gunakan /32 sebagai netmask.</string>
- <string name="route_not_netip">rute yang diperbaiki %1$s/%2$s hingga %3$s/%2$s</string>
- <string name="keychain_access">Tidak dapat mengakses sertifikat Keychain Android. Dapat disebabkan karena upgrade firmware atau pengembalian backup pengaturan app. Mohon ubah VPN, dan pilih ulang sertifikat berbasis pengaturan dasar agar izin mengakses sertifikat dapat dibuat ulang.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Kirim berkas catatan</string>
- <string name="send">Kirim</string>
- <string name="ics_openvpn_log_file">Berkas catatan ICS OpenVPN</string>
- <string name="copied_entry">Salin catatan masuk ke clipboard</string>
- <string name="tap_mode">Mode TAP</string>
- <string name="faq_tap_mode">Mode TAP tidak diijinkan tanpa VPN API non admin/root. Karena itu aplikasi ini tidak dapat memberikan dukungan mode TAP</string>
- <string name="tap_faq2">Lagi ? Becanda ? mode TAP benar-benar tidak didukung dan mengirim email menanyakan apakah akan ada dukungan TAP, tidak akan membantu</string>
- <string name="tap_faq3">Untuk ketiga kalinya? Sebenarnya, seseorang bisa menulis emulator TAP berdasarkan tun yang akan menambahkan lapisan2 informasi pengiriman dan lapisan2 informasi penerimaan. Tapi emulator TAP ini juga harus menerapkan ARP dan mungkin klien DHCP. Saya tidak tau apakah ada yang bekerja ke arah ini. Hubungi saya jika Anda ingin memulai menulis kode2 emulator TAP ini.</string>
- <string name="faq">FAQ</string>
- <string name="copying_log_entries">Menyalin catatan</string>
- <string name="faq_copying">Untuk menyalin satu catatan masuk, Tekan dan tahan di catatan masuk. Untuk meyanlin\mengirim seluruh catatan, gunakan opsi Kirim Log. Gunakan tombol perangkat keras jika tidak terlihat di GUI.</string>
- <string name="faq_shortcut">Jalan pintas memulai</string>
- <string name="faq_howto_shortcut">Anda dapat menempatkan jalan pintas untuk memulai OpenVPN pada desktop Anda. Tergantung pada program homescreen Anda, Anda harus menambahkan jalan pintas atau widget.</string>
- <string name="no_vpn_support_image">Gambar Anda tidak mendukung VPNService API, maaf:(</string>
- <string name="encryption">Enkripsi</string>
- <string name="cipher_dialog_title">Masukkan metode enkripsi</string>
- <string name="chipher_dialog_message">Masukkan sandi enkripsi algoritma yang digunakan oleh OpenVPN. Biarkan kosong untuk menggunakan sandi default.</string>
- <string name="auth_dialog_message">Masukkan digest otentikasi yang digunakan OpenVPN. Biarkan kosong untuk menggunakan standar digest.</string>
- <string name="settings_auth">Otentikasi/Enkripsi</string>
- <string name="file_explorer_tab">Penjelajah berkas</string>
- <string name="inline_file_tab">Inline File</string>
- <string name="error_importing_file">Gagal mengambil berkas</string>
- <string name="import_error_message">Tidak dapat mengambil berkas dari filesystem</string>
- <string name="inline_file_data">[[Inline file data]]</string>
- <string name="opentun_no_ipaddr">TUN tidak dapat dibuka tanpa informasi IP</string>
- <string name="menu_import">Ambil profil dari berkas ovpn</string>
- <string name="menu_import_short">Ambil</string>
- <string name="import_content_resolve_error">Tidak dapat membaca profil yang akan diambil</string>
- <string name="error_reading_config_file">Kesalahan membaca berkas konfigurasi</string>
- <string name="add_profile">Tambah Profil</string>
- <string name="import_could_not_open">Tidak dapat menemukan berkas %1$s yang disebut dalam berkas konfigurasi</string>
- <string name="importing_config">Mengambil berkas konfigurasi dari sumber %1$s</string>
- <string name="import_warning_custom_options">Konfigurasi Anda memiliki beberapa pilihan konfigurasi yang tidak dipetakan ke konfigurasi UI. Pilihan ini ditambahkan sebagai opsi konfigurasi kustom. Konfigurasi kustom ditampilkan di bawah ini:</string>
- <string name="import_done">Berkas konfigurasi selesai dibaca</string>
- <string name="nobind_summary">Jangan kaitkan ke alamat dan port lokal</string>
- <string name="no_bind">Tidak ada ikatan lokal</string>
- <string name="import_configuration_file">Ambil berkas konfigurasi</string>
- <string name="faq_security_title">Pertimbangan Keamanan</string>
- <string name="faq_security">"Karena OpenVPN adalah sensitif pada isu keamanan, beberapa catatan tentang keamanan dianggap perlu. Semua data pada sdcard pada dasarnya tidak aman. Setiap app dapat membaca (misalnya program ini tidak perlu hak khusus untuk membaca sd-card). Data dari aplikasi ini hanya dapat dibaca oleh aplikasi itu sendiri. Dengan menggunakan opsi impor untuk cacert/cert/kunci dalam file dialog data yang disimpan dalam profil VPN. Profil VPN hanya dapat diakses oleh aplikasi ini. (Jangan lupa untuk menghapus salinan pada sd-card setelah itu). Bahkan meskipun dapat diakses hanya dengan aplikasi ini data masih tidak terenkripsi. Dengan melakukan rooting atau eksploitasi lainnya maka memungkinkan mengambil data. Sandi-sandi (passwords) juga tersimpan dalam teks biasa. Berkas pkcs12 sangat dianjurkan Anda mengimpornya ke android keystore."</string>
- <string name="import_vpn">Impor</string>
- <string name="broken_image_cert_title">Kesalahan menampilkan sertifikat</string>
- <string name="broken_image_cert">Mendapat pesan kesalahan saat berusaha menampilkan layar pemilihan sertifikat Android 4.0+. Ini seharusnya tidak terjadi karena ini fitur standar Android 4.0 +. Mungkin ROM Android anda yang mengurus penyimpanan sertifikat rusak</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Menunggu pesan status&#8230;</string>
- <string name="converted_profile">Profil yang diambil</string>
- <string name="converted_profile_i">profil yang diambil %d</string>
- <string name="broken_images">Gambar rusak</string>
- <string name="broken_images_faq">Image HTC yang resmi diketahui memiliki masalah routing yang ganjilyang menyebabkan trafik data tidak melalui tunnel (Lihat di &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\"&gt;Issue 18&lt;/a&gt; di bagian bug tracker.))&lt;/p&gt;&lt;p&gt; Image SONY resmi yang lama dari Xperia Arc S and Xperia Ray telah dilaporkan tidak memiliki VPNService dalam Imagenya. (Lihat juga &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\"&gt;Issue 29&lt;/a&gt; di bagian bug tracker.))&lt;/p&gt;&lt;p&gt;Pada image yang dibuat non resmi, modul TUN mungkin tak ada atau hak /dev/tun mungkin salah. Beberapa image CM9 memerlukan pilihan \"Fix ownership\" di bagian \"Device specific hacks\" diaktfikan. .&lt;/p&gt;&lt;p&gt; Lebih penting lagi, jika device anda memiliki image android yang lengkap, laporkan pada vendor anda. Semakin banyak laporan masuk, semakin tinggi kemungkinan vendor melakukan perbaikan.&lt;/p&gt;</string>
- <string name="pkcs12_file_encryption_key">Berkas kunci enkripsi PKCS12</string>
- <string name="private_key_password">Sandi kunci pribadi</string>
- <string name="password">Sandi</string>
- <string name="file_icon">ikon berkas</string>
- <string name="tls_authentication">Otentikasi TLS</string>
- <string name="generated_config">Konfigurasi Dibuat</string>
- <string name="generalsettings">Pengaturan</string>
- <string name="owner_fix_summary">Mencoba menetapkan pemilik /dev/tun ke sistem. Beberapa gambar CM9 memerlukan ini untuk membuat API VPNService bekerja. Memerlukan akses Root.</string>
- <string name="owner_fix">Perbaiki kepemilikan /dev/tun</string>
- <string name="generated_config_summary">Tunjukkan berkas konfigurasi OpenVPN yang dibuat</string>
- <string name="edit_profile_title">Mengubah \"%s\"</string>
- <string name="building_configration">Membuat konfigurasi&#8230;</string>
- <string name="netchange_summary">Menyalakan pilihan ini akan memaksa menyambung kembali jika keadaan jaringan berubah (misalnya WiFi dari mobile)</string>
- <string name="netchange">Koneksi ulang saat ganti jaringan</string>
- <string name="netstatus">Status jaringan: %s</string>
- <string name="extracahint">Sertifikat CA biasanya kembali dari Android Keystore. Tentukan sertifikat terpisah jika Anda mendapatkan kesalahan verifikasi sertifikat.</string>
- <string name="select_file">Pilih</string>
- <string name="keychain_nocacert">Tidak ada sertifikat CA yang didapat saat membaca dari Android Keystore. Otentifikasi mungkin gagal</string>
- <string name="show_log_summary">Tampilkan jendela catatan saat terkoneksi. Jendela catatan juga dapat diakses melalui status notifikasi</string>
- <string name="show_log_window">Tampilkan jendela catatan</string>
- <string name="mobile_info">Berjalan di %1$s (%2$s) %3$s, Android API %4$d</string>
- <string name="error_rsa_sign">Kesalahan masuk dengan kunci Android keystore %1$s: %2$s</string>
- <string name="faq_system_dialogs">Peringatan sambungan VPN yang memberitahukan Anda bahwa aplikasi ini dapat mencegat semua lalu lintas dikeluarkan oleh sistem untuk mencegah penyalahgunaan dari sambungan VPNService API.\nPemberitahuan sambungan VPN (simbol kunci) juga dikeluarkan oleh sistem Android untuk memberitahu VPN yang sedang berlangsung. Pada beberapa gambar pemberitahuan ini memainkan suara. \nAndroid memperkenalkan sistem dialog ini untuk keselamatan Anda sendiri dan memastikan bahwa mereka tidak membuat masalah. (Pada beberapa gambar sayangnya ini termasuk peringatan suara)</string>
- <string name="faq_system_dialogs_title">Peringatan sambungan dan pemberitahuan melalui suara</string>
- <string name="translationby">Terjemah Bahasa Indonesia oleh Dayro</string>
- <string name="ipdns">IP dan DNS</string>
- <string name="basic">Dasar</string>
- <string name="routing">Rute</string>
- <string name="obscure">Mengaburkan pengaturan OpenVPN. Biasanya tidak diperlukan.</string>
- <string name="advanced">Lanjutan</string>
- <string name="export_config_title">Konfigurasi ICS Openvpn</string>
- <string name="warn_no_dns">Tidak DNS server yang digunakan. Name Resolution mungkin akan gagal bekerja. Pertimbangkan pengaturan server DNS. Harap dicatat Android akan terus memakai pengaturan proxy untuk koneksi mobile/wifi saat tidak ada server DNS diatur.</string>
- <string name="dns_add_error">Tak bisa menambahkan Server DNS \"%1$s\", ditolak oleh sistem: %2$s</string>
- <string name="faq_howto">&lt;p&gt; Ambil konfigurasi yang dapat berjalan (diuji pada komputer Anda atau download dari penyedia/organisasi) &lt;/p&gt; &lt;p&gt; Satu file(berkas) saja tanpa tambahan berkas pem/pks12. Anda dapat kirim imel berkas dan membuka lampirannya. Jika Anda memiliki beberapa berkas, salin ke sd-card &lt;/p&gt; &lt;p&gt; klik pada lampiran imel atau gunakan ikon folder dalam daftar vpn untuk mengimpor berkas konfigurasi &lt;/p&gt; &lt;p&gt; jika ada berkas yang kurang, salin file hilang ke sd-card. &lt;/p&gt; &lt;p&gt; klik pada simbol Simpan untuk menambahkan VPN yang diimpor ke daftar VPN &lt;/p&gt; &lt;p &gt; Connect VPN dengan mengklik nama VPN &lt;/p&gt; &lt;p&gt; jika ada kesalahan atau peringatan di catatan, coba pahami peringatannya dan coba untuk memperbaikinya &lt;/p&gt; </string>
- <string name="faq_howto_title">Mulai Cepat</string>
- <string name="setting_loadtun_summary">Coba pakai tun.ko kernel sebelum mencoba koneksi. Membutuhkan perangkat yang sudah diroot. Google: android superuser</string>
- <string name="setting_loadtun">Pakai modul TUN</string>
- <string name="importpkcs12fromconfig">Ambil PKCS12 dari konfigurasi ke Android Keystore</string>
- <string name="getproxy_error">Gagal mendapatkan pengaturan proxy: %s</string>
- <string name="using_proxy">Menggunakan proxy %1$s %2$d</string>
- <string name="use_system_proxy">Gunakan sistem proxy</string>
- <string name="use_system_proxy_summary">Gunakan konfigurasi lebih luas untuk menyambung system melalui proxy HTTP/HTTPS</string>
- <string name="donatewithpaypal">Anda dapat melakukan donasi &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;dengan PayPal&lt;/a&gt; </string>
- <string name="onbootrestartsummary">OpenVPN akan menyambung kembali VPN jika VPN aktif pada saat sistem reboot/shutdown. Silakan baca FAQ tentang peringatan sambungan sebelum menggunakan pilihan ini.</string>
- <string name="onbootrestart">Koneksi ulang saat perangkat dihidupkan kembali</string>
- <string name="ignore">Abaikan</string>
- <string name="restart">Restart</string>
- <string name="restart_vpn_after_change">Perubahan konfigurasi baru diterapkan setelah restart VPN. Restart VPN sekarang?</string>
- <string name="configuration_changed">Konfigurasi berubah</string>
- <string name="log_no_last_vpn">Tak bisa menentukan profil terhubung terakhir untuk diubah</string>
- <string name="faq_duplicate_notification_title">Pemberitahuan berganda</string>
- <string name="faq_duplicate_notification">Jika Android kekurangan sistem memori (RAM), aplikasi dan layanan yang tidak diperlukan pada saat itu akan dihapus dari memori aktif. Sambungan VPN yang sedang aktif juga ditutup. Untuk memastikan bahwa sambungan/OpenVPN tetap berjalan, OpenVPN diberikan prioritas yang lebih tinggi. Untuk menjalankan dengan prioritas lebih tinggi, aplikasi harus menampilkan pemberitahuan. Ikon pemberitahuan dijalankan oleh sistem seperti dijelaskan dalam FAQ entri sebelumnya. Ini tidak dihitung sebagai pemberitahuan app yang berjalan dengan prioritas lebih tinggi.</string>
- <string name="no_vpn_profiles_defined">Tak ada profil VPN yang didefinisikan.</string>
- <string name="add_new_vpn_hint">Gunakan ikon &lt; img src = \"ic_menu_add\" / &gt; untuk menambah VPN baru</string>
- <string name="vpn_import_hint">Gunakan ikon &lt; img src = \"ic_menu_archive\" / &gt; untuk mengimpor profil (.ovpn atau .conf) yang ada dari sdcard Anda.</string>
- <string name="faq_hint">Pastikan untuk juga memeriksa FAQ. Ada petunjuk untuk memudahkan anda.</string>
- <string name="faq_routing_title">Konfigurasi rute\antarmuka</string>
- <string name="persisttun_summary">Jangan kembali ke status tidak ada koneksi VPN ketika OpenVPN mencoba terhubung kembali.</string>
- <string name="persistent_tun_title">Paksa mode TUN</string>
- <string name="openvpn_log">Catatan OpenVPN</string>
- <string name="import_config">Ambil konfigurasi VPN</string>
- <string name="battery_consumption_title">Konsumsi baterai</string>
- <string name="baterry_consumption">Berdasarkan tes pribadi, alasan utama tingginya konsumsi baterai oleh OpenVPN adalah paket keepalive. Sebagian besar server OpenVPN memiliki parameter konfigurasi seperti \'keepalive 10 60\' yang membuat klien dan server bertukar paket keepalive setiap 10 detik. &lt;p&gt; Dengan kecilnya paket ini dan tidak memakai trafik terlalu banyak, mereka menjaga jaringan radio mobile tetap sibuk dan meningkatkan konsumsi energi. (See also &lt;a href=\"http://developer.android.com/training/efficient-downloads/efficient-network-access.html#RadioStateMachine\"&gt;The Radio State Machine | Android Developers&lt;/a&gt;) &lt;p&gt; Seting keepalive ini tidak bisa dirubah di klien. Hanya Admin sistem OpenVPN yang dapat merubah seting ini. &lt;p&gt; Sayangnya membuat keepalive lebih besar dari 60 detik tanpa UDP dapat membuat beberapa gateway NAT memutus koneksi karena anggapan tidak ada aktifitas pada periode tertentu (timeout). Memakai TCP dengan waktu timeout lebih lama dapat bekerja, tapi membuat tunnel TCP di jalur TCP menyebabkan koneksi yang buruk dan tingginya angka kehilangan paket data ((See &lt;a href=\"http://sites.inka.de/bigred/devel/tcp-tcp.html\"&gt;Why TCP Over TCP Is A Bad Idea&lt;/a&gt;)</string>
- <string name="faq_tethering">Fitur penggandengan Android (melalui WiFi, USB atau Bluetooth) dan API VPNService (digunakan oleh program ini) tidak bekerja bersama-sama. Untuk keterangan lanjut lihat &lt; href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\" &gt; mengeluarkan #34 &lt;/a&gt;</string>
- <string name="vpn_tethering_title">VPN dan penarikan</string>
- <string name="connection_retries">Mengulang koneksi</string>
- <string name="reconnection_settings">Pengaturan rekoneksi</string>
- <string name="connectretrymessage">Jumlah detik untuk menunggu antar usaha koneksi</string>
- <string name="connectretrywait">Detik antar koneksi</string>
- <string name="minidump_generated">OpenVPN crash tak terduga. Silakan mempertimbangkan mengirim menggunakan pilihan Minidump di Menu Utama</string>
- <string name="send_minidump">Mengirim MiniDump untuk pengembang</string>
- <string name="send_minidump_summary">Mengirim informasi debug tentang kegagalan aplikasi yang terakhir ke pengembang</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">Menghubungkan</string>
- <string name="state_wait">Menunggu jawaban server</string>
- <string name="state_auth">Melakukan otentifikasi</string>
- <string name="state_get_config">Mengambil konfigurasi klien</string>
- <string name="state_assign_ip">Menetapkan alamat IP</string>
- <string name="state_add_routes">Menambahkan rute</string>
- <string name="state_connected">Terhubung</string>
- <string name="state_disconnected">Putus</string>
- <string name="state_reconnecting">Menghubungkan kembali</string>
- <string name="state_exiting">Keluar</string>
- <string name="state_noprocess">Tidak berjalan</string>
- <string name="state_resolve">Mengenali nama host</string>
- <string name="state_tcp_connect">Menghubungkan (TCP)</string>
- <string name="state_auth_failed">Otentifikasi gagal</string>
- <string name="state_nonetwork">Menunggu jaringan yang dapat dipakai</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Tidak terhubung</string>
- <string name="start_vpn_title">Menghubungkan ke VPN %s</string>
- <string name="start_vpn_ticker">Menghubungkan ke VPN %s</string>
- <string name="jelly_keystore_alphanumeric_bug">Beberapa versi Android 4.1 memiliki masalah jika nama sertifikat keystore berisi karakter non alfanumerik (seperti spasi, garis bawah atau tanda hubung). Cobalah import ulang sertifikat tanpa karakter khusus</string>
- <string name="encryption_cipher">Enkripsi sandi</string>
- <string name="packet_auth">Otentikasi paket</string>
- <string name="auth_dialog_title">Masukkan metode otentikasi paket</string>
- <string name="mobile_info_extended">Berjalan pada Android API %4$d, versi %5$s %1$s (%2$s) %3$s, %6$s</string>
- <string name="built_by">dibangun oleh %s</string>
- <string name="debug_build">Pengembangan debug</string>
- <string name="official_build">Build Resmi</string>
- <string name="make_selection_inline">Salin ke profil</string>
- <string name="crashdump">Data saat terjadi crash</string>
- <string name="add">Tambahkan</string>
- <string name="send_config">Mengirim config file</string>
- <string name="complete_dn">DN lengkap</string>
- <string name="remotetlsnote">Konfigurasi yang diimpor menggunakan opsi tls-remote DEPRECATED tua dengan menggunakan format DN yang berbeda.</string>
- <string name="rdn">RDN (nama umum)</string>
- <string name="rdn_prefix">RDN awalan</string>
- <string name="tls_remote_deprecated">TLS-remote (DEPRECATED)</string>
- <string name="help_translate">Anda dapat membantu menerjemahkan dengan mengunjungi http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s berusaha mengendalikan %2$s</string>
- <string name="remote_trust">Saya percaya aplikasi ini.</string>
- <string name="no_external_app_allowed">App tidak diizinkan untuk menggunakan API eksternal</string>
- <string name="allowed_apps">apps yang diijinkan : %s</string>
- <string name="clearappsdialog">Hapus daftar aplikasi eksternal yang dibolehkan? \nDaftar apps yang dibolehkan terkini:\n\n%s </string>
- <string name="screenoff_summary">\"Pause VPN ketika layar off dan data yang ditransfer dalam 60 detik kurang dari 64kB. Ketika opsi \"Persistent Tun\" diaktifkan, memberhentikan VPN akan membuat perangkat Anda tidak memiliki koneksi jaringan. Jika tidak memakai \"Persistent Tun\" maka perangkat akan menampilkan Tidak ada koneksi VPN.</string>
- <string name="screenoff_title">Sambungan VPN jeda setelah layar mati</string>
- <string name="screenoff_pause">Hentikan sambungan dalam kondisi layar mati: kurang dari %1$s dalam %2$ss</string>
- <string name="screen_nopersistenttun">Peringatan: Pemaksaan tun tidak diaktifkan untuk VPN ini. Lalu lintas akan menggunakan koneksi Internet normal ketika layar dimatikan.</string>
- <string name="save_password">Menyimpan sandi</string>
- <string name="pauseVPN">Jeda VPN</string>
- <string name="resumevpn">Lanjutkan VPN</string>
- <string name="state_userpause">Pause VPN diminta oleh pengguna</string>
- <string name="state_screenoff">VPN dijeda - layar off</string>
- <string name="device_specific">Perangkat dengan spesifikasi Hacks</string>
- <string name="cannotparsecert">Tidak dapat menampilkan informasi sertifikat</string>
- <string name="appbehaviour">Prilaku Aplikasi</string>
- <string name="vpnbehaviour">Prilaku VPN</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-it/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-it/strings.xml
deleted file mode 100755
index 823b5ac2..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-it/strings.xml
+++ /dev/null
@@ -1,341 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN per Android</string>
- <string name="address">Indirizzo server:</string>
- <string name="port">Porta del server:</string>
- <string name="location">Posizione</string>
- <string name="cant_read_folder">Impossibile leggere la directory</string>
- <string name="select">Seleziona</string>
- <string name="cancel">Annulla</string>
- <string name="no_data">Nessun dato</string>
- <string name="useLZO">Compressione LZO</string>
- <string name="client_no_certificate">Nessun certificato</string>
- <string name="client_certificate_title">Certificato client</string>
- <string name="client_key_title">Chiave del certificato client</string>
- <string name="client_pkcs12_title">File PKCS12</string>
- <string name="ca_title">Certificato CA</string>
- <string name="no_certificate">Devi selezionare un certificato</string>
- <string name="copyright_guicode">Il codice sorgente e il bug tracker sono disponibili all\'indirizzo http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">Questo programma usa i seguenti componenti; guarda il codice sorgente per i dettagli completi sulle licenze</string>
- <string name="about">Informazioni</string>
- <string name="vpn_list_title">Profili</string>
- <string name="vpn_type">Tipo</string>
- <string name="pkcs12pwquery">Password PKCS12</string>
- <string name="file_select">Seleziona&#8230;</string>
- <string name="file_nothing_selected">Devi selezionare un file</string>
- <string name="useTLSAuth">Usa autenticazione TLS</string>
- <string name="tls_direction">Direzione TLS</string>
- <string name="ipv6_dialog_tile">Inserire l\'indirizzo IPv6 e la maschera di rete in formato CIDR (ad esempio 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">Inserire l\'indirizzo IPv4 e la maschera di rete in formato CIDR (ad esempio 1.2.3.4/24)</string>
- <string name="ipv4_address">Indirizzo IPv4</string>
- <string name="ipv6_address">Indirizzo IPv6</string>
- <string name="custom_option_warning">Inserire le opzioni personalizzate di OpenVPN. Usare con cautela. Si ricorda che molte delle impostazioni relative a OpenVPN non sono attualmente supportate da questo progetto. Se ritiene che manchi un\'opzione indispensabile, contatta l\'autore</string>
- <string name="auth_username">Utente</string>
- <string name="auth_pwquery">Password</string>
- <string name="static_keys_info">Per la configurazione statica le chiavi di autorizzazione TLS saranno usate come chiavi statiche</string>
- <string name="configure_the_vpn">Configura la VPN</string>
- <string name="menu_add_profile">Aggiungi profilo</string>
- <string name="add_profile_name_prompt">Immettere un nome per identificare il nuovo profilo</string>
- <string name="duplicate_profile_name">Si prega di inserire un nome univoco del profilo</string>
- <string name="profilename">Nome del profilo</string>
- <string name="no_keystore_cert_selected">Devi selezionare un certificato utente</string>
- <string name="no_error_found">Nessun errore trovato</string>
- <string name="config_error_found">Errore nella configurazione</string>
- <string name="ipv4_format_error">Impossibile analizzare l\'indirizzo IPv4</string>
- <string name="custom_route_format_error">Errore durante la lettura delle regole di reindirizzamento (routing)</string>
- <string name="pw_query_hint">(non compilare perché venga sempre richiesto)</string>
- <string name="vpn_shortcut">Collegamento a OpenVPN</string>
- <string name="vpn_launch_title">Connetti alla VPN</string>
- <string name="shortcut_profile_notfound">Profilo indicato nel collegamento non trovato</string>
- <string name="random_host_prefix">Prefisso Host casuale</string>
- <string name="random_host_summary">Aggiunge 6 caratteri casuali prima dell\'hostname</string>
- <string name="custom_config_title">Abilita opzioni personalizzate</string>
- <string name="custom_config_summary">Specifica opzioni personalizzate. Utilizzare con cautela!</string>
- <string name="route_rejected">Reindirizzamento (route) rifiutato da Android</string>
- <string name="cancel_connection">Scollega</string>
- <string name="cancel_connection_long">Disconnettere VPN</string>
- <string name="clear_log">Cancella registro</string>
- <string name="title_cancel">Conferma l\'annullamento</string>
- <string name="cancel_connection_query">Disconnetti la VPN in uso/annulli il tentativo di connessione?</string>
- <string name="remove_vpn">Rimuovi VPN</string>
- <string name="check_remote_tlscert">Controlla se il server utilizza un certificato con estensioni TLS (--remote-cert-tls server)</string>
- <string name="check_remote_tlscert_title">Attesa di un certificato server TLS</string>
- <string name="remote_tlscn_check_summary">Controlla il soggetto DN del certificato del server remoto</string>
- <string name="remote_tlscn_check_title">Verifica il certificato dell\'Host</string>
- <string name="enter_tlscn_dialog">Specifica il controllo da effettuare per verificare il certificato DN remoto (e.g. C=DE, L=Paderborn, OU=Avian IP Carriers, CN=openvpn.blinkt.de)\n\nPer verifica specifica il DN o RDN completo (nell\'esempio openvpn.blinkt.de) oppure un prefisso RDN.\n\nQuando usi un prefisso RDN \"Server\" è valido per \"Server-1\" e \"Server-2\"\n\nLasciando la casella vuota verrà controllato l\'RDN con l\'hostname del server.\n\nPer maggiori informazioni consulta la manpage di OpenVPN 2.3.1+ sotto la voce —verify-x509-name</string>
- <string name="enter_tlscn_title">Soggetto del certificato remoto</string>
- <string name="tls_key_auth">Abilita l\'autenticazione tramite TLS</string>
- <string name="tls_auth_file">File di autenticazione TLS</string>
- <string name="pull_on_summary">Richiede indirizzi IP, instradamenti ed opzioni di sincronizzazione al server.</string>
- <string name="pull_off_summary">Nessuna informazione è richiesta al server. Le impostazioni devono essere specificate qui di seguito.</string>
- <string name="use_pull">Richiedi impostazioni</string>
- <string name="dns">DNS</string>
- <string name="override_dns">Modifica DNS</string>
- <string name="dns_override_summary">Utilizza i propri server DNS</string>
- <string name="searchdomain">Dominio di ricerca</string>
- <string name="dns1_summary">Server DNS da utilizzare.</string>
- <string name="dns_server">Server DNS</string>
- <string name="secondary_dns_message">Server DNS secondario utilizzato se il Server DNS primario non può essere raggiunto.</string>
- <string name="backup_dns">Server DNS secondario</string>
- <string name="ignored_pushed_routes">Ignora gli instradamenti</string>
- <string name="ignore_routes_summary">Ignora impostazioni di routing comunicate dal server.</string>
- <string name="default_route_summary">Reindirizza tutto il traffico sulla VPN</string>
- <string name="use_default_title">Utilizza il Routing di default</string>
- <string name="custom_route_message">Inserisci instradamenti personalizzati. Usare il formato CIDR. \"10.0.0.0/8 2002::/16\" reindirizza le reti 10.0.0.0/8 e 2002::/16 sulla VPN.</string>
- <string name="custom_route_message_excluded">Itinerari che dovrebbero non essere instradati su VPN. Utilizzare la stessa sintassi per quanto riguarda le rotte incluse.</string>
- <string name="custom_routes_title">Routing personalizzati</string>
- <string name="custom_routes_title_excluded">Reti escluse</string>
- <string name="log_verbosity_level">Livello di dettaglio del registro</string>
- <string name="float_summary">Permette pacchetti autenticati da qualsiasi IP (consente che l\'IP del server possa cambiare)</string>
- <string name="float_title">Modalità float</string>
- <string name="custom_options_title">Opzioni personalizzate</string>
- <string name="edit_vpn">Modifica impostazioni VPN</string>
- <string name="remove_vpn_query">Rimuovere il profilo VPN \'%s\'?</string>
- <string name="tun_error_helpful">In alcune immagini ICS personalizzate i permessi su /dev/tun potrebbero essere errati, oppure il modulo TUN completamente assente. Per le immagini CM9 provare a correggere le opzioni Proprietà nella sezione impostazioni generali</string>
- <string name="tun_open_error">Impossibile accedere all\'interfaccia tun</string>
- <string name="error">"Errore:"</string>
- <string name="clear">Azzera</string>
- <string name="last_openvpn_tun_config">Apertura interfaccia tun in corso:</string>
- <string name="local_ip_info">Indirizzi locali - IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">DNS Server: %1$s, Dominio: %2$s</string>
- <string name="routes_info_incl">Instradamenti: %1$s %2$s</string>
- <string name="routes_info_excl">Instradamenti esclusi: %1$s %2$s</string>
- <string name="routes_debug">Instradamenti VpnService installati: %1$s %2$s</string>
- <string name="ip_not_cidr">Ottenute le informazioni sulle interfacce %1$s e %2$s, assumendo che il secondo indirizzo sia il peer remoto. Utilizzata la maschera /32 per l\'IP locale. La modalità impostata da OpenVPN è \"%3$s\".</string>
- <string name="route_not_cidr">Impossibile utilizzare %1$s e %2$s come reindirizzamenti IP con la maschera CIDR, è stata quindi usata la maschera /32.</string>
- <string name="route_not_netip">Instradamento %1$s/%2$s corretto con %3$s/%2$s</string>
- <string name="keychain_access">Impossibile accedere ai certificati della Keychain di Android (può essere causato da un aggiornamento del firmware o dal ripristino di un backup dell\'applicazione o delle sue impostazioni). E\' necessario modificare le impostazioni della VPN e riselezionare il certificato nelle impostazioni principali per ricreare i permessi di accesso al certificato.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Invia il file di log</string>
- <string name="send">Invia</string>
- <string name="ics_openvpn_log_file">File log di OpenVPN ICS</string>
- <string name="copied_entry">Voce di registro copiata negli appunti</string>
- <string name="tap_mode">Modalità TAP</string>
- <string name="faq_tap_mode">La modalità TAP non è disponibile con le VPN API non root</string>
- <string name="tap_faq2">Ancora? Stai scherzando? No, la modalità tap non è supportata e mandare nuove email chiedendo se sarà supportata non aiuterà.</string>
- <string name="tap_faq3">Per la terza volta? In realtà si potrebbe scrivere un emulatore TAP basato su TUN che aggiunge le informazioni di Layer 2 in uscita e le elimina in ingresso. Ma questo emulatore TAP dovrebbe anche implementare ARP e un client DHCP. Non sono a conoscenza di nessuno che stia realizzando qualcosa del genere. Contattami se vuoi iniziare a scrivere del codice a riguardo.</string>
- <string name="faq">Domande frequenti (FAQ)</string>
- <string name="copying_log_entries">Sto copiando le voci di log</string>
- <string name="faq_copying">Per copiare una singola voce del log, premi e mantieni sulla voce del log. Per copiare/inviare l\'intero log usa l\'opzione \"Manda log\".
-Usa il tasto hardware Menù se non è visibile nella GUI.</string>
- <string name="faq_shortcut">Scorciatoia per l\'avvio</string>
- <string name="faq_howto_shortcut">È possibile inserire un collegamento per avviare OpenVPN dal desktop. A seconda del vostro launcher dovrete aggiungere un collegamento o un widget.</string>
- <string name="no_vpn_support_image">La tua immagine non è supportata dal VPNService API, mi dispiace :(</string>
- <string name="encryption">Crittografia</string>
- <string name="cipher_dialog_title">Inserire il metodo di crittografia</string>
- <string name="chipher_dialog_message">Inserisci l\'algoritmo di cifratura cipher usato da OpenVPN. Lasciare vuoto per usare quello di default.</string>
- <string name="auth_dialog_message">Inserisci l\'algoritmo di cifratura digest usato da OpenVPN. Lascia bianco per usare quello di default.</string>
- <string name="settings_auth">Autenticazione/crittografia</string>
- <string name="file_explorer_tab">Esplora risorse</string>
- <string name="inline_file_tab">Blocco note</string>
- <string name="error_importing_file">Errore durante l\'importazione del file</string>
- <string name="import_error_message">Impossibile importare il file dal filesystem</string>
- <string name="inline_file_data">[[dati del blocco note]]</string>
- <string name="opentun_no_ipaddr">Rifiuto di attivare il dispositivo tun senza informazioni sull\'IP</string>
- <string name="menu_import">Importa il profilo dal file .ovpn</string>
- <string name="menu_import_short">Importa</string>
- <string name="import_content_resolve_error">Impossibile leggere il profilo da importare</string>
- <string name="error_reading_config_file">Errore di lettura del file di configurazione</string>
- <string name="add_profile">Aggiungi profilo</string>
- <string name="import_could_not_open">Impossibile trovare il file %1$s menzionato nel file di configurazione importato</string>
- <string name="importing_config">Importa il file di configurazione dalla sorgente %1$s</string>
- <string name="import_warning_custom_options">La tua configurazione usava qualche opzione non mappata sull\'Interfaccia Utente. Queste opzioni sono state quindi aggiunte come personalizzate. La configurazione personalizzata è visualizzata qui sotto:</string>
- <string name="import_done">
-Effettuata la lettura del file di configurazione</string>
- <string name="nobind_summary">Non si vincola all\'indirizzo e alla porta locali (bind)</string>
- <string name="no_bind">Niente local binding</string>
- <string name="import_configuration_file">Importa file di configurazione</string>
- <string name="faq_security_title">Considerazioni sulla sicurezza</string>
- <string name="faq_security">"Dato che si usa OpenVPN per motivi di sicurezza, si riportano alcune note su quanto la sicurezza sia sensibile. Tutti i dati memorizzati sulla scheda SD sono intrinsecamente insicuri. Qualunque programma può leggerli (ad esempio a questo programma non sono richiesti speciali diritti per accedere alla scheda SD). I dati di questo programma invece possono essere letti solo dal programma stesso. Utilizzando l\'opzione di importazione di cacert/cert/key nelle impostazioni, i dati vengono memorizzati nel profilo della VPN. I profili delle VPN sono accessibili solo da questo programma (non bisogna però dimenticarsi di eliminare le copie dei certificati sulla scheda SD dopo questa operazione). Tuttavia anche se accessibili solamente da questo programma, i dati vengono memorizzati senza alcuna crittografia. E\' possibile pertanto mediante rooting o altre procedure recuperare tali dati. Anche le password salvate vengono memorizzate in chiaro. Si raccomanda caldamente di importare i file pkcs12 nel keystore di Android."</string>
- <string name="import_vpn">Importa</string>
- <string name="broken_image_cert_title">Errore nel mostrare il certificato selezionato</string>
- <string name="broken_image_cert">Si è incappati in una eccezione tentando di visualizzare la finestra di selezione dei certificati di Android 4.0+. Questo non dovrebbe mai accadere dato che questa è una caratteristica standard di Android 4.0+. Forse il supporto al salvataggio dei certificati del tuo firmware di Android è corrotto.</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">In attesa del messaggio di stato&#8230;</string>
- <string name="converted_profile">profilo importato</string>
- <string name="converted_profile_i">profilo importato %d</string>
- <string name="broken_images">Firmware bacati</string>
- <string name="broken_images_faq">&lt;p&gt;E\' noto che le immagini ufficiali di HTC presentano uno strano problema di routing causando per cui il traffico non fluisce nel tunnel (Vedere &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\"&gt;Issue 18&lt;/a&gt; nella gestione dei bug.)&lt;/p&gt;&lt;p&gt;Le immagini SONY più vecchie per Xperia Arc S e Xperia Ray sono segnalate come completamente mancanti di VPNService. (Vedere anche &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\"&gt; Problema 29&lt;/a&gt; nella gestione bug.)&lt;/p&gt;&lt;p&gt; Su immagini personalizzate il modulo tun potrebbe essere mancante oppure i diritti di accesso a /dev/tun potrebbero essere errati. Alcune immagini CM9 hanno bisogno di avere abilitata \'opzione \"Aggiusta proprietà\" nelle \"Opzioni specifiche per il dispositivo\".&lt;/p&gt;&lt;p&gt;Molto importante: se il tuo dispositivo ha un\'immagine Android difettosa, segnalalo al tuo rivenditore. Più persone segnalano un problema al rivenditore, più è probabile che questi lo sistemi.&lt;/p&gt;</string>
- <string name="pkcs12_file_encryption_key">File con la chiave di crittografia PKCS12</string>
- <string name="private_key_password">Password della chiave privata</string>
- <string name="password">Password</string>
- <string name="file_icon">icona del file</string>
- <string name="tls_authentication">Autenticazione TLS</string>
- <string name="generated_config">Configurazione generata</string>
- <string name="generalsettings">Impostazioni</string>
- <string name="owner_fix_summary">Tenta di impostare system come proprietario di /dev/tun. Alcuni firmware CM9 necessitano di questa impostazione affinché le API del servizio VPN funzionino. E\' necessario essere root.</string>
- <string name="owner_fix">Correggi i diritti su /dev/tun</string>
- <string name="generated_config_summary">Mostra il file di configurazione di OpenVPN generato</string>
- <string name="edit_profile_title">Modifica \"%s\"</string>
- <string name="building_configration">Configurazione in corso&#8230;</string>
- <string name="netchange_summary">Selezionando questa opzione verrà forzata una riconnessione se lo stato della rete cambia (da WIFI a cellulare e viceversa)</string>
- <string name="netchange">Riconnetti in caso cambi la rete</string>
- <string name="netstatus">Stato della rete: %s</string>
- <string name="extracahint">Il certificato della CA è solitamente prelevato dal Keystore di Android. Indica un certificato differente se si generano errori di verifica del certificato.</string>
- <string name="select_file">Selezionare</string>
- <string name="keychain_nocacert">Nessun certificato della CA è stato prelevato dal Keystore di Android. E\' probabile che l\'autenticazione fallisca.</string>
- <string name="show_log_summary">Mostra la finestra dei log della connessione. Si può sempre accedere alla finestra dei log tramite la barra delle notifiche.</string>
- <string name="show_log_window">Visualizza la finestra dei log</string>
- <string name="mobile_info">In esecuzione su %1$s (%2$s) %3$s, Android API %4$d</string>
- <string name="error_rsa_sign">Errore di firma con la chiave %1$s: %2$s del Keystore di Android.</string>
- <string name="faq_system_dialogs">L\'avvertimento durante la connessione VPN, in cui si informa che questo programma può intercettare tutto il traffico del sistema, serve a prevenire un uso fraudolento delle API del servizio VPN.\nL\'icona di notifica a forma di chiave è altresì imposta dal sistema Android per avvertire che si è connessi ad una VPN. Su alcuni apparecchi questa notifica è accompagnata da un suono.\nAndroid utilizza questi sistemi per la tua sicurezza e per assicurarsi che questi non vengano aggirati (in alcuni firmware questo sfortunamente è accompagnato da un suono di avvertimento).</string>
- <string name="faq_system_dialogs_title">Avviso di connessione e notifica sonora</string>
- <string name="translationby">Traduzione in inglese di Arne Schwabe&lt;arne@rfc2549.org&gt;</string>
- <string name="ipdns">IP e DNS</string>
- <string name="basic">Principali</string>
- <string name="routing">Instradamento (routing)</string>
- <string name="obscure">Impostazioni avanzate di OpenVPN. Normalmente non necessarie.</string>
- <string name="advanced">Avanzate</string>
- <string name="export_config_title">Configurazione OpenVPN ICS</string>
- <string name="warn_no_dns">Nessun server DNS verrà utilizzato. La risoluzione dei nomi potrebbe non funzionare. Provare a impostare i server DNS personalizzati. Si prega di notare, che Android utilizzerà le impostazioni del proxy specificate per la connessione Wi-Fi, quando non viene impostato alcun server DNS.</string>
- <string name="dns_add_error">Impossibile aggiungere il server DNS \"%1$s\", respinto dal sistema: %2$s</string>
- <string name="ip_add_error">Non è stato possibile configurare l\'indirizzo IP \"%1$s\", che è stato rifiutato dal sistema: %2$s</string>
- <string name="faq_howto">&lt;p&gt;Ottieni una configurazione funzionante (testata sul tuo computer o fornita dal tuo provider o dalla tua ditta).&lt;/p&gt;&lt;p&gt;Se si tratta di un singolo file senza ulteriori file tipo pem/pkcs12, puoi spedire il file a te stesso via email ed aprire l\'allegato. Se hai più file, salvali sulla scheda SD.&lt;/p&gt;&lt;p&gt;Clicca sull\'allegato dell\'email oppure utilizza l\'icona della cartella nell\'elenco delle VPN per importare il file di configurazione.&lt;/p&gt;&lt;p&gt;Se compaiono degli errori relativi a file non trovati, copia i file mancanti sulla tua scheda SD.&lt;/p&gt;&lt;p&gt;Clicca sull\'icona di salvataggio per aggiungere la VPN importata nell\'elenco delle tue VPN.&lt;/p&gt;&lt;p&gt;Connettiti alla VPN cliccando sul nome della VPN.&lt;/p&gt;&lt;p&gt;Se compaiono degli errori o degli avvertimenti nei log, si consiglia di non ignorarli, ma di cercare delle soluzioni.&lt;/p&gt; </string>
- <string name="faq_howto_title">Guida rapida</string>
- <string name="setting_loadtun_summary">Prova a caricare il modulo tun.ko prima di connettersi. Si devono avere diritti di root sul dispositivo.</string>
- <string name="setting_loadtun">Carica il modulo tun</string>
- <string name="importpkcs12fromconfig">Importa i PKCS12 dalla configurazione presente nel Keystore di Android</string>
- <string name="getproxy_error">Errore nell\'ottenere le impostazioni del proxy: %s</string>
- <string name="using_proxy">Si sta utilizzando il proxy %1$s %2$d</string>
- <string name="use_system_proxy">Utilizza il proxy di sistema</string>
- <string name="use_system_proxy_summary">Utilizza la configurazione generale del sistema relativa ai proxy HTTP/HTTPS per connettersi.</string>
- <string name="donatewithpaypal">Puoi &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;donare tramite PayPal&lt;/a&gt; </string>
- <string name="onbootrestartsummary">OpenVPN is riconnetterà alla VPN se era in funzione durante un riavvio od un spegnimento dell\'apparecchio. Leggi con attenzione le FAQ con gli avvertimenti sulla connessione prima di scegliere questa opzione.</string>
- <string name="onbootrestart">Riconnetti al riavvio</string>
- <string name="ignore">Ignora</string>
- <string name="restart">Riavvia</string>
- <string name="restart_vpn_after_change">Le modifiche sarannoi applicate dopo aver riavviato la connessione VPN. Riavviare ora la connessione?</string>
- <string name="configuration_changed">Configurazione modificata</string>
- <string name="log_no_last_vpn">Impossibile determinare l\'ultimo profilo con cui ci si è connessi per poterlo modificare</string>
- <string name="faq_duplicate_notification_title">Doppie notifiche</string>
- <string name="faq_duplicate_notification">Normalmente, se la memoria di sistema (RAM) di Android è insufficiente, i programmi ed i servizi che non sono in quel momento necessari vengono rimossi dalla memoria attiva. Se ciò avvenisse, la connessione VPN in corso verrebbe terminata. Per far sì che la conessione OpenVPN resti in funzione, il servizio viene eseguito in priorità alta e per questo motivo appare un\'icona permanente nella barra delle notifiche. L\'icona di notifica a forma di chiave è invece imposta dal sistema come descritto nella precedente voce delle FAQ e non serve ad eseguire il programma con priorità alta.</string>
- <string name="no_vpn_profiles_defined">Nessun profilo VPN definito.</string>
- <string name="add_new_vpn_hint">Usa l\'icona &lt;img src=\"ic_menu_add\"/&gt; per aggiungere una nuova VPN</string>
- <string name="vpn_import_hint">Usa l\'icona &lt;img src=\"ic_menu_archive\"/&gt; per importare il profilo (.ovpn o .conf) dalla tua scheda SD.</string>
- <string name="faq_hint">Si raccomanda di leggere anche le FAQ. C\'è anche una guida rapida.</string>
- <string name="faq_routing_title">Configurazione dei reindirizzamenti e dell\'interfaccia</string>
- <string name="faq_routing">Il routing e la configurazione dell\'interfaccia non vengono fatti tramite i comandi ifconfig/route tradizionali ma utilizzando l\'API VPNService. Ciò si traduce in una configurazione di routing diversa rispetto ad altri sistemi operativi. La configurazione del tunnel VPN è composta dall\'indirizzo IP e dalle reti che devono essere instradate su tale interfaccia. Soprattutto non è necessario alcun indirizzo peer o gateway. Percorsi speciali per raggiungere il server VPN (ad esempio aggiunti quando si utilizza redirect-gateway) non sono neanche necessari. L\'applicazione pertanto ignorerà queste impostazioni durante l\'importazione di una configurazione. L\'applicazione garantisce con l\'API VPNService che la connessione al server non venga instradata attraverso il tunnel VPN. E\' supportato solo la specifica delle reti che devono essere instradate tramite il tunnel. L\'applicazione cerca di rilevare le reti che non devono essere instradate sul tunnel (ad esempio, route x.x.x.x y.y.y.y net_gateway) e calcola una serie di itinerari che escludono questi percorsi per emulare il comportamento di altre piattaforme. Le schermate del registro mostrano la configurazione del VPNService finché si stabilisce una connessione.</string>
- <string name="persisttun_summary">Non passa allo stato di \"Nessuna connessione VPN\" quando OpenVPN sta eseguendo un tentativo di riconnessione.</string>
- <string name="persistent_tun_title">tun persistente</string>
- <string name="openvpn_log">Log di OpenVPN</string>
- <string name="import_config">Importa configurazione OpenVPN</string>
- <string name="battery_consumption_title">Consumo della batteria</string>
- <string name="baterry_consumption">Nei miei test personali la ragione principale per l\'alto consumo di batteria con OpenVPN è rappresentata dai pacchetti keepalive. La maggior parte dei server OpneVPN posseggono una direttiva \'keepalive 10 60\' che fa sì che il client e il server scambino dei pacchetti keepalive ogni dieci secondi.&lt;p&gt; Anche se questi pacchetti sono piccoli e non usano molto traffico, essi mantengono impegnata la sezione radio del dispositivo e incrementano il consumo energetico. (Vedere anche &lt;a href=\"http://developer.android.com/training/efficient-downloads/efficient-network-access.html#RadioStateMachine\"&gt;The Radio State Machine | Android Developers&lt;/a&gt;) &lt;p&gt; Questa impostazione keepalive non può essere cambiata lato client. Solo l\'amministratore del server OpenVPN può farlo.&lt;p&gt; Purtroppo usando un keepalive maggiore di 60 secondi con UDP alcuni gateway NAT fanno cadere la connessione per via di un timeout su inattività. Usando TCP con un keepalive lungo il timeout funziona, ma il tunneling su TCP presenta basse prestazioni su connessioni con alta perdita di pacchetti. (Vedere &lt;a href=\"http://sites.inka.de/bigred/devel/tcp-tcp.html\"&gt;Why TCP Over TCP Is A Bad Idea&lt;/a&gt;)</string>
- <string name="faq_tethering">Il Tethering di Android (via WiFi, USB o Bluetooth) e le API del servizio VPN (utilizzate da questo programma) non possono funzionare contemporaneamente. Per maggiori informazioni, vedi &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\"&gt;il problema #34&lt;/a&gt;</string>
- <string name="vpn_tethering_title">VPN e Tethering</string>
- <string name="connection_retries">Tentativi di riconnessione</string>
- <string name="reconnection_settings">Impostazioni di riconnessione</string>
- <string name="connectretrymessage">Numero di secondi di attesa tra i tentativi di connessione.</string>
- <string name="connectretrywait">Secondi tra le connessioni</string>
- <string name="minidump_generated">OpenVPN si è arrestato in modo imprevisto. Ti consigliamo di attivare l\'opzione Invia Minidump nel menu principale.</string>
- <string name="send_minidump">Invia Minidump allo sviluppatore</string>
- <string name="send_minidump_summary">Invia informazioni di debug riguardanti l\'ultimo crash allo sviluppatore</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">Connessione in corso</string>
- <string name="state_wait">In attesa di risposta dal server</string>
- <string name="state_auth">Autenticazione</string>
- <string name="state_get_config">Caricamento configurazione client</string>
- <string name="state_assign_ip">Assegnazione indirizzi IP</string>
- <string name="state_add_routes">Configuro gli instradamenti</string>
- <string name="state_connected">Connesso</string>
- <string name="state_disconnected">Disconnetti</string>
- <string name="state_reconnecting">Riconnessione in corso</string>
- <string name="state_exiting">Uscita</string>
- <string name="state_noprocess">Non in esecuzione</string>
- <string name="state_resolve">Risoluzione hostname in corso</string>
- <string name="state_tcp_connect">Connessione in corso (TCP)</string>
- <string name="state_auth_failed">Autenticazione fallita</string>
- <string name="state_nonetwork">In attesa di una rete utilizzabile</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Non connesso</string>
- <string name="start_vpn_title">Connessione alla VPN %s in corso</string>
- <string name="start_vpn_ticker">Connessione alla VPN %s in corso</string>
- <string name="jelly_keystore_alphanumeric_bug">Alcune versioni di Android 4.1 hanno problemi se il nome del certificato keystore contiene caratteri non alfanumerici (come spazi, caratteri di sottolineatura o trattini). Provare a reimportare il certificato senza caratteri speciali</string>
- <string name="encryption_cipher">Algoritmo di crittografia</string>
- <string name="packet_auth">Autenticazione pacchetti</string>
- <string name="auth_dialog_title">Seleziona il metodo di autenticazione dei pacchetti</string>
- <string name="mobile_info_extended">In esecuzione su %1$s (%2$s) %3$s, Android API %4$d, versione %5$s, %6$s</string>
- <string name="built_by">compilato da %s</string>
- <string name="debug_build">versione di debug</string>
- <string name="official_build">versione ufficiale</string>
- <string name="make_selection_inline">Copia nel profilo</string>
- <string name="crashdump">Dump del crash</string>
- <string name="add">Aggiungi</string>
- <string name="send_config">Invia file di configurazione</string>
- <string name="complete_dn">DN completo</string>
- <string name="remotetlsnote">La configurazione importata utilizza l\'opzione tls-remote che è obsoleta, ed utilizza un diverso formato DN.</string>
- <string name="rdn">RDN (nome comune)</string>
- <string name="rdn_prefix">Prefisso RDN</string>
- <string name="tls_remote_deprecated">TLS-remote (obsoleto)</string>
- <string name="help_translate">Puoi aiutare nella traduzione visitando http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s tenta di controllare %2$s</string>
- <string name="remote_warning">Se procedi, concedi all\'applicazione l\'autorizzazione per intercettare tutto il traffico di rete.<b> NON accettare se non consideri l\'applicazione attendibile</b>, altrimenti corri il rischio che i tuoi dati vengano compromessi da programmi software dannosi</string>
- <string name="remote_trust">Considero questa applicazione attendibile.</string>
- <string name="no_external_app_allowed">Nessuna app ha il permesso di usare l\'API esterna</string>
- <string name="allowed_apps">Apps abilitate;%s</string>
- <string name="clearappsdialog">Cancellare la lista delle apps esterne autorizzate?\nLista corrente di applicazioni autorizzate:\n\n%s</string>
- <string name="screenoff_summary">Sospende la VPN quando lo schermo è spento e meno di 64Kb di dati sono trasferiti in 60s. Quando l\'opzione \"Tun persistente\" è abilitata, la sospensione della VPN lascerà il tuo dispositivo con NESSUNA connettività di rete. Senza l\'opzione \"Tun persistente\" il dispositivo non avrà alcuna connessione/protezione VPN.</string>
- <string name="screenoff_title">Sospende la connessione VPN dopo lo spegnimento dello schermo</string>
- <string name="screenoff_pause">Sospensione della connessione nello stato di schermo spento: meno di %1$s in %2$ss</string>
- <string name="screen_nopersistenttun">Attenzione: \"Tun persistente\" non è abilitato per questa VPN. Quando lo schermo è spento verrà utilizzata la normale connessione internet.</string>
- <string name="save_password">Salva la Password</string>
- <string name="pauseVPN">Pausa della VPN</string>
- <string name="resumevpn">Ricollega la VPN</string>
- <string name="state_userpause">Sospensione della VPN richiesta dall\'utente</string>
- <string name="state_screenoff">VPN sospesa - schermo spento</string>
- <string name="device_specific">Regolazioni specifiche per il dispositivo</string>
- <string name="cannotparsecert">Non è possibile visualizzare le informazioni del certificato</string>
- <string name="appbehaviour">Comportamento dell\'applicazione</string>
- <string name="vpnbehaviour">Comportamento della VPN</string>
- <string name="allow_vpn_changes">Abilita modifiche ai profili VPN</string>
- <string name="hwkeychain">Raccoglitore chiavi hardware:</string>
- <string name="permission_icon_app">Un\'icona di applicazione sta tentando di usare OpenVPN per Android</string>
- <string name="faq_vpndialog43">"A partire da Android 4.3 la conferma della VPN viene salvaguardata da \"applicazioni in overlay\". Questo fa sì che il bottone di dialogo non reagisca allo sfioramento. Se avete un\'applicazione che usa gli overlay, ciò potrebbe causare questo comportamento. Se vi capita di trovare questo tipo di situazione, contattate l\'autore dell\'applicazione. Questo problema affligge tutte le applicazioni VPN da Android 4.3 in poi. Consultare anche &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=185\"&gt;Issue 185&lt;a&gt; per ulteriori dettagli"</string>
- <string name="faq_vpndialog43_title">Messaggio di conferma Vpn su Android 4.3 e versioni successive</string>
- <string name="donatePlayStore">In alternativa, potete inviarmi una donazione con il Play Store:</string>
- <string name="thanks_for_donation">Grazie per la donazione di %s!</string>
- <string name="logCleared">Registrazioni log cancellate.</string>
- <string name="show_password">Mostra password</string>
- <string name="keyChainAccessError">Errore di accesso al Gestore Chiavi: %s</string>
- <string name="timestamp_short">Breve</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">Indicazione oraria</string>
- <string name="timestamps_none">Nulla</string>
- <string name="uploaded_data">Upload</string>
- <string name="downloaded_data">Download</string>
- <string name="vpn_status">Stato VPN</string>
- <string name="logview_options">Visualizza opzioni</string>
- <string name="unhandled_exception">Eccezione non gestita: %1$s\n\n%2$s</string>
- <string name="unhandled_exception_context">%3$s: %1$s\n\n%2$s</string>
- <string name="faq_system_dialog_xposed">Se il tuo dispositivo Android ha il root allora è possibile installare il &lt;a href=\"http://xposed.info/\"&gt;framework Xposed&lt;/a&gt; e il &lt;a href=\"http://repo.xposed.info/module/de.blinkt.vpndialogxposed\"&gt;modulo di conferma VPN Dialog&lt;/a&gt; a proprio rischio e pericolo\"</string>
- <string name="full_licenses">Licenze complete</string>
- <string name="blocklocal_summary">Le reti direttamente collegate alle interfacce locali non verranno instradate attraverso la VPN. Deselezionando questa opzione si inoltrerà tutto il traffico dalle reti locali alla VPN.</string>
- <string name="blocklocal_title">Ignora VPN per le reti locali</string>
- <string name="userpw_file">File nome utente/password</string>
- <string name="imported_from_file">[Importato da: %s]</string>
- <string name="files_missing_hint">Alcuni file non possono essere trovati. Si prega di selezionare i file da importare nel profilo:</string>
- <string name="openvpn_is_no_free_vpn">Per utilizzare questa applicazione è necessario un provider VPN/gateway VPN che supportino OpenVPN (spesso forniti dal datore di lavoro). Vai a http://community.openvpn.net/ per ulteriori informazioni su OpenVPN e come configurare il proprio server OpenVPN.</string>
- <string name="import_log">Registro importazione:</string>
- <string name="mssfix_checkbox">Sovrascrivi il valore del MSS nel payload TCP</string>
- <string name="mssfix_dialogtitle">Setta il valore del MSS nel payload TCP</string>
- <string name="client_behaviour">Comportamento Client</string>
- <string name="loading">Caricando&#8230;</string>
- <string name="keep">Mantieni</string>
- <string name="delete">Elimina</string>
- <string name="server_list">Lista Server</string>
- <string name="advanced_settings">Impostazioni Avanzate</string>
- <string name="payload_options">Opzioni Payload</string>
- <string name="tls_settings">Impostazioni TLS</string>
- <string name="duplicate_vpn">Profilo VPN duplicato</string>
- <string name="duplicate_profile_title">Duplicazione del profilo: %s</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-ja/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-ja/strings.xml
deleted file mode 100755
index 6fca174b..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-ja/strings.xml
+++ /dev/null
@@ -1,336 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN for Android</string>
- <string name="address">サーバアドレス</string>
- <string name="port">ポート番号</string>
- <string name="location">場所</string>
- <string name="cant_read_folder">ディレクトリが読み取れません</string>
- <string name="select">選択</string>
- <string name="cancel">キャンセル</string>
- <string name="no_data">データなし</string>
- <string name="useLZO">LZO 圧縮</string>
- <string name="client_no_certificate">証明書がありません。</string>
- <string name="client_certificate_title">クライアント証明書</string>
- <string name="client_key_title">クライアント証明書のキー</string>
- <string name="client_pkcs12_title">PKCS12ファイル</string>
- <string name="ca_title">CA 証明書</string>
- <string name="no_certificate">証明書を選択する必要があります。</string>
- <string name="copyright_guicode">ソースコードと問題管理はここにあります: http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">プログラムは、次のコンポーネントを使用します。完全な詳細についてはソース上のライセンスを参照してください。</string>
- <string name="about">バージョン情報</string>
- <string name="vpn_list_title">プロファイル</string>
- <string name="vpn_type">種別</string>
- <string name="pkcs12pwquery">PKCS12のパスワード</string>
- <string name="file_select">選択&#8230;</string>
- <string name="file_nothing_selected">ファイルを選択する必要があります。</string>
- <string name="useTLSAuth">TLS認証を使用します。</string>
- <string name="tls_direction">TLS Direction</string>
- <string name="ipv6_dialog_tile">IPv6アドレスをCIDR形式で入力(例:2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">IPv4アドレスをCIDR形式で入力(例:1.2.3.4/24)</string>
- <string name="ipv4_address">IPv4アドレス</string>
- <string name="ipv6_address">IPv6アドレス</string>
- <string name="custom_option_warning">OpenVPNのカスタムオプションを入力します。利用には細心の注意が必要です。設定画面ではTUNモジュールの多くの設定がサポートされていません。もしほかに重要と思う設定があれば作者に連絡してください。</string>
- <string name="auth_username">ユーザー名</string>
- <string name="auth_pwquery">パスワード</string>
- <string name="static_keys_info">TLS認証鍵の設定は、静的キーとして使用されます。</string>
- <string name="configure_the_vpn">VPNの設定</string>
- <string name="menu_add_profile">プロファイルの追加</string>
- <string name="add_profile_name_prompt">新しいプロファイルを識別する名前を入力します</string>
- <string name="duplicate_profile_name">プロファイル名が重複しています。</string>
- <string name="profilename">プロファイル名</string>
- <string name="no_keystore_cert_selected">ユーザー証明書を選択する必要があります。</string>
- <string name="no_error_found">エラーは見つかりませんでした。</string>
- <string name="config_error_found">設定に誤りがあります。</string>
- <string name="ipv4_format_error">IPv4 アドレスの解析エラー</string>
- <string name="custom_route_format_error">カスタム経路の解析エラー</string>
- <string name="pw_query_hint">必要に応じて入力するには空欄にしてください</string>
- <string name="vpn_shortcut">OpenVPN のショートカット</string>
- <string name="vpn_launch_title">VPNに接続</string>
- <string name="shortcut_profile_notfound">ショートカットで指定されたプロファイルが見つかりません</string>
- <string name="random_host_prefix">ランダムなホスト プレフィックス</string>
- <string name="random_host_summary">ランダムな6文字をホスト名の前に付加します。</string>
- <string name="custom_config_title">カスタム オプションを使用する</string>
- <string name="custom_config_summary">カスタムオプションを指定します。注意を要します。</string>
- <string name="route_rejected">経路がAndroidにより拒否されました。</string>
- <string name="cancel_connection">切断</string>
- <string name="cancel_connection_long">VPNを切断します</string>
- <string name="clear_log">ログをクリア</string>
- <string name="title_cancel">キャンセルの確認</string>
- <string name="cancel_connection_query">接続中または試行中の接続をキャンセルしますか?</string>
- <string name="remove_vpn">VPN を削除</string>
- <string name="remote_tlscn_check_summary">リモートサーバー証明書の所有者識別子(Subject DN)を確認します。</string>
- <string name="remote_tlscn_check_title">証明書のホスト名を確認する</string>
- <string name="enter_tlscn_dialog">リモート証明書の照合に使用する識別名(DN)を指定します。(例: C=DE, L=Paderborn, OU=Avian IP Carriers, CN=openvpn.blinkt.de)\n\n完全な識別名(DN)または相対識別名(RDN)、あるいは相対識別名のプリフィクスを指定します。\n\nたとえば相対識別名のプリフィクスとして\"Server\"を指定すると、\"Server-1\"と\"Server-2\"にマッチします。\n\n空欄にした場合は相対識別名とサーバのホスト名をチェックします。\n\n詳細についてはOpenVPN 2.3.1以降のマニュアルの「--verify-x509-name」の項を参照してください。</string>
- <string name="enter_tlscn_title">リモート証明書サブジェクト</string>
- <string name="tls_key_auth">TLS鍵認証を有効にする</string>
- <string name="tls_auth_file">TLS 認証ファイル</string>
- <string name="pull_on_summary">IPアドレス、経路情報、DNSなどの情報をサーバから取得します。</string>
- <string name="pull_off_summary">サーバからは何も情報が取得できません。指定が必要な設定は以下の通りです。</string>
- <string name="use_pull">情報取得の設定</string>
- <string name="dns">DNS</string>
- <string name="override_dns">サーバ指定のDNSサーバ設定をオーバーライドします。</string>
- <string name="dns_override_summary">DNSをユーザ側で指定します。</string>
- <string name="searchdomain">検索ドメイン</string>
- <string name="dns1_summary">使用する DNS サーバー</string>
- <string name="dns_server">DNS サーバー</string>
- <string name="secondary_dns_message">セカンダリDNSサーバーは、プライマリDNSサーバーに到達できない場合に使用します。</string>
- <string name="backup_dns">セカンダリDNSサーバー</string>
- <string name="ignored_pushed_routes">サーバ側指定の経路情報を無視する</string>
- <string name="ignore_routes_summary">サーバからプッシュされた経路情報を無視します。</string>
- <string name="default_route_summary">すべての通信をVPN経由にします</string>
- <string name="use_default_title">既定の経路に使用</string>
- <string name="custom_route_message">カスタム経路を入力します。宛先のみをCIDR形式で指定します。例えば \"10.0.0.0/8 2002::/16\"と指定すれば10.0.0.0/8と2002::/16への通信はVPNに向けられます。</string>
- <string name="custom_routes_title">カスタム経路情報</string>
- <string name="custom_routes_title_excluded">除外されたネットワーク</string>
- <string name="log_verbosity_level">ログの詳細度</string>
- <string name="float_summary">認証済みパケットをどのIPからでも受け付けます。</string>
- <string name="float_title">フローティング サーバーを許可</string>
- <string name="custom_options_title">カスタム オプション</string>
- <string name="edit_vpn">VPN 設定の編集</string>
- <string name="remove_vpn_query">VPN プロファイル %s を削除しますか?</string>
- <string name="tun_error_helpful">いくつかのカスタムICSイメージは、/dev/tunのパーミッションが異常か、TUNモジュールが含まれていません。CM9イメージの場合は全般設定で所有権設定を修正してください。</string>
- <string name="tun_open_error">TUNデバイスを開こうとして失敗しました。</string>
- <string name="error">"エラー:"</string>
- <string name="clear">クリア</string>
- <string name="last_openvpn_tun_config">tunインターフェースを開いています:</string>
- <string name="local_ip_info">ローカル IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">DNSサーバ: %1$s, ドメイン: %2$s</string>
- <string name="routes_info_incl">経路: %1$s %2$s</string>
- <string name="routes_info_excl">除外された経路: %1$s %2$s</string>
- <string name="ip_not_cidr">インターフェース情報として %1$s と %2$s を取得しました。2つ目のアドレスはリモート側のピアアドレスです。32ビットマスクをローカルIPに使用します。 OpenVPNのモードは \"%3$s\" です。</string>
- <string name="route_not_cidr">%1$sと%2$sではCIDR形式のIP経路情報として意味をなしません。32ビットマスクを使用します。</string>
- <string name="route_not_netip">経路情報%1$s/%2$sを%3$s/%2$sに修正しました。</string>
- <string name="keychain_access">Androidの証明書管理にアクセスできません。(ファームウェアの更新、アプリケーションまたはその設定のリストアによって発生する場合があります)。VPNの設定で証明書の選択を再度行ってください。</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">ログ ファイルを送信します。</string>
- <string name="send">送信</string>
- <string name="ics_openvpn_log_file">ICS OpenVPN ログ ファイル</string>
- <string name="copied_entry">ログ エントリをクリップボードにコピーしました</string>
- <string name="tap_mode">TAPモード</string>
- <string name="faq_tap_mode">TAPモードは非root化環境では動作しません。よってこのアプリケーションではTAPをサポートできません。</string>
- <string name="tap_faq2">またですか?TAPモードはサポートされていませんし、サポートされるかどうかメールを送ることは何の役にも立ちません。</string>
- <string name="tap_faq3">3回目です。本当のところ、TUN上で動くレイヤ2エミュレータを書くことはできました。(送信時の情報追加と受信時の情報削除で)。しかしこのエミュレータはARPやおそらくはDHCPをも実装しなければならないでしょう。誰もこのことに気がついていません。もしあなたがこの機能を作る気になったのであれば、どうぞ私に連絡してください。</string>
- <string name="faq">よくある質問</string>
- <string name="copying_log_entries">ログ エントリのコピー</string>
- <string name="faq_copying">1行のログエントリをコピーするには、そのエントリをタッチし続けます。コピー/送信するには「ログエントリを送信」を使用します。GUIで表示されない場合はハードウェアのメニューボタンを使用してください。</string>
- <string name="faq_shortcut">起動ショートカット</string>
- <string name="faq_howto_shortcut">OpenVPNを起動するためのショートカットをデスクトップに配置できます。ショートカットやウィジェットを配置できるかどうかはホームスクリーンプログラムに依存します。</string>
- <string name="no_vpn_support_image">申し訳ありませんが、お使いの環境ではVPNサービスがサポートされていません。</string>
- <string name="encryption">暗号化</string>
- <string name="cipher_dialog_title">暗号化方式を入力</string>
- <string name="chipher_dialog_message">OpenVPNが暗号化に使用する暗号方式を入力してください。空欄にするとデフォルトを使用します。</string>
- <string name="auth_dialog_message">OpenVPNが使用する認証ダイジェストを入力します。空欄にするとデフォルトのダイジェストを使用します。</string>
- <string name="settings_auth">認証/暗号化</string>
- <string name="file_explorer_tab">ファイルを選択</string>
- <string name="inline_file_tab">インライン ファイル</string>
- <string name="error_importing_file">ファイルのインポート エラー</string>
- <string name="import_error_message">ファイルシステムからファイルをインポートできませんでした。</string>
- <string name="inline_file_data">[インライン ファイル データ]</string>
- <string name="opentun_no_ipaddr">IP情報なしでのTUNデバイス使用は拒否しています</string>
- <string name="menu_import">OVPNファイルからプロファイルをインポート</string>
- <string name="menu_import_short">インポート</string>
- <string name="import_content_resolve_error">インポートするプロファイルを読み取れませんでした。</string>
- <string name="error_reading_config_file">構成ファイルの読み取りエラー</string>
- <string name="add_profile">プロファイルの追加</string>
- <string name="import_could_not_open">インポートされた構成ファイルに記載されたファイル %1$s が見つかりません。</string>
- <string name="importing_config">構成ファイルを%1$sからインポートしています。</string>
- <string name="import_warning_custom_options">ユーザインターフェースにマッピングされていないいくつかの設定項目があります。それらの設定はカスタムオプションとして追加されます。カスタムオプションを以下に表示します。</string>
- <string name="import_done">構成ファイルの読み込みを完了しました。</string>
- <string name="nobind_summary">ローカル アドレスとポートにバインドを行いません。</string>
- <string name="no_bind">ローカルバインドしない</string>
- <string name="import_configuration_file">構成ファイルのインポート</string>
- <string name="faq_security_title">セキュリティに関する考慮事項</string>
- <string name="faq_security">OpenVPNがセキュリティに敏感であるように、セキュリティに関してのいくつかの注意事項は理にかなっています。
-SDカード上のデータは本質的に無防備です。すべてのアプリケーションが読み取り可能です。(たとえばこのプログラムはSDカードへの特別な読み取り許可を必要としていません)
-このアプリケーションのデータは、自分自身のみが読み取り可能です。インポートされた証明書類はVPNプロファイルに保存されています。VPNプロファイルはこのアプリケーションからのみアクセス可能です。(あとでSDカード上のファイルを消すのを忘れないでください)
-ただし、このアプリケーションからのみ読み取り可能ではあるものの、暗号化されてはいません。
-機体をroot化したり、あるいはその他の脆弱性によってファイルは読み取ることが可能かもしれません。パスワードは平文で保存されています。PKCS12ファイルをAndroidの証明書管理機能にインポートして使用することが強く推奨されます。</string>
- <string name="import_vpn">インポート</string>
- <string name="broken_image_cert_title">証明書の選択でエラーが表示されます</string>
- <string name="broken_image_cert">Android 4.0以降の証明書選択ダイアログ表示で例外を検知しました。
-この事象は標準的なAndroid 4.0以降では発生しません。お使いのAndroidの証明書管理機構が壊れている可能性があります。</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">状態メッセージを待っています。</string>
- <string name="converted_profile">インポートされたプロファイル</string>
- <string name="converted_profile_i">インポートされたプロファイル %d</string>
- <string name="broken_images">壊れたイメージ</string>
- <string name="pkcs12_file_encryption_key">PKCS12ファイルの暗号化キー</string>
- <string name="private_key_password">秘密鍵のパスワード</string>
- <string name="password">パスワード</string>
- <string name="file_icon">ファイルのアイコン</string>
- <string name="tls_authentication">TLS認証</string>
- <string name="generated_config">生成された構成</string>
- <string name="generalsettings">設定</string>
- <string name="owner_fix_summary">システムに/dev/tunの所有者を設定します。いくつかのCM9のイメージでVPNService APIを動作させるために必要です。root権限が必要です。</string>
- <string name="owner_fix">/dev/tun の所有権を修正</string>
- <string name="generated_config_summary">生成された OpenVPN の構成ファイルを表示します</string>
- <string name="edit_profile_title">\"%s\"の編集</string>
- <string name="building_configration">構成中・・・</string>
- <string name="netchange_summary">この設定を有効にすると、ネットワークの状態変化時(WiFi/モバイル)に再接続を行います。</string>
- <string name="netchange">ネットワーク変化時に再接続</string>
- <string name="netstatus">ネットワーク状態: %s</string>
- <string name="extracahint">認証局証明書(CA cert)は、通常、Android のキーストアから返されます。証明書の検証でエラーになる場合は、個別の証明書を指定します。</string>
- <string name="select_file">選択</string>
- <string name="keychain_nocacert">認証局証明書(CA Cert)がAndroidのキーストアから取得できませんでした。認証はおそらく失敗します。</string>
- <string name="show_log_summary">接続時にログウィンドウを表示します。ログウィンドウは常に状態通知からアクセスできます。</string>
- <string name="show_log_window">ログウィンドウを表示</string>
- <string name="mobile_info">実行中:%1$s (%2$s)%3$s Android API %4$d</string>
- <string name="error_rsa_sign">Androidキーストアに保存されたキー %1$s: %2$sの署名エラーです</string>
- <string name="faq_system_dialogs">VPN接続の警告は、このアプリケーションがVPNService APIを悪用してすべての通信を傍受できることを、システムがあなたに知らせるものです。\n
-VPN接続通知(鍵の形)は、VPN接続が稼働中であることをAndroidが知らせています。いくつかのシステムではこの通知で音を鳴らします。\n
-Androidはあなた自身の安全性のために、これらを迂回できないようにしています。(いくつかのシステムでは、遺憾ながら音も伴います)</string>
- <string name="faq_system_dialogs_title">接続時の警告と通知音</string>
- <string name="translationby">日本語翻訳 高橋正希@埼玉 &lt;tools@artin.nu&gt;</string>
- <string name="ipdns">IPとDNS</string>
- <string name="basic">基本</string>
- <string name="routing">経路設定</string>
- <string name="obscure">特殊なOpenVPNの設定。通常は必要ありません</string>
- <string name="advanced">高度</string>
- <string name="export_config_title">ICSのOpenVPN設定</string>
- <string name="warn_no_dns">DNSサーバーが使用されていません。名前解決が動作しない可能性があります。カスタムDNSの設定を検討してください。また、DNSが指定されていない場合Androidはモバイル回線/WiFi接続に設定したプロキシを使用し続けることにも注意してください。</string>
- <string name="dns_add_error">DNSサーバ \"%1$s\" の追加に失敗しました。%2$sに拒否されました。</string>
- <string name="ip_add_error">IPアドレス \"%1$s\"を設定できませんでした。 システムに拒否されました: %2$s</string>
- <string name="faq_howto">&lt;p&gt;動作確認済の設定ファイルを入手します。(あなたのコンピュータでテスト済のものや、プロバイダや会社などの組織からダウンロードしたもの)&lt;/p&gt;
-&lt;p&gt;もしそれが単一のファイルでpemやpks12ファイルを伴わないなら、自分宛のメールに添付して送付し、それを開いてください。もし複数のファイルで構成されているならSDカードに格納してください。&lt;/p&gt;
-&lt;p&gt;メールの添付ファイルを開く、あるいはVPNリストのフォルダアイコンをクリックして設定ファイルをインポートします。&lt;/p&gt;
-&lt;p&gt;もしファイルが足りないというエラーが表示されたら、足りなかったファイルをSDカード上に格納してください。&lt;/p&gt;
-&lt;p&gt;インポートされたVPN設定をリストに追加するには、保存アイコンをクリックします。&lt;/p&gt;
-&lt;p&gt;VPNを接続するには、VPNの名称をクリックします。&lt;/p&gt;
-&lt;p&gt;もし警告やエラーがログエントリに表示されたら、それらを調べて解決してください。&lt;/p&gt;</string>
- <string name="faq_howto_title">クイックスタート</string>
- <string name="setting_loadtun_summary">接続の試行前にTUNデバイスモジュール(tun.ko)を読み込みます。デバイスのroot化が必要です。</string>
- <string name="setting_loadtun">TUNモジュールをロード</string>
- <string name="importpkcs12fromconfig">PKCS12の設定をAndroidのキーストアにインポートします</string>
- <string name="getproxy_error">プロキシ設定でエラー: %s</string>
- <string name="using_proxy">プロキシを使用します %1$s %2$d</string>
- <string name="use_system_proxy">システムのプロキシ設定を使用</string>
- <string name="use_system_proxy_summary">システム全体の構成の HTTP/HTTPS プロキシ接続を使用します。</string>
- <string name="donatewithpaypal">以下のURLより寄付いただけます。 &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;PayPalで寄付&lt;/a&gt; </string>
- <string name="onbootrestartsummary">OpenVPNはシステムの再起動やシャットダウン時に再接続するようになります。このオプションを使用する前にFAQをご一読ください。</string>
- <string name="onbootrestart">システム起動後に再接続</string>
- <string name="ignore">無視</string>
- <string name="restart">再起動</string>
- <string name="restart_vpn_after_change">設定の変更はVPNの再起動後に反映されます。VPNを(再)起動しますか?</string>
- <string name="configuration_changed">設定が変更されました</string>
- <string name="log_no_last_vpn">編集されたため、最後に接続したプロファイルを確認できませんでした</string>
- <string name="faq_duplicate_notification_title">重複した通知</string>
- <string name="faq_duplicate_notification">もしAndroidがメモリ不足に陥った場合、その時点で必要とされないアプリケーションやサービスはアクティブなメモリから排除されます。
-この処理に伴い、VPN接続は終了されます。
-OpenVPNの接続を保証するためには、アプリケーションを高い優先度で稼働させます。
-高い優先度でアプリケーションを稼働させる場合、アプリケーションは通知を表示しなければなりません。
-鍵の形をした通知アイコンは、先述のFAQにあるとおりシステムにより表示させられたものです。
-高い優先度で稼働するための通知はアプリケーションの通知には含まれません。</string>
- <string name="no_vpn_profiles_defined">VPNのプロファイルが定義されていません</string>
- <string name="add_new_vpn_hint">新しいVPNを追加するには &lt;img src=\"ic_menu_add\"/&gt; のアイコンを使用します</string>
- <string name="vpn_import_hint">SDカードからプロファイル(.ovpnや.conf)をインポートするには &lt;img src=\"ic_menu_archive\"/&gt; のアイコンを使用します。</string>
- <string name="faq_hint">FAQを確認してください。クイックスタートガイドがあります。</string>
- <string name="faq_routing_title">経路情報/インターフェース設定</string>
- <string name="persisttun_summary">OpenVPNが再接続試行中は、VPNなし状態を報告しません。</string>
- <string name="persistent_tun_title">永続的なTUNデバイス</string>
- <string name="openvpn_log">OpenVPN のログ</string>
- <string name="import_config">OpenVPN の構成のインポート</string>
- <string name="battery_consumption_title">バッテリー消費量</string>
- <string name="faq_tethering">Androidのテザリング機能(WiFi, USB, Bluetooth経由)とVPNService API(このプログラムから使用する機能)は同時に利用できません。詳細については&lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\"&gt;issue #34&lt;/a&gt;を参照</string>
- <string name="vpn_tethering_title">VPN とテザリング</string>
- <string name="connection_retries">接続の再試行回数</string>
- <string name="reconnection_settings">再接続の設定</string>
- <string name="connectretrymessage">再接続を試行する際の間隔(秒)</string>
- <string name="connectretrywait">接続間隔(秒)</string>
- <string name="minidump_generated">OpenVPN は予期せず終了しました。メイン メニューでミニダンプの送信オプションを検討してください。</string>
- <string name="send_minidump">ミニダンプを開発者に送信</string>
- <string name="send_minidump_summary">最後にクラッシュした時のデバッグ情報を作者に送信します。</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">接続中</string>
- <string name="state_wait">サーバーの応答を待っています。</string>
- <string name="state_auth">認証中</string>
- <string name="state_get_config">クライアントの構成を取得中</string>
- <string name="state_assign_ip">IPアドレスを割り当て中</string>
- <string name="state_add_routes">経路を追加中</string>
- <string name="state_connected">接続しました</string>
- <string name="state_disconnected">切断</string>
- <string name="state_reconnecting">再接続中</string>
- <string name="state_exiting">終了中</string>
- <string name="state_noprocess">停止中</string>
- <string name="state_resolve">ホスト名を解決中</string>
- <string name="state_tcp_connect">接続中(TCP)</string>
- <string name="state_auth_failed">認証に失敗しました</string>
- <string name="state_nonetwork">使用可能なネットワークを待機中</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">未接続</string>
- <string name="start_vpn_title">VPN %sに接続中</string>
- <string name="start_vpn_ticker">VPN %sに接続中</string>
- <string name="jelly_keystore_alphanumeric_bug">Android 4.1の一部のバージョンで、キーストアの証明書の名前にアルファベット以外の特殊な文字(スペース、アンダーバー、ダッシュ等)を含む場合に問題が発生します。証明書の名前から特殊な文字を外して再度インポートを試みてください。</string>
- <string name="encryption_cipher">暗号化方式</string>
- <string name="packet_auth">パケット認証</string>
- <string name="auth_dialog_title">パケット認証方式を入力してください。</string>
- <string name="mobile_info_extended">%1$s (%2$s) %3$s、Android API %4$d、バージョン %5$s %6$s において実行中</string>
- <string name="built_by">%s によりビルド</string>
- <string name="debug_build">デバッグ ビルド</string>
- <string name="official_build">正式ビルド</string>
- <string name="make_selection_inline">プロファイルにコピー</string>
- <string name="crashdump">クラッシュ ダンプ</string>
- <string name="add">追加</string>
- <string name="send_config">構成ファイルを送信</string>
- <string name="complete_dn">完全な識別名(DN)</string>
- <string name="remotetlsnote">あなたがインポートした設定は異なるDNフォーマットを使用した非推奨のtls-remoteオプションを使用しています。</string>
- <string name="rdn">相対識別名(RDN/共通名)</string>
- <string name="rdn_prefix">相対識別名(RDN)プリフィクス</string>
- <string name="tls_remote_deprecated"> tls-remote (非推奨)</string>
- <string name="help_translate">翻訳作業を手伝っていただける方は次のURLへ http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s は %2$s を制御しようとしています。</string>
- <string name="remote_warning">このまま進むと、あなたはOpenVPN for Androidの完全な制御とすべての通信を傍受する権限をアプリケーションに対し与えることになります。<b>アプリケーションが信頼できない限り、承諾しないでください。</b>さもないと、あなたのデータがマルウェアにより漏洩させられる危険があります。</string>
- <string name="remote_trust">私はこのアプリケーションを信頼します</string>
- <string name="no_external_app_allowed">外部APIの使用を許可されたアプリはありません</string>
- <string name="allowed_apps">許可アプリ: %s</string>
- <string name="clearappsdialog">許可アプリの一覧をクリアしますか?\n現在の許可アプリ一覧:\n\n%s</string>
- <string name="screenoff_summary">スクリーンがオフかつ60秒で64kB以下のデータ転送量の場合、VPN通信を中断します。「永続的なTUN」設定が有効な場合、VPN接続が中断されると通信ができなくなります。「永続的なTUN」を無効にすると、VPNによる接続保護は行われなくなります。</string>
- <string name="screenoff_title">画面オフ後にVPN接続を中断</string>
- <string name="screen_nopersistenttun">警告: このVPN接続には永続的なTUNが設定されていません。スクリーンオフ後の通信は通常のインターネット接続を使用します。</string>
- <string name="save_password">パスワードを保存</string>
- <string name="pauseVPN">VPN一時停止</string>
- <string name="resumevpn">VPN再開</string>
- <string name="state_userpause">ユーザによってVPN一時停止が要求されました</string>
- <string name="state_screenoff">VPN一時停止中 - screenオフ</string>
- <string name="device_specific">デバイス固有のhacks</string>
- <string name="cannotparsecert">証明書の情報が表示できません。</string>
- <string name="appbehaviour">アプリケーションの挙動</string>
- <string name="vpnbehaviour">VPN の挙動</string>
- <string name="allow_vpn_changes">VPNプロファイルの変更を許可する</string>
- <string name="hwkeychain">ハードウェアのキーストア:</string>
- <string name="permission_icon_app">OpenVPN for Androidを使用しようと試みるアプリのアイコン</string>
- <string name="faq_vpndialog43_title">Android 4.3以降用VPN確認ダイアログ</string>
- <string name="donatePlayStore">ほかの手段として、Play Storeで私に寄付できます。</string>
- <string name="thanks_for_donation">%s の寄付をお寄せいただきありがとうございます!</string>
- <string name="logCleared">ログがクリアされました。</string>
- <string name="show_password">パスワードを表示する</string>
- <string name="keyChainAccessError">キーチェーン アクセス エラー: %s</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">タイムスタンプ</string>
- <string name="timestamps_none">なし</string>
- <string name="uploaded_data">アップロード</string>
- <string name="downloaded_data">ダウンロード</string>
- <string name="vpn_status">VPNの状態</string>
- <string name="logview_options">オプションを表示</string>
- <string name="unhandled_exception">未処理の例外: %1$s\n\n%2$s</string>
- <string name="unhandled_exception_context">%3$s: %1$s\n\n%2$s</string>
- <string name="faq_system_dialog_xposed">もしあなたがデバイスをroot化しているのであれば、 &lt;a href=\"http://xposed.info/\"&gt;Xposed framework&lt;/a&gt;と&lt;a href=\"http://repo.xposed.info/module/de.blinkt.vpndialogxposed\"&gt;VPN Dialog confirm module&lt;/a&gt; を自己責任においてインストールできます</string>
- <string name="full_licenses">完全なライセンス告知</string>
- <string name="blocklocal_summary">ローカルインターフェイスに直接接続されているネットワークはVPNを経由しません。
-このオプションを外すとローカルネットワーク宛のすべての通信をVPNにリダイレクトします。</string>
- <string name="blocklocal_title">ローカルはVPNを経由しない</string>
- <string name="userpw_file">ユーザー名/パスワードファイル</string>
- <string name="imported_from_file">[インポート元: %s]</string>
- <string name="files_missing_hint">いくつかのファイルが見つかりませんでした。プロファイルをインポートするファイルを選択してください:</string>
- <string name="openvpn_is_no_free_vpn">このアプリを使用するには、(多くの場合、あなたの雇用者によって提供される)OpenVPNをサポートするVPNプロバイダ/ VPNゲートウェイが必要です。あなた独自のOpenVPNサーバーをセットアップするためにはhttp://community.openvpn.net/ をチェックしてください。</string>
- <string name="import_log">インポートログ:</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-ko/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-ko/strings.xml
deleted file mode 100755
index 82a83236..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-ko/strings.xml
+++ /dev/null
@@ -1,312 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">안드로이드용 OpenVPN</string>
- <string name="address">서버 주소:</string>
- <string name="port">서버 포트:</string>
- <string name="location">위치</string>
- <string name="cant_read_folder">폴더를 읽을 수 없습니다</string>
- <string name="select">선택</string>
- <string name="cancel">취소</string>
- <string name="no_data">데이터 없음</string>
- <string name="useLZO">LZO 압축</string>
- <string name="client_no_certificate">인증서 없음</string>
- <string name="client_certificate_title">클라이언트 인증서</string>
- <string name="client_key_title">클라이언트 인증서 키</string>
- <string name="client_pkcs12_title">PKCS12 파일</string>
- <string name="ca_title">CA 인증서</string>
- <string name="no_certificate">인증서를 선택 해야 합니다</string>
- <string name="copyright_guicode">소스 코드와 문제 추적기는 http://code.google.com/p/ics-openvpn/에서 사용할 수 있습니다</string>
- <string name="copyright_others">프로그램은 다음 구성 요소를 사용합니다. 라이선스에 대 한 자세한 내용은 소스를 참조 하십시오</string>
- <string name="about">소개</string>
- <string name="vpn_list_title">프로파일</string>
- <string name="vpn_type">유형</string>
- <string name="pkcs12pwquery">PKCS12 암호</string>
- <string name="file_select">선택&#8230;</string>
- <string name="file_nothing_selected">파일을 선택 해야 합니다</string>
- <string name="useTLSAuth">TLS 인증 사용</string>
- <string name="tls_direction">TLS 방향</string>
- <string name="ipv6_dialog_tile">CIDR 형식의 IPv6 주소/넷마스크를 입력 (예: 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">CIDR 형식의 IPv4 주소/넷마스크를 입력 (예: 1.2.3.4/24)</string>
- <string name="ipv4_address">IPv4 주소</string>
- <string name="ipv6_address">IPv6 주소</string>
- <string name="custom_option_warning">사용자 정의 OpenVPN 옵션을 입력하세요. 매우 조심하세요. 또한 많은 tun과 연관된 OpenVPN 설정은 VPN 설정의 설계로 인하여 지원 되지 않습니다. 중요한 옵션이 누락됐다고 생각되면 저자에게 연락하십시오</string>
- <string name="auth_username">계정</string>
- <string name="auth_pwquery">암호</string>
- <string name="static_keys_info">고정설정에는 TLS인증 키가 고정키로 사용됩니다</string>
- <string name="configure_the_vpn">VPN 설정</string>
- <string name="menu_add_profile">프로파일 추가</string>
- <string name="add_profile_name_prompt">새 프로 파일을 식별 하는 이름을 입력 하십시오</string>
- <string name="duplicate_profile_name">고유 프로필 이름을 입력 하십시오</string>
- <string name="profilename">프로 파일 이름</string>
- <string name="no_keystore_cert_selected">사용자 인증서를 선택 해야 합니다</string>
- <string name="no_error_found">오류 없음</string>
- <string name="config_error_found">설정 오류</string>
- <string name="ipv4_format_error">IPv4 주소 구문 분석 오류</string>
- <string name="custom_route_format_error">사용자 지정 경로 구문 분석 오류</string>
- <string name="pw_query_hint">(비워두면 요청시 쿼리됨)</string>
- <string name="vpn_shortcut">OpenVPN 바로 가기</string>
- <string name="vpn_launch_title">VPN에 연결 하기</string>
- <string name="shortcut_profile_notfound">바로 가기에 지정 된 프로파일을 찾을 수 없습니다.</string>
- <string name="random_host_prefix">임의의 호스트 접두사</string>
- <string name="random_host_summary">6개 임의의 문자를 호스트 이름 앞에 추가</string>
- <string name="custom_config_title">사용자 지정 옵션을 사용 하도록 설정</string>
- <string name="custom_config_summary">사용자 지정 옵션을 입력하세요. 주의해서 사용!</string>
- <string name="route_rejected">안드로이드에 의해 거부된 라우트</string>
- <string name="cancel_connection">연결 끊기</string>
- <string name="cancel_connection_long">VPN 연결 끊기</string>
- <string name="clear_log">로그 지우기</string>
- <string name="title_cancel">취소 확인</string>
- <string name="cancel_connection_query">연결된 VPN 끊기/연결시도 취소?</string>
- <string name="remove_vpn">VPN 제거</string>
- <string name="check_remote_tlscert">서버가 TLS 서버 확장을 포함한 인증서를 사용하는지 여부 확인 (--remote-cert-tls server)</string>
- <string name="check_remote_tlscert_title">TLS 서버 인증서 바람</string>
- <string name="remote_tlscn_check_summary">원격 서버 인증서 대상(Subject) DN을 확인</string>
- <string name="remote_tlscn_check_title">인증서 호스트명 확인</string>
- <string name="enter_tlscn_dialog">원격 인증서 DN을 확인 하는데 사용하는 검사를 지정 (예: C=DE, L=Paderborn, OU=Avian IP Carriers, CN=openvpn.blinkt.de)\n\n확인을 위해 완전한 DN이나 RDN (예 openvpn.blinkt.de) 또는 RDN 접두사를 지정.\n\nRDN 접두사 \"서버\"를 사용하면 \"서버-1\" 및 \"서버 2\"와 일치합니다\n\n텍스트 필드를 빈 상태로 두면 RDN은 서버의 호스트명과 비교됩니다\n\n더 자세한 내용은 OpenVPN 2.3.1+ 맨페이지에서 —verify-x509-name 아래를 참조</string>
- <string name="enter_tlscn_title">원격 인증서 제목</string>
- <string name="tls_key_auth">TLS Key 인증 활성화</string>
- <string name="tls_auth_file">TLS 인증 파일</string>
- <string name="pull_on_summary">서버로부터 IP 주소, 라우트와 타이밍 옵션을 요구합니다.</string>
- <string name="pull_off_summary">서버로부터 정보를 요구하지 않습니다. 설정은 아래에 지정되야 합니다.</string>
- <string name="use_pull">설정 받기</string>
- <string name="dns">DNS</string>
- <string name="override_dns">서버에서 DNS 설정을 재정의합니다</string>
- <string name="dns_override_summary">지정한 DNS서버 사용하기</string>
- <string name="searchdomain">searchDomain</string>
- <string name="dns1_summary">사용할 DNS 서버.</string>
- <string name="dns_server">DNS 서버</string>
- <string name="secondary_dns_message">보조 DNS 서버는 평소 DNS 서버에 접근불가시 사용됩니다.</string>
- <string name="backup_dns">보조 DNS 서버</string>
- <string name="ignored_pushed_routes">받은 라우트 무시하기</string>
- <string name="ignore_routes_summary">서버로부터 받은 라우트를 무시합니다.</string>
- <string name="default_route_summary">VPN을 통해 모든 트래픽을 보냅니다.</string>
- <string name="use_default_title">기본 라우트 사용하기</string>
- <string name="custom_route_message">사용자 지정 라우트를 입력하십시오. 목적지는 CIDR 형식으로만 입력하십시오. \"10.0.0.0/8 2002::/16\"은 10.0.0.0/8 과 2002::/16 네트워크를 VPN으로 보냅니다.</string>
- <string name="custom_routes_title">사용자 지정 라우트</string>
- <string name="log_verbosity_level">로그의 자세한 정도</string>
- <string name="float_summary">인증된 패킷은 IP와 상관없이 허용</string>
- <string name="float_title">플로팅 서버 허용</string>
- <string name="custom_options_title">사용자 지정 옵션</string>
- <string name="edit_vpn">VPN 설정 편집</string>
- <string name="remove_vpn_query">VPN 프로 파일 \'%s\' 제거?</string>
- <string name="tun_error_helpful">일부 사용자 지정 ICS 이미지에서는 /dev/tun에 대한 권한이 잘못 되어 있거나 tun 모듈 자체가 누락 될 수 있습니다. CM9 이미지는 일반 설정에 있는 소유권 고치기 옵션을 사용해 보십시오.</string>
- <string name="tun_open_error">Tun 인터페이스를 열지 못했습니다</string>
- <string name="error">"오류:"</string>
- <string name="clear">지우기</string>
- <string name="last_openvpn_tun_config">TUN 인터페이스 열기:</string>
- <string name="local_ip_info">로컬 IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">DNS 서버: %1$s, 도메인: %2$s</string>
- <string name="ip_not_cidr">인터페이스 정보 %1$s와 %2$s에 있어, 두 번째 주소를 원격 피어 주소로 가정 하겠습니다. 로컬 IP의 넷마스크로는 /32를 사용하겠습니다. OpenVPN에 의해 주어진 모드는 \"%3$s\" 입니다.</string>
- <string name="route_not_cidr">CIDR 넷마스크가 있는 IP 라우트 %1$s 와 %2$s 에 있어서 처리가 불가능합니다. /32를 넷마스크로 사용하겠습니다.</string>
- <string name="route_not_netip">%1$s/%2$s 에서 %3$s/%2$s로 라우트 수정</string>
- <string name="keychain_access">안드로이드 키체인 인증서에 접근할 수 없습니다. 펌웨어 업그래이드 또는 백업된 앱/앱 설정을 복구하면서 발생할 수 있습니다. 인증서에 액세스할 수 있는 권한을 다시 생성하기 위해 VPN을 편집 하고 기본 설정 아래에서 인증서를 다시 선택 하십시오.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">로그 파일 보내기</string>
- <string name="send">보내기</string>
- <string name="ics_openvpn_log_file">ICS OpenVPN 로그 파일</string>
- <string name="copied_entry">클립보드로 로그 복사</string>
- <string name="tap_mode">Tap 모드</string>
- <string name="faq_tap_mode">Tap 모드는 루트가 아닌 VPN API에서는 불가능합니다. 따라서 본앱은 tap지원을 제공할 수 없습니다</string>
- <string name="tap_faq2">또? 농담인가요? 아니요 정말로 tap 모드는 지원이 불가능합니다. 계속해서 메일을 보내면서 요구하신다고 도움될 일이 아닙니다.</string>
- <string name="tap_faq3">3번째로? 누군가가 송신때 레이어2 정보를 추가하고 수신때 레이어2정보를 때내는 tun을 이용한 tap 에뮬레이터를 제작할 수 있습니다. 하지만 이것만이 아닌 ARP 그리고 어쩌면 DHCP 클라이언트 까지도 구현해야합니다. 본인은 이 같은 작업을 하는 분을 알고있지 않습니다. 코딩을 시작하려고 하시는 분이 계시면 제게 연락주십시오.</string>
- <string name="faq">자주 묻는 질문</string>
- <string name="copying_log_entries">로그 항목을 복사</string>
- <string name="faq_copying">단일 로그 항목을 복사 하려면 로그 항목을 누르고 계세요. 전체 로그를 복사/전송 하려면 로그 보내기 옵션을 사용하십시오. GUI에 표시 되지 않는 경우 하드웨어 메뉴 버튼를 사용하세요.</string>
- <string name="faq_shortcut">시작으로 바로 가기</string>
- <string name="faq_howto_shortcut">바탕 화면에 OpenVPN 시작 바로 가기를 배치할 수 있습니다. 당신의 homescreen 프로그램에 따라 바로 가기 또는 위젯 추가를 해야 합니다.</string>
- <string name="no_vpn_support_image">당신의 이미지는 VPNService API를 지원 하지 않습니다, 죄송 합니다:(</string>
- <string name="encryption">암호화</string>
- <string name="cipher_dialog_title">입력 암호화 방법</string>
- <string name="chipher_dialog_message">OpenVPN이 사용할 암호화 암호 알고리즘을 입력 합니다. 기본 암호를 사용하려면 빈 공간으로 두십시오.</string>
- <string name="auth_dialog_message">OpenVPN이 사용할 인증 다이제스트를 입력 합니다. 기본 다이제스트를 사용하려면 빈 공간으로 두십시오.</string>
- <string name="settings_auth">인증/암호화</string>
- <string name="file_explorer_tab">파일 탐색기</string>
- <string name="inline_file_tab">인라인 파일</string>
- <string name="error_importing_file">파일 가져오기 오류</string>
- <string name="import_error_message">파일 시스템에서 파일을 가져올 수 없습니다.</string>
- <string name="inline_file_data">[[인라인 파일 데이터]]</string>
- <string name="opentun_no_ipaddr">IP 정보가 없는 tun 장치 열기를 거부합니다</string>
- <string name="menu_import">Ovpn 파일에서 프로파일 가져오기</string>
- <string name="menu_import_short">가져오기</string>
- <string name="import_content_resolve_error">가져올 프로 파일을 읽을 수 없습니다.</string>
- <string name="error_reading_config_file">설정 파일 읽기 오류</string>
- <string name="add_profile">프로파일 추가</string>
- <string name="import_could_not_open">가져온된 설정 파일에 언급 된 파일 %1$s를 찾을 수 없습니다.</string>
- <string name="importing_config">원본 %1$s에서 설정 파일 가져오기</string>
- <string name="import_warning_custom_options">구성은 UI 구성으로 매핑되지 않는 몇 가지 구성 옵션을 가지고 있습니다. 이 옵션은 사용자 정의 구성 옵션으로 추가되었습니다. 사용자 정의 구성은 아래에 표시됩니다 :</string>
- <string name="import_done">설정 파일 읽기 완료.</string>
- <string name="nobind_summary">로컬 주소와 포트로 바인드 안하기</string>
- <string name="no_bind">로컬 바인딩 안함</string>
- <string name="import_configuration_file">구성 파일 가져오기</string>
- <string name="faq_security_title">보안 고려 사항</string>
- <string name="faq_security">"OpenVPN은 보안에 민감하기 때문에 보안에 관련된 부분을 알고가는것이 현명합니다. SD카드의 있는 데이터는 기본적으로 보안이 취약합니다. 모든 앱이 읽을 수 있기 때문입니다 (예로 이 프로그램 또한 SD카드의 읽기 권한이 필요없습니다). 본앱의 데이터는 본앱만이 읽을 수 있습니다. cacert/cert/key를 파일 탐색기의 가져오기 옵션을 사용하면 데이터는 VPN 프로파일 내에 저장됩니다. VPN 프로파일은 본앱만이 접근할 수 있습니다. (잊지말고 SD카드에 있는 것을 삭제하세요). 접근은 본앱만이 가능하더라도 데이터는 암호화가 되어있지 않습니다. 루팅을 비롯한 다른 방법을 악용하여 데이터를 빼낼 수 있습니다. 암호 또한 일반 텍스트로 저장되어 있습니다. pkcs12 파일은 안드로이드 keystore에 보관할것을 강력하게 추천합니다."</string>
- <string name="import_vpn">가져오기</string>
- <string name="broken_image_cert_title">인증서 선택 표시 오류</string>
- <string name="broken_image_cert">안드로이드 4.0+의 인증서 선택창을 보여주려는 과정에서 예외가 발생됐습니다. 안드로이드 4.0+의 표준 기능임으로 이 같은 일은 일어나면 안됩니다. 어쩌면 인증서 저장소에 대한 귀하의 안드로이드 ROM 지원이 깨졌습니다.</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">상태 메시지를 기다리는 중&#8230;</string>
- <string name="converted_profile">가져온 프로파일</string>
- <string name="converted_profile_i">가져온 프로파일 %d</string>
- <string name="broken_images">깨진 이미지</string>
- <string name="broken_images_faq">&lt;p&gt;공식 HTC 이미지에서는 이상한 라우팅 문제로 트래픽이 터널로 통과 하지 않는 경우가 있는것으로 알려져 있습니다 (참고 &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\"&gt;Issue 18&lt;/a&gt; 버그 추적기.)&lt;/p&gt;&lt;p&gt;Xperia arc S 와 Xperia Ray의 공식 SONY 이미지에서는 VPNService 자체가 완전히 없어진 것으로 보고 되었습니다. (참조 &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\"&gt;Issue 29&lt;/a&gt; 버그추적기.)&lt;/p&gt;&lt;p&gt;일부 사용자를 위해 만들어진 이미지에서는 tun 모듈자체가 없거나 /dev/tun의 권한이 틀려있기도 합니다. 일부 CM9 이미지는 \"Device specific hacks\" 아래에 있는 \"Fix ownership\" 옵션을 사용해야 합니다.&lt;/p&gt;&lt;p&gt;가장 중요한 부분: 만약 깨진 이미지를 사용하는 경우라면 해당 공급업체에 보고해야 합니다. 업체에 문제를 보고하는 사람들이 많아야 수정될 가능성도 높아집니다..&lt;/p&gt;</string>
- <string name="pkcs12_file_encryption_key">PKCS12 파일 암호화 키</string>
- <string name="private_key_password">개인 키 암호</string>
- <string name="password">암호</string>
- <string name="file_icon">파일 아이콘</string>
- <string name="tls_authentication">TLS 인증</string>
- <string name="generated_config">생성 된 설정</string>
- <string name="generalsettings">설정</string>
- <string name="owner_fix_summary">/dev/tun의 소유권을 시스템으로 설정 하려고 합니다. 일부 CM9 이미지에서 VPNService API를 사용하기 위해서는 앞의 작업이 요구됩니다. root권한을 가져야합니다.</string>
- <string name="owner_fix">/dev/tun 소유권 문제 해결</string>
- <string name="generated_config_summary">생성된 OpenVPN의 설정 파일 보기</string>
- <string name="edit_profile_title">수정 \"%s\"</string>
- <string name="building_configration">설정 만드는중&#8230;</string>
- <string name="netchange_summary">이 기능을 사용하면 네트워크 상태 변환시 강제로 재접속을 합니다 (예. WIFI 로/에서 모바일)</string>
- <string name="netchange">네트워크 변화시 재접속</string>
- <string name="netstatus">네트워크 상태: %s</string>
- <string name="extracahint">CA 인증서는 일반적으로 안드로이드 Keystore에 있는것을 사용합니다. 인증서 오류 발생시 벌도의 인증서를 지정하세요.</string>
- <string name="select_file">선택</string>
- <string name="keychain_nocacert">안드로이드 keystore에서 CA 인증서를 찾지 못했습니다. Auhtentication은 실패할 것 입니다.</string>
- <string name="show_log_summary">연결시 로그 윈도우를 보여드립니다. 로그 윈도우는 항상 notification status에서 접근이 가능합니다.</string>
- <string name="show_log_window">로그 윈도우 보기</string>
- <string name="mobile_info">%1$s (%2$s) %3$s, 안드로이드 API %4$d 에서 실행</string>
- <string name="error_rsa_sign">안드로이드 keystore 키 %1$s: %2$s과 싸이닝 오류</string>
- <string name="faq_system_dialogs">시스템에서는 VPN연결 경고를 통해 당신에게 본앱이 모든 트래픽을 가로챌수있다는 점을 알리게 되어 있는데 이는 VPNService API가 남용하는것을 막기 위함입니다.\nVPN 연결 알림 (키 아이콘) 또한 안드로이드 시스템에서 부과하는 부분이며 이는 VPN연결을 알리는 신호입니다. 어떤 버전에서는 소리를 알림으로 사용하는 경우도 있습니다.\n안드로이드는 이같은 방법을 당신의 안전을 위해 도입하였으며 사용은 필수적입니다. (어떤 버전에서는 유감스럽게도 소리 알림 또한 포함됩니다.)</string>
- <string name="faq_system_dialogs_title">연결 경고 및 알림 소리</string>
- <string name="translationby">한국어 번역 (주)기가드 안규태&lt;ktdann@gmail.com></string>
- <string name="ipdns">IP 와 DNS</string>
- <string name="basic">기본</string>
- <string name="routing">라우팅</string>
- <string name="obscure">모호한 OpenVPN 설정. 일반적으로 필요하지 않습니다.</string>
- <string name="advanced">고급</string>
- <string name="export_config_title">ICS Openvpn 설정</string>
- <string name="warn_no_dns">DNS 서버가 미사용중입니다. 이름 변환이 작동 않을 수 있습니다. 사용자 지정 DNS 서버를 설정 하십시오. 또한 안드로이드는 DNS서버가 없는 경우 모바일/Wi-Fi 연결에 저정된 프록시 설정을 계속해서 사용한다는 점을 유의하시기 바랍니다.</string>
- <string name="dns_add_error">DNS서버 \"%1$s\" 는, 시스템에 의해 거부되 추가할 수 없습니다: %2$s</string>
- <string name="ip_add_error">%2$s: 시스템에 의해 거부되어 IP 주소 \"%1$s\"를 설정하지 못하였습니다</string>
- <string name="faq_howto">&lt;p&gt;문제없는 설정을 확보하세요 (당신의 컴퓨터에서 테스트 된것 또는 공급자/조직에서 다운받은)&lt;/p&gt;&lt;p&gt;이것이 단일 파일이며 추가 pem/pks12 파일이 없는 경우면 본인에게 이메일로 보내어 첨부파일을 열면 됩니다. 여러 파일인 경우 당신의 sd card에 넣으세요.&lt;/p&gt;&lt;p&gt;이메일 첨부파일을 클릭하세요/vpn목록에 있는 폴더 아이콘을 사용하여 설정 파일을 가져옵니다.&lt;/p&gt;&lt;p&gt;파일 누락 오류 발생시 누락된 파일을 sd card에 복사하세요.&lt;/p&gt;&lt;p&gt;저장 기호를 클릭하여 VPN 목록에 가져온 VPN을 추가 하세요.&lt;/p&gt;&lt;p&gt;VPN 이름을 클릭하여 VPN을 연결하세요.&lt;/p&gt;&lt;p&gt;오류 또는 경고가 로그에 있는 경우 오류/경고를 이해하여 이들을 해결하십시오.&lt;/p&gt; </string>
- <string name="faq_howto_title">빠른 시작</string>
- <string name="setting_loadtun_summary">연결을 시도 하기 전에 tun.ko 커널 모듈을 로드하세요. 루팅된 장치야만 합니다.</string>
- <string name="setting_loadtun">tun 모듈 로드하기</string>
- <string name="importpkcs12fromconfig">설정에 있는 PKCS12를 안드로이드 keystore로 가져오기</string>
- <string name="getproxy_error">프록시 설정 가져오기 오류: %s</string>
- <string name="using_proxy">프록시 %1$s %2$d 을 사용</string>
- <string name="use_system_proxy">시스템 프록시를 사용</string>
- <string name="use_system_proxy_summary">연결시 전 시스템 설정에 있는 HTTP/HTTPS 프록시를 사용합니다.</string>
- <string name="donatewithpaypal">당신은 &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;PayPal을 사용하여 기부할 수 있습니다.&lt;/a&gt; </string>
- <string name="onbootrestartsummary">OpenVPN은 시스템 재부팅/종료에 활성화 되었으면 VPN을 다시 연결합니다. 이 옵션을 사용 하기 전에 연결 경고 FAQ를 읽어 보시기 바랍니다.</string>
- <string name="onbootrestart">재부팅시 다시 연결</string>
- <string name="ignore">무시</string>
- <string name="restart">다시 시작</string>
- <string name="restart_vpn_after_change">VPN을 다시 시작한 후 설정 변경 내용이 적용 됩니다. VPN을 지금 (재)시작?</string>
- <string name="configuration_changed">설정 변경</string>
- <string name="log_no_last_vpn">편집을 위해 마지막으로 연결 된 프로파일을 확인할 수 없습니다.</string>
- <string name="faq_duplicate_notification_title">중복 알림</string>
- <string name="faq_duplicate_notification">안드로이드는 시스템의 메모리 (RAM) 가 부족한 경우, 현재 필요하지 않는 앱들과 서비스들을 활성화 메모리에서 삭제합니다. 이 과정에서 진행중인 VPN 연결이 끊어 집니다. 이렇게 되지 않기 위해서 OpenVPN 서비스는 우선순위가 높게 되어 실행됩니다. 높은 우선 순위로 실행되기 위해서는 응용프로그램에서 이를 알림으로 표시해야 합니다. 키 알림 아이콘은 이전 FAQ에서 설명된 대로 시스템에서 강요하기 때문입니다. 이것은 우선 순위가 높이 실행된다는 알림에 대한 알림이 아닙니다.</string>
- <string name="no_vpn_profiles_defined">VPN 프로파일이 정의 않됐습니다.</string>
- <string name="add_new_vpn_hint">이 &lt;img src=\"ic_menu_add\"/&gt; 아이콘을 사용하여 VPN을 추가 하세요</string>
- <string name="vpn_import_hint">이 &lt;img src=\"ic_menu_archive\"/&gt; 아이콘을 사용하여 귀하의 sdcard에서 기존 (.ovpn 또는 .conf) 프로파일을 가져오세요.</string>
- <string name="faq_hint">꼭 FAQ를 확인 하세요. 빠른 시작 가이드가 있습니다.</string>
- <string name="faq_routing_title">라우팅/인터페이스 설정</string>
- <string name="persisttun_summary">OpenVPN을 다시 연결 하는 경우 VPN 연결 없음으로 표기하지 마십시오.</string>
- <string name="persistent_tun_title">tun 유지</string>
- <string name="openvpn_log">OpenVPN 로그</string>
- <string name="import_config">OpenVPN 설정 가져오기</string>
- <string name="battery_consumption_title">배터리 소모</string>
- <string name="baterry_consumption">제 개인적인 테스트에서 Openvpn의 높은 배터리 소비에 대한 주요 이유는 keepalive 패킷 때문이었습니다. 대부분의 OpenVPN 서버 설정에는 \'keepalive 10 60\' 와 같은 문구가 있는데 이는 클라이언트에서 서버로 서버에서 클라이언트로 keepalive 패킷을 10 초 마다 보냅니다. &lt;p&gt; 이러한 패킷은 작고 많은 트래픽을 사용 하지 않습니다만 이들은 모바일 라디오 네트워크를 계속 유지하게 만들게되고 따라서 에너지 소비를 증가 합니다. (참조 &lt;a href=\"http://developer.android.com/training/efficient-downloads/efficient-network-access.html#RadioStateMachine\"&gt;The Radio State Machine | Android Developers&lt;/a&gt;) &lt;p&gt; 이 keepalive 설정을 클라이언트에서 변경할 수 없습니다. OpenVPN의 시스템 관리자만 설정을 변경할 수 있습니다. &lt;p&gt; 불행히도 udp를 사용할때 keepalive값을 60초 이상으로 하면 일부의 NAT 게이트웨이에서는 비활성 타임아웃 때문에 연결을 끊어버리게 됩니다. TCP와 긴 keepalive 만료기간을 함께 사용할 수는 있지만 패킷 손실이 높은 연결구간에서는 TCP over TCP의 성능이 매우 저조합니다. (참조 &lt;a href=\"http://sites.inka.de/bigred/devel/tcp-tcp.html\"&gt;왜 TCP를 통한 TCP는 안좋은 방법인지&lt;/a&gt;)</string>
- <string name="faq_tethering">안드로이드 테더링 기능 (WiFi, USB 또는 블루투스를 통한)과 VPNService API (이 프로그램에서 사용됨)는 함께 작동 하지 않습니다. 자세한 내용은 &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\"&gt;issue #34&lt;/a&gt; 를 참조 하십시오</string>
- <string name="vpn_tethering_title">VPN과 테더링</string>
- <string name="connection_retries">다시 연결</string>
- <string name="reconnection_settings">다시 연결 설정</string>
- <string name="connectretrymessage">연결 시도 사이의 기다리는 초단위 주기 입니다.</string>
- <string name="connectretrywait">연결과 연결 사이의 초단위 기간</string>
- <string name="minidump_generated">OpenVPN이 예기치 않게 종료됐습니다. 메인 메뉴에 있는 미니 덤프 보내기 옵션의 사용을 고려 하시기 바랍니다</string>
- <string name="send_minidump">미니 덤프를 개발자에게 보내기</string>
- <string name="send_minidump_summary">개발자에게 마지막 비정상종료에 대한 디버깅 정보를 보냅니다</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">연결중</string>
- <string name="state_wait">서버 응답 대기중</string>
- <string name="state_auth">인증중</string>
- <string name="state_get_config">클라이언트 구성 가져오는중</string>
- <string name="state_assign_ip">IP 주소 할당중</string>
- <string name="state_add_routes">노선 추가중</string>
- <string name="state_connected">연결됨</string>
- <string name="state_disconnected">연결 끊기</string>
- <string name="state_reconnecting">재연결중</string>
- <string name="state_exiting">종료중</string>
- <string name="state_noprocess">실행안됨</string>
- <string name="state_resolve">호스트명 찾는중</string>
- <string name="state_tcp_connect">연결중 (TCP)</string>
- <string name="state_auth_failed">인증 실패</string>
- <string name="state_nonetwork">사용 가능한 네트워크 대기중</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">연결 되지 않음</string>
- <string name="start_vpn_title">VPN %s 연결중</string>
- <string name="start_vpn_ticker">VPN %s 연결중</string>
- <string name="jelly_keystore_alphanumeric_bug">일부 버전의 안드로이드 4.1에서는 키 인증서의 이름에 비 영숫자 문자(공백, 밑줄 또는 대시)가 포함 된 경우 문제가 있습니다. 특수 문자 없는 인증서를 다시 가져와 시도해보세요</string>
- <string name="encryption_cipher">암호화 암호</string>
- <string name="packet_auth">패킷 인증</string>
- <string name="auth_dialog_title">패킷 인증 방법을 입력한다</string>
- <string name="mobile_info_extended">%1$s (%2$s) %3$s, 안드로이드 API %4$d, 버전 %5$s, %6$s에서 실행</string>
- <string name="built_by">개발자 %s</string>
- <string name="debug_build">디버그 빌드</string>
- <string name="official_build">공식 빌드</string>
- <string name="make_selection_inline">프로파일에 복사</string>
- <string name="crashdump">크래시 덤프</string>
- <string name="add">추가</string>
- <string name="send_config">설정 파일 보내기</string>
- <string name="complete_dn">완전한 DN</string>
- <string name="remotetlsnote">가져온 구성에는 다른 DN 형식을 사용하는 오래된 tls-remote옵션이 있는데 이는 더이상 지원되지 않습니다.</string>
- <string name="rdn">RDN (common 이름)</string>
- <string name="rdn_prefix">RDN 접두사</string>
- <string name="tls_remote_deprecated">tls-remote (지원 되지 않음)</string>
- <string name="help_translate">http://crowdin.net/project/ics-openvpn/invite를 방문 하여 번역을 도울 수 있습니다</string>
- <string name="prompt">%1$s 이(가) %2$s 을(를) 제어하려고 시도</string>
- <string name="remote_warning">다음 진행으로, 당신은 OpenVPN for Android 응용프로그램에게 완벽한 제어권과 모든 네트워크 트래픽을 가로챌 수 있는 권한을 허락합니다. <b>앱을 신뢰하지 않는다면 허락하지 마십시오.</b> 그렇지 않으면, 당신은 당신의 데이터를 악성 소프트웨어에게 빼앗길 수 있습니다.\"</string>
- <string name="remote_trust">나는 이 프로그램을 신뢰합니다.</string>
- <string name="no_external_app_allowed">어떤 응용 프로그램도 외부 API를 사용할 수 없습니다</string>
- <string name="allowed_apps">허용된 앱: %s</string>
- <string name="clearappsdialog">허용된 외부 앱의 목록을 삭제하겠습니까?\n현재 허용된 외부 앱:\n\n%s</string>
- <string name="screenoff_summary">\"화면이 꺼져있을때 60초동안 64kB 미만의 데이터가 전송되면 VPN 일시정지. \"Persistent Tun\" 옵션이 활성화되어 있으면 VPN 일시 정지시 당신의 장비는 네트워크가 끊어 집니다. \"Persistent Tun\" 옵션이 없는 경우 장비는 VPN 연결/보호를 잃습니다. </string>
- <string name="screenoff_title">화면 꺼짐 후 VPN 연결 일시 정지</string>
- <string name="screenoff_pause">화면이 꺼진 상태에서 일시 중지: %2$ss에서 %1$s 미만</string>
- <string name="screen_nopersistenttun">경고: 이 VPN은 persistent tun이 비활성화 되어있습니다. 화면이 꺼졌을 때 트래픽은 터널을 사용하지 않고 인터넷을 바로 사용합니다.</string>
- <string name="save_password">암호 저장</string>
- <string name="pauseVPN">VPN 일시중지</string>
- <string name="state_userpause">VPN 일시 정지 사용자의 요청</string>
- <string name="state_screenoff">VPN 일시정지됨 - 화면 끄기</string>
- <string name="device_specific">장치 관련 Hacks</string>
- <string name="cannotparsecert">인증서 정보를 표시 할 수 없습니다</string>
- <string name="appbehaviour">응용 프로그램 동작</string>
- <string name="vpnbehaviour">VPN 동작</string>
- <string name="allow_vpn_changes">VPN 프로필에 대한 변경을 허용</string>
- <string name="hwkeychain">하드웨어 키 스토어:</string>
- <string name="permission_icon_app">응용 프로그램의 아이콘이 OpenVPN for Android를 사용 하려고함</string>
- <string name="faq_vpndialog43">"안드로이드 4.3부터는 VPN 확인이 \"overlaying apps\"로 부터 보호 받게 됩니다. 따라서 입력창이 터치 입력에 반응하지 않을 수 있습니다. 사용하는 앱중에서 overlay를 사용하는 경우 이러한 문제가 발생될수있습니다. 문제의 앱을 제작한 프로그램어를 연락하십시오. 이 문제는 안드로이드 4.3과 이상의 버전에서 모든 VPN 응용 프로그램에 영향을 줍니다. &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=185\"&gt;Issue 185&lt;a&gt; 참조"</string>
- <string name="faq_vpndialog43_title">안드로이드 4.3과 이후 버전에서의 VPN 확인 창</string>
- <string name="donatePlayStore">또는 당신은 플레이 스토어와 나에게 기부금을 보낼 수 있습니다:</string>
- <string name="thanks_for_donation">%s 님! 기부 감사합니다</string>
- <string name="logCleared">로그가 삭제되었습니다.</string>
- <string name="show_password">비밀 번호 표시</string>
- <string name="keyChainAccessError">키체인 접근 오류: %s</string>
- <string name="timestamp_short">짧은</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">타임 스탬프</string>
- <string name="timestamps_none">없음</string>
- <string name="uploaded_data">업로드</string>
- <string name="downloaded_data">다운로드</string>
- <string name="vpn_status">Vpn 상태</string>
- <string name="logview_options">옵션 보기</string>
- <string name="unhandled_exception">처리 되지 않은 예외: %1$s\n\n%2$s</string>
- <string name="unhandled_exception_context">%3$s: %1$s\n\n%2$s</string>
- <string name="full_licenses">전체 라이센스</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-nl/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-nl/strings.xml
deleted file mode 100755
index 7e36ce26..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-nl/strings.xml
+++ /dev/null
@@ -1,130 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN voor Android</string>
- <string name="address">Server Adres:</string>
- <string name="port">Server Poort:</string>
- <string name="location">Locatie</string>
- <string name="cant_read_folder">Map is onleesbaar</string>
- <string name="select">Selecteer</string>
- <string name="cancel">Annuleer</string>
- <string name="no_data">Geen Gegevens</string>
- <string name="useLZO">LZO Compressie</string>
- <string name="client_no_certificate">Geen Certificaat</string>
- <string name="client_certificate_title">Client Certificaat</string>
- <string name="client_key_title">Client Certificaat Sleutel</string>
- <string name="client_pkcs12_title">PKCS12 Bestand</string>
- <string name="ca_title">CA Certificaat</string>
- <string name="no_certificate">Je moet een certificaat selecteren</string>
- <string name="copyright_guicode">De broncode en bugs zijn te vinden op http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">Het programma gebruikt de volgende componenten. Zie de broncode voor volledige details over de licenties.</string>
- <string name="about">Over</string>
- <string name="vpn_list_title">Profielen</string>
- <string name="vpn_type">Type</string>
- <string name="pkcs12pwquery">PKCS12 Wachtwoord</string>
- <string name="file_select">Selecteer&#8230;</string>
- <string name="file_nothing_selected">Je moet een bestand selecteren</string>
- <string name="useTLSAuth">Gebruik TLS autentificatie</string>
- <string name="tls_direction">TLS Richting</string>
- <string name="ipv6_dialog_tile">Voer een IPv6 Adres/Netmask in met het CIDR Formaat (v.b. 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">Voer een IPv4 Adres/Netmask in met het CIDR Formaat (v.b. 1.2.3.4/24)</string>
- <string name="ipv4_address">IPv4 Adres</string>
- <string name="ipv6_address">IPv4 Adres</string>
- <string name="custom_option_warning">Geavanceerde OpenVPN opties. Veel van de tun gerelateerde OpenVPN instellingen worden niet ondersteund. Als u denkt dat een belangrijke optie ontbreekt, neem dan contact op met de auteur.</string>
- <string name="auth_username">Gebruikersnaam</string>
- <string name="auth_pwquery">wachtwoord</string>
- <string name="static_keys_info">Voor de statische configuratie worden de TLS Auth keys als statische sleutels gebruikt</string>
- <string name="configure_the_vpn">VPN configureren</string>
- <string name="menu_add_profile">Profiel toevoegen</string>
- <string name="add_profile_name_prompt">Voer een naam in voor het nieuwe Profiel</string>
- <string name="duplicate_profile_name">Profielnaam is al in gebruik</string>
- <string name="profilename">Profiel name</string>
- <string name="no_keystore_cert_selected">Geen gebruikerscertificaat geselecteerd</string>
- <string name="no_error_found">Geen fout.</string>
- <string name="config_error_found">Fout in de configuratie</string>
- <string name="ipv4_format_error">Fout bij inlezen van IPv4-adres</string>
- <string name="custom_route_format_error">Fout bij inlezen van aangepaste routes</string>
- <string name="pw_query_hint">(vrij laten voor query op aanvraag)</string>
- <string name="vpn_shortcut">Open VPN shortcut</string>
- <string name="vpn_launch_title">Met VPN verbinden</string>
- <string name="shortcut_profile_notfound">Het profiel zoals aangegeven in de snelkoppeling kon niet gevonden worden.</string>
- <string name="random_host_prefix">Willekeurig Host Voorvoegsel</string>
- <string name="random_host_summary">Voegt 6 willekeurige tekens toe voor de hostname</string>
- <string name="custom_config_title">Eigen configuratie opties</string>
- <string name="custom_config_summary">Geef je eigen configuratieopties aan. Wees voorzichtig!</string>
- <string name="route_rejected">Route geweigert door Android</string>
- <string name="cancel_connection">Verbinding verbreken</string>
- <string name="cancel_connection_long">VPN verbinding verbreken</string>
- <string name="clear_log">logboek wissen</string>
- <string name="title_cancel">Annuleer bevestiging</string>
- <string name="cancel_connection_query">Sluit de verbonden VPN af/annuleer de verbindingspoging?</string>
- <string name="remove_vpn">VPN wissen</string>
- <string name="check_remote_tlscert">Controleert of de server een certificaat met TLS Server extensions gebruikt (--remote-cert-tls server)</string>
- <string name="check_remote_tlscert_title">Verwacht TLS server-certificaat</string>
- <string name="remote_tlscn_check_summary">Controleert de externe server certificaathouder</string>
- <string name="remote_tlscn_check_title">Controleer Certificaat Hostname</string>
- <string name="enter_tlscn_title">Externe certificaathouder</string>
- <string name="tls_key_auth">Activeert TLS Key verificatie</string>
- <string name="tls_auth_file">TLS Auth Bestand</string>
- <string name="pull_on_summary">Vraag IP adres, routes en timing opties van de server.</string>
- <string name="pull_off_summary">De server vraagt geen informatie op. Instellingen moeten onderaan worden gespecificeerd.</string>
- <string name="use_pull">Pull Instellingen</string>
- <string name="dns">DNS</string>
- <string name="override_dns">DNS Instellingen van Server Overschrijven</string>
- <string name="dns_override_summary">Gebruik eigen DNS Servers</string>
- <string name="searchdomain">Zoekd domein</string>
- <string name="dns1_summary">Primaire DNS server</string>
- <string name="dns_server">DNS Server</string>
- <string name="secondary_dns_message">Secundaire DNS server. Deze wordt gebruikt voor het geval dat de primaire DNS server niet bereikbaar is</string>
- <string name="backup_dns">Backup DNS server</string>
- <string name="ignored_pushed_routes">Negeer ontvangen routes</string>
- <string name="ignore_routes_summary">Negeer routes ontvangen van de server.</string>
- <string name="default_route_summary">Leid al het Verkeer over de VPN</string>
- <string name="use_default_title">Gebruik standaard Route</string>
- <string name="custom_routes_title">Eigen routes</string>
- <string name="float_summary">Geverifieerde pakketen zijn vanuit elk IP toegestaan</string>
- <string name="float_title">Zwevende server toestaan</string>
- <string name="custom_options_title">Aangepaste Opties</string>
- <string name="edit_vpn">VPN Instellingen Bewerken</string>
- <string name="remove_vpn_query">De VPN-profiel \'%s\' verwijderen?</string>
- <string name="error">"Fout:"</string>
- <string name="clear">Leeg maken</string>
- <string name="local_ip_info">Lokaal IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Logboek verzenden</string>
- <string name="send">Verzenden</string>
- <string name="tap_mode">Tap mode</string>
- <string name="faq_tap_mode">De VPN API van Android werkt zonder rooten van de telefoon en ondersteunt alleen de tun modus. Daarom is de tap modus niet mogelijk met deze app.</string>
- <string name="faq">Veelgestelde vragen </string>
- <string name="encryption">Codering</string>
- <string name="cipher_dialog_title">Codering methode</string>
- <string name="menu_import_short">Import</string>
- <string name="add_profile">Profiel toevoegen</string>
- <string name="import_could_not_open">Kon het bestand %1$s, zoals aangegeven in de geïmporteerde configuratie niet vinden</string>
- <string name="importing_config">Geïmporteerde configuratie bestand uit %1$s</string>
- <string name="import_done">Lezen van configuratie bestand afgesloten.</string>
- <string name="no_bind">Geen locale binding</string>
- <string name="import_configuration_file">configuratie bestand importeren</string>
- <string name="faq_security_title">Beveiligingsoverwegingen</string>
- <string name="import_vpn">Importeren</string>
- <string name="broken_image_cert_title">Fout bij het weergeven van de certificaat selectie</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Wachten op status bericht&#8230;</string>
- <string name="converted_profile">Geïmporteerd profiel</string>
- <string name="converted_profile_i">Geïmporteerd profiel %d</string>
- <string name="broken_images">Niet Werkende Afbeeldingen</string>
- <string name="pkcs12_file_encryption_key">PKCS12 Bestand Encryptie Sleutel</string>
- <string name="private_key_password">Privé Sleutel Wachtwoord</string>
- <string name="password">Wachtwoord</string>
- <string name="file_icon">bestands pictogram</string>
- <string name="tls_authentication">TLS Verificatie</string>
- <string name="generated_config">Gegenereerde Configuratie</string>
- <string name="ipdns">IP en DNS</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-no/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-no/strings.xml
deleted file mode 100755
index b5f7aebb..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-no/strings.xml
+++ /dev/null
@@ -1,156 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN for Android</string>
- <string name="address">Server adresse:</string>
- <string name="port">Server port:</string>
- <string name="location">Plassering</string>
- <string name="cant_read_folder">Kan ikke lese katalogen</string>
- <string name="select">velg</string>
- <string name="cancel">Avbryt</string>
- <string name="no_data">Ingen Data</string>
- <string name="useLZO">LZO-komprimering</string>
- <string name="client_no_certificate">Ingen sertifikat</string>
- <string name="client_certificate_title">Klient sertifikat</string>
- <string name="client_key_title">Klientsertifikat nøkkel</string>
- <string name="client_pkcs12_title">PKCS12 fil</string>
- <string name="ca_title">CA-sertifikat</string>
- <string name="no_certificate">Du må velge et sertifikat</string>
- <string name="copyright_guicode">Kildekode og problemsøkersporing er tilgjengelig på http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">Dette programmet bruker følgende komponenter; se kildekoden for detaljer om lisensene</string>
- <string name="about">Om</string>
- <string name="vpn_list_title">Profiler</string>
- <string name="vpn_type">Type</string>
- <string name="pkcs12pwquery">PKCS12 passord</string>
- <string name="file_select">Velg&#8230;</string>
- <string name="file_nothing_selected">Du må velge en fil</string>
- <string name="useTLSAuth">Bruke TLS-godkjenning</string>
- <string name="tls_direction">TLS-retning</string>
- <string name="ipv6_dialog_tile">Angi IPv6-adresse/nettmaske i CIDR format (f.eks 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">Angi IPv6-adresse/nettmaske i CIDR format (f.eks 1.2.3.4/24)</string>
- <string name="ipv4_address">IPv4-adresse</string>
- <string name="ipv6_address">IPv6-adresse</string>
- <string name="custom_option_warning">Angi egendefinerte OpenVPN-alternativer. Bør brukes med forsiktighet. Vær også oppmerksom på at mange av de tun-relaterte OpenVPN-innstillingene ikke støttes i henhold til utformingen av VPNSettings. Hvis du tror at et viktig alternativ mangler kan du kontakte forfatteren</string>
- <string name="auth_username">Brukernavn</string>
- <string name="auth_pwquery">Passord</string>
- <string name="static_keys_info">For den statiske konfigurasjonen vil TLS Auth Keys-ene bli brukt som statiske nøkler</string>
- <string name="configure_the_vpn">Konfigurer VPN</string>
- <string name="menu_add_profile">Legge til profil</string>
- <string name="add_profile_name_prompt">Angi et navn som identifiserer den nye profilen</string>
- <string name="duplicate_profile_name">Skriv inn et unikt profilnavn</string>
- <string name="profilename">Profilnavn</string>
- <string name="no_keystore_cert_selected">Du må velge et brukersertifikat</string>
- <string name="no_error_found">Ingen feil funnet</string>
- <string name="config_error_found">Feil i konfigurasjonen</string>
- <string name="ipv4_format_error">Feil ved analyse av IPv4-adressen</string>
- <string name="custom_route_format_error">Feil ved analyse av egendefinerte ruter</string>
- <string name="pw_query_hint">(La stå tomt for å søke på forespørsel)</string>
- <string name="vpn_shortcut">OpenVPN snarvei</string>
- <string name="vpn_launch_title">Koble til VPN</string>
- <string name="shortcut_profile_notfound">Profilen som er angitt i snarveien ble ikke funnet</string>
- <string name="random_host_prefix">Tilfeldig vert prefiks</string>
- <string name="random_host_summary">Legger til 6 tilfeldige tegn foran vertsnavn</string>
- <string name="custom_config_title">Aktiver egendefinerte valg</string>
- <string name="custom_config_summary">Angi egendefinerte alternativer. Brukes med forsiktighet!</string>
- <string name="route_rejected">Route avvist av Android</string>
- <string name="cancel_connection">Koble fra</string>
- <string name="cancel_connection_long">Koble fra VPN</string>
- <string name="clear_log">Tøm logg</string>
- <string name="title_cancel">Avbryt bekreftelse</string>
- <string name="cancel_connection_query">Koble fra tilkoblet VPN-forbindelse / avbryt oppkoblingsforsøket ?</string>
- <string name="remove_vpn">Fjern VPN</string>
- <string name="check_remote_tlscert">Kontrollerer om tjeneren bruker et sertifikat med TLS-servertillegg (--remote-cert-TLS-server)</string>
- <string name="check_remote_tlscert_title">Forvent TLS-serversertifikat</string>
- <string name="remote_tlscn_check_summary">Kontrollerer eksternt tjenersertifikatemne DN</string>
- <string name="remote_tlscn_check_title">Sjekk av vertsnavn i sertifikat</string>
- <string name="tls_auth_file">TLS-Auth-fil</string>
- <string name="dns">DNS</string>
- <string name="dns_override_summary">Bruk din egen DNS-server</string>
- <string name="dns1_summary">DNS-Server som skal brukes.</string>
- <string name="dns_server">DNS-server</string>
- <string name="use_default_title">Bruk standard rute</string>
- <string name="custom_routes_title">Egendefinert rute</string>
- <string name="log_verbosity_level">Detaljnivå for Logging</string>
- <string name="custom_options_title">Egendefinerte valg</string>
- <string name="edit_vpn">Rediger VPN-innstillinger</string>
- <string name="error">"Feil:"</string>
- <string name="clear">Fjern</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Send loggfilen</string>
- <string name="send">Send</string>
- <string name="ics_openvpn_log_file">ICS OpenVPN loggfil</string>
- <string name="tap_mode">Tap modus</string>
- <string name="faq">FAQ</string>
- <string name="copying_log_entries">Kopier loggoppføringer</string>
- <string name="faq_shortcut">Snarvei til start</string>
- <string name="encryption">Kryptering</string>
- <string name="cipher_dialog_title">Angi krypteringsmetode</string>
- <string name="settings_auth">Autentisering/kryptering</string>
- <string name="file_explorer_tab">Filutforsker</string>
- <string name="error_importing_file">Feil ved import av fil</string>
- <string name="import_error_message">Kunne ikke importere filen fra filsystemet</string>
- <string name="menu_import">Importer profil fra ovpn-fil</string>
- <string name="menu_import_short">Importer</string>
- <string name="import_content_resolve_error">Kan ikke lese profil for importering</string>
- <string name="error_reading_config_file">Feil under lesing av config-filen</string>
- <string name="add_profile">legg til profil</string>
- <string name="import_could_not_open">Finner ikke filen %1$s nevnt i importert konfigurasjons fil</string>
- <string name="importing_config">Importerer konfigurasjonsfilen fra kilde %1$s</string>
- <string name="import_done">Ferdig med å lese konfigurasjons-filen.</string>
- <string name="no_bind">Ingen lokale binding</string>
- <string name="import_configuration_file">Importer konfigurasjonsfil</string>
- <string name="faq_security_title">Sikkerhetsvurderinger</string>
- <string name="import_vpn">Importer</string>
- <string name="broken_image_cert_title">Feil ved visning av sertifikatvalg</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Venter på tilstands melding&#8230;</string>
- <string name="converted_profile">importert profil</string>
- <string name="converted_profile_i">importert profilen %d</string>
- <string name="broken_images">Ødelagte bilder</string>
- <string name="pkcs12_file_encryption_key">PKCS12 Filkrypteringsnøkkel</string>
- <string name="private_key_password">Privat nøkkel passord</string>
- <string name="password">Passord</string>
- <string name="file_icon">fil ikon</string>
- <string name="tls_authentication">TLS-godkjenning</string>
- <string name="generated_config">Generert konfigurasjon</string>
- <string name="owner_fix">Fiks eierskap av /dev/tun</string>
- <string name="edit_profile_title">Rediger \"%s\"</string>
- <string name="building_configration">Lager konfigurasjon&#8230;</string>
- <string name="netchange">Koble til på nytt ved nettverks endring</string>
- <string name="netstatus">Nettverksstatus: %s</string>
- <string name="select_file">Velg</string>
- <string name="show_log_window">Vis logg-vindu</string>
- <string name="mobile_info">Kjører på %1$s (%2$s) %3$s, Android API %4$d</string>
- <string name="translationby">Norsk oversettelse av Jonny</string>
- <string name="ipdns">IP og DNS</string>
- <string name="basic">Grunnleggende</string>
- <string name="routing">Ruting</string>
- <string name="advanced">Avansert</string>
- <string name="export_config_title">ICS Openvpn konfigurasjon</string>
- <string name="faq_howto_title">Hurtigstart</string>
- <string name="setting_loadtun_summary">Prøv å laste tun.ko kjernemodul før tilkobling. Krever at enheten er rootet.</string>
- <string name="setting_loadtun">Last tun modul</string>
- <string name="getproxy_error">Feil ved henting av proxy-innstillinger: %s</string>
- <string name="using_proxy">Bruker proxy %1$s %2$d</string>
- <string name="use_system_proxy">Bruk systemet proxy</string>
- <string name="use_system_proxy_summary">Bruk global systemkonfigurasjon for HTTP/HTTPS proxy for å koble til.</string>
- <string name="donatewithpaypal">Du kan &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;donere med PayPal&lt;/a&gt; </string>
- <string name="onbootrestart">Koble til på nytt ved restart</string>
- <string name="ignore">Ignorer</string>
- <string name="restart">Start på nytt</string>
- <string name="configuration_changed">Konfigurasjon endret</string>
- <string name="faq_duplicate_notification_title">Kopier varsler</string>
- <string name="no_vpn_profiles_defined">Ingen VPN-profiler er definert.</string>
- <string name="faq_routing_title">Ruting/grensesnitt-konfigurasjon</string>
- <string name="persisttun_summary">Ikke gå tilbake til ingen VPN-tilkoblingen mens OpenVPN kobler til på nytt.</string>
- <string name="openvpn_log">OpenVPN Logg</string>
- <string name="import_config">Importer OpenVPN konfigurasjon</string>
- <string name="battery_consumption_title">Batteriforbruk</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-pl/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-pl/strings.xml
deleted file mode 100755
index 650f2eb1..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-pl/strings.xml
+++ /dev/null
@@ -1,265 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN dla Androida</string>
- <string name="address">Adres serwera:</string>
- <string name="port">Port serwera:</string>
- <string name="location">Lokalizacja</string>
- <string name="cant_read_folder">Nie można odczytać katalogu</string>
- <string name="select">Wybierz</string>
- <string name="cancel">Anuluj</string>
- <string name="no_data">Brak danych</string>
- <string name="useLZO">Kompresja LZO</string>
- <string name="client_no_certificate">Brak certyfikatu</string>
- <string name="client_certificate_title">Certyfikat klienta</string>
- <string name="client_key_title">Klucz certyfikatu klienta</string>
- <string name="client_pkcs12_title">Plik PKCS12</string>
- <string name="ca_title">Certyfikat urzędu certyfikacji</string>
- <string name="no_certificate">Musisz wybrać certyfikat</string>
- <string name="copyright_guicode">Kod źródłowy i formularz zgłoszeniowy błędów dostępny pod http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">Program ten wykorzystuje następujące składniki; Szczegółowe informacje o licencjach w kodzie źródłowym</string>
- <string name="about">O</string>
- <string name="vpn_list_title">Profile</string>
- <string name="vpn_type">Typ</string>
- <string name="pkcs12pwquery">Hasło PKCS12</string>
- <string name="file_select">Wybierz&#8230;</string>
- <string name="file_nothing_selected">Wybierz plik</string>
- <string name="useTLSAuth">Użyj uwierzytelniania TLS</string>
- <string name="tls_direction">Kierunek TLS</string>
- <string name="ipv6_dialog_tile">Wprowadź adres IPv6 w formacie CIDR (np. 2000:dd::23 / 64)</string>
- <string name="ipv4_dialog_title">Wprowadź adres IPv4 w formacie CIDR (np. 1.2.3.4/24)</string>
- <string name="ipv4_address">Adres IPv4</string>
- <string name="ipv6_address">Adres IPv6</string>
- <string name="custom_option_warning">Wprowadź ustawienia niestandardowe OpenVPN. Używać z rozwagą. Należy również pamiętać, że wiele ustawień związanych z tun OpenVPN nie jest obsługiwana przez projekt VPNSettings. Jeśli uważasz, że brakuje ważnych opcji skontaktuj się z autorem</string>
- <string name="auth_username">Nazwa użytkownika</string>
- <string name="auth_pwquery">Hasło</string>
- <string name="static_keys_info">W konfiguracji statycznej klucze uwierzytelniania TLS zostaną wykorzystane jako statyczne klucze</string>
- <string name="configure_the_vpn">Konfiguracja VPN</string>
- <string name="menu_add_profile">Dodaj profil</string>
- <string name="add_profile_name_prompt">Wprowadź nazwę określającą nowy profil</string>
- <string name="duplicate_profile_name">Wybierz unikalną nazwę profilu</string>
- <string name="profilename">Nazwa profilu</string>
- <string name="no_keystore_cert_selected">Musisz wybrać certyfikat użytkownika</string>
- <string name="no_error_found">Brak błędów</string>
- <string name="config_error_found">Błąd w konfiguracji</string>
- <string name="ipv4_format_error">Błąd parsowania adresu IPv4</string>
- <string name="custom_route_format_error">Błąd parsowania niestandardowych tras</string>
- <string name="pw_query_hint">(Pozostaw puste, aby wywołać na żądanie)</string>
- <string name="vpn_shortcut">Skrót OpenVPN</string>
- <string name="vpn_launch_title">Połącz się z siecią VPN</string>
- <string name="shortcut_profile_notfound">Nie odnaleziono profilu określonego w skrócie</string>
- <string name="random_host_prefix">Losowy prefiks hosta</string>
- <string name="random_host_summary">Dodaje 6 losowych znaków przed nazwą hosta</string>
- <string name="custom_config_title">Włącz opcje niestandardowe</string>
- <string name="custom_config_summary">Określ niestandardowe opcje. Ostrożnie!</string>
- <string name="route_rejected">Trasa odrzucona przez Androida</string>
- <string name="cancel_connection">Rozłącz</string>
- <string name="cancel_connection_long">Rozłącz VPN</string>
- <string name="clear_log">Wyczyść log</string>
- <string name="title_cancel">Anuluj potwierdzenie</string>
- <string name="cancel_connection_query">Odłącz podłączone VPN / zrezygnować z próby połączenia?</string>
- <string name="remove_vpn">Usuń VPN</string>
- <string name="check_remote_tlscert_title">Oczekiwanie na certyfikat TLS z serwera</string>
- <string name="remote_tlscn_check_title">Weryfikuj nazwę domenową zawartą w certyfikacie</string>
- <string name="enter_tlscn_title">Temat zdalnego certyfikatu</string>
- <string name="tls_key_auth">Włącza uwierzytelnianie kluczem TLS</string>
- <string name="tls_auth_file">Plik TLS</string>
- <string name="use_pull">Pobierz ustawienia</string>
- <string name="dns">DNS</string>
- <string name="override_dns">Nadpisz DNS z serwera</string>
- <string name="dns_override_summary">Użyj własnych serwerów DNS</string>
- <string name="dns1_summary">Używany serwer DNS.</string>
- <string name="dns_server">Serwer DNS</string>
- <string name="secondary_dns_message">Pomocniczy serwer DNS używany, jeśli normalny serwer DNS jest nieosiągalny.</string>
- <string name="backup_dns">Zapasowy serwer DNS</string>
- <string name="ignored_pushed_routes">Ignoruj trasy</string>
- <string name="ignore_routes_summary">Ignoruj trasy serwera.</string>
- <string name="default_route_summary">Przekieruj cały ruch przez tunel VPN</string>
- <string name="use_default_title">Użyj domyślnej trasy</string>
- <string name="custom_routes_title">Opcjonalne trasy</string>
- <string name="log_verbosity_level">Poziom logowania</string>
- <string name="float_summary">Zezwalaj uwierzytelnionym pakietom z każdego IP</string>
- <string name="custom_options_title">Opcje użytkownika</string>
- <string name="edit_vpn">Edytuj ustawienia VPN</string>
- <string name="remove_vpn_query">Usunąć profil VPN \'%s\'?</string>
- <string name="tun_error_helpful">Na niektórych customowych kompilacjach ICS może występować problem z uprawnieniami do /dev/tun albo występować problem z brakującymi częściami tun. Dla obrazów CM9 spróbuj poprawić uprawnienia za pomocą ustawień.</string>
- <string name="tun_open_error">Nie można otworzyć interfejsu tun</string>
- <string name="error">"Błąd:"</string>
- <string name="clear">Czyść</string>
- <string name="last_openvpn_tun_config">Otwieram interfejs tun:</string>
- <string name="local_ip_info">Lokalne IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">Serwer DNS: %1$s, Domena: %2$s</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Wyślij loga</string>
- <string name="send">Wyślij</string>
- <string name="ics_openvpn_log_file">Plik logów ICS OpenVPN</string>
- <string name="copied_entry">Skopiowano log do schowka</string>
- <string name="tap_mode">Tryb TAP</string>
- <string name="faq_tap_mode">Tryb TAP nie jest możliwy z nierootwanym API VPN. Dlatego ta aplikacja nie zapewnia wsparcia TAP</string>
- <string name="tap_faq2">Znowu. Żartujesz sobie? Tryb tap jest naprawdę nie wspierany, a wysyłanie więcej maili o to czy będzie wsparcie wcale nie pomoże.</string>
- <string name="faq">FAQ</string>
- <string name="copying_log_entries">Kopiowanie wpisów dziennika</string>
- <string name="faq_copying">Aby skopiować pojedynczy wpis dziennika, naciśnij i przytrzymaj interesującą Cię pozycję. Celem skopiowania całego dziennika, należy użyć opcji Wyślij Log - jeżeli nie jest widoczna, użyj klawisza menu na obudowie urządzenia.</string>
- <string name="faq_shortcut">Skrót do startu</string>
- <string name="faq_howto_shortcut">Możesz umieścić skrót uruchamiający OpenVPN na swoim pulpicie. W zależności od używanej wersji oprogramowania, musisz dodać widget lub skrót na ekran główny.</string>
- <string name="no_vpn_support_image">Twój obraz nie wspiera API VPN, przepraszamy ;(</string>
- <string name="encryption">Szyfrowanie</string>
- <string name="cipher_dialog_title">Wprowadź metodę szyfrowania</string>
- <string name="chipher_dialog_message">Wybierz algorytm szyfrowania wykorzystywany przez OpenVPN. Pozostaw puste, aby skorzystać z ustawień domyślnych.</string>
- <string name="auth_dialog_message">Wprowadź dane logowania użyte do OpenVPN. Pozostaw puste, aby skorzystać z ustawień domyślnych.</string>
- <string name="settings_auth">Uwierzytelnianie/Szyfrowanie</string>
- <string name="file_explorer_tab">Manager plików</string>
- <string name="error_importing_file">Błąd importu pliku</string>
- <string name="import_error_message">Nie można zaimportować pliku z systemu</string>
- <string name="inline_file_data">[[Inline file data]]</string>
- <string name="menu_import">Wczytaj profil z pliku ovpn</string>
- <string name="menu_import_short">Wczytaj</string>
- <string name="import_content_resolve_error">Nie można odczytać Profilu do importu</string>
- <string name="error_reading_config_file">Błąd podczas czytania pliku konfiguracyjnego</string>
- <string name="add_profile">Dodaj profil</string>
- <string name="import_could_not_open">Nie można znaleźć pliku %1$s zawartego w zaimportowanym pliku</string>
- <string name="importing_config">Importowanie pliku konfiguracyjnego ze źródła %1$s</string>
- <string name="import_done">Skończono czytać plik konfiguracyjny.</string>
- <string name="nobind_summary">Nie przypisuj do lokalnego adresu i portu</string>
- <string name="import_configuration_file">Importuj plik konfiguracji</string>
- <string name="import_vpn">Importuj</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Oczekiwanie na wiadomość powitalną&#8230;</string>
- <string name="broken_images">Uszkodzone obrazy</string>
- <string name="pkcs12_file_encryption_key">Klucz pliku PKCS12</string>
- <string name="private_key_password">Hasło klucza prywatnego</string>
- <string name="password">Hasło</string>
- <string name="file_icon">plik ikony</string>
- <string name="tls_authentication">Uwierzytelnianie TLS</string>
- <string name="generated_config">Wygenerowana konfiguracja</string>
- <string name="generalsettings">Ustawienia</string>
- <string name="owner_fix">Popraw uprawnienia do /dev/tun</string>
- <string name="generated_config_summary">Pokazuje wygenerowany plik konfiguracji OpenVPN</string>
- <string name="edit_profile_title">Edycja \"%s\"</string>
- <string name="building_configration">Tworzenie konfiguracji&#8230;</string>
- <string name="netchange_summary">Włączenie tej opcji spowoduje ponowne połączenie jeśli stan sieci się zmienił (np. z WiFi na GSM)</string>
- <string name="netchange">Połącz ponownie przy zmianie sieci</string>
- <string name="netstatus">Status sieci: %s</string>
- <string name="select_file">Wybierz</string>
- <string name="show_log_window">Pokaż okno loga</string>
- <string name="faq_system_dialogs_title">Ostrzeżenie połączeń oraz dźwięki powiadomień</string>
- <string name="translationby">Angielskie tłumaczenie Arne Schwabe&lt;arne@rfc2549.org&gt;</string>
- <string name="ipdns">IP i DNS</string>
- <string name="basic">Podstawowe</string>
- <string name="routing">Routing</string>
- <string name="advanced">Zaawansowane</string>
- <string name="export_config_title">Konfiguracja ICS Openvpn</string>
- <string name="dns_add_error">Nie można dodać serwera DNS \"%1$s\", odrzucone przez system: %2$s</string>
- <string name="faq_howto_title">Szybki start</string>
- <string name="setting_loadtun_summary">Próba załadowania modułu tun.ko kernel przez próbą połączenia. Potrzeba rootowanych urządzeń.</string>
- <string name="setting_loadtun">Załaduj moduł tun</string>
- <string name="importpkcs12fromconfig">Importuj PKCS12 z konfiguracji do slepu kluczy Androida</string>
- <string name="getproxy_error">Błąd ustawień proxy: %s</string>
- <string name="using_proxy">Użycie proxy %1$s%2$d</string>
- <string name="use_system_proxy">Użyj proxy systemowego</string>
- <string name="use_system_proxy_summary">Użyj konfiguracji systemowej dla HTTP/HTTPS proxy w celu połączenia.</string>
- <string name="donatewithpaypal">Możesz &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;wspomóc przez PayPal&lt;/a&gt; </string>
- <string name="onbootrestartsummary">OpenVPN połączy VPN jeśli był aktywny przy restarcie/zamknięciu systemu. Proszę przeczytać FAQ ostrzeżenia połączenia przez użyciem tej opcji.</string>
- <string name="onbootrestart">Połącz przy reboocie</string>
- <string name="ignore">Ignoruj</string>
- <string name="restart">Restartuj</string>
- <string name="restart_vpn_after_change">Zmiany konfiguracji będą zatwierdzone po restarcie VPN. Uruchomić ponowie teraz?</string>
- <string name="configuration_changed">Zmieniono konfigurację</string>
- <string name="log_no_last_vpn">Nie można ustalić ostatnio połączonego profilu do edycji</string>
- <string name="faq_duplicate_notification_title">Podwójne powiadomienia</string>
- <string name="no_vpn_profiles_defined">Nie zdefiniowano żadnego profilu.</string>
- <string name="faq_hint">Sprawdź także nasze FAQ. Znajdziesz tam krótki poradnik dla początkujących.</string>
- <string name="faq_routing_title">Konfiguracja trasy/interfejsu</string>
- <string name="persistent_tun_title">Persistent tun</string>
- <string name="openvpn_log">Log OpenVPN</string>
- <string name="import_config">Importuj konfigurację OpenVPN</string>
- <string name="battery_consumption_title">Zużycie baterii</string>
- <string name="vpn_tethering_title">VPN i Tethering</string>
- <string name="connection_retries">Próby połączenia</string>
- <string name="reconnection_settings">Ustawienia ponownego połączenia</string>
- <string name="connectretrymessage">Liczba sekund oczekiwania między próbami połączenia.</string>
- <string name="connectretrywait">Sekundy pomiędzy połączeniami</string>
- <string name="minidump_generated">OpenVPN niespodziewanie uległ awarii. Proszę rozważ użycie opcji wyślij Minidump w głównym menu</string>
- <string name="send_minidump">Wyślij minidump do autora</string>
- <string name="send_minidump_summary">Wysyłam informacje debuggera o ostatniej awarii aplikacji do twórcy</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s-%2$s</string>
- <string name="session_ipv6string">%1$s-%3$s,%2$s</string>
- <string name="state_connecting">Łączę</string>
- <string name="state_wait">Czekam na odpowiedź serwera</string>
- <string name="state_auth">Uwierzytelnianie</string>
- <string name="state_get_config">Pobieranie konfiguracji klienta</string>
- <string name="state_assign_ip">Przypisywanie adresów IP</string>
- <string name="state_add_routes">Dodaję trasy</string>
- <string name="state_connected">Połączony</string>
- <string name="state_disconnected">Odłączony</string>
- <string name="state_reconnecting">Łączę ponownie</string>
- <string name="state_exiting">Zamykanie</string>
- <string name="state_noprocess">Nie działa</string>
- <string name="state_resolve">Rozpoznwanie nazw hostów</string>
- <string name="state_tcp_connect">Łączenie (TCP)</string>
- <string name="state_auth_failed">Błąd autentykacji</string>
- <string name="state_nonetwork">Czekam na sieć</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Niepołączony</string>
- <string name="start_vpn_title">Łączę z VPN %s</string>
- <string name="start_vpn_ticker">Łączę z VPN %s</string>
- <string name="jelly_keystore_alphanumeric_bug">Niektóre wersje Androida 4.1 mają problemy, jeśli nazwa certyfikatu zawiera niealfanumeryczne znaki (spacje, podkreślenia, myślniki). Spróbuj zaimportować certyfikat bez znaków specjalnych</string>
- <string name="packet_auth">Pakiety uwierzytelniania</string>
- <string name="auth_dialog_title">Wpisz metodę uwierzytelniania pakietów</string>
- <string name="mobile_info_extended">Działa na %1$s (%2$s) %3$s, Android API %4$d, wersja %5$s, %6$s</string>
- <string name="built_by">zbudowany przez %s</string>
- <string name="debug_build">Kompilacja z debugiem</string>
- <string name="official_build">Oficjalna kompilacja</string>
- <string name="make_selection_inline">Skopiuj do profilu</string>
- <string name="crashdump">Zrzut</string>
- <string name="add">Dodaj</string>
- <string name="send_config">Prześlij plik konfiguracyjny</string>
- <string name="complete_dn">Kompletny DN</string>
- <string name="remotetlsnote">Zaimportowana konfiguracja używa przestarzałej opcji tls-remote, która używa innego formatu DN.</string>
- <string name="rdn">RDN (bieżąca nazwa)</string>
- <string name="rdn_prefix">Prefiks RDN</string>
- <string name="tls_remote_deprecated">tls-remote (PRZESTARZAŁE)</string>
- <string name="help_translate">Możesz pomóc w tłumaczeniu odwiedzająć http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s próby kontroli %2$s</string>
- <string name="remote_trust">Ufam tej aplikacji.</string>
- <string name="no_external_app_allowed">Żadna aplikacja nie ma pozwolenia do używania zewnętrznego API</string>
- <string name="allowed_apps">Dozwolone aplikacje: %s</string>
- <string name="clearappsdialog">Wyczyścić listę dozwolonych aplikacji?\nObecna lista dozwolonych aplikacji:\n\n%s</string>
- <string name="screenoff_summary">\"Wstrzymaj VPN kiedy wyświetlacz jest wyłączony i mniej niż 64kB danych przetransmitowano w 60s. Kiedy opcja \"Persistent Tun\" jest włączona wstrzymanie VPN zostawi twoje urządzenie bez połączenia. Bez opcji \"Persistent Tun\" urządzenie nie będzie miało połączenia/ochrony VPN.</string>
- <string name="screenoff_title">Wstrzymaj połączenie VPN po wyłączeniu wyświetlacza</string>
- <string name="screenoff_pause">Wstrzymanie połączenia na wyłączonym ekranie: w mniej niż %1$s na %2$ss</string>
- <string name="screen_nopersistenttun">Ostrzeżenie. Persistent tun nie włączone dla tego VPN. Połączenie będzie generować ruch normalnego połączenia przy wyłączonym ekranie.</string>
- <string name="save_password">Zapisz hasło</string>
- <string name="pauseVPN">Wstrzymaj VPN</string>
- <string name="resumevpn">Wznów VPN</string>
- <string name="state_userpause">Wstrzymanie VPN na żądania użytkownika</string>
- <string name="state_screenoff">VPN zatrzymany - ekran wyłązony</string>
- <string name="device_specific">Informacje dotyczące haków w urządzeniu</string>
- <string name="cannotparsecert">Nie można wyświetlić informacji o certyfikacie</string>
- <string name="appbehaviour">Zachowanie aplikacji</string>
- <string name="vpnbehaviour">Zachowanie VPN</string>
- <string name="allow_vpn_changes">Zezwól na zmiany profili VPN</string>
- <string name="hwkeychain">Sprzętowy magazyn kluczy:</string>
- <string name="permission_icon_app">Ikona aplikacji próbującej użyć OpenVPN</string>
- <string name="faq_vpndialog43_title">Potwierdzenie dla Android w wersji 4.3 i wyższych</string>
- <string name="donatePlayStore">Alternatywnie, dotację możesz przesłać za pomocą Google Play:</string>
- <string name="thanks_for_donation">Dziękujemy za wsparcie %s!</string>
- <string name="logCleared">Dziennik wyczyszczony.</string>
- <string name="show_password">Pokaż hasło</string>
- <string name="keyChainAccessError">Błąd dostępu do klucza: %s</string>
- <string name="timestamp_short">Krótki</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">Znaczniki czasu</string>
- <string name="timestamps_none">Brak</string>
- <string name="uploaded_data">Wysyłanie</string>
- <string name="downloaded_data">Pobieranie</string>
- <string name="vpn_status">Status VPN</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-pt/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-pt/strings.xml
deleted file mode 100755
index 55ecb403..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-pt/strings.xml
+++ /dev/null
@@ -1,256 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN para Android</string>
- <string name="address">Endereço do Servidor:</string>
- <string name="port">Porta do Servidor:</string>
- <string name="location">Localização</string>
- <string name="cant_read_folder">Não é possível ler o diretório</string>
- <string name="select">Selecionar</string>
- <string name="cancel">Cancelar</string>
- <string name="no_data">Não há dados</string>
- <string name="useLZO">Compressão LZO</string>
- <string name="client_no_certificate">Nenhum certificado</string>
- <string name="client_certificate_title">Certificado de cliente</string>
- <string name="client_key_title">Chave de certificado de cliente</string>
- <string name="client_pkcs12_title">Ficheiro PKCS12</string>
- <string name="ca_title">Certificado de CA</string>
- <string name="no_certificate">Deve selecionar um certificado</string>
- <string name="copyright_guicode">Código fonte e controlo de problemas disponível em http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">Este programa utiliza os seguintes componentes; Para mais detalhes sobre as licenças consultar o código-fonte</string>
- <string name="about">Sobre</string>
- <string name="vpn_list_title">Perfis</string>
- <string name="vpn_type">Tipo</string>
- <string name="pkcs12pwquery">Password PKCS12</string>
- <string name="file_select">Selecionar&#8230;</string>
- <string name="file_nothing_selected">É necessário selecionar um ficheiro</string>
- <string name="useTLSAuth">Usar autenticação TLS</string>
- <string name="tls_direction">Direção TLS</string>
- <string name="ipv6_dialog_tile">Digite o endereço de IPv6/máscara de rede no formato CIDR (por exemplo, 2000:dd::23 / 64)</string>
- <string name="ipv4_dialog_title">Digite o endereço de IPv4/máscara de rede no formato CIDR (por exemplo, 1.2.3.4/24)</string>
- <string name="ipv4_address">Endereço IPv4</string>
- <string name="ipv6_address">Endereço IPv6</string>
- <string name="custom_option_warning">Insira opções personalizadas para a ligação OpenVPN. Este opções devem ser usadas com precaução. Note-se também que muitas das opções para OpenVPN relacionados com tun não não suportadas propositadamente. Se achar que uma opção importante está falta entre em contato com o autor</string>
- <string name="auth_username">Utilizador</string>
- <string name="auth_pwquery">Password</string>
- <string name="static_keys_info">Para a configuração estática as chaves de autenticação TLS serão usadas como chaves estáticas</string>
- <string name="configure_the_vpn">Configurar a VPN</string>
- <string name="menu_add_profile">Adicionar perfil</string>
- <string name="add_profile_name_prompt">Digite um nome que identifique o novo perfil</string>
- <string name="duplicate_profile_name">Por favor, digite um nome de perfil que não esteja já em uso</string>
- <string name="profilename">Nome do perfil</string>
- <string name="no_keystore_cert_selected">Tem de selecionar um certificado de utilizador</string>
- <string name="no_error_found">Nenhum erro encontrado</string>
- <string name="config_error_found">Erro na configuração</string>
- <string name="ipv4_format_error">Erro ao analisar o endereço IPv4</string>
- <string name="custom_route_format_error">Erro ao analisar as rotas personalizadas</string>
- <string name="pw_query_hint">(deixe em branco para consulta a pedido)</string>
- <string name="vpn_shortcut">Atalho do OpenVPN</string>
- <string name="vpn_launch_title">Ligar à VPN</string>
- <string name="shortcut_profile_notfound">Perfil especificado no atalho não encontrado</string>
- <string name="random_host_prefix">Prefixo de Host aleatório</string>
- <string name="random_host_summary">Adiciona 6 caracteres aleatórios ao nome do host</string>
- <string name="custom_config_title">Ativar opções personalizadas</string>
- <string name="custom_config_summary">Especifique as opções personalizadas. Use com cuidado!</string>
- <string name="route_rejected">Rota rejeitada pelo Android</string>
- <string name="cancel_connection">Desconectar</string>
- <string name="cancel_connection_long">Desconectar VPN</string>
- <string name="clear_log">Limpar registo</string>
- <string name="title_cancel">Cancelar Confirmação</string>
- <string name="remove_vpn">Remover VPN</string>
- <string name="check_remote_tlscert_title">Esperar certificado do servidor TLS</string>
- <string name="remote_tlscn_check_title">Verificar nome de host do certificado</string>
- <string name="enter_tlscn_title">Assunto do certificado remoto</string>
- <string name="tls_key_auth">Ativa a autenticação de chave TLS</string>
- <string name="tls_auth_file">Ficheiro de autenticação TLS</string>
- <string name="pull_on_summary">Solicita endereços IP, rotas e tempo do servidor.</string>
- <string name="use_pull">Obter Configurações</string>
- <string name="dns">DNS</string>
- <string name="override_dns">Substituir configurações de DNS pelo servidor</string>
- <string name="dns_override_summary">Use seus próprios servidores DNS</string>
- <string name="searchdomain">Domínio de pesquisa</string>
- <string name="dns1_summary">Servidor de DNS a utilizar.</string>
- <string name="dns_server">Servidor DNS</string>
- <string name="secondary_dns_message">Servidor DNS secundário utilizado caso o servidor primário esteja inacessível.</string>
- <string name="backup_dns">Servidor DNS alternativo</string>
- <string name="default_route_summary">Redireccionar todo o tráfego pela VPN</string>
- <string name="use_default_title">Usar rota padrão</string>
- <string name="custom_routes_title">Rotas personalizadas</string>
- <string name="custom_routes_title_excluded">Redes excluídas</string>
- <string name="log_verbosity_level">Nível de verbosidade do log</string>
- <string name="float_title">Permitir servidor flutuante</string>
- <string name="custom_options_title">Opções personalizadas</string>
- <string name="edit_vpn">Editar definições VPN</string>
- <string name="remove_vpn_query">Remova o perfil VPN \'%s\'?</string>
- <string name="tun_open_error">Falha ao abrir a interface tun</string>
- <string name="error">"Erro: "</string>
- <string name="clear">Limpar</string>
- <string name="last_openvpn_tun_config">A abrir a interface tun:</string>
- <string name="local_ip_info">Local IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">Servidor DNS: %1$s, Dominio: %2$s</string>
- <string name="routes_info_incl">Rotas: %1$s %2$s</string>
- <string name="routes_info_excl">Rotas excluídas: %1$s %2$s</string>
- <string name="routes_debug">Rotas VpnService instaladas: %1$s %2$s</string>
- <string name="ip_not_cidr">Existem múltiplas informações de interface, %1$s e %2$s, a aplicação assume que o segundo endereço é um endereço \'peer\' do endereço remoto. Será usada uma máscara de rede /32 para o IP local. O modo estabelecido pela OpenVPN é \"%3$s\".</string>
- <string name="route_not_cidr">não é possível fazer sentido de %1$s e %2$s como rotas de IP, com máscara de rede CIDR, será usada uma máscara de rede /32.</string>
- <string name="route_not_netip">A rota %1$s/%2$s foi corrigida para %3$s/%2$s</string>
- <string name="keychain_access">Não é possível aceder aos certificados \'Keychain Android\'. Isto pode ser causado por uma atualização de firmware ou um restauro das configurações da app/app. Será necessário editar o perfil VPN e selecionar novamente o certificado nas configurações básicas para recriar a permissão e possibilitar o acesso ao certificado.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Enviar o ficheiro de registo</string>
- <string name="send">Enviar</string>
- <string name="ics_openvpn_log_file">Ficheiro de registo do ICS OpenVPN</string>
- <string name="copied_entry">Entrada de registo copiada para a área de transferência</string>
- <string name="tap_mode">Modo Tap</string>
- <string name="faq_tap_mode">A API VPN não permite o modo Tap em dispositivos sem acesso root. Desta forma não é possível oferecer suporte Tap nesta aplicação</string>
- <string name="tap_faq2">Novamente? Estamos a brincar? Não, o modo tap não é suportado de maneira nenhuma e enviar mais emails a perguntar se eventualmente será, não ai ajudar a que seja.</string>
- <string name="tap_faq3">Uma terceira vez? Na verdade, se poderia escrever um um emulador de torneira baseado no tun que adicionar layer2 informações sobre envio e tira informações layer2 em receber. Mas este emulador de torneira também teria que implementar ARP e, possivelmente, um cliente DHCP. Eu não conheço ninguém fazer nenhum trabalho nesse sentido. Contacte-me se você deseja iniciar a codificação sobre isso. Mas este emulador tap também teria que implementar ARP e, possivelmente, um cliente DHCP. Eu não conheço ninguém a fazer nenhum trabalho nesse sentido. Contacte-me se conhece alguém ou deseja a escrever código nesse sentido.</string>
- <string name="faq">Perguntas Frequentes</string>
- <string name="copying_log_entries">Copia entradas de registo</string>
- <string name="faq_copying">Para copiar uma única entrada do registo selecione e mantenha seleciona a respetiva entrada. Para copiar/enviar o registo completo use a opção enviar registo. Use o botão de menu do equipamento caso não esteja visível no GUI.</string>
- <string name="faq_shortcut">Atalho para iniciar</string>
- <string name="no_vpn_support_image">A imagem não suporta a API VPNService, lamentamos :(</string>
- <string name="encryption">Encriptação</string>
- <string name="cipher_dialog_title">Digite o método de encriptação</string>
- <string name="settings_auth">Autenticação/encriptação</string>
- <string name="file_explorer_tab">Explorador de ficheiros</string>
- <string name="inline_file_tab">Ficheiro embutido</string>
- <string name="error_importing_file">Erro ao importar ficheiro</string>
- <string name="import_error_message">Não foi possível importar o ficheiro</string>
- <string name="inline_file_data">[[Dados do ficheiro embutido]]</string>
- <string name="opentun_no_ipaddr">Impossível abrir dispositivo tun sem informações de IP</string>
- <string name="menu_import">Importar Perfil a partir de um ficheiro ovpn</string>
- <string name="menu_import_short">Importar</string>
- <string name="import_content_resolve_error">Não foi possível ler o perfil a importação</string>
- <string name="error_reading_config_file">Erro ao ler o ficheiro de configuração</string>
- <string name="add_profile">Adicionar perfil</string>
- <string name="import_could_not_open">Não foi possível encontrar o ficheiro %1$s mencionado no ficheiro de configuração importado</string>
- <string name="importing_config">A importar ficheiro configuração a partir de %1$s</string>
- <string name="import_done">Terminou a leitura do ficheiro de configuração.</string>
- <string name="nobind_summary">Não ligar a endereço e porta local</string>
- <string name="no_bind">Não permitir ligações \'locais\'</string>
- <string name="import_configuration_file">Importar o ficheiro de configuração</string>
- <string name="faq_security_title">Considerações de segurança</string>
- <string name="faq_security">"Como OpenVPN é segurança sensíveis algumas notas sobre segurança são sensatas. Todos os dados no sdcard é inerentemente inseguro. Cada aplicativo pode lê-lo (por exemplo, este programa não requer direitos especiais cartão SD). Os dados desta aplicação só pode ser lido pelo próprio aplicativo. Ao usar a opção de importação para cacert / cert / chave no diálogo os dados do arquivo é armazenado no perfil de VPN. Os perfis de VPN são acessíveis apenas por esta aplicação. (Não se esqueça de apagar as cópias no sd cartão depois). Mesmo com acesso apenas por este aplicativo os dados ainda não é criptografado. torcendo por telefone ou outros exploits pode ser possível recuperar os dados. senhas salvas são armazenadas em texto simples assim. Para arquivos PKCS12 é altamente recomendável que você importá-los para o armazenamento de chaves android. "</string>
- <string name="import_vpn">Importar</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">A esperar mensagem de estado...</string>
- <string name="converted_profile">perfil importado</string>
- <string name="converted_profile_i">Perfil importado %d</string>
- <string name="broken_images">Imagens quebradas</string>
- <string name="private_key_password">Senha de chave privada</string>
- <string name="password">Senha</string>
- <string name="file_icon">ícone de ficheiro</string>
- <string name="tls_authentication">Autenticação TLS</string>
- <string name="generated_config">Config gerado</string>
- <string name="generalsettings">Configurações</string>
- <string name="owner_fix">Corrija a propriedade de /dev/tun</string>
- <string name="edit_profile_title">A editar \"%s\"</string>
- <string name="building_configration">A preparar a configuração...</string>
- <string name="netchange">Volte a ligar na mudança de rede</string>
- <string name="netstatus">Estado da rede: %s</string>
- <string name="select_file">Selecione</string>
- <string name="show_log_window">Mostrar a janela de log</string>
- <string name="faq_system_dialogs_title">Aviso de ligação e som de notificação</string>
- <string name="ipdns">IP e DNS</string>
- <string name="basic">Básico</string>
- <string name="routing">Encaminhamento</string>
- <string name="advanced">Avançado</string>
- <string name="faq_howto_title">Início Rápido</string>
- <string name="using_proxy">A utilizar proxy %1$s %2$d</string>
- <string name="use_system_proxy">Usar a proxy do sistema</string>
- <string name="onbootrestart">Volte a ligar na reinicialização</string>
- <string name="ignore">Ignorar</string>
- <string name="restart">Reiniciar</string>
- <string name="restart_vpn_after_change">As alterações de configuração são aplicadas depois de reiniciar a VPN. Reiniciar a VPN agora?</string>
- <string name="configuration_changed">Configuração alterada</string>
- <string name="faq_duplicate_notification_title">Notificações duplicadas</string>
- <string name="no_vpn_profiles_defined">Não há perfis de VPN definidos.</string>
- <string name="add_new_vpn_hint">Use o &lt; img src = \"ic_menu_add\" / &gt; ícone para adicionar uma nova VPN</string>
- <string name="vpn_import_hint">Use o &lt; img src = \"ic_menu_archive\" / &gt; ícone para importar um perfil existente (ovpn ou conf) do seu sdcard.</string>
- <string name="faq_routing_title">Configuração de roteamento/Interface</string>
- <string name="persistent_tun_title">Tun Persistente</string>
- <string name="openvpn_log">OpenVPN Log</string>
- <string name="import_config">Importar configuração OpenVPN</string>
- <string name="battery_consumption_title">Consumo de bateria</string>
- <string name="vpn_tethering_title">VPN e Tethering</string>
- <string name="connection_retries">Tentativas de ligação</string>
- <string name="reconnection_settings">Configurações de religação</string>
- <string name="connectretrywait">Segundos entre ligações</string>
- <string name="send_minidump">Enviar Minidump para desenvolvedor</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">A ligar</string>
- <string name="state_wait">A esperar pela resposta do servidor</string>
- <string name="state_auth">Autenticando</string>
- <string name="state_get_config">A obter a configuração do cliente</string>
- <string name="state_assign_ip">Atribuindo endereços IP</string>
- <string name="state_add_routes">Adicionando rotas</string>
- <string name="state_connected">Ligado</string>
- <string name="state_disconnected">Desligado</string>
- <string name="state_reconnecting">A religar</string>
- <string name="state_exiting">A sair</string>
- <string name="state_noprocess">Parado</string>
- <string name="state_resolve">A resolver nomes de host</string>
- <string name="state_tcp_connect">A ligar (TCP)</string>
- <string name="state_auth_failed">Falha na autenticação</string>
- <string name="state_nonetwork">A aguardar rede utilizável</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Não ligado</string>
- <string name="start_vpn_title">A ligar a VPN %s</string>
- <string name="start_vpn_ticker">A ligar a VPN %s</string>
- <string name="encryption_cipher">Cifra de encriptação</string>
- <string name="packet_auth">Autenticação de pacotes</string>
- <string name="auth_dialog_title">Selecione o método de autenticação de pacotes</string>
- <string name="built_by">Feito por %s</string>
- <string name="debug_build">compilação de debug</string>
- <string name="official_build">compilação oficial</string>
- <string name="make_selection_inline">Copiar para o perfil</string>
- <string name="crashdump">Crashdump</string>
- <string name="add">Adicionar</string>
- <string name="send_config">Enviar ficheiro de configuração</string>
- <string name="complete_dn">DN completo</string>
- <string name="rdn">RDN (nome comum)</string>
- <string name="rdn_prefix">Prefixo RDN</string>
- <string name="tls_remote_deprecated">TLS-remoto (obsoleto)</string>
- <string name="help_translate">Pode ajudar a traduzir, visite http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s tenta controlar %2$s</string>
- <string name="remote_trust">Confio nesta aplicação.</string>
- <string name="no_external_app_allowed">Nenhuma app pode usar a API externa</string>
- <string name="allowed_apps">Aplicações permitidas:%s</string>
- <string name="save_password">Guardar senha</string>
- <string name="pauseVPN">Pausar VPN</string>
- <string name="resumevpn">Retomar VPN</string>
- <string name="state_userpause">VPN pausado por solicitação do utilizador</string>
- <string name="cannotparsecert">Não é possível mostrar as informações de certificado</string>
- <string name="appbehaviour">Comportamento da aplicação</string>
- <string name="vpnbehaviour">Comportamento VPN</string>
- <string name="allow_vpn_changes">Permitir alterações aos perfis de VPN</string>
- <string name="donatePlayStore">Como alternativa, pode enviar uma doação pela Play Store:</string>
- <string name="thanks_for_donation">Obrigado por doar %s!</string>
- <string name="logCleared">Log limpo.</string>
- <string name="show_password">Mostrar a senha</string>
- <string name="keyChainAccessError">Erro de acesso às chaves: %s</string>
- <string name="timestamp_short">Curto</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">Carimbos de hora</string>
- <string name="timestamps_none">Nenhum</string>
- <string name="uploaded_data">Fazer upload</string>
- <string name="downloaded_data">Transferir</string>
- <string name="vpn_status">Estado da VPN</string>
- <string name="logview_options">Opções de visualização</string>
- <string name="unhandled_exception">Unhandled exception: %1$s\n\n%2$s</string>
- <string name="unhandled_exception_context">%3$s: %1$s\n\n%2$s</string>
- <string name="full_licenses">Licenças completas</string>
- <string name="blocklocal_title">Ignorar VPN para redes locais</string>
- <string name="userpw_file">Ficheiro de utilizador/senha</string>
- <string name="imported_from_file">[Importado de: %s]</string>
- <string name="import_log">Log de importação:</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-ro/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-ro/strings.xml
deleted file mode 100755
index 8f3e469d..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-ro/strings.xml
+++ /dev/null
@@ -1,281 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN pentru Android</string>
- <string name="address">Adresa server:</string>
- <string name="port">Port server:</string>
- <string name="location">Locaţie</string>
- <string name="cant_read_folder">Directorul nu poate fi citit</string>
- <string name="select">Selectare</string>
- <string name="cancel">Anulare</string>
- <string name="no_data">Nu există date</string>
- <string name="useLZO">Compresie LZO</string>
- <string name="client_no_certificate">Fără certificat</string>
- <string name="client_certificate_title">Certificat client</string>
- <string name="client_key_title">Cheie certificat client</string>
- <string name="client_pkcs12_title">Fişier PKCS12</string>
- <string name="ca_title">Certificat CA</string>
- <string name="no_certificate">Trebuie să selectați un certificat</string>
- <string name="copyright_guicode">Cod sursă şi tracker probleme disponibile la http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">Acest program utilizează următoarele componente; a se vedea codul sursă pentru mai multe detalii despre licente</string>
- <string name="about">Despre</string>
- <string name="vpn_list_title">Profile</string>
- <string name="vpn_type">Tip</string>
- <string name="pkcs12pwquery">Parola PKCS12</string>
- <string name="file_select">Selectaţi&#8230;</string>
- <string name="file_nothing_selected">Trebuie să selectaţi un fişier</string>
- <string name="useTLSAuth">Folosiţi autentificare TLS</string>
- <string name="tls_direction">Direcţie TLS</string>
- <string name="ipv6_dialog_tile">Introduceţi adresa IPv6/Netmask în Format CIDR (ex. 2000:dd::23 / 64)</string>
- <string name="ipv4_dialog_title">Introduceţi adresa IPv4/Netmask în format CIDR (de exemplu, 1.2.3.4/24)</string>
- <string name="ipv4_address">Adresă IPv4</string>
- <string name="ipv6_address">Adresă IPv6</string>
- <string name="custom_option_warning">Introduceţi opţiuni particularizate OpenVPN. Folosiţi cu atenţie. De asemenea, reţineţi că multe dintre opţiunile legate de OpenVPN tun nu sunt suportate de VPNSettings. Dacă lipseşte o opţiune importantă contactaţi autorul</string>
- <string name="auth_username">Utilizator</string>
- <string name="auth_pwquery">Parola</string>
- <string name="static_keys_info">Pentru configurarea statică Cheile TLS Auth vor fi utilizate ca şi chei statice</string>
- <string name="configure_the_vpn">Configurare VPN</string>
- <string name="menu_add_profile">Adaugă profil</string>
- <string name="add_profile_name_prompt">Introduceţi un nume ce identifică profilul nou</string>
- <string name="duplicate_profile_name">Vă rugăm să introduceţi un nume de profil unic</string>
- <string name="profilename">Nume profil</string>
- <string name="no_keystore_cert_selected">Trebuie să selectați un certificat de utilizator</string>
- <string name="no_error_found">Nu s-a găsit nici o eroare</string>
- <string name="config_error_found">Eroare în configurare</string>
- <string name="ipv4_format_error">Eroare parsare adresă IPv4</string>
- <string name="custom_route_format_error">Eroare parsare rute particularizate</string>
- <string name="pw_query_hint">(lăsaţi necompletat pentru a interoagre la cerere)</string>
- <string name="vpn_shortcut">Scurtătură OpenVPN</string>
- <string name="vpn_launch_title">Conectare la VPN</string>
- <string name="shortcut_profile_notfound">Profilul specificat în comanda rapidă nu a fost găsit</string>
- <string name="random_host_prefix">Prefix host aleator</string>
- <string name="random_host_summary">Adaugă 6 caractere aleatoare în faţa hostname</string>
- <string name="custom_config_title">Activare opţiuni particularizate</string>
- <string name="custom_config_summary">Specificaţi opţiunile particularizate. Folosiţi cu grijă!</string>
- <string name="route_rejected">Rută respinsă de Android</string>
- <string name="cancel_connection">Deconectaţi</string>
- <string name="cancel_connection_long">Deconectați VPN</string>
- <string name="clear_log">Golire jurnal</string>
- <string name="title_cancel">Anulare confirmare</string>
- <string name="cancel_connection_query">Deconectaţi VPN-ul conectat/anulaţi încercarea de conectare?</string>
- <string name="remove_vpn">Elimina VPN</string>
- <string name="check_remote_tlscert">Verifică dacă serverul utilizează un certificat cu extensii TLS Server (--remote-cert-tls server)</string>
- <string name="check_remote_tlscert_title">Aşteptă certificat de server TLS</string>
- <string name="remote_tlscn_check_summary">Verifică Remote Server Certificate Subject DN</string>
- <string name="remote_tlscn_check_title">Verficare hostname certificat</string>
- <string name="enter_tlscn_dialog">Specifică verificarea ce va fi utilizată pentru certificatul DN (e.g. C=DE, L=Paderborn, OU=Avian IP Carriers, CN=openvpn.blinkt.de)\n\nSpecifică DN complet sau RDN (openvpn.blinkt.de in exemplu) sau un prefix RDN pentru verificare.\n\nCând folosiți prefix RDN \"Server\" face match si cu \"Server-1\" și \"Server-2\"\n\nDacă lăsați câmpul gol se va verifica RDN contra hostaname-ul serverului.\n\nPentru mai multe detalii verificați manualul OpenVPN 2.3.1+ la —verify-x509-name</string>
- <string name="enter_tlscn_title">Subiect certificat remote</string>
- <string name="tls_key_auth">Activează autentificarea cu cheie TLS</string>
- <string name="tls_auth_file">Fişier TLS Auth</string>
- <string name="pull_on_summary">Cere adrese IP, rute şi opţiuni timing de la server.</string>
- <string name="pull_off_summary">Nu se cere nici o informaţie de la server. Setările trebuie specificate mai jos.</string>
- <string name="use_pull">Setări pull</string>
- <string name="dns">DNS</string>
- <string name="override_dns">Suprascrie setările DNS trimise de Server</string>
- <string name="dns_override_summary">Utilizează propriile servere DNS</string>
- <string name="searchdomain">searchDomain</string>
- <string name="dns1_summary">Server DNS ce va fi folosit.</string>
- <string name="dns_server">Server DNS</string>
- <string name="secondary_dns_message">Server DNS secundar folosit dacă serverul DNS normal nu poate fi folosit.</string>
- <string name="backup_dns">Server DNS backup</string>
- <string name="ignored_pushed_routes">Ignoră rutele primite</string>
- <string name="ignore_routes_summary">Ignoră rutele oferite de server.</string>
- <string name="default_route_summary">Redirecţionează tot traficul peste VPN</string>
- <string name="use_default_title">Foloseşte ruta default</string>
- <string name="custom_route_message">Introduceţi rute particularizate. Introduceţi destinaţia în format CIDR. \"10.0.0.0/8 2002:: / 16\" va redirecta reţelele 10.0.0.0/8 şi 2002:: / 16 peste VPN.</string>
- <string name="custom_routes_title">Rute particularizate</string>
- <string name="log_verbosity_level">Nivel detaliu jurnal</string>
- <string name="float_summary">Permite pachete autentificate de la orice IP</string>
- <string name="float_title">Permite floating server</string>
- <string name="custom_options_title">Opţiuni particularizate</string>
- <string name="edit_vpn">Editaţi setările VPN</string>
- <string name="remove_vpn_query">Şterge profilul VPN \'%s\'?</string>
- <string name="tun_error_helpful">În cazul anumitor imagini particularizate de ICS permisiile pentru /dev/tun pot fi greşite sau modulul tun lipseşte cu desăvârşire. Pentru imaginile CM9 ăncercaţi opţiunea de a repara permisiunile în cadrul setărilor generale</string>
- <string name="tun_open_error">Eroare deschidere interfaţa tun</string>
- <string name="error">"Eroare:"</string>
- <string name="clear">Goleşte</string>
- <string name="last_openvpn_tun_config">Se deschide interfața tun:</string>
- <string name="local_ip_info">Local IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">Server DNS: %1$s, Domeniu: %2$s</string>
- <string name="ip_not_cidr">S-au primit informaţiile despre interfaţă %1$s şi %2$s, presupun că a doua adresă este adresa peer a serverlui remote. Folosesc netmask /32 pentru IP local. Modul dat de OpenVPN este \"%3$s\".</string>
- <string name="route_not_cidr">Nu se poate interpreta %1$s şi %2$s ca rute IP cu netmask CIDR, folosesc /32 ca netmask.</string>
- <string name="route_not_netip">Am corectat ruta %1$s/%2$s ca %3$s/%2$s</string>
- <string name="keychain_access">Imposibil de accesat Keychain cu certificate al Android. Acest lucur poate fi cauzat de un upgrade de firmware sau de restaurarea unei copii de siguranţă a setărilor app/app. Editaţi din nou VPN-ul si reselectaţi certificatul la \"setări de bază\" pentru a recreea permisiile de a accesa certificatul.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Trimite fişier jurnal</string>
- <string name="send">Trimite</string>
- <string name="ics_openvpn_log_file">Fişier jurnal OpenVPN ICS</string>
- <string name="copied_entry">Linia din log s-a copiat in clip board</string>
- <string name="tap_mode">Mod Tap</string>
- <string name="faq_tap_mode">Modul Tap nu este posibil folosind API-ul VPN non root. Astfel această aplicaţie nu poate oferi suport tap</string>
- <string name="tap_faq2">Din nou? Glumesti? Nu, modul tap chiar nu este suportat şi trimiţând mai multe email-uri în care îl cereţi nu va ajuta.</string>
- <string name="tap_faq3">A treia oară? De fapt, cineva ar putea scrie un emulator tap bazat pe tun ce ar adăuga informaţii din layer2 la trimitere şi are elimina informaţiile layer2 la primire. Dar acest emulator ar trebui sa implementeze ARP şi probabil un client DHCP. Nu sunt la curent cu cineva care lucrează la asta. Daca vreţi sa programaţi aceste funcţii mă puteţi contacta.</string>
- <string name="faq">FAQ</string>
- <string name="copying_log_entries">Copiere linii jurnal</string>
- <string name="faq_copying">Pentru a copia o singură linie din jurnal apăsaţi şi menţineţi apăsat pe acea linie. Pentru a copia/trimite întreg jurnalul folosiţi opţiunea Trimite Jurnal. Folosiţi butonul de meniu hardware dacă nu este vizibil în GUI.</string>
- <string name="faq_shortcut">Shortcut pornire</string>
- <string name="faq_howto_shortcut">Puteţi plasa o scurtătură pe desktop pentru a lansa OpenVPN. În funcţie de programul homescreen trebuie să adăugaţi fie o scurtătură fie un widget.</string>
- <string name="no_vpn_support_image">Imaginea dvs. nu suportă API-ul VPNService, îmi pare rău :(</string>
- <string name="encryption">Criptare</string>
- <string name="cipher_dialog_title">Alegeţi metoda de criptare</string>
- <string name="auth_dialog_message">Introduceţi autentificarea digest ce este folosită de OpenVPN. Lăsaţi gol pentru digest predefinit.</string>
- <string name="settings_auth">Autentificare/criptare</string>
- <string name="file_explorer_tab">File Explorer</string>
- <string name="inline_file_tab">Fişier inline</string>
- <string name="error_importing_file">Eroare importare fişier</string>
- <string name="import_error_message">Nu s-a putut importa fişierul din filesystem</string>
- <string name="inline_file_data">[[date fişier inline]]</string>
- <string name="opentun_no_ipaddr">Se refuză deschiderea device-ului tun fără informaţii IP</string>
- <string name="menu_import">Importa profilul din fişier ovpn</string>
- <string name="menu_import_short">Import</string>
- <string name="import_content_resolve_error">Imposibil de citit profilul de importat</string>
- <string name="error_reading_config_file">Eroare la citirea fişierului de configurare</string>
- <string name="add_profile">Adaugă profil</string>
- <string name="import_could_not_open">Imposibil de găsit fișierul %1$s menţionat în fişierul de configurare importat</string>
- <string name="importing_config">Import fişierul de configurare din sursa %1$s</string>
- <string name="import_warning_custom_options">Configurația avut câteva opțiuni de configurare care nu sunt mapate la configurații UI. Aceste opțiuni au fost adăugate ca opțiuni de configurare personalizate. Configurația personalizată este afișată mai jos:</string>
- <string name="import_done">S-a terminat citirea fişierului de configurare.</string>
- <string name="nobind_summary">Nu face bind la adresa şi portul local</string>
- <string name="no_bind">Fără binding local</string>
- <string name="import_configuration_file">Import fişier de configurare</string>
- <string name="faq_security_title">Considerente de securitate</string>
- <string name="faq_security">"Deoarece OpenVPN are implicaţii de securitate este bine să facem câteva menţiuni. Toate datele de pe cardul sd sunt inerent nesecurizate. Orice aplicaţie le poate citi (de exemplu acest program nu are nevoie de drepturi speciale pentru sd). Datele acestei aplicaţii pot fi citite doar de aplicaţia însăşi. Dacă folosiţi funcţia import pentru cacert/cert/key în dialogul de import fişiere datele sunt stocate în profilul VPN. Profilele VPN sunt accesibile doar de această aplicaţie. (Nu uitaţi să ştergeţi copiile de pe cardul sd după aceea). Chiar dacă sunt accesibile doar de această aplicaţie datele sunt necriptate. Folosind root sau alte exploit-uri datele ar putea fi extrase. Parolele salvate sunt stocate de asemenea în clar. Pentru fişiere pkcs12 este recomandat să le importaţi în keystore-ul android."</string>
- <string name="import_vpn">Import</string>
- <string name="broken_image_cert_title">Eroare la afişarea selecţiei de certificat</string>
- <string name="broken_image_cert">Excepţie la afişarea dialogului Android 4.0+ de selecţie a certificatului. Acest lucru nu ar trebui să se întâmple deoarece este o funcţie standard Android 4.0+. Poate ROM-ul dvs. Android are suportul de stocare a certificatelor defect</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Se aşteaptă mesajul de stare&#8230;</string>
- <string name="converted_profile">profil importat</string>
- <string name="converted_profile_i">profil importat %d</string>
- <string name="broken_images">Imagini defecte</string>
- <string name="broken_images_faq">&lt;p&gt;Este cunoscut faptul ca imaginile HTC oficiale au o problemă ciudată de rutare ce nu permite traficului să treacă prin tunel (citiţi şi &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\"&gt;Problema 18&lt;/a&gt;în bug tracker.)&lt;/p&gt;&lt;p&gt;S-a raportat că VPNService lipseşte complet din imaginile oficiale SONY mai vechi pentru Xperia arc S şi Xperia Ray. (citiţi şi &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\"&gt;Problema 29&lt;/a&gt; în bug tracker.)&lt;/p&gt;&lt;p&gt;În imaginile particularizate modulul tun poate lipsi sau drepturile pentru /dev/tun pot fi greşite. Unele imagini CM9 au nevoie de opţiunea de reparare a drepturilor din setările generale.&lt;/p&gt;&lt;p&gt;Important: dacă aveţi o imagine defectă raportaţi-o fabricantului. Cu cât mai mulţi utilizatori raportează problema fabricantului cu atât este mai posibil ca el să o remedieze.&lt;/p&gt;</string>
- <string name="pkcs12_file_encryption_key">Cheie criptare fişier PKCS12</string>
- <string name="private_key_password">Parola cheie privată</string>
- <string name="password">Parola</string>
- <string name="file_icon">icon fişier</string>
- <string name="tls_authentication">autentificare TLS</string>
- <string name="generated_config">Config generat</string>
- <string name="generalsettings">Setări</string>
- <string name="owner_fix_summary">Încearcă să seteze owner-ul /dev/tun ca sistem. Unele imagini CM9 au nevoie de asta pentru a permite API-ului VPNService să funcţioneze. Are nevoie de root.</string>
- <string name="owner_fix">Repară drepturi /dev/tun</string>
- <string name="generated_config_summary">Afişează fişierul de configurare OpenVPN generat</string>
- <string name="edit_profile_title">Editare \"%s\"</string>
- <string name="building_configration">Se generează configurarea&#8230;</string>
- <string name="netchange_summary">Activând această opţiune forţaţi o reconectare dacă se schimbă starea de reţea (e.g. WiFi la/de la mobil)</string>
- <string name="netchange">Reconectare la schimbare reţea</string>
- <string name="netstatus">Statutus reţea: %s</string>
- <string name="extracahint">Certificatul CA este în mod normal returnat de Android Keystore. Specificaţi un certificat separat dacă observaţi erori de verificare a certificatului.</string>
- <string name="select_file">Selectare</string>
- <string name="keychain_nocacert">Nici un certificat CA nu a fost returnat la citirea din keystore-ul Android. Autentificarea probabil va eşua.</string>
- <string name="show_log_summary">Afişează fereastra jurnal la conectare. Fereastra jurnal poate fi accesată oricând din statusul notificare.</string>
- <string name="show_log_window">Arată fereastra Jurnal</string>
- <string name="mobile_info">Rulează pe %1$s (%2$s) %3$s, Android API %4$d</string>
- <string name="error_rsa_sign">Eroare semnare cu Android keystore key %1$s: %2$s</string>
- <string name="faq_system_dialogs">Avertizarea la conexiunea VPN ce vă spune că această aplicaţie poate intercepta întreg traficul este impusă de sistem pentru a preveni abuzul funcţiei API VPNService.\nNotificarea de conexiune VPN(simbolul cheie)este de asemenea impusă de sistemul Android pentru a semnala o conexiune VPN în derulare. În cadrul unor imagini această notificare face şi un sunet.\nAndroid a introdus aceste notificări pentru siguranţa dvs. şi este asigurat că nu pot fi evitate. (Din păcate în anumite imagini acestea includ şi un sunet de notificare)</string>
- <string name="faq_system_dialogs_title">Alertă conexiune şi sunet notificare</string>
- <string name="translationby">Traducere în limba română de Silviu Vulcan&lt;silviuvulcan.ro&gt;</string>
- <string name="ipdns">IP şi DNS</string>
- <string name="basic">Basic</string>
- <string name="routing">Rutare</string>
- <string name="obscure">Setări obscure pentru OpenVPN. În mod normal nu sunt necesare.</string>
- <string name="advanced">Avansate</string>
- <string name="export_config_title">Configurare Openvpn ICS</string>
- <string name="warn_no_dns">Nici un server DNS utilizat. Rezolvarea de nume poate să nu funcționeze. Luați în considerare stabilirea unor servere DNS personalizate. Vă rugăm, de asemenea, rețineți că Android va continua să utilizeze setările proxy specificate pentru conexiunea mobilă/Wi-Fi atunci când nu sunt stabilite servere DNS.</string>
- <string name="dns_add_error">Nu s-a putut adăuga serverul DNS \"%1$s\", respins de sistem: %2$s</string>
- <string name="faq_howto">&lt;p&gt;Obţineţi o configurare funcţională (testată pe calculatorul dvs. sau descărcată de la provider/companie)&lt;/p&gt;&lt;p&gt;Dacă este un singur fişier fără alte fişiere pem/pks12 puteţi să vă trimiteţi fişierul prin email şi să deschideţi ataşamentul. Daca aveţi fişiere multiple le puteţi pune pe cardul sd.&lt;/p&gt;&lt;p&gt;Click pe ataşamentul email/Folosiţi icoana director din lista de vpn-ri pentru a importa fişierul de configurare.&lt;/p&gt;&lt;p&gt;Dacă sunt erori despre fişiere lipsă le puteţi pune pe cardul sd.&lt;/p&gt;&lt;p&gt;Click pe simbolul de salvare pentru a adăuga VPN-ul importat în lista dvs. de VPN-uri&lt;/p&gt;&lt;p&gt;Conectaţi VPN-ul dând click pe numele VPN-ului&lt;/p&gt;&lt;p&gt;Dacă sunt erori/avertismente în jurnal încercaţi să le înţelegeţi şi să le reparaţi&lt;/p&gt; </string>
- <string name="faq_howto_title">Pornire rapidă</string>
- <string name="setting_loadtun_summary">Încearcă încărcarea modului kernel tun.ko înainte de conectare. Are nevoie de un device root-at.</string>
- <string name="setting_loadtun">Încarcă modulul tun</string>
- <string name="importpkcs12fromconfig">Import PKCS12 configurare în Android Keystore</string>
- <string name="getproxy_error">Eroare la obţinerea setărilor proxy: %s</string>
- <string name="using_proxy">Folosesc proxy %1$s %2$d</string>
- <string name="use_system_proxy">Foloseşte proxy sistem</string>
- <string name="use_system_proxy_summary">Foloseşte configurarea sistem pentru proxy HTTP/HTTPS folosit la conectare.</string>
- <string name="donatewithpaypal">Puteţi &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;dona prin PayPal&lt;/a&gt; </string>
- <string name="onbootrestartsummary">OpenVPN va reconecta un VPN dacă a fost activ la reboot/shutdown. Citiţi avertizarea la Conexiune din FAQ înainte de a folosi această funcţie.</string>
- <string name="onbootrestart">Reconectarea la reboot</string>
- <string name="ignore">Ignora</string>
- <string name="restart">Restart</string>
- <string name="restart_vpn_after_change">Schimbările de configurare vor fi aplicate după restartarea VPN-ului. (Re)startaţi VPN-ul acum?</string>
- <string name="configuration_changed">Configuraţie schimbată</string>
- <string name="log_no_last_vpn">Nu se poate determina ultimul profil conectat pentru editare</string>
- <string name="faq_duplicate_notification_title">Duplichează notificări</string>
- <string name="faq_duplicate_notification">Dacă Android are puţină memorie (RAM) disponibilă va închide aplicaţii şi servicii ce nu sunt necesare pe moment. Acest lucru va închide o conexiune VPN activă. Pentru a asigura că acest fapt nu se întâmplă şi conexiunea/OpenVPN supravieţuieşte serviciul rulează cu prioritate ridicată. Pentru a rula cu prioritate ridicată aplicaţia trebuie să afişeze o notificare. Icoana cheie de notificare este impusă de sistem după cum s-a descris în raspunsul FAQ anterior. Nu se socoteşte ca notificare a aplicaţiei în scopul de a rula cu prioritate ridicată.</string>
- <string name="no_vpn_profiles_defined">nici un profil VPN definit.</string>
- <string name="add_new_vpn_hint">Folosiţi icoana &lt;img src=\"ic_menu_add\"/&gt; pentru a adăuga un nou VPN</string>
- <string name="vpn_import_hint">Folosiţi icoana &lt;img src=\"ic_menu_archive\"/&gt; pentru a importa un profil existent (.ovpn sau .conf) de pe cardul sd.</string>
- <string name="faq_hint">Verificaţi şi FAQ. Acolo este ghid rapid de utilizare.</string>
- <string name="faq_routing_title">Configurare Rutare/Interfaţă</string>
- <string name="persisttun_summary">Nu reveni la nici o conexiune VPN câtă vreme OpenVPN se reconectează.</string>
- <string name="persistent_tun_title">Tun persistent</string>
- <string name="openvpn_log">jurnal OpenVPN</string>
- <string name="import_config">Import configurare OpenVPN</string>
- <string name="battery_consumption_title">Consum baterie</string>
- <string name="baterry_consumption">În cadrul testelor mele personale principalul motiv pentru consumul ridicat de baterie al OpenVPN sunt pachetele keepalive. Majoritatea serverelor OpenVPN au în configurare o directivă cum ar fi \'keepalive 10 60\' ce face ca şi clientul să schimbe cu serverul pachete keepalive la fiecare 10 secunde.&lt;p&gt; Chiar dacă aceste pachete sunt mici şi nu folosesc trafic, ele menţin radioul mobil activ şi cresc consumul de energie. (Citiţi şi &lt;a href=\"http://developer.android.com/training/efficient-downloads/efficient-network-access.html#RadioStateMachine\"&gt;The Radio State Machine | Android Developers&lt;/a&gt;) &lt;p&gt;Această setare keepalive nu poate fi schimbată de client. Doar administratorul serverului OpenVPN o poate schimba.&lt;p&gt; Din păcate o valoare mai mare de 60 de secunde a keepalive cu UDP poate face ca unele gateway-uri NAT să termine conexiunea după un timp scurt. Folosind TCP cu valori lungi de keepalive funcţionează dar rularea unui tunel TCP peste o conexiune TCP funcţionează foarte slab în cazul conexiunilor cu pierderi mari de pachete. (Citiţi &lt;a href=\"http://sites.inka.de/bigred/devel/tcp-tcp.html\"&gt;Why TCP Over TCP Is A Bad Ide&lt;/a&gt;)</string>
- <string name="faq_tethering">Funcţia Android Tether (folosind WiFi, USB sau Bluetooth) şi API-ul VPNService (folosit de acest program) nu funcţionează împreună. Pentru mai multe detalii vizitaţi &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\"&gt;issue #34&lt;/a&gt;</string>
- <string name="vpn_tethering_title">VPN şi Tethering</string>
- <string name="connection_retries">Reîncercări conectare</string>
- <string name="reconnection_settings">Setările de reconectare</string>
- <string name="connectretrymessage">Numărul de secunde între încercările de conectare.</string>
- <string name="connectretrywait">Secunde între conexiuni</string>
- <string name="minidump_generated">OpenVPN sa oprit în mod neaşteptat. Vă rugăm să consideraţi opţiunea de trimitere a unui Minidump din meniul principal</string>
- <string name="send_minidump">Trimite Minidump la dezvoltator</string>
- <string name="send_minidump_summary">Trimite informații de depanare despre ultimul crash la dezvoltator</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">Se conectează</string>
- <string name="state_wait">Se aşteaptă răspunsul serverului</string>
- <string name="state_auth">Autentificare</string>
- <string name="state_get_config">Se obţine configurarea clientului</string>
- <string name="state_assign_ip">Se asignează adresele IP</string>
- <string name="state_add_routes">Adăugare rute</string>
- <string name="state_connected">Conectat</string>
- <string name="state_disconnected">Deconectaţi</string>
- <string name="state_reconnecting">Se reconectează</string>
- <string name="state_exiting">Se iasă</string>
- <string name="state_noprocess">Nu rulează</string>
- <string name="state_resolve">Rezolvare nume host</string>
- <string name="state_tcp_connect">Se conectează (TCP)</string>
- <string name="state_auth_failed">Autentificare a eşuat</string>
- <string name="state_nonetwork">Se aşteaptă o reţea utilizabilă</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Nu este conectat</string>
- <string name="start_vpn_title">Conectare la VPN %s</string>
- <string name="start_vpn_ticker">Conectare la VPN %s</string>
- <string name="jelly_keystore_alphanumeric_bug">Unele versiuni de Android 4.1 au probleme dacă numele certificatului keystore conţine caractere non-alfanumerice (cum ar fi spaţii, linii de subliniere sau cratime). Încercaţi să reimportaţi certificatul fără caractere speciale</string>
- <string name="encryption_cipher">Cifru criptare</string>
- <string name="packet_auth">Autentificare pachete</string>
- <string name="auth_dialog_title">Introduceţi metoda de autentificare de pachete</string>
- <string name="mobile_info_extended">Rulează pe %1$s (%2$s) %3$s, Android API %4$d, versiunea %5$s, %6$s</string>
- <string name="built_by">compilat de %s</string>
- <string name="debug_build">versiune debug</string>
- <string name="official_build">versiune oficială</string>
- <string name="make_selection_inline">Copiaţi în profil</string>
- <string name="crashdump">Crashdump</string>
- <string name="add">Adauga</string>
- <string name="send_config">Trimite fişierul de configurare</string>
- <string name="complete_dn">DN Complet</string>
- <string name="remotetlsnote">Configuraţia importată foloseşte opţiunea ÎNVECHITĂ tls-remote ce utilizează un format DN diferit.</string>
- <string name="rdn">RDN (nume comun)</string>
- <string name="rdn_prefix">Prefix RDN</string>
- <string name="tls_remote_deprecated">tls-remote (ÎNVECHIT)</string>
- <string name="help_translate">Puteţi ajuta la traducere vizitând http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s încercări de a controla %2$s</string>
- <string name="remote_trust">Am încredere în această aplicaţie.</string>
- <string name="no_external_app_allowed">Nici o aplicaţie nu are permisiunea de a folosi API-ul extern</string>
- <string name="allowed_apps">Aplicaţii permise: %s</string>
- <string name="clearappsdialog">Şterge lista aplicaţilor permise?\nLista curentă a aplicaţilor ce au permisiune:\n\n%s</string>
- <string name="screenoff_summary">\"Suspendă VPN atunci când ecranul este oprit şi au fost transferaţi mai puţin de 64 kB în 60s. Când \"Tun persistent\" este activat suspendarea conexiunii VPN va lăsa aparatul dvs. FĂRĂ conexiune la reţea. Fără opţiunea \"Tun persistent\" aparatul nu va beneficia de conexiune/protecţie VPN.</string>
- <string name="screenoff_title">Suspendă conexiunea VPN după închiderea ecranului</string>
- <string name="screenoff_pause">Se suspendă conexiunea în starea ecran oprit: mai puţin de %1$s în %2$s</string>
- <string name="screen_nopersistenttun">Atenție: TUN persistent nu este activat pentru acest VPN. Traficul va utiliza conexiunea Internet normala atunci când ecranul este oprit.</string>
- <string name="save_password">Salvare parola</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-ru/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-ru/strings.xml
deleted file mode 100755
index 02b60f45..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-ru/strings.xml
+++ /dev/null
@@ -1,327 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN для Android</string>
- <string name="address">Адрес сервера:</string>
- <string name="port">Порт сервера:</string>
- <string name="location">Расположение</string>
- <string name="cant_read_folder">Не удается прочитать каталог</string>
- <string name="select">Выбрать</string>
- <string name="cancel">Отмена</string>
- <string name="no_data">Нет данных</string>
- <string name="useLZO">Сжатие LZO</string>
- <string name="client_no_certificate">Нет сертификата</string>
- <string name="client_certificate_title">Сертификат клиента</string>
- <string name="client_key_title">Ключ сертификата клиента</string>
- <string name="client_pkcs12_title">PKCS12 файл</string>
- <string name="ca_title">CA сертификат</string>
- <string name="no_certificate">Вам необходимо выбрать сертификат</string>
- <string name="copyright_guicode">Исходники и информация о версиях находятся по адресу http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">Данная программа использует следующие компоненты; смотрите исходный код для получения подробной информации о лицензии</string>
- <string name="about">О программе</string>
- <string name="vpn_list_title">Профили</string>
- <string name="vpn_type">Тип</string>
- <string name="pkcs12pwquery">Пароль для PKCS12</string>
- <string name="file_select">Выбрать&#8230;</string>
- <string name="file_nothing_selected">Вы должны выбрать файл</string>
- <string name="useTLSAuth">Использовать аутентификацию TLS</string>
- <string name="tls_direction">Направление проверки TLS</string>
- <string name="ipv6_dialog_tile">Введите адрес/маску подсети IPv6 в формате CIDR (например 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">Введите адрес/маску подсети IPv4 в формате CIDR (например 1.2.3.4/24)</string>
- <string name="ipv4_address">Адрес IPv4</string>
- <string name="ipv6_address">Адрес IPv6</string>
- <string name="custom_option_warning">Введите дополнительные параметры OpenVPN. Используйте эту возможность с большой осторожностью. Если вы считаете, что отсутствует важный параметр, свяжитесь с автором</string>
- <string name="auth_username">Имя пользователя</string>
- <string name="auth_pwquery">Пароль</string>
- <string name="static_keys_info">Для конфигурации с статичными сертификатами будут использоваться ключи TLS</string>
- <string name="configure_the_vpn">Настройка VPN-туннеля</string>
- <string name="menu_add_profile">Добавить конфигурацию</string>
- <string name="add_profile_name_prompt">Введите название новой конфигурации</string>
- <string name="duplicate_profile_name">Пожалуйста, введите уникальное название конфигурации</string>
- <string name="profilename">Название конфигурации</string>
- <string name="no_keystore_cert_selected">Необходимо выбрать сертификат пользователя</string>
- <string name="no_error_found">Ошибок не найдено</string>
- <string name="config_error_found">Ошибка в конфигурации</string>
- <string name="ipv4_format_error">Невозможно распознать IPv4 адрес</string>
- <string name="custom_route_format_error">Невозможно распознать пользовательские маршруты</string>
- <string name="pw_query_hint">(оставьте пустым для запроса по требованию)</string>
- <string name="vpn_shortcut">Ярлык OpenVPN</string>
- <string name="vpn_launch_title">Подключиться к VPN</string>
- <string name="shortcut_profile_notfound">Не найден профиль, указанный в ярлыке</string>
- <string name="random_host_prefix">Случайный префикс узла</string>
- <string name="random_host_summary">Добавляет 6 случайных символов перед именем хоста</string>
- <string name="custom_config_title">Включить пользовательские параметры</string>
- <string name="custom_config_summary">Пользовательские параметры. Используйте с осторожностью!</string>
- <string name="route_rejected">Маршрут отвергнут Android</string>
- <string name="cancel_connection">Отключение</string>
- <string name="cancel_connection_long">Отключить VPN</string>
- <string name="clear_log">очистить журнал</string>
- <string name="title_cancel">Подтверждение отмены</string>
- <string name="cancel_connection_query">Отключение активных VPN/Отмена попыток подключения?</string>
- <string name="remove_vpn">Удалить VPN</string>
- <string name="check_remote_tlscert">Проверяет, использует ли сервер сертификаты TLS (--remote-cert-tls server)</string>
- <string name="check_remote_tlscert_title">Ожидать TLS сертификат от сервера</string>
- <string name="remote_tlscn_check_summary">Проверка DN объекта удаленного сертификата</string>
- <string name="remote_tlscn_check_title">Проверка имени хоста сертификата</string>
- <string name="enter_tlscn_dialog">Переключатель способа проверки DN сертификата (e.g. C=DE, L=Paderborn, OU=Avian IP Carriers, CN=openvpn.blinkt.de)\n\nВозможные значения: полный DN, RDN (для примера openvpn.blinkt.de) или только преффикс RDN для проверки.\n\nПри использовании преффикса RDN, например \"Server\", значения будут \"Server-1\", \"Server-2\" и т.д.\n\nПри пустом текстовом поле проверка будет проводиться по имени хоста.\n\nДля подробностей смотрите руководство для OpenVPN 2.3.1+, раздел —verify-x509-name</string>
- <string name="enter_tlscn_title">Объект удаленного сертификата</string>
- <string name="tls_key_auth">Включить аутентификацию по TLS ключу</string>
- <string name="tls_auth_file">Файл аутентификации TLS</string>
- <string name="pull_on_summary">Запрос IP-адреса, маршрутов и параметров от сервера.</string>
- <string name="pull_off_summary">Игнорировать все параметры сервера. Параметры должны быть указаны ниже.</string>
- <string name="use_pull">Запрашивать параметры</string>
- <string name="dns">DNS</string>
- <string name="override_dns">Переопределить параметры DNS от сервера</string>
- <string name="dns_override_summary">Использовать свой DNS сервер</string>
- <string name="searchdomain">Домен поиска</string>
- <string name="dns1_summary">DNS-сервер для использования.</string>
- <string name="dns_server">DNS-сервер</string>
- <string name="secondary_dns_message">Вторичный DNS-сервер используется, если не получен ответ от первого сервера DNS.</string>
- <string name="backup_dns">Резервный сервер DNS</string>
- <string name="ignored_pushed_routes">Игнорировать посылаемые маршруты</string>
- <string name="ignore_routes_summary">Игнорировать маршруты, посылаемые сервером.</string>
- <string name="default_route_summary">Перенаправляет весь трафик через VPN</string>
- <string name="use_default_title">Использовать маршрут по-умолчанию</string>
- <string name="custom_route_message">Введите пользовательские маршруты. Только введите адрес назначения в формате CIDR. \"10.0.0.0/8 2002::/16\" будет использовано для 10.0.0.0/8 и 2002::/16 сетей через VPN.</string>
- <string name="custom_route_message_excluded">Маршруты которые не следует направлять через VPN. Используйте тот-же синтаксис как и в случае с другими маршрутами.</string>
- <string name="custom_routes_title">Пользовательские маршруты</string>
- <string name="custom_routes_title_excluded">Исключенные сети</string>
- <string name="log_verbosity_level">Уровень детализации лога</string>
- <string name="float_summary">Разрешить пакеты аутентификации с любого IP-адреса</string>
- <string name="float_title">Разрешать \"плавающие\" сервера</string>
- <string name="custom_options_title">Пользовательские параметры</string>
- <string name="edit_vpn">Редактирование параметров VPN</string>
- <string name="remove_vpn_query">Удалить VPN профиль %s?</string>
- <string name="tun_error_helpful">На некоторых кастомных сборках права на /dev/tun могут быть неверными или tun-модуль может быть не включен. Для прошивки CM9 можете попробовать исправить владельца прямо из настроек программы</string>
- <string name="tun_open_error">Не удается открыть tun интерфейс</string>
- <string name="error">"Ошибка: "</string>
- <string name="clear">Очистить</string>
- <string name="last_openvpn_tun_config">Открытие tun-интерфейса:</string>
- <string name="local_ip_info">Адрес IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">DNS-сервер: %1$s, Домен: %2$s</string>
- <string name="routes_info_incl">Маршруты: %1$s %2$s</string>
- <string name="routes_info_excl">Исключенные маршруты: %1$s %2$s</string>
- <string name="routes_debug">Подключенные маршруты сервиса VPN: %1$s %2$s</string>
- <string name="ip_not_cidr">Получена информация интерфейса %1$s и %2$s, второй адрес является удалённым адресом канала. Используется сетевая маска /32 для локального IP адреса. Режим, установленный OpenVPN: \"%3$s\".</string>
- <string name="route_not_cidr">Невозможно использовать выражения %1$s и %2$s как маршрут по стандарту CIDR. используется /32 как маска подсети.</string>
- <string name="route_not_netip">Маршрут исправлен с %1$s/%2$s на %3$s/%2$s</string>
- <string name="keychain_access">Не удается получить доступ к хранилищу ключей и сертификатов Android. Это может быть вызвано обновлением прошивки или восстановления старой копии приложения или его настроек. Пожалуйста, отредактируйте профиль VPN и заново укажите ключи и сертификаты в разделе Основные параметры.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Отправить файл журнала</string>
- <string name="send">Отправить</string>
- <string name="ics_openvpn_log_file">ICS OpenVPN лог файл</string>
- <string name="copied_entry">Скопировать лог в буфер обмена</string>
- <string name="tap_mode">Режим TAP</string>
- <string name="faq_tap_mode">Режим TAP невозможен на устройствах без root-а. Поэтому это приложение не поддерживает TAP</string>
- <string name="tap_faq2">Снова? Вы издеваетесь? Не поддерживается режим TAP и просьбы к автору об этом не помогут ему реализоваться.</string>
- <string name="tap_faq3">Третий раз? На самом деле можно было бы писать эмулятор tap, основанные на tun, который бы добавлял информацию 2 уровня при отправке и извлекал бы ее при получении. Но этот эмулятор потребует также ARP и, возможно, клиента DHCP. Я не знаю никого, кто мог бы этим заняться. Свяжитесь со мной, если вы хотите заняться этим.</string>
- <string name="faq">Вопросы и ответы</string>
- <string name="copying_log_entries">Копирование записей лога</string>
- <string name="faq_copying">Для копирования одного элемента журнала необходимо нажать и удерживать. Для копирования/передачи всего файла журнала используйте опцию \"Отправить файл журнала\". Используйте hardware кнопку меню, если вы не в графическом интерфейсе.</string>
- <string name="faq_shortcut">Ярлык для запуска</string>
- <string name="faq_howto_shortcut">Вы можете создать ярлык для запуска OpenVPN на рабочем столе. В зависимости от вашего окружения необходимо добавить ярлык или виджет.</string>
- <string name="no_vpn_support_image">Ваша прошивка не поддерживает VPNService API, извините :(</string>
- <string name="encryption">Шифрование</string>
- <string name="cipher_dialog_title">Укажите метод шифрования</string>
- <string name="chipher_dialog_message">Укажите алгоритм шифрования, используемый OpenVPN. Оставьте пустым, чтобы использовать шифрование по-умолчанию.</string>
- <string name="auth_dialog_message">Введите дайджест аутентификацию используемую в OpenVPN. Оставьте пустым для использования значения по-умолчанию.</string>
- <string name="settings_auth">Авторизация/шифрование</string>
- <string name="file_explorer_tab">Обзор файлов</string>
- <string name="inline_file_tab">Встроенный файл</string>
- <string name="error_importing_file">Ошибка при импорте файла</string>
- <string name="import_error_message">Не удалось импортировать файл из файловой системы</string>
- <string name="inline_file_data">[[Встроенный файл данных]]</string>
- <string name="opentun_no_ipaddr">Отказ в открытии устройства tun без информации об IP-адресе</string>
- <string name="menu_import">Импорта конфигурации из файла .ovpn</string>
- <string name="menu_import_short">Импорт</string>
- <string name="import_content_resolve_error">Не удалось прочитать конфигурацию для импорта</string>
- <string name="error_reading_config_file">Ошибка чтения файла конфигурации</string>
- <string name="add_profile">добавить конфигурацию</string>
- <string name="import_could_not_open">Не удалось найти файл %1$s, указанный в файле конфигурации</string>
- <string name="importing_config">Импорт файла конфигурации из исходного %1$s</string>
- <string name="import_warning_custom_options">Ваша конфигурация имел несколько параметров, которые не входят в параметры стандартной конфигурации. Эти параметры были вынесены в пользовательскую конфигурацию. Пользовательская конфигурация отображается ниже:</string>
- <string name="import_done">Файл конфигурации успешно прочитан.</string>
- <string name="nobind_summary">Не привязываться к локальному адресу и порту</string>
- <string name="no_bind">Не использовать привязки</string>
- <string name="import_configuration_file">Импорт файла конфигурации</string>
- <string name="faq_security_title">Соображения безопасности</string>
- <string name="faq_security">"Так как OpenVPN чувствителен к безопасности, то будут разумными несколько замечаний относительно защиты. Все данные на sd карте по сути не защищены. Каждое приложение может прочесть их (например эта программа не требует специальных привилегий на sd карту). Данные этого приложения могут быть прочитаны только им самим. При использовании опции импорта для cacert/cert/key в диалоговом окне файл, данные сохраняются в VPN профиле. VPN профили доступны только этому приложению. (Потом не забудьте удалить копии на sd карте). Несмотря на то, что данные доступны только этому приложению, они все еще незашифрованы. Путем получения прав администратора (рута) на телефоне или другими эксплойтами возможно извлечь данные. Также сохраненные пароли хранятся в обычном текстовом виде. Настоятельно рекомендуется pkcs12 файлы импортировать в android keystore."</string>
- <string name="import_vpn">Импорт</string>
- <string name="broken_image_cert_title">Ошибка вывода выбранного сертификата</string>
- <string name="broken_image_cert">Произошла ошибка при попытке вызова системного диалога выбора сертификатов Android 4.0+ Этого не должно было случиться на стандартной прошивке. Может быть в вашей прошивке испорчено хранилище сертификатов</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Ожидание сообщения о состоянии&#8230;</string>
- <string name="converted_profile">импортируемый профиль</string>
- <string name="converted_profile_i">импортируемый профиль %d</string>
- <string name="broken_images">Сломанные прошивки</string>
- <string name="broken_images_faq">&lt;p&gt;Извествно, что официальные прошивки HTC имеют странные проблемы с маршрутизацией, приводящей к тому, что трафик не идёт через туннель (см. &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\"&gt;Issue 18&lt;/a&gt; в баг-трекере).&lt;/p&gt;&lt;p&gt;Также сообщалось, что в старых официальных прошивках SONY от Xperia Arc S и Xperia Ray полностью отсутствует сервис VPNService (см. &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\"&gt;Issue 29&lt;/a&gt; в баг-трекере).&lt;/p&gt;&lt;p&gt;В некоторых встроенных прошивках модуль tun может отсутствовать или иметь неправильные права на файл устройства /dev/tun. Некоторые CM9 прошивки могут требовать исправлений опции прав в главных настройках.&lt;/p&gt;&lt;p&gt;И самое главное: Если у вас прошивка с указанными проблемами, сообщите об этом производителю устройства. Чем больше пользователей сообщит о проблеме, тем больше шансов, что этот производитель исправит прошивку.&lt;/p&gt;</string>
- <string name="pkcs12_file_encryption_key">Файл PKCS12-ключа</string>
- <string name="private_key_password">Пароль закрытого ключа</string>
- <string name="password">Пароль</string>
- <string name="file_icon">файл значка</string>
- <string name="tls_authentication">TLS-аутентификация</string>
- <string name="generated_config">Сгенерированая конфигурация</string>
- <string name="generalsettings">Настройки</string>
- <string name="owner_fix_summary">Попытаться изменить владельца для /dev/tun. Некоторые прошивки CM9 требуют этого для корректной работы API OpenVPN. Требуется root.</string>
- <string name="owner_fix">Исправить права для /dev/tun</string>
- <string name="generated_config_summary">Показать сгенерированный файл конфигурации OpenVPN</string>
- <string name="edit_profile_title">Правка \"%s\"</string>
- <string name="building_configration">Создание конфигурации&#8230;</string>
- <string name="netchange_summary">Включение этого параметра заставит переподключаться, если состояние интернет соединения (WIFI) изменится</string>
- <string name="netchange">Переподключение при изменении сети</string>
- <string name="netstatus">Статус сети: %s</string>
- <string name="extracahint">Сертификат CA обычно возвращается из хранилища Android Keystore. Укажите отдельный сертификат, если у вас возникли ошибки при проверке сертификата.</string>
- <string name="select_file">Выбрать</string>
- <string name="keychain_nocacert">Не удалось получить CA из хранилища ключей Android. Аутентификация не удалась.</string>
- <string name="show_log_summary">Показывает окно журнала при подключении. Окно журнала всегда может быть доступно из панели уведомлений.</string>
- <string name="show_log_window">Показать окно журнала</string>
- <string name="mobile_info">Работает на %1$s (%2$s) %3$s, Android API %4$d</string>
- <string name="error_rsa_sign">Ошибка подписи с использованием ключа из хранилища Android %1$s: %2$s</string>
- <string name="faq_system_dialogs">Предупреждение VPN соединения сообщает вам, что это приложение может перехватывать весь сетевой трафик, и сообщается системой предупреждений VPNService API.\nИзвещение о VPN соединении (символ \"Ключа\") также формируется системой Android для сигнализации исходящего VPN соединения. В некоторых прошивках это оповещение сопровождается сигналом.\nAndroid использует эти оповещения для вашей собственной безопасности и из нельзя обойти. (К сожалению, на некоторых прошивках также издается оповещение звуком)</string>
- <string name="faq_system_dialogs_title">Сообщение о подключении и звук уведомления</string>
- <string name="translationby">Русский перевод от RusFox &lt;horonitel@gmail.com&gt;</string>
- <string name="ipdns">IP-адрес и DNS</string>
- <string name="basic">Основные</string>
- <string name="routing">Маршрутизация</string>
- <string name="obscure">Скрытые параметры OpenVPN. Обычно не требуются.</string>
- <string name="advanced">Расширенные</string>
- <string name="export_config_title">ICS Openvpn конфигурация</string>
- <string name="warn_no_dns">Серверы DNS не используются. Разрешение имен может не работать. Рассмотрите возможность установки пользовательских DNS-серверов. Также обратите внимание, что Android будет продолжать использовать параметры, указанные для вашего мобильного/Wi-Fi соединения, если не указаны DNS-серверы.</string>
- <string name="dns_add_error">Не удалось добавить DNS-сервер \"%1$s\", отклонен системой: %2$s</string>
- <string name="ip_add_error">Не удалось настроить IP-адрес \"%1$s\", сообщение системы: %2$s</string>
- <string name="faq_howto">&lt;p&gt;Используйте готовую конфигурацию (протестированную на вашем компьютере или полученную от вашего провайдера)&lt;/p&gt;&lt;p&gt;Если это простой файл без pem/pks12 вы можете отправить его по email на свое устройство. Если же это несколько файлов, вы можете использовать их со своей карты памяти.&lt;/p&gt;&lt;p&gt;Просто кликните на .conf файл или выберите его с помощью меню в программе для импорта конфигурации&lt;/p&gt;&lt;p&gt;Если программа выдаст ошибку о нехватке некоторых файлов, просто поместите эти файлы на карту памяти&lt;/p&gt;&lt;p&gt;Нажмите кнопку сохранения для добавления импортируемой конфигурации в программу&lt;/p&gt;&lt;p&gt;Запустите ваш VPN-тоннель нажав на его название в списке&lt;/p&gt;&lt;p&gt;Если при запуске возникли ошибки попробуйте разобраться и устранить их.&lt;/p&gt; </string>
- <string name="faq_howto_title">Быстрый старт</string>
- <string name="setting_loadtun_summary">Попробуйте загрузить модуль ядра tun.ko прежде чем пытаться подключиться. Требуется root-доступ на устройстве.</string>
- <string name="setting_loadtun">Загрузить tun-модуль</string>
- <string name="importpkcs12fromconfig">Импорт PKCS12 из хранилища ключей Android</string>
- <string name="getproxy_error">Ошибка при получении параметров прокси-сервера: %s</string>
- <string name="using_proxy">Используется прокси-сервер %1$s %2$d</string>
- <string name="use_system_proxy">Использовать прокси-сервер системы</string>
- <string name="use_system_proxy_summary">Использовать системную конфигурацию прокси HTTP/HTTPS для соединения.</string>
- <string name="donatewithpaypal">Вы можете &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;пожертвовать с PayPal&lt;/a&gt; </string>
- <string name="onbootrestartsummary">OpenVPN будет переподключаться, если он был активен в момент выключения/перезагрузки. Пожалуйста, прочтите FAQ перед тем, как использовать эту настройку.</string>
- <string name="onbootrestart">Переподключение после перезагрузки</string>
- <string name="ignore">Игнорировать</string>
- <string name="restart">Перезапуск</string>
- <string name="restart_vpn_after_change">Изменения конфигурации применяются после перезапуска VPN. (Пере)запустить VPN сейчас?</string>
- <string name="configuration_changed">Конфигурация изменена</string>
- <string name="log_no_last_vpn">Не удалось определить последний используемый профиль для редактирования</string>
- <string name="faq_duplicate_notification_title">Дублирующиеся уведомления</string>
- <string name="faq_duplicate_notification">Если в Android возникает нехватка оперативной памяти (RAM), ненужные службы и приложения останавливаются. Из-за этого прерывается установленное VPN-соединение. Чтобы избежать этого, приложение нужно запускать с повышенным приоритетом. Для запуска с высоким приоритетом приложение должно вывести предупреждение. Основная иконка приложения будет закреплена наверху панели уведомлений самой системой, как описано в предыдущем вопросе. Она не является собственно уведомлением, это ограничение распространяется на все приложения, запущенные с высоким приоритетом.</string>
- <string name="no_vpn_profiles_defined">Профили VPN не указаны.</string>
- <string name="add_new_vpn_hint">Используйте &lt;img src=\"ic_menu_add\"/&gt; иконку для добавления нового VPN</string>
- <string name="vpn_import_hint">Используйте &lt;img src=\"ic_menu_archive\"/&gt; кнопку для импорта существующих профилей (.ovpn or .conf) с вашей карты памяти.</string>
- <string name="faq_hint">Не забудьте заглянуть в FAQ. Также имеется краткое руководство.</string>
- <string name="faq_routing_title">Конфигурация маршрутизации/интерфейса</string>
- <string name="faq_routing">Конфигурация маршрутизации и интерфейса производится не через традиционные ifconfig/route команды, а с помощью VPNService API. Это приводит к созданию другой конфигурации маршрутизации, отличной от конфигураций, используемых на других ОС. Конфигурация VPN-туннеля состоит из IP-адресов и сетей, которые должны направляться через этот интерфейс. Никаких особых партнерских адресов или адресов шлюза не требуется. Также не требуются и специальные маршруты для соединения с VPN-сервером (например, добавленные при использовании redirect-gateway). Следовательно, приложение будет игнорировать эти параметры при импорте конфигурации. Приложение с помощью VPNService API гарантирует, что подключение к серверу не направляется через VPN-туннель. Поддерживается направление через туннель только определенных сетей. Приложение пытается определить сети, которые не должны быть направлены через туннель (например, маршрут x.x.x.x y.y.y.y net_gateway) и вычисляет список маршрутов, в который не включаются эти маршруты, чтобы эмулировать поведение других платформ. Окна журналов и логов показывают конфигурацию сервиса VPN после установления соединения.</string>
- <string name="persisttun_summary">Не открывать диалог, когда происходит переподключение VPN.</string>
- <string name="persistent_tun_title">Постоянный tun</string>
- <string name="openvpn_log">OpenVPN Журнал</string>
- <string name="import_config">Импорт конфигурации OpenVPN</string>
- <string name="battery_consumption_title">Потребление батареи</string>
- <string name="baterry_consumption">В моих тестах, главным источником высокого потребления электроэнергии батареи были keepalive пакеты. Большинство OpenVPN-серверов содержат директиву вроде \'keepalive 10 60\', которая отправляет keepalive-пакет с клиента на сервер и с сервера на клиент каждые 10 секунд. &lt;p&gt; Хоть эти пакеты и маленькие и не расходуют много трафика, они заставляют радиомодуль потреблять много энергии. (см. &lt;a href=\"http://developer.android.com/training/efficient-downloads/efficient-network-access.html#RadioStateMachine\"&gt;The Radio State Machine | Android Developers&lt;/a&gt;) &lt;p&gt; Настройки keepalive не могут быть изменены на клиенте, это может сделать только системный администратор OpenVPN.lt;pgt; К сожалению, использование keepalive более, чем 60 секунд с UDP, может вносить проблемы с некоторыми типами NAT, которые удаляют информацию о соединении через короткое время (в моем случае, это было 60 секунд). Использование TCP с большим keepalive-таймаутом будет работать, но производительность туннелирования TCP через TCP в сетях с высокой вероятностью потери пакета крайне низкая (см. &lt;a href=\"http://sites.inka.de/bigred/devel/tcp-tcp.html\"&gt;Why TCP Over TCP Is A Bad Idea&lt;/a&gt;).</string>
- <string name="faq_tethering">Тетеринг функция Android (через WiFi, USB или Bluetooth) и VPNService API (используемое этой программой) не работают вместе. Подробней в &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\"&gt;проблеме №34&lt;/a&gt;</string>
- <string name="vpn_tethering_title">VPN и Tethering</string>
- <string name="connection_retries">Попытки подключения</string>
- <string name="reconnection_settings">Параметры переподключения</string>
- <string name="connectretrymessage">Количество секунд между попытками подключения.</string>
- <string name="connectretrywait">Секунд между соединениями</string>
- <string name="minidump_generated">OpenVPN завершилась неожиданно. Пожалуйста, посмотрите опцию \"Отправить Minidump\" в главном меню</string>
- <string name="send_minidump">Отправить Minidump разработчику</string>
- <string name="send_minidump_summary">Отправка отладочной информации разработчику о последнем аварийном завершении</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">Подключение</string>
- <string name="state_wait">Ожидание ответа сервера</string>
- <string name="state_auth">Проверка подлинности</string>
- <string name="state_get_config">Получение конфигурации клиента</string>
- <string name="state_assign_ip">Назначение IP-адресов</string>
- <string name="state_add_routes">Добавление маршрутов</string>
- <string name="state_connected">Подключено</string>
- <string name="state_disconnected">Отключиться</string>
- <string name="state_reconnecting">Повторное подключение</string>
- <string name="state_exiting">Выход</string>
- <string name="state_noprocess">Не запущено</string>
- <string name="state_resolve">Разрешение имен узлов</string>
- <string name="state_tcp_connect">Подключение (TCP)</string>
- <string name="state_auth_failed">Ошибка аутентификации</string>
- <string name="state_nonetwork">Ожидание работы сети</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Разъединено</string>
- <string name="start_vpn_title">Подключение к VPN %s</string>
- <string name="start_vpn_ticker">Подключение к VPN %s</string>
- <string name="jelly_keystore_alphanumeric_bug">В некоторых версиях Android 4.1 есть проблемы, если имя сертификата содержит не буквенно-цифровые символы (например, пробелы, подчеркивания или тире). Попробуйте переустановить сертификат без использования специальных символов.</string>
- <string name="encryption_cipher">Алгоритм шифрования</string>
- <string name="packet_auth">Проверка подлинности пакетов</string>
- <string name="auth_dialog_title">Укажите метод проверки подлинности пакетов</string>
- <string name="mobile_info_extended">Запущен на %1$s (%2$s) %3$s, Android API %4$d, версии %5$s, %6$s</string>
- <string name="built_by">создан %s</string>
- <string name="debug_build">сборка для отладки</string>
- <string name="official_build">официальная сборка</string>
- <string name="make_selection_inline">Скопировать в профиль</string>
- <string name="crashdump">Отчет о падении</string>
- <string name="add">Добавить</string>
- <string name="send_config">Отправить конфигурационный файл</string>
- <string name="complete_dn">Полное DN</string>
- <string name="remotetlsnote">Импортированнаяе конфигурация использует устаревшую опцию tls-remote которая имеет другой формат DN.</string>
- <string name="rdn">RDN (полное имя)</string>
- <string name="rdn_prefix">Префикс RDN</string>
- <string name="tls_remote_deprecated">tls-remote (УСТАРЕВШЕЕ)</string>
- <string name="help_translate">Вы можете улучшить перевод, посетив http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s пытается управлять %2$s</string>
- <string name="remote_warning">Продолжая, вы даете приложению права на управление \"OpenVPN для Android\" и перехват всего сетевого трафика. <b> Не продолжайте, если не доверяете полностью этому приложению. </b> В противном случае вы рискуете утечкой и использованием ваших данных злоумышленниками.</string>
- <string name="remote_trust">Я доверяю этому приложению.</string>
- <string name="no_external_app_allowed">Нет приложений, авторизованных для внешнего API</string>
- <string name="allowed_apps">Авторизованные приложения: %s</string>
- <string name="clearappsdialog">Очистить список авторизованных внешних приложений?\nСписок разрешенных приложений:\n\n%s</string>
- <string name="screenoff_summary">VPN-соединение приостанавливается, если экран выключен или объем данных меньше 64kb за 60сек. Если включена опция \"Удержание соединения\", VPN-соединение будет постоянно активным. Без этого параметра оно будет приостанавливаться при этих условиях..</string>
- <string name="screenoff_title">Приостановить VPN-соединение при выключенном экране</string>
- <string name="screenoff_pause">Приостановка соединения при выключенном экране: меньше, чем %1$s in %2$ss</string>
- <string name="screen_nopersistenttun">Внимание: постоянный tun не включен для этого VPN. Трафик будет проходить через обычный доступ в Интернет, когда экран выключен.</string>
- <string name="save_password">Сохранить пароль</string>
- <string name="pauseVPN">Приостановить VPN</string>
- <string name="resumevpn">Продолжить VPN</string>
- <string name="state_userpause">VPN приостановлен по запросу пользователя</string>
- <string name="state_screenoff">VPN приостановлен - выкл. экран</string>
- <string name="device_specific">Хак для данного устройства</string>
- <string name="cannotparsecert">Не удается отобразить сведения о сертификате</string>
- <string name="appbehaviour">Поведение приложения</string>
- <string name="vpnbehaviour">Поведение VPN</string>
- <string name="allow_vpn_changes">Разрешить изменение VPN-профилей</string>
- <string name="hwkeychain">Аппаратное хранилище ключей:</string>
- <string name="permission_icon_app">Иконка приложения пытается использовать OpenVPN для Android</string>
- <string name="faq_vpndialog43">«Начиная с Android 4.3, диалог подтверждения VPN-соединения защищен от приложений, \"накладывающихся поверх экрана». Это приводит к тому, что диалоговое окно подтверждения не реагирует на сенсорные нажатия. Если у вас имеется приложение, использующее наложения, то это может вызвать такое поведение. Если вы обнаружите где-либо такое приложение, свяжитесь с автором приложения. Эта проблема затрагивает все VPN приложения на Android 4.3 и более поздних версиях. Смотрите также &lt; a href = \"http://code.google.com/p/ics-openvpn/issues/detail?id=185\" &gt; Проблему 185 &lt; &gt; для получения дополнительных сведений»</string>
- <string name="faq_vpndialog43_title">Окно подтверждения VPN для Android 4.3 и позже</string>
- <string name="donatePlayStore">Также Вы можете выразить благодарность в виде пожертвования на Play Store:</string>
- <string name="thanks_for_donation">Спасибо за пожертвование %s!</string>
- <string name="logCleared">Журнал очищен.</string>
- <string name="show_password">Показать пароль</string>
- <string name="keyChainAccessError">ошибка при доступе к хранилищу ключей: %s</string>
- <string name="timestamp_short">Кратко</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">Время</string>
- <string name="timestamps_none">Нет</string>
- <string name="uploaded_data">Выгружено</string>
- <string name="downloaded_data">Загружено</string>
- <string name="vpn_status">Статус VPN</string>
- <string name="logview_options">Посмотреть настройки</string>
- <string name="unhandled_exception">Неопознання ошибка: %1$s\n\n%2$s</string>
- <string name="unhandled_exception_context">%3$s: %1$s\n\n%2$s</string>
- <string name="faq_system_dialog_xposed">Если на Вашем устройстве установлены Рут права, Вы можете установить &lt;a href=\"http://xposed.info/\"&gt;Xposed framework&lt;/a&gt; и &lt;a href=\"http://repo.xposed.info/module/de.blinkt.vpndialogxposed\"&gt;модуль автоматического подтверждения диалога подключения VPN&lt;/a&gt; на свой страх и риск</string>
- <string name="full_licenses">Полные тексты лицензий</string>
- <string name="blocklocal_summary">Сети напрямую доступные через локальный интерфейс не будут маршрутизированы через VPN. Отключите эту опцию чтобы направить трафик через VPN.</string>
- <string name="blocklocal_title">Не использовать VPN для локальных адресов</string>
- <string name="userpw_file">Файл логина и пароля</string>
- <string name="imported_from_file">[Импортировано из: %s]</string>
- <string name="files_missing_hint">Некоторые файлы не найдены. Выберите файлы для импорта в профиль:</string>
- <string name="openvpn_is_no_free_vpn">Для использования данного приложения Вам необходим VPN провайдер/шлюз поддерживающий OpenVPN. Для получения информации по настройке собственного OpenVPN сервера: http://community.openvpn.net/</string>
- <string name="import_log">Лог импорта:</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-sv/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-sv/strings.xml
deleted file mode 100755
index bb3ead45..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-sv/strings.xml
+++ /dev/null
@@ -1,279 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN för Android</string>
- <string name="address">Serveradress:</string>
- <string name="port">Serverport:</string>
- <string name="location">Plats</string>
- <string name="cant_read_folder">Katalogen kan inte läsas</string>
- <string name="select">Välj</string>
- <string name="cancel">Avbryt</string>
- <string name="no_data">Inga Data</string>
- <string name="useLZO">LZO komprimering</string>
- <string name="client_no_certificate">Inget certifikat</string>
- <string name="client_certificate_title">Klientcertifikat</string>
- <string name="client_key_title">Klientcertifikatsnyckel</string>
- <string name="client_pkcs12_title">PKCS12 fil</string>
- <string name="ca_title">CA-certifikat</string>
- <string name="no_certificate">Du måste välja ett certifikat</string>
- <string name="copyright_guicode">Källkod och incidenthantering finns på http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">Programmet använder följande komponenter, se källkoden för fullständig information om licenser</string>
- <string name="about">Om</string>
- <string name="vpn_list_title">Profiler</string>
- <string name="vpn_type">Typ</string>
- <string name="pkcs12pwquery">PKCS12 lösenord</string>
- <string name="file_select">Välj&#8230;</string>
- <string name="file_nothing_selected">Du måste välja en fil</string>
- <string name="useTLSAuth">Använd TLS-autentisering</string>
- <string name="tls_direction">TLS riktning</string>
- <string name="ipv6_dialog_tile">Ange IPv6-adress/Netmask i CIDR Format (t.ex. 2000:dd::23 / 64)</string>
- <string name="ipv4_dialog_title">Ange IPv4-adressen/Netmask i CIDR Format (t.ex. 1.2.3.4/24)</string>
- <string name="ipv4_address">IPv4-adress</string>
- <string name="ipv6_address">IPv6-adress</string>
- <string name="custom_option_warning">Ange anpassade OpenVPN alternativ. Använd med försiktighet! Tänk också på att många av de tun relaterade OpenVPN inställningarna inte kan stödjas genom utformningen av VPNSettings. Om du anser att ett viktigt alternativ saknas kontakta författaren</string>
- <string name="auth_username">Användarnamn</string>
- <string name="auth_pwquery">Lösenord</string>
- <string name="static_keys_info">Vid statisk konfiguration används TLS Auth nycklarna som statiska nycklar</string>
- <string name="configure_the_vpn">Konfigurera VPN-anslutningen</string>
- <string name="menu_add_profile">Lägga till en profil</string>
- <string name="add_profile_name_prompt">Ange ett namn som identifierar den nya profilen</string>
- <string name="duplicate_profile_name">Vänligen ange ett unikt Profilnamn</string>
- <string name="profilename">Profilnamn</string>
- <string name="no_keystore_cert_selected">Du måste välja ett användarcertifikat</string>
- <string name="no_error_found">Inga fel hittades</string>
- <string name="config_error_found">Fel i konfigurationen</string>
- <string name="ipv4_format_error">Det går inte att tolka IPv4-adressen</string>
- <string name="custom_route_format_error">Det går inte att tolka de anpassade rutterna</string>
- <string name="pw_query_hint">(lämna tom för förfrågan vid behov)</string>
- <string name="vpn_shortcut">OpenVPN genväg</string>
- <string name="vpn_launch_title">Ansluta till VPN</string>
- <string name="shortcut_profile_notfound">Profilen som anges i genvägen hittades inte</string>
- <string name="random_host_prefix">Slumpmässigt värd-prefix</string>
- <string name="random_host_summary">Lägger till 6 slumpmässiga tecken framför hostname</string>
- <string name="custom_config_title">Aktivera anpassade alternativ</string>
- <string name="custom_config_summary">Ange anpassade inställningar. Använd med försiktighet!</string>
- <string name="route_rejected">Rutten avvisades av Android</string>
- <string name="cancel_connection">Koppla från</string>
- <string name="cancel_connection_long">Koppla från VPN</string>
- <string name="clear_log">rensa loggen</string>
- <string name="title_cancel">Avbryt bekräftelse</string>
- <string name="cancel_connection_query">Koppla från det anslutna VPN/Avbryt anslutningen?</string>
- <string name="remove_vpn">Ta bort VPN</string>
- <string name="check_remote_tlscert">Kontrollerar om servern använder ett certifikat med TLS server tillägg (--remote-cert-tls server)</string>
- <string name="check_remote_tlscert_title">Förvänta TLS servercertifikat</string>
- <string name="remote_tlscn_check_summary">Verifierar Remote Server Certificate Subject DN</string>
- <string name="remote_tlscn_check_title">Certifikat Hostname kontroll</string>
- <string name="enter_tlscn_dialog">Ange den kontroll som används för att verifiera Fjärrcertifikat DN (e.g. C=DE, L=Paderborn, OU=Avian IP Carriers, CN=openvpn.blinkt.de)\n\nSpecificera en komplett DN eller RDN (openvpn.blinkt.de i exemplet) eller ett RDN prefix för verifiering.\n\nOm RDN prefix används matchar \"Server\" både \"Server-1\" och \"Server-2\" \n\nLämnas textfältet tomt matchas RDN mot server hostname.\n\nFor mer information se OpenVPN 2.3.1+ manpage under —verify-x509-name</string>
- <string name="enter_tlscn_title">Fjärrcertifikats ämne</string>
- <string name="tls_key_auth">Aktiverar TLS Key Authetication</string>
- <string name="tls_auth_file">TLS Auth fil</string>
- <string name="pull_on_summary">Begär IP-adresser, rutter och tidsalternativ från servern.</string>
- <string name="pull_off_summary">Ingen information begärs från servern. Inställningar behöver specificeras nedan.</string>
- <string name="use_pull">Hämta inställningar</string>
- <string name="dns">DNS</string>
- <string name="override_dns">Använd DNS-inställningarna från servern</string>
- <string name="dns_override_summary">Använda dina egen DNS-servrar</string>
- <string name="searchdomain">searchDomain</string>
- <string name="dns1_summary">DNS-Server som ska användas.</string>
- <string name="dns_server">DNS-server</string>
- <string name="secondary_dns_message">Sekundära DNS-servern används om den normala DNS-servern inte kan nås.</string>
- <string name="backup_dns">Sekundär DNS-Server</string>
- <string name="ignored_pushed_routes">Ignorera tilldelade rutter</string>
- <string name="ignore_routes_summary">Ignorera rutter tilldelade av servern.</string>
- <string name="default_route_summary">Omdirigerar all trafik över VPN-anslutningen</string>
- <string name="use_default_title">Använd standardrutt</string>
- <string name="custom_route_message">Ange anpassade rutter. Skriv destination i CIDR-format. \"10.0.0.0/8 2002:: / 16\" dirigerar nätverk 10.0.0.0/8 och 2002:: / 16 över VPN.</string>
- <string name="custom_routes_title">Anpassade rutter</string>
- <string name="log_verbosity_level">Utförlighetsnivå för log</string>
- <string name="float_summary">Tillåter autentiserade paket från alla IP-adresser</string>
- <string name="float_title">Tillåt flytande server</string>
- <string name="custom_options_title">Anpassade alternativ</string>
- <string name="edit_vpn">Redigera VPN-inställningar</string>
- <string name="remove_vpn_query">Ta bort VPN-profilen \'%s\'?</string>
- <string name="tun_error_helpful">På vissa anpassade ICS ROM kan behörigheten på /dev/tun vara fel eller så kan tun modulen saknas helt. För CM9 ROM prova alternativet fixa ägande under allmänna inställningar</string>
- <string name="tun_open_error">Det gick inte att öppna tun gränssnittet</string>
- <string name="error">"Fel:"</string>
- <string name="clear">Klart</string>
- <string name="last_openvpn_tun_config">Öppnar tun gränssnittet:</string>
- <string name="local_ip_info">Lokal IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">DNS-Server: %1$s, Domän: %2$s</string>
- <string name="ip_not_cidr">Fick gränssnitts informationen %1$s och %2$s, förutsätter att andra adressen är peer adressen på fjärrservern. Använder nätmask /32 för lokal IP. Satus på OpenVPN är \"%3$s\".</string>
- <string name="route_not_cidr">Förstår inte %1$s och %2$s som IP rutt med CIDR netmask, där /32 används som nätmask.</string>
- <string name="route_not_netip">Korrigerad rutt %1$s/%2$s till %3$s/%2$s</string>
- <string name="keychain_access">Åtkomst nekas till certifikat i Android nyckelring. Detta kan orsakas av en firmware-uppgradering eller en återställning från säkerhetskopia av app/app inställningar. Vänligen redigera VPN och välj på nytt certifikatet under grundinställningar för att återskapa åtkomstbehörigheten till certifikatet.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Skicka loggfilen</string>
- <string name="send">Skicka</string>
- <string name="ics_openvpn_log_file">ICS OpenVPN loggfil</string>
- <string name="copied_entry">Kopierade loggpost till klippboken</string>
- <string name="tap_mode">Tap-läge</string>
- <string name="faq_tap_mode">Tap-läge är inte möjligt med icke root VPN-API. Därför kan inte denna applikation stödja tap-läge</string>
- <string name="tap_faq2">Igen? Skämtar du? Nej, tap-läge stöds verkligen inte och det hjälper inte att skicka fler mail och fråga om det kommer att stödjas i framtiden.</string>
- <string name="tap_faq3">En tredje gång? Man skulle kunda skriva en tap-emulator baserat på tun som skulle lägga till layer2 information vid skicka och ta bort layer2 information vid ta emot. Men denna tap emulator skulle också behöva implementera ARP och eventuellt också en DHCP-klient. Jag är inte medveten om att någon gjort något arbete i denna riktning. Kontakta mig om du vill börja koda på detta.</string>
- <string name="faq">FAQ</string>
- <string name="copying_log_entries">Kopierar loggposter</string>
- <string name="faq_copying">För att kopiera en enda logg post tryck och håll på loggposten. Om du vill kopiera/skicka hela loggen använd alternativet Skicka loggen. Använd hårdvarumenyknappen om menyn inte syns i GUI.</string>
- <string name="faq_shortcut">Genväg för att starta</string>
- <string name="faq_howto_shortcut">Du kan placera en genväg för att starta OpenVPN på skrivbordet. Beroende på ditt hemskärmsprogram måste du lägga till antingen en genväg eller en widget.</string>
- <string name="no_vpn_support_image">Din ROM stöder inte VPNService API, ledsen :(</string>
- <string name="encryption">Kryptering</string>
- <string name="cipher_dialog_title">Ange krypteringsmetod</string>
- <string name="auth_dialog_message">Ange den autentiserings digest som används för OpenVPN. Lämna tom för att använda standard digest.</string>
- <string name="settings_auth">Autentisering/kryptering</string>
- <string name="file_explorer_tab">Filutforskare</string>
- <string name="inline_file_tab">Inline-fil</string>
- <string name="error_importing_file">Fel vid import av fil</string>
- <string name="import_error_message">Kunde inte importera filen från filsystemet</string>
- <string name="inline_file_data">[[Inline-fil data]]</string>
- <string name="opentun_no_ipaddr">Vägrar att öppna tun enhet utan IP-information</string>
- <string name="menu_import">Importera profil från ovpn fil</string>
- <string name="menu_import_short">Import</string>
- <string name="import_content_resolve_error">Kunde inte läsa profil att importera</string>
- <string name="error_reading_config_file">Fel vid läsning av konfigurationsfil</string>
- <string name="add_profile">lägg till profil</string>
- <string name="import_could_not_open">Kunde inte hitta filen %1$s som omnämns i den importerade konfigurationsfilen</string>
- <string name="importing_config">Importerar konfigurationsfilen från %1$s</string>
- <string name="import_warning_custom_options">Din konfiguration hade några konfigurationsalternativ som inte är kopplade till UI konfigurationer. Dessa alternativ lades till som anpassade konfigurationsalternativ. Den anpassade konfigurationen visas nedan:</string>
- <string name="import_done">Färdig med att läsa konfigurationsfilen.</string>
- <string name="nobind_summary">Bind inte till lokal adress och port</string>
- <string name="no_bind">Ingen lokal bindning</string>
- <string name="import_configuration_file">Importera konfigurationsfil</string>
- <string name="faq_security_title">Säkerhetsaspekter</string>
- <string name="faq_security">"Eftersom OpenVPN är säkerhets känslig kan några om säkerhet vara vettiga. Alla data på sd-kortet är potentiellt osäkra. Varje app kan läsa datan (till exempel kräver detta program inga särskilda sd-korts rättigheter). Datat som tillhör denna applikation kan endast läsas av applikationen själv. Genom att använda alternativet import för cacerts/cert/nyckel i fildialogrutan lagras datat i VPN-profilen. VPN-profiler kan bara läsas av denna applikation. (Glöm inte att ta bort kopiorna på sd-kortet efteråt). Även om datat endast är tillgängligt för denna applikation så är data fortfarande okrypterat. Genom att roota telefon eller med andra hack kan det vara möjligt att få åtkomst till datat. Sparade lösenord lagras också i klartext. För pkcs12 filer rekommenderas det starkt att du importerar dem till Android nyckering."</string>
- <string name="import_vpn">Import</string>
- <string name="broken_image_cert_title">Fel vid visning av certifikatval</string>
- <string name="broken_image_cert">Fick ett undantag när Android 4.0+ dialogrutan för val av certifikat försökte visas. Detta bör aldrig ske eftersom detta en standardfunktion hos Android 4.0+. Kanske är stödet för lagring av certifikat i din Android ROM trasigt</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Väntar på tillstånds meddelande&#8230;</string>
- <string name="converted_profile">importerad profil</string>
- <string name="converted_profile_i">importerad profil %d</string>
- <string name="broken_images">Trasiga ROM</string>
- <string name="broken_images_faq">lt;pgt;Officiella HTC ROM är kända för att ha ett konstigt rutt problem som orsakar att trafik inte går genom tunneln (Se även &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\"&gt;Ärende 18&lt;/a&gt; i äredehanteringen.)&lt;/p&gt;&lt;p&gt;Äldre officiella SONY ROM för Xperia Arc S och Xperia Ray har rapporterats sakna VPNService helt. (Se även &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\"&gt;Ärende 29&lt;/a&gt; i ärendehanteringen.)&lt;/p&gt;&lt;p&gt;I anpassade/modifierade ROM kan tun modulen saknas eller rättigheterna på /dev/tun kan vara fel. Vissa CM9 ROM behöver alternativet \"Fixa ägande\" under \"Modellanpassade hack\" ikryssat.&lt;/p&gt;&lt;p&gt;Viktigt: Om du har en trasig ROM, rapportera det till din leverantör. Ju fler människor som rapportera problemet till leverantören desto mer sannolikt är det att det kommer en rättning.&lt;/p&gt;</string>
- <string name="pkcs12_file_encryption_key">Krypteringsnyckel för PKCS12-filen</string>
- <string name="private_key_password">Lösenord för privat nyckel</string>
- <string name="password">Lösenord</string>
- <string name="file_icon">filikon</string>
- <string name="tls_authentication">TLS-autentisering</string>
- <string name="generated_config">Genererad konfiguration</string>
- <string name="generalsettings">Inställningar</string>
- <string name="owner_fix_summary">Försöker att sätta ägaren av /dev/tun till system. Vissa CM9 ROM behöver detta för att VPNService API ska fungera. Detta kräver root.</string>
- <string name="owner_fix">Fixa ägande av /dev/tun</string>
- <string name="generated_config_summary">Visar den genererade OpenVPN-konfigurationsfilen</string>
- <string name="edit_profile_title">Redigerar \"%s\"</string>
- <string name="building_configration">Bygger konfiguration&#8230;</string>
- <string name="netchange_summary">Aktivering av detta alternativ kommer att tvinga en återanslutning om nätverksanslutningen ändras (t.ex. WiFi &lt;-> mobildata)</string>
- <string name="netchange">Återanslut vid förändring av nätverksanslutning</string>
- <string name="netstatus">Nätverksstatus: %s</string>
- <string name="extracahint">CA certifikat hämtas vanligtvis från Android Keystore. Ange ett separat certifikat om du får verifieringsfel på certifikatet.</string>
- <string name="select_file">Välj</string>
- <string name="keychain_nocacert">Inget CA certifikat returnerades från Android Keystore. Autenticering kommer troligen att misslyckas.</string>
- <string name="show_log_summary">Visar loggfönstret vid anslutning. Loggfönstret kan alltid nås från statusgardinen.</string>
- <string name="show_log_window">Visa loggfönstret</string>
- <string name="mobile_info">Kör på %1$s (%2$s) %3$s, Android API %4$d</string>
- <string name="error_rsa_sign">Fel vid signering med Android keystore nyckeln %1$s: %2$s</string>
- <string name="faq_system_dialogs">Varningen vid VPN-anslutning som berättar att denna app kan avlyssna all trafik utfärdas av systemet för att förhindra missbruk av VPNService API.\nNotifieringen om VPN-anslutning (nyckelsymbolen) tillhandahålles också av Android-systemet för att signalera en pågående VPN-anslutning. På vissa ROM spelar denna notifiering ett ljud.\nAndroid har infört dessa dialogrutor och notifieringar för din egen säkerhet och kan inte undvikas. (På vissa ROM innehåller dessa tyvärr ljud)</string>
- <string name="faq_system_dialogs_title">Anslutnings varning och ljud</string>
- <string name="translationby">Svensk översättning av Zapp och Mr_Arrow</string>
- <string name="ipdns">IP och DNS</string>
- <string name="basic">Grundläggande</string>
- <string name="routing">Rutter</string>
- <string name="obscure">Obskyra OpenVPN inställningar. Behövs normalt inte.</string>
- <string name="advanced">Avancerad</string>
- <string name="export_config_title">ICS OpenVPN konfiguration</string>
- <string name="warn_no_dns">Inga DNS-servrar används. Namnuppslag kommer kanske inte fungera. Överväg att namnge egna DNS-servrar. Observera även att Android kommer att fortsätta att använda dina proxyinställningar som anges för din mobildata/Wi-Fi-anslutning när inga DNS-servrar är konfigurerade.</string>
- <string name="dns_add_error">Kunde inte lägga till DNS-servern \"%1$s\", förkastades av systemet: %2$s</string>
- <string name="faq_howto">&lt;p&gt;Hämta en fungerande konfiguration (testad på din dator eller nerladdad från din leverantör/organisation)&lt;/p&gt;&lt;p&gt;Om det är en enda fil utan extra pem/pks12 filer kan du maila den till dig själv och öppna den bifogade filen. Om du har flera filer lägg dem på ditt sd-kort.&lt;/p&gt;&lt;p&gt;Klicka på den i mailet bifogade filen/Användning mappikonen i VPN-listan för att importera konfigurationsfilen&lt;/p&gt;&lt;p&gt;Om det ger fel ang. saknade filer lägg dessa på ditt sd-kort.&lt;/p&gt;&lt;p&gt;Klicka på spara symbolen för att lägga till den importerade konfigurationen i VPN-listan&lt;/p&gt;&lt;p&gt;Anslut din VPN genom att klicka på konfigurationsnamnet&lt;/p&gt;&lt;p&gt;Om det finns fel eller varningar i loggen försöka förstå dessa varningar/fel och försök att åtgärda dem&lt;/p&gt; </string>
- <string name="faq_howto_title">Snabbstart</string>
- <string name="setting_loadtun_summary">Prova att ladda kärnmodulen tun.ko innan du försöker ansluta. Kräver root.</string>
- <string name="setting_loadtun">Ladda tun modul</string>
- <string name="importpkcs12fromconfig">Importera PKCS12 från konfigurationen till Android Keystore</string>
- <string name="getproxy_error">Fel vid hämtning av proxyinställningar: %s</string>
- <string name="using_proxy">Använder proxy %1$s %2$d</string>
- <string name="use_system_proxy">Använd system proxy</string>
- <string name="use_system_proxy_summary">Använda systemkonfigurationen för HTTP/HTTPS proxy för att ansluta.</string>
- <string name="donatewithpaypal">Du kan &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;donera via PayPal&lt;/a&gt; </string>
- <string name="onbootrestartsummary">OpenVPN återansluter VPN om den var aktiv vid avstängning/omstart. Läs FAQ om anslutningsvarning innan du använder detta alternativ.</string>
- <string name="onbootrestart">Återanslut vid omstart</string>
- <string name="ignore">Ignorera</string>
- <string name="restart">Starta om</string>
- <string name="restart_vpn_after_change">Konfigurationsändringar tillämpas efter omstart av VPN. Starta(om) VPN nu?</string>
- <string name="configuration_changed">Konfigurationen ändrades</string>
- <string name="log_no_last_vpn">Kunde inte avgöra vilken den sista anslutna profilen var för redigering</string>
- <string name="faq_duplicate_notification_title">Dubblerade meddelanden</string>
- <string name="faq_duplicate_notification">Om Android tillfälligt har brist på systemminne (RAM), tas program och tjänster som inte behövs just nu bort från aktiva minnet. Detta avslutar en pågående VPN-anslutning. För att se till att pågående anslutning/OpenVPN överlever körs denna tjänst med högre prioritet. För att köra med högre prioritet måste applikationen visa en notifikation. Nyckelikonen visas av systemet, som beskrivs i FAQ tidigare, och räknas inte som ett meddelande som ger rättighet att köra med högre prioritet.</string>
- <string name="no_vpn_profiles_defined">Inga VPN-profiler har definierats.</string>
- <string name="add_new_vpn_hint">Använd &lt;img src=\"ic_menu_add\"/&gt; ikonen för att lägga till en ny VPN</string>
- <string name="vpn_import_hint">Använd &lt;img src=\"ic_menu_archive\"/&gt; ikonen för att importera en befintlig (.ovpn eller .conf) profil från ditt sd-kort.</string>
- <string name="faq_hint">Tänk på att titta i FAQ\'n. Där finns en snabbstartguide.</string>
- <string name="faq_routing_title">Konfiguration för rutter/gränssnitt</string>
- <string name="persisttun_summary">Fall inte tillbaka till ingen VPN-anslutning när OpenVPN återansluter.</string>
- <string name="persistent_tun_title">Ihållande tun</string>
- <string name="openvpn_log">OpenVPN Log</string>
- <string name="import_config">Importera OpenVPN konfiguration</string>
- <string name="battery_consumption_title">Batteriförbrukning</string>
- <string name="faq_tethering">Funktionen Internetdelning i Android (över WiFi, USB eller Bluetooth) och VPNService API (används av denna applikation) fungerar inte tillsammans. För mer information se &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\"&gt;ärende #34&lt;/a&gt;</string>
- <string name="vpn_tethering_title">VPN och Internetdelning</string>
- <string name="connection_retries">Anslutningsförsök</string>
- <string name="reconnection_settings">Inställningar för återanslutning</string>
- <string name="connectretrymessage">Antal sekunder att vänta mellan anslutningsförsök.</string>
- <string name="connectretrywait">Sekunder mellan anslutningar</string>
- <string name="minidump_generated">OpenVPN kraschade oväntat. Försök att använda skicka Minidump alternativet i huvudmenyn</string>
- <string name="send_minidump">Skicka Minidump till utvecklare</string>
- <string name="send_minidump_summary">Skickar felsökningsinformation om senaste krasch till utvecklare</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">Ansluter</string>
- <string name="state_wait">Väntar på svar från servern</string>
- <string name="state_auth">Autentiserar</string>
- <string name="state_get_config">Hämtar klientkonfiguration</string>
- <string name="state_assign_ip">Tilldelar IP-adresser</string>
- <string name="state_add_routes">Lägger till rutter</string>
- <string name="state_connected">Ansluten</string>
- <string name="state_disconnected">Koppla ifrån</string>
- <string name="state_reconnecting">Återansluter</string>
- <string name="state_exiting">Avslutar</string>
- <string name="state_noprocess">Kör inte</string>
- <string name="state_resolve">Slår upp värdnamn</string>
- <string name="state_tcp_connect">Ansluter (TCP)</string>
- <string name="state_auth_failed">Autentisering misslyckades</string>
- <string name="state_nonetwork">Väntar på användbart nätverk</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Inte ansluten</string>
- <string name="start_vpn_title">Ansluter till VPN %s</string>
- <string name="start_vpn_ticker">Ansluter till VPN %s</string>
- <string name="jelly_keystore_alphanumeric_bug">Vissa versioner av Android 4.1 har problem om namnet på keystore certifikatet innehåller icke alfanumeriska tecken (som mellanslag, understreck eller bindestreck). Försök att omimportera certifikatet utan specialtecken</string>
- <string name="encryption_cipher">Krypteringschiffer</string>
- <string name="packet_auth">Paketautentisering</string>
- <string name="auth_dialog_title">Ange autentiseringsmetod för paket</string>
- <string name="mobile_info_extended">Kör på %1$s (%2$s) %3$s, Android API %4$d, version %5$s, %6$s</string>
- <string name="built_by">byggd av %s</string>
- <string name="debug_build">felsöknings bygge</string>
- <string name="official_build">officiellt bygge</string>
- <string name="make_selection_inline">Kopiera till profil</string>
- <string name="crashdump">Crashdump</string>
- <string name="add">Lägg till</string>
- <string name="send_config">Skicka konfigurationsfilen</string>
- <string name="complete_dn">Komplett DN</string>
- <string name="remotetlsnote">Din importerade konfiguration innehåller gamla, ej längre i bruk, tls-remote optioner som använder ett annat DN-format.</string>
- <string name="rdn">RDN (vanligt namn)</string>
- <string name="rdn_prefix">RDN prefix</string>
- <string name="tls_remote_deprecated">TLS-remote (ej längre i bruk)</string>
- <string name="help_translate">Du kan hjälpa till med översättningen genom att besöka http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s försöker styra %2$s</string>
- <string name="remote_trust">Jag litar på denna applikation.</string>
- <string name="no_external_app_allowed">Ingen app får använda externa API</string>
- <string name="allowed_apps">Tillåtna apps: %s</string>
- <string name="clearappsdialog">Rensa lista över tillåtna externa apps? \nNuvarande lista över tillåtna apps:\n\n%s</string>
- <string name="screenoff_title">Pausa VPN-anslutningen efter att skärmen stängts av</string>
- <string name="screenoff_pause">Pausa anslutning när skärmen är avstängd: mindre än %1$s i %2$ss</string>
- <string name="screen_nopersistenttun">Varning: Permanent tun är inte aktiverat för denna VPN. Trafiken kommer att använda den normala Internet-anslutning när skärmen är avstängd.</string>
- <string name="save_password">Spara lösenord</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-sw600dp/dimens.xml b/ics-openvpn-stripped/main/src/main/res/values-sw600dp/dimens.xml
deleted file mode 100644
index 94a120d1..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-sw600dp/dimens.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<resources>
- <bool name="logSildersAlwaysVisible">true</bool>
-
-</resources> \ No newline at end of file
diff --git a/ics-openvpn-stripped/main/src/main/res/values-sw600dp/styles.xml b/ics-openvpn-stripped/main/src/main/res/values-sw600dp/styles.xml
deleted file mode 100644
index c320388d..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-sw600dp/styles.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<resources>
-
- <dimen name="stdpadding">16dp</dimen>
-
-</resources> \ No newline at end of file
diff --git a/ics-openvpn-stripped/main/src/main/res/values-tr/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-tr/strings.xml
deleted file mode 100755
index 4c4dfce0..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-tr/strings.xml
+++ /dev/null
@@ -1,336 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">Android için OpenVPN</string>
- <string name="address">Sunucu adresi:</string>
- <string name="port">Sunucu Portu:</string>
- <string name="location">Konum</string>
- <string name="cant_read_folder">Dizin Okunamıyor</string>
- <string name="select">Seç</string>
- <string name="cancel">İptal</string>
- <string name="no_data">Veri Yok</string>
- <string name="useLZO">LZO sıkıştırma</string>
- <string name="client_no_certificate">Sertifika yok</string>
- <string name="client_certificate_title">İstemci sertifikası</string>
- <string name="client_key_title">İstemci Sertifika Anahtarı</string>
- <string name="client_pkcs12_title">PCKCS12 Dosyası</string>
- <string name="ca_title">CA Sertifikası</string>
- <string name="no_certificate">Bir sertifika seçmelisiniz</string>
- <string name="copyright_guicode">Kaynak kodu ve sorun izcisine http://code.google.com/p/ics-openvpn/ buradan ulaşablirsiniz</string>
- <string name="copyright_others">Bu program, aşağıdaki bileşenleri kullanır; tam bilgi için lisanslardaki kaynak koduna bakınız</string>
- <string name="about">Hakkında
-</string>
- <string name="vpn_list_title">Profiller</string>
- <string name="vpn_type">Tür</string>
- <string name="pkcs12pwquery">PKCS12 Şifresi</string>
- <string name="file_select">Seçiniz&#8230;</string>
- <string name="file_nothing_selected">Bir dosya seçmelisiniz</string>
- <string name="useTLSAuth">TLS Kimlik Doğrulamasını Kullan</string>
- <string name="tls_direction">TLS yönü</string>
- <string name="ipv6_dialog_tile">CIDR formatında IPv6 Adresi/Ağ maskesi girin (örneğin 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">IPv4 adresi/ağ maskesi CIDR biçimi (örneğin 1.2.3.4/24) girin</string>
- <string name="ipv4_address">IPv4 Adresi</string>
- <string name="ipv6_address">IPv6 adresi</string>
- <string name="custom_option_warning">Özel OpenVPN seçenekleri girin.Dikkatli kullanın.Ayrıca tun kullanan VPN ler tasarlanan bu program tarafından desteklenmiyor.Eğer özel bir seçenek eksikliği olduğunu düşünüyorsanız geliştirici ile iletişime geçin</string>
- <string name="auth_username">Kullanıcı Adı</string>
- <string name="auth_pwquery">Şifre</string>
- <string name="static_keys_info">Statik yapılandırma için TLS Auth Keys statik anahtar olarak kullanılacak</string>
- <string name="configure_the_vpn">VPN\'i Yapılandırın</string>
- <string name="menu_add_profile">Profil Ekle</string>
- <string name="add_profile_name_prompt">Yeni profili tanımlayan bir isim girin</string>
- <string name="duplicate_profile_name">Benzersiz bir profil adı girin</string>
- <string name="profilename">Profil Adı</string>
- <string name="no_keystore_cert_selected">Kullanıcı sertifikası seçmelisiniz</string>
- <string name="no_error_found">Hiçbir hata bulunamadı</string>
- <string name="config_error_found">Yapılandırma hatası</string>
- <string name="ipv4_format_error">IPv4 adresi ayrıştırma hatası</string>
- <string name="custom_route_format_error">Özel yolları ayrıştırma hatası</string>
- <string name="pw_query_hint">(Talep üzerine sorgulamak için boş bırakın)</string>
- <string name="vpn_shortcut">OpenVPN Kısayolu</string>
- <string name="vpn_launch_title">VPN\'e Bağlan</string>
- <string name="shortcut_profile_notfound">Kısayolu belirtilen profil bulunamadı</string>
- <string name="random_host_prefix">Rastgele host ön eki</string>
- <string name="random_host_summary">Host ismine 6 rasgele karakter ekler</string>
- <string name="custom_config_title">Özel seçenekleri etkinleştir</string>
- <string name="custom_config_summary">Özel seçenekleri belirleyin.Dikkatli kullanın!</string>
- <string name="route_rejected">Yol Android tarafından reddedildi</string>
- <string name="cancel_connection">Bağlantıyı kes</string>
- <string name="cancel_connection_long">VPN bağlantısını kes</string>
- <string name="clear_log">Kayıtları temizle</string>
- <string name="title_cancel">Onayı İptal et</string>
- <string name="cancel_connection_query">Bağlı VPN bağlantısını keseyim / bağlantı girişimini iptal edeyim mi?</string>
- <string name="remove_vpn">VPN kaldırın</string>
- <string name="check_remote_tlscert">(- Uzak-CERT-tls sunucu) sunucu TLS Sunucu uzantıları ile bir sertifika kullanır olmadığını kontrol eder</string>
- <string name="check_remote_tlscert_title">TLS sunucu sertifikasını bekleyin</string>
- <string name="remote_tlscn_check_summary">Uzak sunucu sertifika konusunu DN kontrol eder</string>
- <string name="remote_tlscn_check_title">Sertifika sunucu adı kontrol</string>
- <string name="enter_tlscn_dialog">Uzaktan sertifika DN doğrulamak için kullanılan onay belirtin (örneğin C = DE, L = Paderborn, OU = Kuş IP Taşıyıcılar, CN = openvpn.blinkt.de) \ n \ tam DN veya RDN (openvpn.blinkt.de nBuörnek) ya da doğrulama için bir RDN önek. \ n \ nWhen RDN önek \"Sunucu\" ile \"Sunucu-1\" ve \"Sunucu-2\" ile eşleşir \ n \ boş metin alanına ana bilgisayar adı, sunucu karşı RDN kontrol edecektir nLeaving. \ n \ nBu daha fazla bilgi OpenVPN 2.3.1 + man sayfasına altında-kontrol-x509-adını görmek</string>
- <string name="enter_tlscn_title">Uzak sertifika konusu</string>
- <string name="tls_key_auth">TLS Anahtar Kimlik Doğrulaması sağlar</string>
- <string name="tls_auth_file">TLS Kimlik Doğrulama Dosyası</string>
- <string name="pull_on_summary">İstekler IP adresleri, sunucudan yolları ve zamanlama seçenekleri.</string>
- <string name="pull_off_summary">Herhangi bir bilgi sunucudan istenir. Ayarlar aşağıda belirtildiği gibidir.</string>
- <string name="use_pull">Ayarlarını çekin</string>
- <string name="dns">DNS</string>
- <string name="override_dns">Sunucusu tarafından DNS ayarları geçersiz</string>
- <string name="dns_override_summary">Kendi DNS Sunucularını kullanın</string>
- <string name="searchdomain">Arama Etki Alanı</string>
- <string name="dns1_summary">DNS Sunucusu kullanılacak.</string>
- <string name="dns_server">DNS Serveri</string>
- <string name="secondary_dns_message">Ikinci DNS Serveri Kullan Normal DNS Serveri Erişilmezse.</string>
- <string name="backup_dns">DNS Sunucusunu Yedekle</string>
- <string name="ignored_pushed_routes">Itilmiş rotalar göz ardı</string>
- <string name="ignore_routes_summary">Yoksay sunucu tarafından itti yönlendirilir.</string>
- <string name="default_route_summary">Tüm trafiği VPN üzerinden kullan</string>
- <string name="use_default_title">Varsayılan Yolu kullan</string>
- <string name="custom_route_message">Özel yolları girin. CIDR biçimde tek hedef girin. \"10.0.0.0 / 8 2002 :: / 16\" ağlar VPN üzerinden 10.0.0.0 / 8 ve 2002 :: / 16 doğrudan.</string>
- <string name="custom_routes_title">Özel Yollar</string>
- <string name="custom_routes_title_excluded">Dışlanan Ağlar</string>
- <string name="log_verbosity_level">Ayrıntı düzeyi Log</string>
- <string name="float_summary">Herhangi bir IP kimlik doğrulaması paketlerini sağlar</string>
- <string name="float_title">Herhangi bir IP kimlik doğrulaması paketlerini sağlar</string>
- <string name="custom_options_title">Özel Seçenekler</string>
- <string name="edit_vpn">VPN Ayarlarını düzenle</string>
- <string name="remove_vpn_query">VPN profilleri kaldırılsın mı \'%s\'?</string>
- <string name="tun_error_helpful">Bazı özel ICS görüntülerde / dev / tun üzerinde izni yanlış olabilir, ya da tun modülünü tamamen eksik olabilir. CM9 görüntüleri genel ayarlar altında düzeltme mülkiyet seçeneğini deneyin</string>
- <string name="tun_open_error">Tun arayüzü açılamadı</string>
- <string name="error">"Hata:"</string>
- <string name="clear">Temizle</string>
- <string name="last_openvpn_tun_config">Açılış tun arabirimi:</string>
- <string name="local_ip_info">Yerel IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">DNS sunucusu: %1$s, etki alanı: %2$s</string>
- <string name="ip_not_cidr">Arabirim bilgileri %1$s ve %2$s var, tabii ikinci eş adresi uzaktan adresidir. /32 Kullanarak için yerel IP ağ maskesi. OpenVPN tarafından verilen \"%3$s\" modudur.</string>
- <string name="route_not_cidr">%1$s ve %2$s olarak IP yolu ile CIDR ağ maskesi, ağ maskesi /32 kullanarak yapamazsınız.</string>
- <string name="route_not_netip">Rota %1$s/%2$s %3$s/%2$s için düzeltilmiş</string>
- <string name="keychain_access">Android Anahtarlık sertifika erişemiyor. Bu bir yazılım yükseltmesi veya app/app ayarları bir yedeğini geri yükleme tarafından kaynaklanabilir. Lütfen VPN düzenlemek ve sertifikanın sertifika erişim izni yeniden oluşturmak için temel ayarları altında yeniden seçin.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Günlük dosyasını gönder</string>
- <string name="send">Gönder</string>
- <string name="ics_openvpn_log_file">ICS OpenVPN günlük dosyası</string>
- <string name="copied_entry">Panoya kopyalanan günlük girdisi</string>
- <string name="tap_mode">Moda dokunun</string>
- <string name="faq_tap_mode">Dokunun modu olmayan kök VPN API ile mümkün değildir. Bu nedenle bu uygulama dokunun destek sağlayamaz</string>
- <string name="tap_faq2">Yine? Dalga mı geçiyorsun? Hayır, dokunun modu gerçekten desteklenmez ve bu desteklenecektir soran daha fazla posta gönderme değil yardımcı olacaktır.</string>
- <string name="tap_faq3">Üçüncü kez? Aslında, bir yazabilirsiniz bir Katman2 bilgi göndermek eklemek ve şerit Katman2 bilgi tun dayalı bir dokunun emülatör alırsınız. Ama bu dokunun emülatör da ARP ve muhtemelen bir DHCP istemci uygulamak gerekir. Herkes bu yönde herhangi bir işi farkında değilim. Bu konuda kodlama başlatmak istiyorsanız bana ulaşın.</string>
- <string name="faq">Sık Sorulan Sorular</string>
- <string name="copying_log_entries">Günlük girdisi kopyalama</string>
- <string name="faq_copying">Bir tek günlük girişi basın kopyalamak ve günlük girdisi üzerinde tutun. Tüm günlük kopyala ve gönderme göndermek günlük seçeneğini kullanın. Görünür değil Eğer GUI donanım menü düğmesini kullanın.</string>
- <string name="faq_shortcut">Kısayolları başlatmak için</string>
- <string name="faq_howto_shortcut">Masaüstünüzde OpenVPN başlatmak için bir kısayol yerleştirebilirsiniz. Homescreen programınıza bağlı olarak bir kısayol ya da bir widget eklemeniz gerekecek.</string>
- <string name="no_vpn_support_image">Görüntü VPNService API desteklemiyor, özür :(</string>
- <string name="encryption">Şifreleme</string>
- <string name="cipher_dialog_title">Şifreleme yöntemi girin</string>
- <string name="chipher_dialog_message">OpenVPN tarafından kullanılan şifreleme algoritmasını girin. Varsayılan şifrelemeyi kullanmak için boş bırakın.</string>
- <string name="auth_dialog_message">OpenVPN için kullanılan kimlik doğrulamasını özet girin. Varsayılan özeti kullanmak için boş bırakın.</string>
- <string name="settings_auth">Kimlik doğrulama/şifreleme</string>
- <string name="file_explorer_tab">Dosya Gezgini</string>
- <string name="inline_file_tab">Satır içi dosya</string>
- <string name="error_importing_file">Dosya alınırken hata oluştu</string>
- <string name="import_error_message">Dosya sistemindeki dosya içe aktarılamadı</string>
- <string name="inline_file_data">[[Satır içi dosya veri]]</string>
- <string name="opentun_no_ipaddr">IP bilgisi olmadan tun cihazı açmayı reddediyor</string>
- <string name="menu_import">Ovpn dosyası alma profili</string>
- <string name="menu_import_short">Alma</string>
- <string name="import_content_resolve_error">Profil alma için okunamadı</string>
- <string name="error_reading_config_file">Yapılandırma dosyası okuma hatası</string>
- <string name="add_profile">Profil ekle</string>
- <string name="import_could_not_open">Alınan yapılandırma dosyasında belirtilen dosya %1$s bulunamadı</string>
- <string name="importing_config">Kaynak %1$s yapılandırma dosyası alma</string>
- <string name="import_warning_custom_options">Senin yapılandırma kullanıcı arabirimi yapılandırmaları için eşleştirilmemiş birkaç yapılandırma seçenekleri vardı. Bu seçenekler özel yapılandırma seçenekleri eklenmiştir. Özel yapılandırma aşağıda görüntülenir:</string>
- <string name="import_done">Yapılandırma dosyası okuması bitmiş.</string>
- <string name="nobind_summary">Yerel adresi ve bağlantı noktası için bağlama yapmak</string>
- <string name="no_bind">Hiçbir yerel bağlama</string>
- <string name="import_configuration_file">Yapılandırma dosyası al</string>
- <string name="faq_security_title">Güvenlik konuları</string>
- <string name="faq_security">OpenVPN güvenlik duyarlı olduğu gibi güvenlik hakkında birkaç not mantıklı bulunmaktadır. Sdcard üzerindeki tüm verileri doğal olarak güvensiz. Her app (örneğin bu program herhangi özel bir sd kartı hak gerektirir) okuyabilirsiniz. Bu uygulama verileri yalnızca uygulama tarafından okunabilir. Cacert/cert/anahtarında dosya iletişim kutusu için içe aktarma seçeneğini kullanarak verileri VPN profilinizde saklanır. VPN profilleri yalnızca bu uygulama tarafından erişilebilir. (Daha sonra sd kartta kopyaları sil unutmayın). Bile erişilebilir rağmen bu uygulama tarafından yalnızca verileri hala şifreli değildir. Telefon veya diğer olağanüstü köklenme tarafından veri almak mümkün olabilir. Kurtarmak parola düz metin olarak depolanır. Pkcs12 dosyaları için onları android deposunun almak önerilir.</string>
- <string name="import_vpn">Alma</string>
- <string name="broken_image_cert_title">Hata gösteren sertifika seçimi</string>
- <string name="broken_image_cert">Android 4.0 + göstermeye çalışıyor bir istisna var sertifika seçimi iletişim. Bu hiç bu kadar standart bir özellik olarak Android 4.0 + gerçekleşmesi gerekir. Belki sertifika depolama ortamı için Android ROM destek bozuldu</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Durum iletisi bekleniyor&#8230;</string>
- <string name="converted_profile">içe aktarılan profil</string>
- <string name="converted_profile_i">İçe aktarılan profil %d</string>
- <string name="broken_images">Kırık görüntüleri</string>
- <string name="broken_images_faq">&lt;p&gt; Resmi HTC görüntüleri tünelden değil trafiğe neden garip bir yönlendirme sorunu var için bilinen (Ayrıca bkz: &lt; bir href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\" &gt; sorunu 18 &lt;/a&gt; hata izci içinde.)&lt;/p&gt; &lt;p&gt; büyük resmi SONY Xperia Arc S ve görüntüleri Xperia Ray VPNService tamamen görüntüden eksik bildirilmiştir. (Ayrıca bkz: &lt; bir href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\" &gt; sayı 29 &lt;/a&gt; hata izci içinde.)&lt;/p&gt; &lt;p&gt; ya da eksik/dev haklarını tun modülü olabilir görüntüleri üzerinde özel yapı/tun-ebilmek var olmak yanlış. Bazı CM9 görüntü \"etkin aygıt belirli kesmek\" altında \"mülkiyet saptamak\" seçeneği gerek. &lt;/p&gt; &lt;p&gt; en önemlisi: cihazınızda kopuk Android resmi varsa, senin satıcısına bildirin. Daha fazla kişi kim daha onlar bunu &lt;/p&gt; düzeltmek için olabilir satıcıya, sorun bildir</string>
- <string name="pkcs12_file_encryption_key">PKCS12 Dosya şifreleme anahtarı</string>
- <string name="private_key_password">Özel Anahtar Şifresi</string>
- <string name="password">Şifre</string>
- <string name="file_icon">Dosya simgesi</string>
- <string name="tls_authentication">TLS kimlik doğrulama</string>
- <string name="generated_config">Oluşturulan yapılandırma</string>
- <string name="generalsettings">Ayarlar</string>
- <string name="owner_fix_summary">Sisteme /dev/tun sahibi çalışır. Bazı CM9 görüntüleri bu işe VPNService API yapmak gerekir. Kök gerektirir.</string>
- <string name="owner_fix">/ Dev / tun sahipliğini düzeltmek</string>
- <string name="generated_config_summary">Oluşturulan OpenVPN yapılandırma dosyası göster</string>
- <string name="edit_profile_title">\"%s\" düzenleme</string>
- <string name="building_configration">Yapılandırma binası&#8230;</string>
- <string name="netchange_summary">Ağ durumu (örneğin WiFi üzerinden cep telefonlarına/cep) değiştirdiyseniz bu seçeneği açmak yeniden bağlantı zorlar</string>
- <string name="netchange">Ağ değişikliği üzerinde yeniden bağlan</string>
- <string name="netstatus">Ağ Durumu: %s</string>
- <string name="extracahint">Sertifika yetkilisi sertifikası genellikle Android deposunun döndürülür. Sertifika doğrulama hataları alırsanız ayrı bir sertifika belirtin.</string>
- <string name="select_file">Seçin</string>
- <string name="keychain_nocacert">Hayır CA sertifikasını okurken Android deposunu döndürdü. Kimlik doğrulama muhtemelen başarısız olur.</string>
- <string name="show_log_summary">Bağlama kütüğü penceresi üzerinde gösterir. Kütüğü penceresi her zaman bildirim durumu erişilebilir.</string>
- <string name="show_log_window">Günlüğü penceresini göster</string>
- <string name="mobile_info">%1$s (%2$s) %3$s, Android API %4$d d\'çalışması</string>
- <string name="error_rsa_sign">Android deposunun anahtarı %1$s %2$s ile imzalama hatası</string>
- <string name="faq_system_dialogs">Bu app tüm trafiği geçirebilir belirten VPN bağlantısı uyarı dayatılan VPNService API.\nThe VPN bağlantısının istismarını önlemek için sistem tarafından bildirim (anahtar simgesi) da devam eden bir VPN bağlantısı sinyal için Android sistem tarafından uygulanmaktadır. Bu bildirim çalış bazı görüntülerde ses. \nAndroid kendi güvenliğiniz için bu sistem diyaloglar tanıttı ve circumenvented olamaz emin oldum. (Bazı görüntülerde bu unfortunely notifciation ses içerir)</string>
- <string name="faq_system_dialogs_title">Bağlantı uyarı ve bildirim sesi</string>
- <string name="translationby">İngilizce Çeviri: Arne</string>
- <string name="ipdns">IP ve DNS</string>
- <string name="basic">Temel</string>
- <string name="routing">Yönlendiriliyor</string>
- <string name="obscure">OpenVPN ayarları belirsiz. Normalde gerekmez.</string>
- <string name="advanced">Gelişmiş</string>
- <string name="export_config_title">ICS Opnvpn Yapılandırma</string>
- <string name="warn_no_dns">Kullanılan DNS sunucusu yok. Ad çözümlemesi çalışmıyor olabilir. Özel DNS sunucularını ayarlamayı düşünün. Ayrıca Android cep/Wi-Fi bağlantınız için DNS sunucusu ayarlandığında belirtilen proxy ayarlarını kullanmaya devam unutmayın.</string>
- <string name="dns_add_error">DNS sunucusu sistem tarafından reddedilen %1$s, eklenemedi: %2$s</string>
- <string name="ip_add_error">IP adresi \"%1$s\"yapılandırılamadı ,sistem tarafından reddedildi: %2$s</string>
- <string name="faq_howto">(bilgisayarınızdaki veya sağlayıcı/organizasyon yüklenebilir test) bir çalışma config &lt;p&gt; olsun &lt;/p&gt; &lt;p&gt; Hayır hiçbir ilave pem/pks12 ile tek bir dosya dosyaları ise dosyayı kendiniz e-posta ve eki açın. Birden çok dosya varsa koymak onları üstünde senin sd kartı &lt;/p&gt; &lt;p&gt; e-posta eki/kullanım üzerinde klasör simgesini tıklatın, sd eksik dosyaları koyun dosyaları eksik hakkında hatalar varsa config dosyasının &lt;/p&gt; &lt;p&gt; almak için vpn listedeki kayıt tıklayın kartı &lt;/p&gt; &lt;p&gt; sembol alınan VPN &lt;/p&gt; VPN listenize eklemek için &lt;p &gt; VPN varsa hata veya uyarılar günlüğüne uyarı/hata anlamak ve onları &lt;/p&gt; gidermek çalışın VPN &lt;/p&gt; &lt;p&gt; adını tıklatarak bağlanmak </string>
- <string name="faq_howto_title">Hızlı Başlangıç</string>
- <string name="setting_loadtun_summary">Bağlanmadan önce tun.ko yüklemeyi deneyin.Root edilmiş cihazlar gerekli.</string>
- <string name="setting_loadtun">Tun modülünü yükle</string>
- <string name="importpkcs12fromconfig">PKCS12 yapılandırma Android deposunun içine alma</string>
- <string name="getproxy_error">Proxy ayarları alınırken hata oluştu: %s</string>
- <string name="using_proxy">Proxy %1$s %2$d kullanarak</string>
- <string name="use_system_proxy">Sistem proxy kullan</string>
- <string name="use_system_proxy_summary">Sistem geniş yapılandırma HTTP/HTTPS proxy için bağlanmak için kullanın.</string>
- <string name="donatewithpaypal">Şunları yapabilirsiniz &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;PayPal ile bağış &lt;/a&gt; </string>
- <string name="onbootrestartsummary">Sistem yeniden başlatma/kapatma üzerinde etkin OpenVPN bir VPN yeniden bağlanır. Bu seçeneği kullanmadan önce bağlantı uyarı SSS okuyun.</string>
- <string name="onbootrestart">Yeniden başlatmada tekrar bağlan</string>
- <string name="ignore">Yoksay</string>
- <string name="restart">Yeniden Başlat</string>
- <string name="restart_vpn_after_change">Yapılandırma değişiklikleri, VPN yeniden başlattıktan sonra geçerli olur. (Yeniden) VPN şimdi başlıyorsun?</string>
- <string name="configuration_changed">Yapılandırma değişti</string>
- <string name="log_no_last_vpn">Düzenleme için son bağlı profil belirlenemedi</string>
- <string name="faq_duplicate_notification_title">Yinelenen bildirimler</string>
- <string name="faq_duplicate_notification">Android sistem belleği (RAM) basınç altında ise, apps ve hizmet hangi anda gerekli değildir aktif bellekten kaldırılır. Bu devam eden bir VPN bağlantısını sonlandırır. Bağlantı/OpenVPN ile daha yüksek öncelikli hizmet çalışır hayatta emin olmak için. Daha yüksek öncelik ile çalıştırmak için uygulama bir bildirim görüntülemeniz gerekir. Anahtar bildirim simgesini, önceki SSS girdisi içinde açıklandığı gibi sistem tarafından uygulanmaktadır. Daha yüksek öncelik ile çalışan amaç için app bildirim olarak sayılmaz.</string>
- <string name="no_vpn_profiles_defined">Tanımlanan VPN profili yok.</string>
- <string name="add_new_vpn_hint">Kullanım &lt; img src = \"ic_menu_add\" / &gt; yeni bir VPN eklemek için simge</string>
- <string name="vpn_import_hint">Kullanım &lt; img src = \"ic_menu_archive\" / &gt; simgesi sdcard (.ovpn veya .conf) bir profili almak için.</string>
- <string name="faq_hint">Ayrıca SSS kontrol etmeyi unutmayın. Hızlı Başlangıç Kılavuzu vardır.</string>
- <string name="faq_routing_title">Yönlendirme/arabirimi yapılandırması</string>
- <string name="persisttun_summary">OpenVPN yeniden bağlamadan zaman VPN bağlantısı değil geri dönüş yap</string>
- <string name="persistent_tun_title">Kalıcı tun</string>
- <string name="openvpn_log">OpenVPN kayıtları</string>
- <string name="import_config">OpenVPN yapılandırması aktar</string>
- <string name="battery_consumption_title">Pil tüketimi</string>
- <string name="baterry_consumption">Benim kişisel testlerinde yüksek pil tüketimi OpenVPN ana sebebi canlı tutma paketleri var. Bir yapılandırma yönergesi gibi çoğu OpenVPN sunucusu var \' keepalive 10 60 istemci ve sunucu 10 saniyede canlı tutma paketleri alışverişi neden \'. &lt;p&gt; Bunlar süre paketleri küçük ve çok trafik kullanmayın, mobil radyo ağ meşgul ve enerji tüketimini artırır. (Ayrıca bkz: &lt; bir href=\"http://developer.android.com/training/efficient-downloads/efficient-network-access.html#RadioStateMachine\" &gt; Radyo durum makinesi | Android geliştiriciler &lt;/a&gt;) &lt;p&gt; Bu canlı tutma ayarı istemcide değiştirilemez. Yalnızca sistem yöneticisinin OpenVPN in ayarı değiştirebilirsiniz. &lt;p&gt; Ne yazık ki 60 saniyeden daha büyük bir canlı tutma ile UDP kullanarak bazı NAT ağ geçitleri işlem zaman aşımı nedeniyle bağlantıyı kesmek neden olabilir. TCP kullanarak uzun canlı tutma zaman aşımı ile çalışır, ancak TCP TCP üzerinden tünel son derece kötü bağlantılarında yüksek paket kaybı ile gerçekleştirir. (Bkz: &lt; bir href=\"http://sites.inka.de/bigred/devel/tcp-tcp.html\" &gt; neden TCP üzerinden TCP A kötü düşünce &lt;/a&gt;)</string>
- <string name="faq_tethering">Android hayvan zinciri özelliğin (üzerindeki, WiFi, USB veya Bluetooth) ve VPNService (Bu program tarafından kullanılan) API birlikte çalışmayabilir. Daha fazla ayrıntı için bkz: &lt; bir href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\" &gt; #34 &lt;/a&gt; yayın</string>
- <string name="vpn_tethering_title">VPN ve Paylaşım</string>
- <string name="connection_retries">Yeniden bağlantı denemesi</string>
- <string name="reconnection_settings">Yeniden Bağlanma ayarları</string>
- <string name="connectretrymessage">Bağlantı girişimleri arasında beklenecek saniye sayısı.</string>
- <string name="connectretrywait">Bağlantılar arasındaki Saniye</string>
- <string name="minidump_generated">OpenVPN beklenmedik biçimde düştü. Lütfen ana menüde gönder mini döküm seçeneği kullanmayı düşünün</string>
- <string name="send_minidump">Geliştiriciye mini döküm gönder</string>
- <string name="send_minidump_summary">Hata ayıklama bilgisini son hatayı geliştiriciye gönder</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">Bağlanıyor</string>
- <string name="state_wait">Sunucudan yanıt bekleniyor</string>
- <string name="state_auth">Kimlik Doğrulanıyor</string>
- <string name="state_get_config">İstemci yapılandırma alınıyor</string>
- <string name="state_assign_ip">IP Adresleri Atanıyor</string>
- <string name="state_add_routes">Yollar ekleniyor</string>
- <string name="state_connected">Bağlanıldı</string>
- <string name="state_disconnected">Bağlantıyı kes</string>
- <string name="state_reconnecting">Yeniden bağlanıyor</string>
- <string name="state_exiting">Çıkılıyor</string>
- <string name="state_noprocess">Çalışmıyor</string>
- <string name="state_resolve">Ana bilgisayar adları çözümleniyor</string>
- <string name="state_tcp_connect">(TCP) Bağlanıyor</string>
- <string name="state_auth_failed">Kimlik doğrulaması başarısız</string>
- <string name="state_nonetwork">Kullanılabilir ağ için bekleniyor</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Bağlı değil</string>
- <string name="start_vpn_title">%s VPN bağlanıyor</string>
- <string name="start_vpn_ticker">%s VPN bağlanıyor</string>
- <string name="jelly_keystore_alphanumeric_bug">Sertifika deposunun adını (gibi alanlarda, alt çizgi veya tire) sigara alfasayısal karakterler içeriyorsa, bazı yorum-in Android 4.1 sorunları var. Özel karakter içermeyen sertifika yeniden ithalat çalışın</string>
- <string name="encryption_cipher">Şifre şifresi</string>
- <string name="packet_auth">Paket kimlik doğrulama</string>
- <string name="auth_dialog_title">Paket kimlik doğrulama yöntemini girin</string>
- <string name="mobile_info_extended">Çalışan %1$s (%2$s) %3$s, Android API %4$d, sürüm %5$s, %6$s</string>
- <string name="built_by">%s tarafından inşa</string>
- <string name="debug_build">hata ayıklama yapı</string>
- <string name="official_build">resmi yapı</string>
- <string name="make_selection_inline">Profili kopyalayın</string>
- <string name="crashdump">Crashdump</string>
- <string name="add">Ekle</string>
- <string name="send_config">Yapılandırma dosyasını gönderin</string>
- <string name="complete_dn">Tam DN</string>
- <string name="remotetlsnote">Alınan yapılandırmanızı farklı bir DN biçimini kullanan eski kullanım dışı tls-uzaktan seçeneği kullanılır.</string>
- <string name="rdn">RDN (ortak ad)</string>
- <string name="rdn_prefix">RDN öneki</string>
- <string name="tls_remote_deprecated">TLS-uzaktan (kullanım dışı)</string>
- <string name="help_translate">Http://crowdin.net/project/ics-openvpn/invite ziyaret ederek çeviri yardımcı olabilir</string>
- <string name="prompt">%2$s denetlemek %1$s çalışır</string>
- <string name="remote_warning">Devam, tamamen OpenVPN Android için kontrol etmek ve tüm ağ trafiğini kesişmek üzere uygulama izin veriyorsunuz. <b>Yapmak değil uygulama güvenmediğiniz sürece kabul.</b> Aksi takdirde, verilerinizi kötü amaçlı yazılım tarafından tehlikeye sahip riski çalıştırılır.\"</string>
- <string name="remote_trust">Bu uygulamaya güveniyorum.</string>
- <string name="no_external_app_allowed">Harici API\'yi kullanma izniniz yok</string>
- <string name="allowed_apps">Uygulamalar izni: %s</string>
- <string name="clearappsdialog">Açıkça izin verilen dış uygulamalar listesini? \nCurrent listesi izin verilen apps:\n\n%s</string>
- <string name="screenoff_summary">\"Ekran kapalı iken VPN ve 60\'lar daha az 64 kB transfer verilerde duraklatın. VPN duraklatma \"Kalıcı Tun\" seçeneği etkinleştirildiğinde aygıtınız ağ bağlantısı sayesinde bırakacaktır. \"Kalıcı Tun\" seçeneği olmadan aygıt yok VPN bağlantısı/koruma olacak.</string>
- <string name="screenoff_title">Ekran kapandıktan sonra VPN bağlantısını duraklat</string>
- <string name="screenoff_pause">Duraklatma bağlantı durumu devre dışı ekran: %1$s %2$ss içinde daha az</string>
- <string name="screen_nopersistenttun">Uyarı: kalıcı tun bu VPN için etkin değil. Ekran kapalı iken trafik normal Internet bağlantınızı kullanacak.</string>
- <string name="save_password">Parolayı Kaydet</string>
- <string name="pauseVPN">VPN duraklatın</string>
- <string name="resumevpn">VPN yi çalıştırmaya devam edin</string>
- <string name="state_userpause">Kullanıcı isteğiyle VPN duraklatıldı</string>
- <string name="state_screenoff">Ekran kapalıyken VPN duraklat</string>
- <string name="device_specific">Aygıt özellikleri kesmek</string>
- <string name="cannotparsecert">Sertifika bilgilerini görüntüleyemiyor</string>
- <string name="appbehaviour">Uygulama davranış</string>
- <string name="vpnbehaviour">VPN davranış</string>
- <string name="allow_vpn_changes">VPN Profillerinin değiştirilmesine izin ver
-</string>
- <string name="hwkeychain">Donanım deposu:</string>
- <string name="permission_icon_app">Uygulama simgesi Android için OpenVPN kullanmaya çalışıyor</string>
- <string name="faq_vpndialog43">"Android 4.3 ile VPN onay başlayan\"overlaying apps\"karşı korunuyor. Bu giriş dokunmaya tepki değil iletişim kutusunda olur. Bindirmeleri kullanan bir uygulama varsa, bu davranışa neden olabilir. Kusurlu bir app temas yazar app bulursanız. Bu sorun tüm VPN uygulamaları Android 4.3 ve daha sonra etkiler. Ayrıca bkz: &lt; bir href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=185\" &gt; sayı 185 &lt;a&gt; ek ayrıntılar için "</string>
- <string name="faq_vpndialog43_title">VPN Onayla iletişim Android 4.3 ve üstü</string>
- <string name="donatePlayStore">Alternatif olarak Play Store den bağış yapabilirsiniz.</string>
- <string name="thanks_for_donation">Bağış için teşekkürler%s!</string>
- <string name="logCleared">Kayıtlar temizlendi.</string>
- <string name="show_password">Şifreyi göster</string>
- <string name="keyChainAccessError">Anahtarlık erişim hatası: %s</string>
- <string name="timestamp_short">Kısa</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">Zaman damgaları</string>
- <string name="timestamps_none">Hiçbiri</string>
- <string name="uploaded_data">Yükleme</string>
- <string name="downloaded_data">İndirme</string>
- <string name="vpn_status">Vpn Durumu</string>
- <string name="logview_options">Görünüm seçenekleri</string>
- <string name="unhandled_exception">Kural dışı durum: %1$s\n\n%2$s</string>
- <string name="unhandled_exception_context">%3$s: %1$s\n\n%2$s</string>
- <string name="full_licenses">Lisanslar</string>
- <string name="blocklocal_title">Yerel ağlar için Bypass VPN</string>
- <string name="userpw_file">Kullanıcı adı / Şifre dosyası</string>
- <string name="imported_from_file">[Buradan içeri aktar: %s]</string>
- <string name="import_log">Kaydı içe aktar:</string>
- <string name="client_behaviour">İstemci davranışı</string>
- <string name="loading">Yükleniyor&#8230;</string>
- <string name="allowed_vpn_apps_info">Izin verilen VPN uygulamaları: %1$s</string>
- <string name="disallowed_vpn_apps_info">İzin verilmeyen VPN uygulamaları: %1$s</string>
- <string name="app_no_longer_exists">%s adlı paket artık yüklü değil, izin listesinden çıkarılıyor</string>
- <string name="vpn_disallow_radio">Seçilen uygulamar dışındaki tüm uygulamalar için VPN kullanılır</string>
- <string name="vpn_allow_radio">Sadece seçilen uygulamar için VPN kullanılır</string>
- <string name="query_delete_remote">Uzak sunucu girişi kaldırılsın mı?</string>
- <string name="keep">Sakla</string>
- <string name="delete">Sil</string>
- <string name="add_remote">Yenı uzak sunucu ekle</string>
- <string name="remote_no_server_selected">En az bir uzak sunucu tanımlamalı ve etkinleştirmelisiniz.</string>
- <string name="server_list">Sunucu Listesi</string>
- <string name="vpn_allowed_apps">İzin verilen uygulamalar</string>
- <string name="advanced_settings">Gelişmiş Ayarlar</string>
- <string name="tls_settings">TLS Ayarları</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-uk/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-uk/strings.xml
deleted file mode 100755
index ebd15ce1..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-uk/strings.xml
+++ /dev/null
@@ -1,299 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN для Android</string>
- <string name="address">Адреса сервера:</string>
- <string name="port">Порт сервера:</string>
- <string name="location">Розташування</string>
- <string name="cant_read_folder">Не вдалося прочитати каталог</string>
- <string name="select">Вибрати</string>
- <string name="cancel">Скасувати</string>
- <string name="no_data">Немає даних</string>
- <string name="useLZO">Стиснення LZO</string>
- <string name="client_no_certificate">Немає сертифіката</string>
- <string name="client_certificate_title">Сертифікат клієнта</string>
- <string name="client_key_title">Ключ сертифіката клієнта</string>
- <string name="client_pkcs12_title">Файл PKCS12</string>
- <string name="ca_title">Сертифікат CA</string>
- <string name="no_certificate">Потрібно вибрати сертифікат</string>
- <string name="copyright_guicode">Початковий код і відстеження проблем доступні по http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">Ця програма використовує такі компоненти; перегляньте вихідний код для повної інформації про ліцензії</string>
- <string name="about">Про</string>
- <string name="vpn_list_title">Профілі</string>
- <string name="vpn_type">Тип</string>
- <string name="pkcs12pwquery">Пароль PKCS12</string>
- <string name="file_select">Виберіть&#8230;</string>
- <string name="file_nothing_selected">Слід вибрати файл</string>
- <string name="useTLSAuth">Використовувати TLS аутентифікацію</string>
- <string name="tls_direction">TLS напрямок</string>
- <string name="ipv6_dialog_tile">Введіть адресу IPv6/маску в CIDR форматі (напр., 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">Введіть адресу IPv4/маску в CIDR форматі (напр., 1.2.3.4/24)</string>
- <string name="ipv4_address">IPv4-адреса</string>
- <string name="ipv6_address">IPv6-адреса</string>
- <string name="custom_option_warning">Введіть додаткові параметри OpenVPN. Використовуйте цю можливість з великою обережністю. Якщо ви вважаєте, що відсутній важливий параметр, то зв\'яжіться з автором</string>
- <string name="auth_username">Ім\'я користувача</string>
- <string name="auth_pwquery">Пароль</string>
- <string name="static_keys_info">Для статичної конфігурації ключі авторизації TLS будуть використовуватися як статичні ключі</string>
- <string name="configure_the_vpn">Налаштувати VPN</string>
- <string name="menu_add_profile">Додати профіль</string>
- <string name="add_profile_name_prompt">Введіть ім\'я нового профілю</string>
- <string name="duplicate_profile_name">Введіть унікальне ім\'я профілю</string>
- <string name="profilename">Ім\'я профілю</string>
- <string name="no_keystore_cert_selected">Потрібно вибрати сертифікат користувача</string>
- <string name="no_error_found">Помилок не знайдено</string>
- <string name="config_error_found">Помилка конфігурації</string>
- <string name="ipv4_format_error">Помилка при розборі адреси IPv4</string>
- <string name="custom_route_format_error">Помилка аналізу налаштованих маршрутів</string>
- <string name="pw_query_hint">(залиште порожнім для запиту на вимогу)</string>
- <string name="vpn_shortcut">Ярлик OpenVPN</string>
- <string name="vpn_launch_title">Підключення до VPN</string>
- <string name="shortcut_profile_notfound">Профіль, вказаний у ярлику, не знайдено</string>
- <string name="random_host_prefix">Випадковий префікс вузла</string>
- <string name="random_host_summary">Додає 6 випадкових символів перед іменем вузла</string>
- <string name="custom_config_title">Увімкнути налаштовувані параметри</string>
- <string name="custom_config_summary">Укажіть налаштовувані параметри. Використовуйте з обережністю!</string>
- <string name="route_rejected">Маршрут відхилено Андроїдом</string>
- <string name="cancel_connection">Від\'єднати</string>
- <string name="cancel_connection_long">Відключити VPN</string>
- <string name="clear_log">очистити журнал</string>
- <string name="title_cancel">Підтвердження скасування</string>
- <string name="cancel_connection_query">Відключення активних VPN/скасувати спробу підключення?</string>
- <string name="remove_vpn">Видалити VPN</string>
- <string name="check_remote_tlscert">Перевіряє, чи є сервер використовує сертифікат з сервера TLS розширень (--remote-cert-tls server)</string>
- <string name="check_remote_tlscert_title">Очікувати TLS сертифікат сервера</string>
- <string name="remote_tlscn_check_summary">Перевірка DN об\'єкта віддаленого сертифіката</string>
- <string name="remote_tlscn_check_title">Перевірка імені вузла сертифікату</string>
- <string name="enter_tlscn_dialog">Перемикач способу перевірки DN сертифікату (eg C = DE, L = Paderborn, OU = Avian IP Carriers, CN = openvpn.blinkt.de) \n \nМожливо значення: повний DN, RDN (для прикладу openvpn.blinkt.de) або тільки преффікс RDN для перевірки. \n \nПрі використанні преффікса RDN, наприклад \"Server\", значення будуть \"Server-1\", \"Server-2\" і т.д. \n \nПрі порожньому текстовому полі перевірка проводитиметься по імені хоста. \n \nДля подробиць дивіться керівництво для OpenVPN 2.3.1 +, розділ-verify-x509-name</string>
- <string name="enter_tlscn_title">Об\'єкт віддаленого сертифіката</string>
- <string name="tls_key_auth">Увімкнути автентифікацію по TLS ключу</string>
- <string name="tls_auth_file">Файл авторизації TLS</string>
- <string name="pull_on_summary">Запити IP адрес, маршрутів та параметрів часу від сервера.</string>
- <string name="pull_off_summary">Не запитувати інформацію від сервера. Параметри необхідно вказати нижче.</string>
- <string name="use_pull">Запитувати параметри</string>
- <string name="dns">DNS</string>
- <string name="override_dns">Переписати параметри DNS від сервера</string>
- <string name="dns_override_summary">Використовувати ваші власні DNS сервери</string>
- <string name="searchdomain">Домен пошуку</string>
- <string name="dns1_summary">DNS сервер для використання.</string>
- <string name="dns_server">DNS-сервер</string>
- <string name="secondary_dns_message">Вторинний DNS-сервер використовується, якщо нормальний DNS-сервер недоступний.</string>
- <string name="backup_dns">Резервний DNS-сервер</string>
- <string name="ignored_pushed_routes">Ігнорувати надіслані маршрути</string>
- <string name="ignore_routes_summary">Ігнорувати маршрути, надіслані сервером.</string>
- <string name="default_route_summary">Перенаправляти увесь трафік через VPN</string>
- <string name="use_default_title">Використовувати типовий маршрут</string>
- <string name="custom_route_message"> Введіть користувацькі маршрути. Тільки введіть адресу призначення в форматі CIDR. \"10.0.0.0/8 2002::/16\" буде використано для 10.0.0.0/8 і 2002::/16 мереж через VPN.</string>
- <string name="custom_routes_title">Власні маршрути</string>
- <string name="custom_routes_title_excluded">Виключені Мережі</string>
- <string name="log_verbosity_level">Рівень деталізації журналу</string>
- <string name="float_summary">Дозволити пакети аутентифікації з будь-якої IP-адреси</string>
- <string name="float_title">Дозволити \"плаваючий\" сервер</string>
- <string name="custom_options_title">Власні параметри</string>
- <string name="edit_vpn">Змінити налаштування VPN</string>
- <string name="remove_vpn_query">Видалити VPN профіль \'%s\'?</string>
- <string name="tun_error_helpful">На деяких користувацьких прошивках ICS права на /dev/tun можуть бути невірними або модуль tun може бути взагалі відсутнім. Для прошивок CM9 спробуйте виправити власника у загальних налаштуваннях</string>
- <string name="tun_open_error">Не вдалося відкрити інтерфейс tun</string>
- <string name="error">"Помилка: "</string>
- <string name="clear">Очистити</string>
- <string name="last_openvpn_tun_config">Відкриття tun інтерфейсу:</string>
- <string name="local_ip_info">Адреса IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">DNS-сервер: %1$s, Домен: %2$s</string>
- <string name="routes_info_incl">Маршрути: %1$s %2$s</string>
- <string name="routes_info_excl">Виключені маршрути : %1$s %2$s</string>
- <string name="routes_debug">Встановлені маршрути VpnService: %1$s %2$s</string>
- <string name="ip_not_cidr">Отримано інформацію інтерфейсу %1$s і %2$s, друга адреса є віддаленою адресою каналу. Використовується мережева маска /32 для локальної IP-адреси. Режим, встановлений OpenVPN: \"%3$s\".</string>
- <string name="route_not_cidr">Неможливо використовувати вирази %1$s і %2$s як маршрут за стандартом CIDR. використовується /32 як маска підмережі.</string>
- <string name="route_not_netip">Виправлено маршрут з %1$s/%2$s на %3$s/%2$s</string>
- <string name="keychain_access">Не можна отримати доступ до сховища ключів та сертифікатів Андроїд. Це можливо спричинено оновлення прошивки або відновленням резервної копії програми чи її налаштувань. Будь ласка, відредагуйте профіль VPN та заново виберіть сертифікат у основних параметрах для створення доступу до сертифікату.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Надіслати файл журналу</string>
- <string name="send">Надіслати</string>
- <string name="ics_openvpn_log_file">ICS OpenVPN файл журналу</string>
- <string name="copied_entry">Скопійовано запис журналу до буферу обміну</string>
- <string name="tap_mode">TAP режим</string>
- <string name="faq_tap_mode">TAP режим не можливий в VPN API без рут. З цієї причини цей додаток не може надати підтримку TAP</string>
- <string name="tap_faq2">Знову? Жартуєш? Ні, TAP режим дійсно не підтримується і надсилання все більше листів з питаннями чи це буде підтримуватись не допоможе.</string>
- <string name="tap_faq3">Втретє? Насправді можна було б написати TAP емулятор на основі TUN який додавав інформацію 2 рівня при відправці і віднімав її при отриманні. Проте для цього TAP емулятора потрібно реалізувати ARP і можливо DHCP клієнта. Я не знаю будь-кого хто міг би цим зайнятися. Зв’яжіться зі мною, якщо ви хочете це зробити.</string>
- <string name="faq">ЧаПи</string>
- <string name="copying_log_entries">Копіювання записів журналу</string>
- <string name="faq_copying">Для копіювання одного запису журналу натисніть і утримуйте цей запис. Щоб скопіювати/надіслати увесь журнал використовуйте параметр Надіслати журнал. Використовуйте апаратну кнопку меню, якщо ви не бачите у графічному інтерфейсі.</string>
- <string name="faq_shortcut">Ярлик для запуску</string>
- <string name="faq_howto_shortcut">Ви можете розмістити ярлик для запуску OpenVPN на робочому столі. Залежно від програми домашнього екрану ви можете додати ярлик або віджет.</string>
- <string name="no_vpn_support_image">Ваша прошивка не підтримує VPNService API, вибачте :(</string>
- <string name="encryption">Шифрування</string>
- <string name="cipher_dialog_title">Введіть метод шифрування</string>
- <string name="auth_dialog_message">Введіть the authentication digest для OpenVPN. Залиште порожнім для використання стандартних значень.</string>
- <string name="settings_auth">Автентифікація/Шифрування</string>
- <string name="file_explorer_tab">Провідник файлів</string>
- <string name="inline_file_tab">Вбудований файл</string>
- <string name="error_importing_file">Помилка імпорту файлу</string>
- <string name="import_error_message">Не вдалося імпортувати файл із файлової системи</string>
- <string name="inline_file_data">[[Вбудований файл даних]]</string>
- <string name="opentun_no_ipaddr">Відмова у відкритті пристрою tun без інформації про IP-адресу</string>
- <string name="menu_import">Імпорт профілю з ovpn файлу</string>
- <string name="menu_import_short">Імпорт</string>
- <string name="import_content_resolve_error">Не вдалося прочитати профіль для імпорту</string>
- <string name="error_reading_config_file">Помилка читання файлу конфігурації</string>
- <string name="add_profile">додати профіль</string>
- <string name="import_could_not_open">Не можливо знайти файл %1$s, згаданий у імпортованому файлі конфігурації</string>
- <string name="importing_config">Імпорт файлу конфігурації з джерела %1$s</string>
- <string name="import_warning_custom_options">Ваша конфігурація мала кілька варіантів конфігурації, які не відображені в інтерфейсі конфігурації. Ці варіанти були додані в якості користувача параметрів конфігурації. Призначена для користувача конфігурація відображається нижче:</string>
- <string name="import_done">Файл конфігурації успішно прочитаний.</string>
- <string name="nobind_summary">Не прив\'язувати до локальної адреси і порту</string>
- <string name="no_bind">Нема локальної прив\'язки</string>
- <string name="import_configuration_file">Імпорт файлу конфігурації</string>
- <string name="faq_security_title">Вимоги до безпеки</string>
- <string name="faq_security">"Так як OpenVPN чутливий до безпеки, то будуть розумними кілька зауважень щодо захисту. Всі дані на sd карті по суті не захищені. Кожний додаток може прочитати їх (наприклад ця програма не вимагає спеціальних привілеїв на sd карту). Дані цього додатка можуть бути прочитані тільки ним самим. При використанні опції імпорту для cacert/cert/key в діалоговому вікні файла, дані зберігаються в VPN профілі. VPN профілі доступні тільки цьому додатку. (Потім не забудьте видалити копії на sd карті). Незважаючи на те, що дані доступні тільки цьому додатку, вони все ще незашифровані. Шляхом отримання прав суперкористувача (root) на телефоні або іншими хитрощами можливо витягти дані. Також збережені паролі зберігаються в звичайному текстовому вигляді. Наполегливо рекомендується pkcs12 файли імпортувати в android сховище ключів. "</string>
- <string name="import_vpn">Імпорт</string>
- <string name="broken_image_cert_title">Помилка показу вибору сертифіката</string>
- <string name="broken_image_cert">Відбулася помилка при спробі виклику системного діалогу вибору сертифікатів Android 4.0 + Цього не повинно було статися на стандартній прошивці. Можливо у вашій прошивці зіпсовано сховище сертифікатів</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Очікування повідомлення стану&#8230;</string>
- <string name="converted_profile">імпортований профіль</string>
- <string name="converted_profile_i">імпортований профіль: %d</string>
- <string name="broken_images">Пошкоджені зображення</string>
- <string name="broken_images_faq">&lt;p&gt; Відомо, що офіційні прошивки HTC мають дивні проблеми з маршрутизацією, викликані тим, що трафік не йде через тунель (див. також &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\"&gt;Issue 18&lt;/a&gt; в баг-трекері) &lt;/p&gt; &lt;p&gt; Також повідомлялося, що в офіційних прошивках SONY для Xperia arc S і Xperia Ray повністю відсутній сервіс VPNService. Також інші прошивки від Sony можуть мати такі ж проблеми. (див. також &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\"&gt;Issue 29&lt;/a&gt; в баг-трекері) &lt;/p&gt; &lt;p&gt; У деяких вбудованих прошивках модуль tun може бути відсутнім або мати не правильні права файлу-пристрою /dev/tun. Деякі CM9 прошивки можуть вимагати виправлення власника в головних налаштуваннях. &lt;/p&gt; &lt;p&gt; Важлива інформація: Якщо у вас прошивка із зазначеними проблемами, повідомте про це виробнику пристрою. Чим більше користувачів повідомить про проблему виробнику, тим більше шансів, що цей виробник зволить прибрати свої недоробки. &lt;/p&gt;</string>
- <string name="pkcs12_file_encryption_key">PKCS12 Ключ шифрування файлу</string>
- <string name="private_key_password">Пароль закритого ключа</string>
- <string name="password">Пароль</string>
- <string name="file_icon">Піктограма файлу</string>
- <string name="tls_authentication">Аутентифікація TLS</string>
- <string name="generated_config">Згенерована конфігурація</string>
- <string name="generalsettings">Параметри</string>
- <string name="owner_fix_summary">Спробуйте змінити власника для /dev/tun. Деякі прошивки CM9 вимагають цього для коректної роботи API OpenVPN. Потрібний root.</string>
- <string name="owner_fix">Виправити власника /dev/tun</string>
- <string name="generated_config_summary">Показує згенерований файл конфігурації OpenVPN</string>
- <string name="edit_profile_title">Редагується \"%s\"</string>
- <string name="building_configration">Побудова конфігурації&#8230;</string>
- <string name="netchange_summary">Вмикання цього параметру примусить перепідключитися, якщо стан мережі змінився (напр. Wi-Fi/мобільний інтернет)</string>
- <string name="netchange">Перепідключатися при зміні мережі</string>
- <string name="netstatus">Статус мережі: %s</string>
- <string name="extracahint">Сертифікат СА звичайно повертається з сховища ключів Андроїд. Вкажіть окремий сертифікат, якщо ви отримали помилки при перевірці сертифікату.</string>
- <string name="select_file">Вибрати</string>
- <string name="keychain_nocacert">Не вдалося отримати СА сертифікат при читанні із сховища ключів Андроїд. Автентифікація не вдалася.</string>
- <string name="show_log_summary">Показати вікно журналу при з\'єднанні. Вікно журналу може бути завжди дрступним у панелі сповіщень.</string>
- <string name="show_log_window">Показати вікно журналу</string>
- <string name="mobile_info">Працює на %1$s (%2$s) %3$s, Android API %4$d</string>
- <string name="error_rsa_sign">Помилка підпису з використанням ключа із сховища Андроїд %1$s: %2$s</string>
- <string name="faq_system_dialogs">Попередження VPN з\'єднання повідомляє вам, що цей додаток може перехоплювати весь мережевий трафік, і повідомляється системою попереджень VPNService API. \nСповіщення про VPN з\'єднання (символ \"Ключа\") також формується системою Android для сигналізації про вихідне VPN з\'єднання. У деяких прошивках це сповіщення супроводжується сигналом. \nAndroid використовує ці cповіщення для вашої власної безпеки і їх не можна обійти. (На жаль, на деяких прошивках також сповіщення супроводжується звуком)</string>
- <string name="faq_system_dialogs_title">Повідомлення про підключення та звук сповіщеня</string>
- <string name="translationby">Переклад українською від wvolov</string>
- <string name="ipdns">IP-адреса та DNS</string>
- <string name="basic">Основне</string>
- <string name="routing">Маршрутизація</string>
- <string name="obscure">Приховані параметри OpenVPN. Зазвичай не потрібні.</string>
- <string name="advanced">Додатково</string>
- <string name="export_config_title">ICS Openvpn конфігурація</string>
- <string name="warn_no_dns">Жодний DNS сервер не використовується. Дозвіл імен може не працювати. Розгляньте питання про створення користувацьких серверів DNS. Зверніть увагу, що Android буде продовжувати використовувати налаштування проксі-сервера, вказаного для вашого мобільного / Wi-Fi з\'єднання, коли не задано DNS сервери.</string>
- <string name="dns_add_error">Не можливо додати DNS-сервер \"%1$s\", відхилено системою: %2$s</string>
- <string name="faq_howto">&lt;p&gt; Використовуйте готову конфігурацію (протестовану на вашому комп\'ютері або отриману від вашого провайдера) &lt;/p&gt; &lt;p&gt; Якщо це простий файл без pem/pks12 ви можете відправити його по email на свій пристрій. Якщо ж це декілька файлів, ви можете використовувати їх зі своєї карти пам\'яті. &lt;/p&gt; &lt;p&gt; Просто натисніть на .сonf файл або виберіть його за допомогою меню в програмі для імпорту конфігурації &lt;/p&gt; &lt;p&gt; Якщо програма видасть помилку про брак деяких файлів, просто помістіть ці файли на карту пам\'яті &lt;/p&gt; &lt;p&gt; Натисніть Збереження для додавання імпортованої конфігурації в програму &lt;/p&gt; &lt;p&gt; Запустіть ваш VPN-тунель, натиснувши на його назву в списку &lt;/p&gt; &lt;p&gt; Якщо при запуску виникли помилки спробуйте розібратися і усунути їх. &lt;/p&gt;</string>
- <string name="faq_howto_title">Швидкий старт</string>
- <string name="setting_loadtun_summary">Спробуйте завантажити модуль ядра tun.ko перш ніж з\'єднатися. Необхідний пристрій з правами root.</string>
- <string name="setting_loadtun">Завантажити tun-модуль</string>
- <string name="importpkcs12fromconfig">Імпорт PKCS12 з конфігурації у сховищі ключів Андроїд</string>
- <string name="getproxy_error">Помилка отримання параметрів проксі: %s</string>
- <string name="using_proxy">Використовується проксі %1$s %2$d</string>
- <string name="use_system_proxy">Використовувати системний проксі</string>
- <string name="use_system_proxy_summary">Використовувати системну конфігурацію HTTP/HTTPS проксі для з\'єднання.</string>
- <string name="donatewithpaypal">Ви можете &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;пожертвувати через PayPal&lt;/a&gt; </string>
- <string name="onbootrestartsummary">OpenVPN буде перепідключатися, якщо він був активний в момент вимикання/перезавантаження. Будь ласка, прочитайте ЧаП перед тим, як використовувати цей параметр.</string>
- <string name="onbootrestart">Перепідключати при перезавантаженні</string>
- <string name="ignore">Ігнорувати</string>
- <string name="restart">Перезапустити</string>
- <string name="restart_vpn_after_change">Після перезапуску VPN застосувати зміни конфігурації. (Пере)запустити VPN тепер?</string>
- <string name="configuration_changed">Конфігурація змінена</string>
- <string name="log_no_last_vpn">Не вдалося визначити останній підключений профіль для редагування</string>
- <string name="faq_duplicate_notification_title">Дублювати сповіщення</string>
- <string name="faq_duplicate_notification">Якщо в Android виникає нестача оперативної пам\'яті (RAM), непотрібні служби і програми зупиняються. Через це переривається встановлене VPN-з\'єднання. Щоб уникнути цього, програму потрібно запускати з підвищеним пріоритетом. Для запуску з високим пріоритетом програма повинна вивести попередження. Піктограма ключа сповіщення виводиться системою, як описано в попередньому пункті ЧаП. Це не вважається як програмне сповіщення з метою запуску з вищим пріоритетом.</string>
- <string name="no_vpn_profiles_defined">VPN профіль не визначено.</string>
- <string name="add_new_vpn_hint">Використовуйте &lt;img src=\"ic_menu_add\"/&gt; піктограму для додання нової VPN</string>
- <string name="vpn_import_hint">Використовуйте &lt;img src=\"ic_menu_archive\"/&gt; піктограму для імпорту існуючого (.ovpn or .conf) профілю з вашої карти пам\'яті.</string>
- <string name="faq_hint">Не забудьте заглянути у ЧаП. Там також є короткий посібник.</string>
- <string name="faq_routing_title">Конфігурація маршрутизації/інтерфейсу</string>
- <string name="persisttun_summary">Не повертатися до жодного VPN з\'єднання, коли OpenVPN перепідключається.</string>
- <string name="persistent_tun_title">Стійкість tun</string>
- <string name="openvpn_log">Журнал OpenVPN</string>
- <string name="import_config">Імпорт конфігурації OpenVPN</string>
- <string name="battery_consumption_title">Споживання акумулятора</string>
- <string name="baterry_consumption">У моїх особистих тестах основна причина високого споживання батареї OpenVPN є підтримуючі пакети. Більшість OpenVPN сервера мають директиви конфігурації, як \"залишайся в живих 10 60\", які перекладаються як підтримуючий пакет від клієнта до сервера і від сервера до клієнта кожні десять секунд. &lt;p&gt; Хоча ці пакети є невеликими і не використовують багато трафіку, вони тримають мережі мобільного радіозв\'язку зайнятими і збільшвють споживання енергії. (Див. також &lt;a href=\"http://developer.android.com/training/efficient-downloads/efficient-network-access.html#RadioStateMachine\"&gt;Радіо State Machine | Android Developers &lt;/a&gt;) &lt;p&gt; Цей параметр надсилання пакетів не може бути змінений на клієнті. Тільки системний адміністратор OpenVPN може змінити настройки. &lt;p&gt; На жаль, використання цього параметру більше 60 секунд з UDP має проблеми з деякими шлюзами NAT, які закінчуються стан підключення після короткого тайм-ауту (60 с в моїх тестах). Використання TCP з довгими затримками працює, але має проблему TCP над TCP. (Див. &lt;a href=\"http://sites.inka.de/bigred/devel/tcp-tcp.html\"&gt; Чому TCP над TCP є поганим середовищем&lt;/a&gt;)</string>
- <string name="faq_tethering">Функція транзитного з\'єднання на Android (через WiFi, USB або Bluetooth) та VPNService API (використовуване цією програмою) не працюють разом. Детальніше в &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\"&gt; Issue 34 &lt;/a&gt;</string>
- <string name="vpn_tethering_title">VPN і тетерінг</string>
- <string name="connection_retries">Спроб підключення</string>
- <string name="reconnection_settings">Налаштування перепідключення</string>
- <string name="connectretrymessage">Кількість секунд очікування між спробами підключення.</string>
- <string name="connectretrywait">Секунд між підключеннями</string>
- <string name="minidump_generated">OpenVPN впав несподівано. Будь ласка, розгляньте використання параметру \"Надіслати Мінідамп\" в головному меню</string>
- <string name="send_minidump">Надіслати мінідамп розробнику</string>
- <string name="send_minidump_summary">Відправляє налагоджувальну інформацію розробнику про останнє аварійне завершення</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">Підключення</string>
- <string name="state_wait">Очікування відповіді сервера</string>
- <string name="state_auth">Аутентифікація</string>
- <string name="state_get_config">Отримання конфігурації клієнта</string>
- <string name="state_assign_ip">Перепризначення IP-адрес</string>
- <string name="state_add_routes">Додавання маршрутів</string>
- <string name="state_connected">Підключено</string>
- <string name="state_disconnected">Від\'єднати</string>
- <string name="state_reconnecting">Повторне підключення</string>
- <string name="state_exiting">Виходимо</string>
- <string name="state_noprocess">Не працює</string>
- <string name="state_resolve">Розпізнавання імен вузлів</string>
- <string name="state_tcp_connect">Підключення (TCP)</string>
- <string name="state_auth_failed">Помилка автентифікації</string>
- <string name="state_nonetwork">Очікування на використання мережі</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Не підключено</string>
- <string name="start_vpn_title">Підключення до VPN %s</string>
- <string name="start_vpn_ticker">Підключення до VPN %s</string>
- <string name="jelly_keystore_alphanumeric_bug">У деяких версіях Android 4.1 є проблеми, якщо ім\'я сертифікату містить не буквено-цифрові символи (наприклад, пробіли, підкреслення або тире). Спробуйте перевстановити сертифікат без використання спеціальних символів.</string>
- <string name="encryption_cipher">Алгоритм шифрування</string>
- <string name="packet_auth">Пакети автентифікації</string>
- <string name="auth_dialog_title">Введіть метод автентифікації пакетів</string>
- <string name="mobile_info_extended">Запущено на %1$s (%2$s) %3$s, Android API %4$d, версії %5$s, %6$s</string>
- <string name="built_by">побудована по %s</string>
- <string name="debug_build">відлагоджувальна збірка</string>
- <string name="official_build">Офіційна збірка</string>
- <string name="make_selection_inline">Скопіювати в профіль</string>
- <string name="crashdump">Звіт про крах</string>
- <string name="add">Додати</string>
- <string name="send_config">Надіслати файл конфігурації</string>
- <string name="complete_dn">Повний DN</string>
- <string name="remotetlsnote">Імпортована конфігурація використовує застарілий параметр tls-remote, який має інший формат DN.</string>
- <string name="rdn">RDN (загальне ім\'я)</string>
- <string name="rdn_prefix">RDN префікс</string>
- <string name="tls_remote_deprecated">tls-remote (ЗАСТАРІЛЕ)</string>
- <string name="help_translate">Ви можете допомогти в перекладі, відвідавши http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s спроб контролювати %2$s</string>
- <string name="remote_trust">Я довіряю цьому додатку.</string>
- <string name="no_external_app_allowed">Не дозволяється використовувати зовнішнє API</string>
- <string name="allowed_apps">Дозволенi додатки: %s</string>
- <string name="clearappsdialog">Очистити список дозволених зовнішніх програм \nПоточний список дозволених програм:\n\n%s</string>
- <string name="screenoff_summary">&quot;Пауза VPN, коли екран вимкнений і менш ніж 64 Кб переданих даних за 60с. Коли „Постійний тун“ увімкнений пауза VPN залишить ваш пристрій без відсутності мережевого підключення. Без параметра „Постійний тун“ пристрій не буде мати ніякого VPN підключення / захисту.</string>
- <string name="screenoff_title">Пауза VPN з\'єднання після вимкнення екрану</string>
- <string name="screenoff_pause">Призупинення зв\'язку в екрані вимкненого стану: менше %1$s у %2$sс.</string>
- <string name="screen_nopersistenttun">Попередження: Постійний тут не увімкнений для цього VPN. Трафік буде використовувати звичайне інтернет-з\'єднання, коли екран вимкнений.</string>
- <string name="save_password">Зберегти пароль</string>
- <string name="pauseVPN">Призупинити VPN</string>
- <string name="resumevpn">Відновити VPN</string>
- <string name="cannotparsecert">Неможливо відобразити інформацію про сертифікат</string>
- <string name="vpnbehaviour">Поведінка VPN</string>
- <string name="allow_vpn_changes">Дозволити зміни в профілі VPN</string>
- <string name="permission_icon_app">Іконка додатка намагається використовувати OpenVPN для Android</string>
- <string name="thanks_for_donation">Дякуємо за пожертвування %s!</string>
- <string name="logCleared">Журнал очищено.</string>
- <string name="show_password">Показати пароль</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">Часові позначки</string>
- <string name="full_licenses">Повні ліцензії</string>
- <string name="imported_from_file">[Імпортовано з: %s]</string>
- <string name="import_log">Журнал імпорту :</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-v21/styles.xml b/ics-openvpn-stripped/main/src/main/res/values-v21/styles.xml
deleted file mode 100644
index 4379dd6d..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-v21/styles.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<resources>
- <style name="blinkt.baseTheme" parent="android:Theme.Material.Light.DarkActionBar" />
-
-
- <!-- http://www.google.de/design/spec/style/color.html#color-color-palette -->
- <style name="blinkt" parent="blinkt.common">
- <item name="android:colorPrimary">@color/primary</item>
- <item name="android:colorPrimaryDark">@color/primary_dark</item>
- <item name="android:colorAccent">@color/accent</item>
- </style>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-zh-rCN/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-zh-rCN/strings.xml
deleted file mode 100755
index 744ab9da..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-zh-rCN/strings.xml
+++ /dev/null
@@ -1,319 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN for Android</string>
- <string name="address">服务器地址:</string>
- <string name="port">服务器端口:</string>
- <string name="location">地点</string>
- <string name="cant_read_folder">无法读取目录</string>
- <string name="select">选择</string>
- <string name="cancel">取消</string>
- <string name="no_data">无数据</string>
- <string name="useLZO">LZO 压缩</string>
- <string name="client_no_certificate">无客户端证书</string>
- <string name="client_certificate_title">客户端证书</string>
- <string name="client_key_title">客户端证书密钥</string>
- <string name="client_pkcs12_title">PKCS12 文件</string>
- <string name="ca_title">CA 证书</string>
- <string name="no_certificate">您必须选择一个证书</string>
- <string name="copyright_guicode">请前往 http://code.google.com/p/ics-openvpn/ 查看源码或提供问题反馈</string>
- <string name="copyright_others">本程序使用以下组件,请在 Licenses 查看源码获取更详细内容。</string>
- <string name="about">关于</string>
- <string name="vpn_list_title">配置文件</string>
- <string name="vpn_type">类型</string>
- <string name="pkcs12pwquery">PKCS12 密码</string>
- <string name="file_select">请选择&#8230;</string>
- <string name="file_nothing_selected">您必须选择一个文件</string>
- <string name="useTLSAuth">使用 TLS 身份验证</string>
- <string name="tls_direction">TLS 方向</string>
- <string name="ipv6_dialog_tile">输入 CIDR 格式 IPv6 地址/子网掩码(例如:2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">输入 CIDR 格式 IPv4 地址/子网掩码(例如:1.2.3.4/24)</string>
- <string name="ipv4_address">IPv4 地址</string>
- <string name="ipv6_address">IPv6 地址</string>
- <string name="custom_option_warning">请谨慎输入 OpenVPN 的自定义选项。此外请注意许多与 tun 模块有关的 OpenVPN 设置由于系统 VPN 功能的设计而不能得到支持。如果您缺少认为一个很重要的选项,请联系作者。</string>
- <string name="auth_username">用户名</string>
- <string name="auth_pwquery">密码</string>
- <string name="static_keys_info">静态配置中 TLS 身份验证密钥将被用作静态密钥</string>
- <string name="configure_the_vpn">配置 VPN</string>
- <string name="menu_add_profile">添加配置文件</string>
- <string name="add_profile_name_prompt">输入新配置文件名:</string>
- <string name="duplicate_profile_name">请输入一个唯一的配置文件名称</string>
- <string name="profilename">配置文件名称</string>
- <string name="no_keystore_cert_selected">您必须选择一个用户证书</string>
- <string name="no_error_found">未找到错误</string>
- <string name="config_error_found">配置有错误</string>
- <string name="ipv4_format_error">无法解析 IPv4 地址</string>
- <string name="custom_route_format_error">无法解析自定义路由</string>
- <string name="pw_query_hint">(根据需求留空)</string>
- <string name="vpn_shortcut">OpenVPN 快捷方式</string>
- <string name="vpn_launch_title">连接至 VPN</string>
- <string name="shortcut_profile_notfound">未找到快捷方式中指定的配置文件</string>
- <string name="random_host_prefix">随机主机前缀</string>
- <string name="random_host_summary">在主机名前添加6个随机字符</string>
- <string name="custom_config_title">启用自定义选项</string>
- <string name="custom_config_summary">指定自定义选项。小心!</string>
- <string name="route_rejected">Android 拒绝了路由</string>
- <string name="cancel_connection">断开</string>
- <string name="cancel_connection_long">断开连接</string>
- <string name="clear_log">清除日志</string>
- <string name="title_cancel">取消确认</string>
- <string name="cancel_connection_query">断开已连接的 VPN / 取消连接尝试?</string>
- <string name="remove_vpn">删除 VPN</string>
- <string name="check_remote_tlscert">检查服务器是否使用了 TLS服务器端扩展 (--remote-cert-tlsserver server)</string>
- <string name="check_remote_tlscert_title">需要 TLS 服务器证书</string>
- <string name="remote_tlscn_check_summary">检查远程服务器证书的 DN 属性</string>
- <string name="remote_tlscn_check_title">证书主机名检查</string>
- <string name="enter_tlscn_dialog">勾选此项将验证远程证书的 DN 属性(例:C=DE, L=Paderborn, OU=Avian IP Carriers, CN=openvpn.blinkt.de)\n\n输入完整的 DN 或者 RDN 以便进行验证。\n\nRDN前缀 \"Server\" 可以匹配 \"Server-1\" 以及 \"SERVER-2\"\n\n若留空则将仅验证 RDN 而不验证主机名。\n\n有关更多信息请查看 OpenVPN 2.3.1+ 参考手册的 --verify-x509-name 小节</string>
- <string name="enter_tlscn_title">远程证书主题</string>
- <string name="tls_key_auth">启用 TLS 密钥认证</string>
- <string name="tls_auth_file">TLS 认证文件</string>
- <string name="pull_on_summary">从服务器请求 IP 地址、 路由规则和计时选项。</string>
- <string name="pull_off_summary">没有从服务器请求信息。设置需要在下方被指定。</string>
- <string name="use_pull">Pull 设置</string>
- <string name="dns">DNS</string>
- <string name="override_dns">覆盖服务器 DNS 设置</string>
- <string name="dns_override_summary">使用自定义 DNS 服务器</string>
- <string name="searchdomain">搜索域</string>
- <string name="dns1_summary">要使用的 DNS 服务器</string>
- <string name="dns_server">DNS 服务器</string>
- <string name="secondary_dns_message">如果无法达到主 DNS 服务器,要使用辅助 DNS 服务器。</string>
- <string name="backup_dns">备用 DNS 服务器</string>
- <string name="ignored_pushed_routes">忽略推送路由</string>
- <string name="ignore_routes_summary">忽略服务器推送的路由</string>
- <string name="default_route_summary">重定向所有流量到VPN</string>
- <string name="use_default_title">使用默认路由</string>
- <string name="custom_route_message">输入自定义路由。输入 CIDR 格式地址。</string>
- <string name="custom_route_message_excluded">路线不应该被路由通过VPN。使用相同的语法包括路线。</string>
- <string name="custom_routes_title">自定义路由</string>
- <string name="custom_routes_title_excluded">排查网络</string>
- <string name="log_verbosity_level">日志详细级别</string>
- <string name="float_summary">允许来自任何 IP 的认证数据包</string>
- <string name="float_title">允许浮服务器</string>
- <string name="custom_options_title">自定义选项</string>
- <string name="edit_vpn">编辑 VPN 设置</string>
- <string name="remove_vpn_query">移除 VPN 配置文件 \'%s\' 吗?</string>
- <string name="tun_error_helpful">在某些自定义 ICS 版本上,/dev/tun 的权限可能会有错误,或者根本就没有该文件。CM9 用户请尝试通过本程序的设置功能修复权限</string>
- <string name="tun_open_error">未能打开 tun 模块</string>
- <string name="error">错误</string>
- <string name="clear">清除</string>
- <string name="last_openvpn_tun_config">正在打开 tun 设备:</string>
- <string name="local_ip_info">本地 IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">DNS 服务器: %1$s, 域名: %2$s</string>
- <string name="routes_info_incl">路线: %1$s %2$s</string>
- <string name="routes_info_excl">排除的路由: %1$s %2$s</string>
- <string name="routes_debug">VpnService安装路线 : %1$s %2$s</string>
- <string name="ip_not_cidr">已获得接口信息 %1$s 以及 %2$s,将第二个地址作为远程地址。使用 /32 作为本地掩码。OpenVPN 给出的模式是 \"%3$s\"。</string>
- <string name="route_not_cidr">无法将 %1$s 和 %2$s 作为 CIDR 形式的路由,将使用 /32 的子网掩码。</string>
- <string name="route_not_netip">纠正路由 %1$s/%2$s 为 %3$s/%2$s</string>
- <string name="keychain_access">不能访问 Android 密钥链证书。这可能是由于固件升级或通过还原备份的应用程序/软件设置造成的。请编辑 VPN 配置文件并在基本设置中重新选择证书以重新创建证书访问权限。</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">发送日志文件</string>
- <string name="send">发送</string>
- <string name="ics_openvpn_log_file">ICS OpenVPN 日志文件</string>
- <string name="copied_entry">日志条目已复制剪贴板</string>
- <string name="tap_mode">Tap 模式</string>
- <string name="faq_tap_mode">Tap 模式在未 root 的机器上不可用。因此本程序无法提供 tap 模块支持</string>
- <string name="tap_faq2">还来? 您在开玩笑嘛? tap 连接模式是不支持的,不要再发邮件问这些问题了。</string>
- <string name="tap_faq3">这已经是第三次有人问这个问题了。好吧,虽然确实可以在 TAP 设备上写一个 TAP 模拟器,给发送出去的数据包添加第二层网络头,并去掉收到的数据包中的第二层网络头,但是这个 TAP 模拟器可能还需要实现 ARP 甚至 DHCP 客户端功能。我目前不知道有谁在做这方面的工作。如果你想开展这方面的编码工作的话,请联系我。</string>
- <string name="faq">常见问题</string>
- <string name="copying_log_entries">复制日志条目</string>
- <string name="faq_copying">若要复制单条日志请在相应条目上轻按即可。若要复制/发送全部日志请使用发送日志功能。如果该功能在界面中没有显示,请使用设备原生的菜单按钮。</string>
- <string name="faq_shortcut">启动快捷方式</string>
- <string name="faq_howto_shortcut">你可以在桌面上放置一个启动 OpenVPN 的图标。如果你的桌面程序支持,你可以在桌面上放置 OpenVPN 的启动图标,或者是 OpenVPN 的桌面挂件</string>
- <string name="no_vpn_support_image">很遗憾,您目前的系统不支持 VPN 服务接口</string>
- <string name="encryption">加密</string>
- <string name="cipher_dialog_title">输入加密方法</string>
- <string name="chipher_dialog_message">输入 OpenVPN 所使用的加密密码算法。留空以使用默认算法。</string>
- <string name="auth_dialog_message">输入 OpenVPN 使用的认证摘要。留空则使用默认的摘要。</string>
- <string name="settings_auth">认证/加密</string>
- <string name="file_explorer_tab">文件浏览器</string>
- <string name="inline_file_tab">内联文件</string>
- <string name="error_importing_file">导入文件出错</string>
- <string name="import_error_message">无法导入文件系统文件</string>
- <string name="inline_file_data">[[内联文件数据]]</string>
- <string name="opentun_no_ipaddr">无 IP 信息,拒绝打开 tun 设备</string>
- <string name="menu_import">从 ovpn 文件中导入配置文件</string>
- <string name="menu_import_short">导入</string>
- <string name="import_content_resolve_error">无法读取要导入的配置文件</string>
- <string name="error_reading_config_file">读取配置文件发生出错</string>
- <string name="add_profile">添加配置文件</string>
- <string name="import_could_not_open">无法找到导入配置文件参考的文件: %1$s</string>
- <string name="importing_config">从 %1$s 中导入配置文件</string>
- <string name="import_warning_custom_options">您的配置文件中有几个配置项无法在配置菜单中查看和修改,这些配置项将会当成自定义配置选项。下面是自定义的配置选项:</string>
- <string name="import_done">读取配置文件完成</string>
- <string name="nobind_summary">不关联到本地地址和端口</string>
- <string name="no_bind">无本地绑定</string>
- <string name="import_configuration_file">导入配置文件</string>
- <string name="faq_security_title">安全注意</string>
- <string name="faq_security">“OpenVPN 是非常注重安全的,所以在此提供一些安全方面的建议。所有保存在存储卡上的数据都是不安全的,任何应用都可以读取存储卡上的文件,即使这个应用没有‘写入存储卡’的权限也是如此。应用自身的数据只能被应用自己读取。在选择 CA 证书、证书文件或者密钥文件的时候请使用导入功能,这样这些数据就会保存在 OpenVPN 自身的数据文件中,保证不会被其他的应用恶意读取。当然导入证书之后记得要把证书从存储卡上删除掉。不过,虽然这些数据不能被其他应用读取,但是这些数据是明文保存的,如果你的系统是 rooted 的,那么这些数据将能够被任何拥有 root 权限的应用轻松地读取。保存在 OpenVPN 中的密码也是以明文保存的,如果设备被 rooted 了,这些密码也有可能被其他应用恶意读取。强烈建议使用 pkcs12 证书并将证书导入到 Android 自己的证书管理系统里。”</string>
- <string name="import_vpn">导入</string>
- <string name="broken_image_cert_title">显示证书发生错误</string>
- <string name="broken_image_cert">尝试显示 Android 4.0 + 证书选择对话框时出现异常。Android 4.0 以上的系统不可能出现该问题,因为这是标准的系统功能。可能您当前 ROM 中的证书存储已经损坏。</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">等待状态消息</string>
- <string name="converted_profile">已导入配置文件</string>
- <string name="converted_profile_i">已导入配置文件 %d</string>
- <string name="broken_images">图像已损坏</string>
- <string name="broken_images_faq">&lt;p&gt;HTC官方固件可能存在异常的路由问题并会导致数据流不通过隧道传输(详见BUG追踪&lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\"&gt;Issue 18&lt;/a&gt;)。&lt;/p&gt;&lt;p&gt;据报导,旧版的SONY Xperia Arc S和Xperia Ray的官方固件完全不包含VPNService(详见BUG追踪&lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\"&gt;Issue 29&lt;/a&gt;)。&lt;/p&gt;&lt;p&gt;在自制固件中,tun
-模块可能会有缺失,或是未被设置正确的权限。部分CM9固件需要启用“特定设备HACKS”项下的“修复/dev/tun的权限”的选项。&lt;/p&gt;&lt;p&gt;最重要的是:若您的设备的固件存在问题,请直接向您的设备供应商反馈。越多人向供应商反映问题,问题越有可能得到解决。&lt;/p&gt;</string>
- <string name="pkcs12_file_encryption_key">PKCS12 文件加密密钥</string>
- <string name="private_key_password">私钥密码</string>
- <string name="password">密码</string>
- <string name="file_icon">文件图标</string>
- <string name="tls_authentication">TLS 认证</string>
- <string name="generated_config">已生成的配置</string>
- <string name="generalsettings">设置</string>
- <string name="owner_fix_summary">尝试设定 /dev/tun 的属主为 system。一些 CM9 ROM 需要它以使 VPNService API 工作。本操作需要 root 权限。</string>
- <string name="owner_fix">修复 /dev/tun 的权限</string>
- <string name="generated_config_summary">显示已生成的 OpenVPN 配置文件</string>
- <string name="edit_profile_title">编辑 %s</string>
- <string name="building_configration">正在生成配置</string>
- <string name="netchange_summary">启用该选项以在网络变化(例如从蜂窝数据到 WiFi)时强制重新连接</string>
- <string name="netchange">当转换网络时重新连接</string>
- <string name="netstatus">网络状态: %s</string>
- <string name="extracahint">Android 密钥库通常会自带 CA 证书。如果您获取的证书发生验证错误,请单独指定一个证书。</string>
- <string name="select_file">选择</string>
- <string name="keychain_nocacert">在 Android 密钥库中未找到任何 CA 证书。可能验证失败。</string>
- <string name="show_log_summary">连接时显示日志窗口。日志窗口可始终从通知栏访问。</string>
- <string name="show_log_window">显示日志窗口</string>
- <string name="mobile_info">运行 %1$s ( %2$s ) %3$s ,Android API %4$d</string>
- <string name="error_rsa_sign">与 Android 密钥库 %1$s 签名时出错: %2$s</string>
- <string name="faq_system_dialogs">VPN 连接警告会告诉你有程序正要拦截所有的网络流量,这是为了确保 VPN 服务的 API 不被恶意应用滥用。\nVPN 连接通知(通知栏上的钥匙图标)是 Android 系统内建的,如果当前有 VPN 连接,Android 系统就会自动显示这个通知图标。一些系统上还会在 VPN 连接建立的时候发出提示音。Android 这么做的原因是为了保护你不受恶意应用的欺骗。</string>
- <string name="faq_system_dialogs_title">连接警告和通知声音</string>
- <string name="translationby">中文翻译:Christopher Meng
-&lt;trans@cicku.me&gt;</string>
- <string name="ipdns">IP 和 DNS 设置</string>
- <string name="basic">基本</string>
- <string name="routing">路由设置</string>
- <string name="obscure">其他 OpenVPN 设置,一般不需要修改。</string>
- <string name="advanced">高级设置</string>
- <string name="export_config_title">ICS Openvpn 配置</string>
- <string name="warn_no_dns">没有使用 DNS 服务器,无法解析域名,请考虑设置一个 DNS 服务器。请注意,即使你没有设置 DNS 服务器,你为移动网络以及 Wi-Fi 设置的代理服务器配置也是有效的。</string>
- <string name="dns_add_error">无法添加 DNS 服务器 \"%1$s\",%2$s 拒绝了您的操作。</string>
- <string name="ip_add_error">无法配置 IP 地址 %1$s,被系统拒绝:%2$s</string>
- <string name="faq_howto">&lt;p&gt;获取你的 VPN 配置文件,可以是在电脑上正在使用的 OpenVPN 客户端配置文件,也可以向你的 VPN 服务商索取配置文件。&lt;/p&gt;&lt;p&gt;如果配置文件只有一个,可以把配置文件发到你自己的邮箱然后从手机上下载。如果配置文件有很多个,可以将它们复制到存储卡内。&lt;/p&gt;&lt;p&gt;从邮件中下载附件,或者在 VPN 列表中点击文件夹图标来导入配置文件。&lt;/p&gt;&lt;p&gt;如果提示找不到文件,那就将缺失的文件复制到存储卡内。&lt;/p&gt;&lt;p&gt;点击保存,将配置文件保存到你的 VPN 列表中。&lt;/p&gt;&lt;p&gt;在 VPN 列表中点击 VPN 的连接的名字,就可以连接到 VPN 了。&lt;/p&gt;&lt;p&gt;如果发生错误,可以看日志窗口中的日志,然后设法解决问题。&lt;/p&gt; </string>
- <string name="faq_howto_title">快速入门</string>
- <string name="setting_loadtun_summary">尝试在连接之前加载 tun.ko 内核模块。需要 root 权限。</string>
- <string name="setting_loadtun">载入 tun 模块</string>
- <string name="importpkcs12fromconfig">将 PKCS12 导入 Android 密钥库</string>
- <string name="getproxy_error">获取代理设置时出错:%s</string>
- <string name="using_proxy">使用代理 %1$s %2$d</string>
- <string name="use_system_proxy">使用系统代理</string>
- <string name="use_system_proxy_summary">使用系统设置连接 HTTP/HTTPS 代理服务器。</string>
- <string name="donatewithpaypal">您可以 &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt; 通过 PayPal 捐助&lt;/a&gt;</string>
- <string name="onbootrestartsummary">OpenVPN 将会在重启后自动重新连接 VPN。请在启用该选项前先阅读连接警告的常见问题解答。</string>
- <string name="onbootrestart">重启时重新连接</string>
- <string name="ignore">忽略</string>
- <string name="restart">重启</string>
- <string name="restart_vpn_after_change">配置的变更将在重启 VPN 后生效,是否立即重启?</string>
- <string name="configuration_changed">配置已更改</string>
- <string name="log_no_last_vpn">无法判断最后一次连接使用的是哪个配置文件,所以无法编辑配置文件</string>
- <string name="faq_duplicate_notification_title">重复的通知</string>
- <string name="faq_duplicate_notification">当 Android 系统的内存(RAM)即将耗尽的时候,不再需要的应用和服务将被关闭以腾出内存空间,这项机制也会影响到 VPN 进程。为了保证 OpenVPN 及其连接不被关闭,OpenVPN 服务会以较高的优先级运行,而为了以较高的优先级运行,OpenVPN 必须在状态栏显示一个图标。正如前面的问题中说过的,系统的“钥匙”图标是系统内建的,仅仅显示这个“钥匙”图标并不能让 OpenVPN 以更高的优先级运行。</string>
- <string name="no_vpn_profiles_defined">没有定义 VPN 配置文件</string>
- <string name="add_new_vpn_hint">点击 &lt;img src=\"ic_menu_add\"/&gt; 图标添加新的 VPN 配置</string>
- <string name="vpn_import_hint">使用 &lt;img src=\"ic_menu_archive\"/&gt; 图标导入存储卡中已有的配置文件(.ovpn 或 .conf)。</string>
- <string name="faq_hint">请确保阅读常见问题解答。这是一个快速向导。</string>
- <string name="faq_routing_title">路由/接口配置</string>
- <string name="faq_routing">的路由和接口配置不通过传统的ifconfig /路由的命令而将用VPNService API来完成。这导致了比在其它操作系统不同的路由配置。 \ n此VPN隧道的配置包括IP地址,并应被指定到该接口的网络。特别是,没有同行伙伴地址或网关地址是必要的或需要。特殊的路由到达VPN服务器不需要任何(例如,当使用重定向网关添加)。导入配置时,应用程序会因此忽略这些设置。该应用程序可确保与连接到服务器没有通过VPN隧道路由的VPNService API。\ n此VPNService API不允许指定的网络,不应该通过VPN路由。作为一种变通方法的应用程序会检测网络,不应该被路由到隧道(如路由XXXX YYYY net_gateway),并计算一组路由排除这种路线效仿其他平台的行为。日志窗口显示VPNService的在建立连接的配置\ nBehind的场景:安卓4.4+确实使用策略路由。使用route / ifconfig命令不会显示已安装的路径。而使用IP规则,iptables的-t轧-L</string>
- <string name="persisttun_summary">当 OpenVPN 重连时,也一直使用 VPN 连接。</string>
- <string name="persistent_tun_title">保持 tun 通道</string>
- <string name="openvpn_log">OpenVPN 日志</string>
- <string name="import_config">导入 OpenVPN 配置文件</string>
- <string name="battery_consumption_title">电池消耗</string>
- <string name="faq_tethering">Android 网络分享和便携式热点功能(通过 WiFi, USB 或蓝牙)无法与本程序所使用的 VPN 服务接口一同工作。详情请见 &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\"&gt;issue #34&lt;/a&gt;</string>
- <string name="vpn_tethering_title">VPN 和中继</string>
- <string name="connection_retries">连接重试次数</string>
- <string name="reconnection_settings">重新连接设置</string>
- <string name="connectretrymessage">每次尝试连接等待时间(秒)。</string>
- <string name="connectretrywait">两次连接间隔时间(秒)</string>
- <string name="minidump_generated">OpenVPN 意外崩溃。建议您使用主菜单中的发送转储文件功能向开发者发送转储文件</string>
- <string name="send_minidump">向开发者发送转储信息</string>
- <string name="send_minidump_summary">向开发人员发送上次崩溃的调试信息</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">连接中</string>
- <string name="state_wait">等待服务器响应</string>
- <string name="state_auth">验证中</string>
- <string name="state_get_config">正在获取客户端配置</string>
- <string name="state_assign_ip">正在分配 IP 地址</string>
- <string name="state_add_routes">添加路由</string>
- <string name="state_connected">已连接</string>
- <string name="state_disconnected">断开</string>
- <string name="state_reconnecting">正在重新连接</string>
- <string name="state_exiting">正在退出</string>
- <string name="state_noprocess">未运行</string>
- <string name="state_resolve">正在解析主机名</string>
- <string name="state_tcp_connect">连接中(TCP)</string>
- <string name="state_auth_failed">验证失败</string>
- <string name="state_nonetwork">等待可用网络</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">未连接</string>
- <string name="start_vpn_title">正在连接 VPN %s</string>
- <string name="start_vpn_ticker">正在连接 VPN %s</string>
- <string name="jelly_keystore_alphanumeric_bug">某些版本的 Android 4.1 存在问题,如果密钥库证书的名称包含非字母和数字字符(如空格、 下划线或短划线)。请尝试重新导入不包含特殊字符的证书</string>
- <string name="encryption_cipher">加密算法(cipher)</string>
- <string name="packet_auth">数据包验证</string>
- <string name="auth_dialog_title">数据包验证方式</string>
- <string name="mobile_info_extended">当前运行环境 %1$s (%2$s) %3$s,Android API %4$d,版本 %5$s,%6$s</string>
- <string name="built_by">由 %s 构建</string>
- <string name="debug_build">调试版本</string>
- <string name="official_build">正式版本</string>
- <string name="make_selection_inline">复制进配置文件</string>
- <string name="crashdump">故障转储</string>
- <string name="add">添加</string>
- <string name="send_config">发送配置文件</string>
- <string name="complete_dn">完整的 DN</string>
- <string name="remotetlsnote">您导入的配置包含不再使用的 tls-remote 选项,该选项使用了不同的 DN 格式。</string>
- <string name="rdn">RDN (通用名称)</string>
- <string name="rdn_prefix">RDN 前缀</string>
- <string name="tls_remote_deprecated">tls-remote(不再使用)</string>
- <string name="help_translate">你可以通过访问 http://crowdin.net/project/ics-openvpn/invite 来帮助翻译</string>
- <string name="prompt">%1$s 正在试图控制 %2$s</string>
- <string name="remote_trust">我信任此应用。</string>
- <string name="no_external_app_allowed">没有允许使用外部 API 的应用</string>
- <string name="allowed_apps">已授权的应用:%s</string>
- <string name="clearappsdialog">清除已授权的应用列表?\n当前已授权的应用:\n\n%s</string>
- <string name="screenoff_summary">当屏幕关闭且 60 秒内传输数据量小于 64kB 时暂停 VPN。当启用“持久性 Tun”选项时,暂停 VPN 将使设备处于无网络连接的状态。未启用“持久性 Tun”时,设备将没有 VPN 连接保护。</string>
- <string name="screenoff_title">屏幕关闭后暂停 VPN 连接</string>
- <string name="screenoff_pause">屏幕关闭时暂停连接:若在%2$s秒内少于%1$s</string>
- <string name="screen_nopersistenttun">警告:该 VPN 没有启用“持久化 tun 设备”,当屏幕关闭时,网络流量将不走 VPN 隧道,而是走 Wi-Fi 或者移动网络。</string>
- <string name="save_password">保存密码</string>
- <string name="pauseVPN">暂停 VPN</string>
- <string name="resumevpn">继续 VPN</string>
- <string name="state_userpause">按用户要求暂停 VPN</string>
- <string name="state_screenoff">VPN 暂停 - 屏幕关闭</string>
- <string name="device_specific">针对特定设备的处理</string>
- <string name="cannotparsecert">无法显示证书信息</string>
- <string name="appbehaviour">应用程序行为</string>
- <string name="vpnbehaviour">VPN 行为</string>
- <string name="allow_vpn_changes">允许更改 VPN 配置</string>
- <string name="hwkeychain">硬件密钥库:</string>
- <string name="thanks_for_donation">感谢捐赠 %s!</string>
- <string name="logCleared">日志已清除。</string>
- <string name="show_password">显示密码</string>
- <string name="keyChainAccessError">钥匙串访问错误: %s</string>
- <string name="timestamp_short">短</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">时间戳</string>
- <string name="timestamps_none">无</string>
- <string name="uploaded_data">上传</string>
- <string name="downloaded_data">下载</string>
- <string name="vpn_status">VPN 状态</string>
- <string name="logview_options">查看选项</string>
- <string name="unhandled_exception">未处理的异常: %1$s\n\n%2$s</string>
- <string name="unhandled_exception_context">%3$s: %1$s\n\n%2$s</string>
- <string name="faq_system_dialog_xposed">如果您的 Android 设备已经 root,您可以自担风险安装&lt;a href=\"http://xposed.info/\"&gt;Xposed 框架&lt;/a&gt; 和 &lt;a href=\"http://repo.xposed.info/module/de.blinkt.vpndialogxposed\"&gt;VPN 对话框确认模块&lt;/a&gt;</string>
- <string name="full_licenses">完整授权</string>
- <string name="blocklocal_title">对本地地址绕过 VPN</string>
- <string name="userpw_file">用户名/密码文件</string>
- <string name="import_log">导入日志:</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values-zh-rTW/strings.xml b/ics-openvpn-stripped/main/src/main/res/values-zh-rTW/strings.xml
deleted file mode 100755
index 3dd4ff2f..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values-zh-rTW/strings.xml
+++ /dev/null
@@ -1,194 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<!--Generated by crowdin.com-->
-<!-- Generated by crowdin.net -->
-<resources>
- <string name="app">OpenVPN for Android</string>
- <string name="address">伺服器地址:</string>
- <string name="port">伺服器端口:</string>
- <string name="location">位置</string>
- <string name="cant_read_folder">目法讀取檔案目錄</string>
- <string name="select">選擇</string>
- <string name="cancel">取消</string>
- <string name="no_data">沒有資料</string>
- <string name="useLZO">LZO壓縮</string>
- <string name="client_no_certificate">沒有證書</string>
- <string name="client_certificate_title">客戶端證書</string>
- <string name="client_key_title">客戶端證書密碼</string>
- <string name="client_pkcs12_title">PKCS12 檔案</string>
- <string name="ca_title">CA證書</string>
- <string name="no_certificate">您必須選擇一個憑證</string>
- <string name="copyright_guicode">取得原始碼與個案追蹤,可上 http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">本程序使用了以下元件,其作者和授權資訊如下</string>
- <string name="about">關於</string>
- <string name="vpn_list_title">設定檔</string>
- <string name="vpn_type">類型</string>
- <string name="pkcs12pwquery">PKCS12 密碼</string>
- <string name="file_select">選擇&#8230;</string>
- <string name="file_nothing_selected">你必須選擇一個檔案</string>
- <string name="useTLSAuth">使用傳輸層防火牆(TLS-Auth)</string>
- <string name="tls_direction">TLS方向</string>
- <string name="ipv6_dialog_tile">以CIDR格式輸入IPv6地址/遮罩(例如 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">以CIDR格式輸入IPv4地址/遮罩(例如 1.2.3.4/24)</string>
- <string name="ipv4_address">IPv4地址</string>
- <string name="ipv6_address">IPv6地址</string>
- <string name="custom_option_warning">使用自訂的OpenVPN選項,請加倍緊慎。請注意因Android API限制,很多與Tun相關的OpenVPN設定皆無法正常使用。如果你認為我們遺忘了重要的OpenVPN選項,請向作者反映。</string>
- <string name="auth_username">用戶名稱</string>
- <string name="auth_pwquery">密碼</string>
- <string name="configure_the_vpn">設定VPN</string>
- <string name="menu_add_profile">新增設定檔</string>
- <string name="add_profile_name_prompt">輸入新的設定檔名稱</string>
- <string name="duplicate_profile_name">重複的設定檔名稱</string>
- <string name="profilename">設定檔名稱</string>
- <string name="no_keystore_cert_selected">你必須選取一個使用者證書</string>
- <string name="no_error_found">未有找到錯誤</string>
- <string name="config_error_found">設定中含有錯誤</string>
- <string name="ipv4_format_error">解析IPv4地址時發生錯誤</string>
- <string name="custom_route_format_error">解析自訂路由時發生錯誤</string>
- <string name="vpn_shortcut">OpenVPN捷徑</string>
- <string name="vpn_launch_title">連線到VPN</string>
- <string name="shortcut_profile_notfound">在快捷方式找不到指定的設定檔</string>
- <string name="random_host_prefix">隨機主機名稱字首</string>
- <string name="random_host_summary">在主機名稱前加入6個隨機字符</string>
- <string name="custom_config_title">啟用自訂選項</string>
- <string name="custom_config_summary">自訂選項,使用時請小心!</string>
- <string name="route_rejected">路由被Android拒絕</string>
- <string name="cancel_connection">中斷連線</string>
- <string name="cancel_connection_long">中斷VPN連線</string>
- <string name="clear_log">清除記錄檔</string>
- <string name="title_cancel">確認取消</string>
- <string name="cancel_connection_query">中斷已連接的VPN/取消正在嘗試的連線?</string>
- <string name="remove_vpn">移除VPN</string>
- <string name="check_remote_tlscert_title">預計TLS服務器證書</string>
- <string name="remote_tlscn_check_summary">檢查遠程服務器證書的主題DN</string>
- <string name="remote_tlscn_check_title">證書的主機名檢查</string>
- <string name="tls_key_auth">啟用傳輸層防火牆(TLS-Auth)</string>
- <string name="tls_auth_file">TLS驗證檔</string>
- <string name="pull_on_summary">向伺服器請求IP地址, 路由和時間資訊</string>
- <string name="use_pull">接受設定推送(Pull)</string>
- <string name="dns">DNS</string>
- <string name="override_dns">忽略伺服器提供的DNS設定</string>
- <string name="dns_override_summary">使用自訂的DNS伺服器</string>
- <string name="searchdomain">搜索網域</string>
- <string name="dns1_summary">要使用的DNS伺服器。</string>
- <string name="dns_server">DNS伺服器</string>
- <string name="secondary_dns_message">當主要DNS伺服器無法使用,就會嘗試備用DNS伺服器</string>
- <string name="backup_dns">後備VPN伺服器</string>
- <string name="ignored_pushed_routes">忽略伺服器推送的路由</string>
- <string name="ignore_routes_summary">忽略從伺服器推送的路由。</string>
- <string name="default_route_summary">重定向所有流量到VPN</string>
- <string name="use_default_title">使用VPN作為預設閘道</string>
- <string name="custom_route_message">以CIDR格式輸入目的地路由,例如\"10.0.0.0/8 2002::/16\",以上兩個路由將導向到VPN。</string>
- <string name="custom_routes_title">自訂路由</string>
- <string name="log_verbosity_level">記錄的詳細級別</string>
- <string name="float_summary">只要能夠經過驗證,接受從任何IP地址而來的伺服器訊息</string>
- <string name="float_title">容許浮動的伺服器</string>
- <string name="custom_options_title">自訂選項</string>
- <string name="edit_vpn">編輯VPN設定</string>
- <string name="remove_vpn_query">要移除VPN設定檔 %s 嗎?</string>
- <string name="tun_error_helpful">一些自訂的Android4.0 ROM存在/dev/tun的擁有者權限問題,甚至完全沒有Tun模組。CM9用家請嘗試於\"全域設置\"下修正Tun擁有者。</string>
- <string name="tun_open_error">無法開啟Tun網絡介面</string>
- <string name="error">"錯誤: "</string>
- <string name="clear">清除</string>
- <string name="local_ip_info">本地IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">分享記錄檔</string>
- <string name="send">分享</string>
- <string name="ics_openvpn_log_file">ICS OpenVPN 記錄檔</string>
- <string name="copied_entry">已將記錄複製到剪貼簿</string>
- <string name="tap_mode">Tap模式</string>
- <string name="faq_tap_mode">Android內置的VPN API並不支援Tap介面,故此本程序並不支援Tap模式。</string>
- <string name="faq">FAQ</string>
- <string name="copying_log_entries">複製記錄檔條目</string>
- <string name="faq_shortcut">以快捷方式啟動</string>
- <string name="no_vpn_support_image">你的Android ROM不支援VPN服務API,抱歉了。 :(</string>
- <string name="encryption">加密</string>
- <string name="cipher_dialog_title">輸入加密方法</string>
- <string name="settings_auth">驗證/加密</string>
- <string name="file_explorer_tab">檔案瀏覽器</string>
- <string name="inline_file_tab">內嵌檔案</string>
- <string name="error_importing_file">匯入過程中發生錯誤</string>
- <string name="import_error_message">無法從檔案系統中匯入檔案</string>
- <string name="inline_file_data">&lt;內嵌於設定檔&gt;</string>
- <string name="menu_import">匯入.ovpn檔案</string>
- <string name="menu_import_short">匯入</string>
- <string name="import_content_resolve_error">匯入過程中無法讀取設定檔</string>
- <string name="error_reading_config_file">讀取設定檔時發生錯誤</string>
- <string name="add_profile">新增設定檔</string>
- <string name="import_done">成功讀取設定檔</string>
- <string name="nobind_summary">不要綁定本地地址和端口</string>
- <string name="no_bind">沒有本地綁定</string>
- <string name="import_configuration_file">匯入設定檔</string>
- <string name="faq_security_title">保安上的考慮</string>
- <string name="import_vpn">匯入</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">等待狀態訊息&#8230;</string>
- <string name="converted_profile">匯入設定檔</string>
- <string name="converted_profile_i">匯入設定檔%d</string>
- <string name="pkcs12_file_encryption_key">PKCS12檔加密金鑰</string>
- <string name="private_key_password">私密金鑰密碼</string>
- <string name="password">密碼</string>
- <string name="file_icon">檔案圖標</string>
- <string name="tls_authentication">傳輸層防火牆(TLS Firewall)</string>
- <string name="generated_config">生成的設定檔</string>
- <string name="owner_fix_summary">嘗試修正/dev/tun擁有者權限。已知有些CM9 ROM需要透過這個來才能使得VPN服務API得以運作。本功能需要Root。</string>
- <string name="owner_fix">修正 /dev/tun 的擁有者</string>
- <string name="generated_config_summary">顯示本程序生成的設定檔</string>
- <string name="edit_profile_title">正在編輯\"%s\"</string>
- <string name="building_configration">正在生成設定檔&#8230;</string>
- <string name="netchange_summary">若切換此選項當網絡狀況變更時將強制重新連線(例如從WiFi變成手機網絡,反之亦然)</string>
- <string name="netchange">網絡異動時重新連線</string>
- <string name="netstatus">網絡狀態: %s</string>
- <string name="select_file">選擇</string>
- <string name="show_log_summary">連接時顯示記錄檔視窗。記錄檔視窗可以隨時從通知欄中進入。</string>
- <string name="show_log_window">顯示記錄視窗</string>
- <string name="mobile_info">於 %1$s (%2$s) %3$s 上運行, Android API 版本: %4$d</string>
- <string name="faq_system_dialogs_title">連線警告和通知時發出音效</string>
- <string name="translationby">繁體中文</string>
- <string name="ipdns">IP和DNS</string>
- <string name="basic">基本</string>
- <string name="routing">路由</string>
- <string name="obscure">鮮為人知的OpenVPN設定,一般情況下不需要派上用場。</string>
- <string name="advanced">進階</string>
- <string name="export_config_title">ICS Openvpn 設定</string>
- <string name="faq_howto_title">快速入門</string>
- <string name="setting_loadtun_summary">在連線前嘗試載入Tun模組,需要Root。</string>
- <string name="setting_loadtun">載入Tun模組</string>
- <string name="getproxy_error">取得代理伺服器資訊時發生錯誤: %s</string>
- <string name="using_proxy">使用代理伺服器 %1$s %2$d</string>
- <string name="use_system_proxy">使用系統代理</string>
- <string name="use_system_proxy_summary">使用系統配置的 HTTP/HTTPS 代理伺服器進行連線。</string>
- <string name="donatewithpaypal">你可以透過 &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;PayPal&lt;/a&gt; 提供捐助</string>
- <string name="onbootrestartsummary">如果在重新開機或關機前正連線VPN,開機時自動重新連線。在使用這個選項之前請先閱讀連線警告FAQ。</string>
- <string name="onbootrestart">開機時重新連線</string>
- <string name="ignore">忽略</string>
- <string name="restart">重置</string>
- <string name="restart_vpn_after_change">配置變更只會在重新啟動VPN時才生效,現在要(重新)啟動VPN嗎?</string>
- <string name="configuration_changed">設定已變更</string>
- <string name="log_no_last_vpn">無法判斷最後一次連線使用的設定檔,因此無法編輯設定檔。</string>
- <string name="faq_duplicate_notification_title">重複的通知</string>
- <string name="faq_routing_title">路由/網絡介面 設定</string>
- <string name="openvpn_log">OpenVPN 運作記錄</string>
- <string name="import_config">匯入 OpenVPN 配置</string>
- <string name="battery_consumption_title">電池消耗</string>
- <string name="vpn_tethering_title">VPN與可攜式無線基地台</string>
- <string name="connection_retries">重新連線次數</string>
- <string name="reconnection_settings">重新連線設定</string>
- <string name="connectretrymessage">嘗試重新連線之間的等待秒數。</string>
- <string name="connectretrywait">重新連線的間隔時間</string>
- <string name="minidump_generated">OpenVPN非預期地崩潰,你或者會考慮在主選單下傳送Minidump給開發人員。</string>
- <string name="send_minidump">向開發人員傳送Minidump</string>
- <string name="state_connecting">連線中</string>
- <string name="state_connected">已連線</string>
- <string name="state_disconnected">中斷連線</string>
- <string name="state_reconnecting">正在重新連線</string>
- <string name="state_tcp_connect">連線中 (TCP)</string>
- <string name="notifcation_title_notconnect">未連線</string>
- <string name="start_vpn_title">正在連接至 VPN %s</string>
- <string name="start_vpn_ticker">正在連接至 VPN %s</string>
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values/dimens.xml b/ics-openvpn-stripped/main/src/main/res/values/dimens.xml
deleted file mode 100644
index 727f5a78..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values/dimens.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<resources>
- <dimen name="paddingItemsSidebarLog">20dp</dimen>
- <dimen name="stdpadding">8dp</dimen>
- <bool name="logSildersAlwaysVisible">false</bool>
-
- <dimen name="diameter">48dp</dimen>
- <dimen name="elevation_low">1dp</dimen>
- <dimen name="elevation_high">4dp</dimen>
- <dimen name="add_button_margin">16dp</dimen>
- <dimen name="add_button_margin_topfab">96dp</dimen>
- <dimen name="round_button_diameter">56dp</dimen>
- <dimen name="switchbar_pad">16dp</dimen>
- <dimen name="vpn_setting_padding">16dp</dimen>
-</resources> \ No newline at end of file
diff --git a/ics-openvpn-stripped/main/src/main/res/values/strings.xml b/ics-openvpn-stripped/main/src/main/res/values/strings.xml
deleted file mode 100755
index 9c0a1823..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values/strings.xml
+++ /dev/null
@@ -1,354 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> <!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-<resources>
- <string name="app">OpenVPN for Android</string>
- <string name="address">Server Address:</string>
- <string name="port">Server Port:</string>
- <string name="location">Location</string>
- <string name="cant_read_folder">Unable to read directory</string>
- <string name="select">Select</string>
- <string name="cancel">Cancel</string>
- <string name="no_data">No Data</string>
- <string name="useLZO">LZO Compression</string>
- <string name="client_no_certificate">No Certificate</string>
- <string name="client_certificate_title">Client Certificate</string>
- <string name="client_key_title">Client Certificate Key</string>
- <string name="client_pkcs12_title">PKCS12 File</string>
- <string name="ca_title">CA Certificate</string>
- <string name="no_certificate">You must select a certificate</string>
- <string name="copyright_guicode">Source code and issue tracker available at http://code.google.com/p/ics-openvpn/</string>
- <string name="copyright_others">This program uses the following components; see the source code for full details on the licenses</string>
- <string name="about">About</string>
- <string name="vpn_list_title">Profiles</string>
- <string name="vpn_type">Type</string>
- <string name="pkcs12pwquery">PKCS12 Password</string>
- <string name="file_select">Select…</string>
- <string name="file_nothing_selected">You must select a file</string>
- <string name="useTLSAuth">Use TLS Authentication</string>
- <string name="tls_direction">TLS Direction</string>
- <string name="ipv6_dialog_tile">Enter IPv6 Address/Netmask in CIDR Format (e.g. 2000:dd::23/64)</string>
- <string name="ipv4_dialog_title">Enter IPv4 Address/Netmask in CIDR Format (e.g. 1.2.3.4/24)</string>
- <string name="ipv4_address">IPv4 Address</string>
- <string name="ipv6_address">IPv6 Address</string>
- <string name="custom_option_warning">Enter custom OpenVPN options. Use with caution. Also note that many of the tun related OpenVPN settings cannot be supported by design of the VPNSettings. If you think an important option is missing contact the author</string>
- <string name="auth_username">Username</string>
- <string name="auth_pwquery">Password</string>
- <string name="static_keys_info">For the static configuration the TLS Auth Keys will be used as static keys</string>
- <string name="configure_the_vpn">Configure the VPN</string>
- <string name="menu_add_profile">Add Profile</string>
- <string name="add_profile_name_prompt">Enter a name identifying the new Profile</string>
- <string name="duplicate_profile_name">Please enter a unique Profile Name</string>
- <string name="profilename">Profile Name</string>
- <string name="no_keystore_cert_selected">You must select a User certificate</string>
- <string name="no_error_found">No error found</string>
- <string name="config_error_found">Error in Configuration</string>
- <string name="ipv4_format_error">Error parsing the IPv4 address</string>
- <string name="custom_route_format_error">Error parsing the custom routes</string>
- <string name="pw_query_hint">(leave empty to query on demand)</string>
- <string name="vpn_shortcut">OpenVPN Shortcut</string>
- <string name="vpn_launch_title">Connect to VPN</string>
- <string name="shortcut_profile_notfound">Profile specified in shortcut not found</string>
- <string name="random_host_prefix">Random Host Prefix</string>
- <string name="random_host_summary">Adds 6 random chars in front of hostname</string>
- <string name="custom_config_title">Enable Custom Options</string>
- <string name="custom_config_summary">Specify custom options. Use with care!</string>
- <string name="route_rejected">Route rejected by Android</string>
- <string name="cancel_connection">Disconnect</string>
- <string name="cancel_connection_long">Disconnect VPN</string>
- <string name="clear_log">clear log</string>
- <string name="title_cancel">Cancel Confirmation</string>
- <string name="cancel_connection_query">Disconnect the connected VPN/cancel the connection attempt?</string>
- <string name="remove_vpn">Remove VPN</string>
- <string name="check_remote_tlscert">Checks whether the server uses a certificate with TLS Server extensions (--remote-cert-tls server)</string>
- <string name="check_remote_tlscert_title">Expect TLS server certificate</string>
- <string name="remote_tlscn_check_summary">Checks the Remote Server Certificate Subject DN</string>
- <string name="remote_tlscn_check_title">Certificate Hostname Check</string>
- <string name="enter_tlscn_dialog">Specify the check used to verify the remote certificate DN (e.g. C=DE, L=Paderborn, OU=Avian IP Carriers, CN=openvpn.blinkt.de)\n\nSpecify the complete DN or the RDN (openvpn.blinkt.de in the example) or an RDN prefix for verification.\n\nWhen using RDN prefix \"Server\" matches \"Server-1\" and \"Server-2\"\n\nLeaving the text field empty will check the RDN against the server hostname.\n\nFor more details see the OpenVPN 2.3.1+ manpage under —verify-x509-name</string>
- <string name="enter_tlscn_title">Remote certificate subject</string>
- <string name="tls_key_auth">Enables the TLS Key Authentication</string>
- <string name="tls_auth_file">TLS Auth File</string>
- <string name="pull_on_summary">Requests IP addresses, routes and timing options from the server.</string>
- <string name="pull_off_summary">No information is requested from the server. Settings need to be specified below.</string>
- <string name="use_pull">Pull Settings</string>
- <string name="dns">DNS</string>
- <string name="override_dns">Override DNS Settings by Server</string>
- <string name="dns_override_summary">Use your own DNS Servers</string>
- <string name="searchdomain">searchDomain</string>
- <string name="dns1_summary">DNS Server to be used.</string>
- <string name="dns_server">DNS Server</string>
- <string name="secondary_dns_message">Secondary DNS Server used if the normal DNS Server cannot be reached.</string>
- <string name="backup_dns">Backup DNS Server</string>
- <string name="ignored_pushed_routes">Ignore pushed routes</string>
- <string name="ignore_routes_summary">Ignore routed pushed by the server.</string>
- <string name="default_route_summary">Redirects all Traffic over the VPN</string>
- <string name="use_default_title">Use default Route</string>
- <string name="custom_route_message">Enter custom routes. Only enter destination in CIDR format. \"10.0.0.0/8 2002::/16\" would direct the networks 10.0.0.0/8 and 2002::/16 over the VPN.</string>
- <string name="custom_route_message_excluded">Routes that should NOT be routed over the VPN. Use the same syntax as for included routes.</string>
- <string name="custom_routes_title">Custom Routes</string>
- <string name="custom_routes_title_excluded">Excluded Networks</string>
- <string name="log_verbosity_level">Log verbosity level</string>
- <string name="float_summary">Allows authenticated packets from any IP</string>
- <string name="float_title">Allow floating server</string>
- <string name="custom_options_title">Custom Options</string>
- <string name="edit_vpn">Edit VPN Settings</string>
- <string name="remove_vpn_query">Remove the VPN Profile \'%s\'?</string>
- <string name="tun_error_helpful">On some custom ICS images the permission on /dev/tun might be wrong, or the tun module might be missing completely. For CM9 images try the fix ownership option under general settings</string>
- <string name="tun_open_error">Failed to open the tun interface</string>
- <string name="error">"Error: "</string>
- <string name="clear">Clear</string>
- <string name="last_openvpn_tun_config">Opening tun interface:</string>
- <string name="local_ip_info">Local IPv4: %1$s/%2$d IPv6: %3$s MTU: %4$d</string>
- <string name="dns_server_info">DNS Server: %1$s, Domain: %2$s</string>
- <string name="routes_info_incl">Routes: %1$s %2$s</string>
- <string name="routes_info_excl">Routes excluded: %1$s %2$s</string>
- <string name="routes_debug">VpnService routes installed: %1$s %2$s</string>
- <string name="ip_not_cidr">Got interface information %1$s and %2$s, assuming second address is peer address of remote. Using /32 netmask for local IP. Mode given by OpenVPN is \"%3$s\".</string>
- <string name="route_not_cidr">Cannot make sense of %1$s and %2$s as IP route with CIDR netmask, using /32 as netmask.</string>
- <string name="route_not_netip">Corrected route %1$s/%2$s to %3$s/%2$s</string>
- <string name="keychain_access">Cannot access the Android Keychain Certificates. This can be caused by a firmware upgrade or by restoring a backup of the app/app settings. Please edit the VPN and reselect the certificate under basic settings to recreate the permission to access the certificate.</string>
- <string name="version_info">%1$s %2$s</string>
- <string name="send_logfile">Send log file</string>
- <string name="send">Send</string>
- <string name="ics_openvpn_log_file">ICS OpenVPN log file</string>
- <string name="copied_entry">Copied log entry to clip board</string>
- <string name="tap_mode">Tap Mode</string>
- <string name="faq_tap_mode">Tap Mode is not possible with the non root VPN API. Therefore this application cannot provide tap support</string>
- <string name="tap_faq2">Again? Are you kidding? No, tap mode is really not supported and sending more mail asking if it will be supported will not help.</string>
- <string name="tap_faq3">A third time? Actually, one could write a a tap emulator based on tun that would add layer2 information on send and strip layer2 information on receive. But this tap emulator would also have to implement ARP and possibly a DHCP client. I am not aware of anybody doing any work in this direction. Contact me if you want to start coding on this.</string>
- <string name="faq">FAQ</string>
- <string name="copying_log_entries">Copying log entries</string>
- <string name="faq_copying">To copy a single log entry press and hold on the log entry. To copy/send the whole log use the Send Log option. Use the hardware menu button, if the button is not visible in the GUI.</string>
- <string name="faq_shortcut">Shortcut to start</string>
- <string name="faq_howto_shortcut">You can place a shortcut to start OpenVPN on your desktop. Depending on your homescreen program you will have to add either a shortcut or a widget.</string>
- <string name="no_vpn_support_image">Your image does not support the VPNService API, sorry :(</string>
- <string name="encryption">Encryption</string>
- <string name="cipher_dialog_title">Enter encryption method</string>
- <string name="chipher_dialog_message">Enter the encryption cipher algorithm used by OpenVPN. Leave empty to use default cipher.</string>
- <string name="auth_dialog_message">Enter the authentication digest used for OpenVPN. Leave empty to use default digest.</string>
- <string name="settings_auth">Authentication/Encryption</string>
- <string name="file_explorer_tab">File Explorer</string>
- <string name="inline_file_tab">Inline File</string>
- <string name="error_importing_file">Error importing File</string>
- <string name="import_error_message">Could not import File from filesystem</string>
- <string name="inline_file_data">[[Inline file data]]</string>
- <string name="opentun_no_ipaddr">Refusing to open tun device without IP information</string>
- <string name="menu_import">Import Profile from ovpn file</string>
- <string name="menu_import_short">Import</string>
- <string name="import_content_resolve_error">Could not read Profile to import</string>
- <string name="error_reading_config_file">Error reading config file</string>
- <string name="add_profile">add Profile</string>
- <string name="import_could_not_open">Could not find file %1$s mentioned in the imported config file</string>
- <string name="importing_config">Importing config file from source %1$s</string>
- <string name="import_warning_custom_options">Your configuration had a few configuration options that are not mapped to UI configurations. These options were added as custom configuration options. The custom configuration is displayed below:</string>
- <string name="import_done">Done reading config file.</string>
- <string name="nobind_summary">Do not bind to local address and port</string>
- <string name="no_bind">No local binding</string>
- <string name="import_configuration_file">Import configuration file</string>
- <string name="faq_security_title">Security considerations</string>
- <string name="faq_security">"As OpenVPN is security sensitive a few notes about security are sensible. All data on the sdcard is inherently insecure. Every app can read it (for example this program requires no special sd card rights). The data of this application can only be read by the application itself. By using the import option for cacert/cert/key in the file dialog the data is stored in the VPN profile. The VPN profiles are only accessible by this application. (Do not forget to delete the copies on the sd card afterwards). Even though accessible only by this application the data is still unencrypted. By rooting the telephone or other exploits it may be possible to retrieve the data. Saved passwords are stored in plain text as well. For pkcs12 files it is highly recommended that you import them into the android keystore."</string>
- <string name="import_vpn">Import</string>
- <string name="broken_image_cert_title">Error showing certificate selection</string>
- <string name="broken_image_cert">Got an exception trying to show the Android 4.0+ certificate selection dialog. This should never happen as this a standard feature of Android 4.0+. Maybe your Android ROM support for certificate storage is broken</string>
- <string name="ipv4">IPv4</string>
- <string name="ipv6">IPv6</string>
- <string name="speed_waiting">Waiting for state message…</string>
- <string name="converted_profile">imported profile</string>
- <string name="converted_profile_i">imported profile %d</string>
- <string name="broken_images">Broken Images</string>
- <string name="broken_images_faq">&lt;p&gt;Official HTC images are known to have a strange routing problem causing traffic not to flow through the tunnel (See also &lt;a href="http://code.google.com/p/ics-openvpn/issues/detail?id=18"&gt;Issue 18&lt;/a&gt; in the bug tracker.)&lt;/p&gt;&lt;p&gt;Older official SONY images from Xperia Arc S and Xperia Ray have been reported to be missing the VPNService completely from the image. (See also &lt;a href="http://code.google.com/p/ics-openvpn/issues/detail?id=29"&gt;Issue 29&lt;/a&gt; in the bug tracker.)&lt;/p&gt;&lt;p&gt;On custom build images the tun module might be missing or the rights of /dev/tun might be wrong. Some CM9 images need the "Fix ownership" option under "Device specific hacks" enabled.&lt;/p&gt;&lt;p&gt;Most importantly: If your device has a broken Android image, report it to your vendor. The more people who report an issue to the vendor, the more likely they are to fix it.&lt;/p&gt;</string>
- <string name="pkcs12_file_encryption_key">PKCS12 File Encryption Key</string>
- <string name="private_key_password">Private Key Password</string>
- <string name="password">Password</string>
- <string name="file_icon">file icon</string>
- <string name="tls_authentication">TLS Authentication</string>
- <string name="generated_config">Generated Config</string>
- <string name="generalsettings">Settings</string>
- <string name="owner_fix_summary">Tries to set the owner of /dev/tun to system. Some CM9 images need this to make the VPNService API work. Requires root.</string>
- <string name="owner_fix">Fix ownership of /dev/tun</string>
- <string name="generated_config_summary">Shows the generated OpenVPN Configuration File</string>
- <string name="edit_profile_title">Editing \"%s\"</string>
- <string name="building_configration">Building configuration…</string>
- <string name="netchange_summary">Turning this option on will force a reconnect if the network state is changed (e.g. WiFi to/from mobile)</string>
- <string name="netchange">Reconnect on network change</string>
- <string name="netstatus">Network Status: %s</string>
- <string name="extracahint">The CA cert is usually returned from the Android keystore. Specify a separate certificate if you get certificate verification errors.</string>
- <string name="select_file">Select</string>
- <string name="keychain_nocacert">No CA Certificate returned while reading from Android keystore. Authentication will probably fail.</string>
- <string name="show_log_summary">Shows the log window on connect. The log window can always be accessed from the notification status.</string>
- <string name="show_log_window">Show log window</string>
- <string name="mobile_info">Running on %1$s (%2$s) %3$s, Android API %4$d</string>
- <string name="error_rsa_sign">Error signing with Android keystore key %1$s: %2$s</string>
- <string name="faq_system_dialogs">The VPN connection warning telling you that this app can intercept all traffic is imposed by the system to prevent abuse of the VPNService API.\nThe VPN connection notification (The key symbol) is also imposed by the Android system to signal an ongoing VPN connection. On some images this notification plays a sound.\nAndroid introduced these system dialogs for your own safety and made sure that they cannot be circumvented. (On some images this unfortunately includes a notification sound)</string>
- <string name="faq_system_dialogs_title">Connection warning and notification sound</string>
- <string name="translationby">English translation by Arne Schwabe&lt;arne@rfc2549.org&gt;</string>
- <string name="ipdns">IP and DNS</string>
- <string name="basic">Basic</string>
- <string name="routing">Routing</string>
- <string name="obscure">Obscure OpenVPN Settings. Normally not needed.</string>
- <string name="advanced">Advanced</string>
- <string name="export_config_title">ICS Openvpn Config</string>
- <string name="warn_no_dns">No DNS servers being used. Name resolution may not work. Consider setting custom DNS Servers. Please also note that Android will keep using your proxy settings specified for your mobile/Wi-Fi connection when no DNS servers are set.</string>
- <string name="dns_add_error">Could not add DNS Server \"%1$s\", rejected by the system: %2$s</string>
- <string name="ip_add_error">Could not configure IP Address \"%1$s\", rejected by the system: %2$s</string>
- <string name="faq_howto">&lt;p&gt;Get a working config (tested on your computer or download from your provider/organisation)&lt;/p&gt;&lt;p&gt;If it is a single file with no extra pem/pks12 files you can email the file yourself and open the attachment. If you have multiple files put them on your sd card.&lt;/p&gt;&lt;p&gt;Click on the email attachment/Use the folder icon in the vpn list to import the config file&lt;/p&gt;&lt;p&gt;If there are errors about missing files put the missing files on your sd card.&lt;/p&gt;&lt;p&gt;Click on the save symbol to add the imported VPN to your VPN list&lt;/p&gt;&lt;p&gt;Connect the VPN by clicking on the name of the VPN&lt;/p&gt;&lt;p&gt;If there are error or warnings in the log try to understand the warnings/error and try to fix them&lt;/p&gt; </string>
- <string name="faq_howto_title">Quick Start</string>
- <string name="setting_loadtun_summary">Try to load the tun.ko kernel module before trying to connect. Needs rooted devices.</string>
- <string name="setting_loadtun">Load tun module</string>
- <string name="importpkcs12fromconfig">Import PKCS12 from configuration into Android Keystore</string>
- <string name="getproxy_error">Error getting proxy settings: %s</string>
- <string name="using_proxy">Using proxy %1$s %2$d</string>
- <string name="use_system_proxy">Use system proxy</string>
- <string name="use_system_proxy_summary">Use the system wide configuration for HTTP/HTTPS proxies to connect.</string>
- <string name="donatewithpaypal">You can &lt;a href=\"https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&amp;amp;cmd=_s-xclick\"&gt;donate with PayPal&lt;/a&gt; </string>
- <string name="onbootrestartsummary">OpenVPN will reconnect a VPN if it was active on system reboot/shutdown. Please read the Connection warning FAQ before using this option.</string>
- <string name="onbootrestart">Reconnect on reboot</string>
- <string name="ignore">Ignore</string>
- <string name="restart">Restart</string>
- <string name="restart_vpn_after_change">Configuration changes are applied after restarting the VPN. (Re)start the VPN now?</string>
- <string name="configuration_changed">Configuration changed</string>
- <string name="log_no_last_vpn">Could not determine last connected profile for editing</string>
- <string name="faq_duplicate_notification_title">Duplicate notifications</string>
- <string name="faq_duplicate_notification">If Android is under system memory (RAM) pressure, apps and service which are not needed at the moment are removed from active memory. This terminates an ongoing VPN connection. To ensure that the connection/OpenVPN survives the service runs with higher priority. To run with higher priority the application must display a notification. The key notification icon is imposed by the system as described in the previous FAQ entry. It does not count as app notification for purpose of running with higher priority.</string>
- <string name="no_vpn_profiles_defined">No VPN profiles defined.</string>
- <string name="add_new_vpn_hint">Use the &lt;img src=\"ic_menu_add\"/&gt; icon to add a new VPN</string>
- <string name="vpn_import_hint">Use the &lt;img src=\"ic_menu_archive\"/&gt; icon to import an existing (.ovpn or .conf) profile from your sdcard.</string>
- <string name="faq_hint">Be sure to also check out the FAQ. There is a quick start guide.</string>
- <string name="faq_routing_title">Routing/Interface Configuration</string>
- <string name="faq_routing">The Routing and interface configuration is not done via traditional ifconfig/route commands but by using the VPNService API. This results in a different routing configuration than on other OSes. \nThe configuration of the VPN tunnel consists of the IP address and the networks that should be routed over this interface. Especially, no peer partner address or gateway address is needed or required. Special routes to reach the VPN Server (for example added when using redirect-gateway) are not needed either. The application will consequently ignore these settings when importing a configuration. The app ensures with the VPNService API that the connection to the server is not routed through the VPN tunnel.\nThe VPNService API does not allow specifying networks that should not be routed via the VPN. As a workaround the app tries to detect networks that should not be routed over tunnel (e.g. route x.x.x.x y.y.y.y net_gateway) and calculates a set of routes that excludes this routes to emulate the behaviour of other platforms. The log windows shows the configuration of the VPNService upon establishing a connection.\nBehind the scenes: Android 4.4+ does use policy routing. Using route/ifconfig will not show the installed routes. Instead use ip rule, iptables -t mangle -L</string>
- <string name="persisttun_summary">Do not fallback to no VPN connection when OpenVPN is reconnecting.</string>
- <string name="persistent_tun_title">Persistent tun</string>
- <string name="openvpn_log">OpenVPN Log</string>
- <string name="import_config">Import OpenVPN configuration</string>
- <string name="battery_consumption_title">Battery consumption</string>
- <string name="baterry_consumption">In my personal tests the main reason for high battery consumption of OpenVPN are the keepalive packets. Most OpenVPN servers have a configuration directive like \'keepalive 10 60\' which causes the client and server to exchange keepalive packets every ten seconds. &lt;p&gt; While these packets are small and do not use much traffic, they keep the mobile radio network busy and increase the energy consumption. (See also &lt;a href="http://developer.android.com/training/efficient-downloads/efficient-network-access.html#RadioStateMachine"&gt;The Radio State Machine | Android Developers&lt;/a&gt;) &lt;p&gt; This keepalive setting cannot be changed on the client. Only the system administrator of the OpenVPN can change the setting. &lt;p&gt; Unfortunately using a keepalive larger than 60 seconds with UDP can cause some NAT gateways to drop the connection due to an inactivity timeout. Using TCP with a long keep alive timeout works, but tunneling TCP over TCP performs extremely poorly on connections with high packet loss. (See &lt;a href="http://sites.inka.de/bigred/devel/tcp-tcp.html"&gt;Why TCP Over TCP Is A Bad Idea&lt;/a&gt;)</string>
- <string name="faq_tethering">The Android Tethering feature (over WiFi, USB or Bluetooth) and the VPNService API (used by this program) do not work together. For more details see the &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=34\">issue #34&lt;/a></string>
- <string name="vpn_tethering_title">VPN and Tethering</string>
- <string name="connection_retries">Connection retries</string>
- <string name="reconnection_settings">Reconnection settings</string>
- <string name="connectretrymessage">Number of seconds to wait between connection attempts.</string>
- <string name="connectretrywait">Seconds between connections</string>
- <string name="minidump_generated">OpenVPN crashed unexpectedly. Please consider using the send Minidump option in the main menu</string>
- <string name="send_minidump">Send Minidump to developer</string>
- <string name="send_minidump_summary">Sends debugging information about last crash to developer</string>
- <string name="notifcation_title">OpenVPN - %s</string>
- <string name="session_ipv4string">%1$s - %2$s</string>
- <string name="session_ipv6string">%1$s - %3$s, %2$s</string>
- <string name="state_connecting">Connecting</string>
- <string name="state_wait">Waiting for server reply</string>
- <string name="state_auth">Authenticating</string>
- <string name="state_get_config">Getting client configuration</string>
- <string name="state_assign_ip">Assigning IP addresses</string>
- <string name="state_add_routes">Adding routes</string>
- <string name="state_connected">Connected</string>
- <string name="state_disconnected">Disconnect</string>
- <string name="state_reconnecting">Reconnecting</string>
- <string name="state_exiting">Exiting</string>
- <string name="state_noprocess">Not running</string>
- <string name="state_resolve">Resolving host names</string>
- <string name="state_tcp_connect">Connecting (TCP)</string>
- <string name="state_auth_failed">Authentication failed</string>
- <string name="state_nonetwork">Waiting for usable network</string>
- <string name="statusline_bytecount">↓%2$s/s %1$s - ↑%4$s/s %3$s</string>
- <string name="notifcation_title_notconnect">Not connected</string>
- <string name="start_vpn_title">Connecting to VPN %s</string>
- <string name="start_vpn_ticker">Connecting to VPN %s</string>
- <string name="jelly_keystore_alphanumeric_bug">Some versions of Android 4.1 have problems if the name of the keystore certificate contains non alphanumeric characters (like spaces, underscores or dashes). Try to reimport the certificate without special characters</string>
- <string name="encryption_cipher">Encryption cipher</string>
- <string name="packet_auth">Packet authentication</string>
- <string name="auth_dialog_title">Enter packet authentication method</string>
- <string name="mobile_info_extended">Running on %1$s (%2$s) %3$s, Android API %4$d, version %5$s, %6$s</string>
- <string name="built_by">built by %s</string>
- <string name="debug_build">debug build</string>
- <string name="official_build">official build</string>
- <string name="make_selection_inline">Copy into profile</string>
- <string name="crashdump">Crashdump</string>
- <string name="add">Add</string>
- <string name="send_config">Send config file</string>
- <string name="complete_dn">Complete DN</string>
- <string name="remotetlsnote">Your imported configuration used the old DEPRECATED tls-remote option which uses a different DN format.</string>
- <string name="rdn">RDN (common name)</string>
- <string name="rdn_prefix">RDN prefix</string>
- <string name="tls_remote_deprecated">tls-remote (DEPRECATED)</string>
- <string name="help_translate">You can help translating by visiting http://crowdin.net/project/ics-openvpn/invite</string>
- <string name="prompt">%1$s attempts to control %2$s</string>
- <string name="remote_warning">By proceeding, you are giving the application permission to completely control OpenVPN for Android and to intercept all network traffic.<b>Do NOT accept unless you trust the application.</b> Otherwise, you run the risk of having your data compromised by malicious software."</string>
- <string name="remote_trust">I trust this application.</string>
- <string name="no_external_app_allowed">No app allowed to use external API</string>
- <string name="allowed_apps">Allowed apps: %s</string>
- <string name="clearappsdialog">Clear list of allowed external apps?\nCurrent list of allowed apps:\n\n%s</string>
- <string name="screenoff_summary">"Pause VPN when screen is off and less than 64 kB transferred data in 60s. When the \"Persistent Tun\" option is enabled pausing the VPN will leave your device with NO network connectivity. Without the \"Persistent Tun\" option the device will have no VPN connection/protection.</string>
- <string name="screenoff_title">Pause VPN connection after screen off</string>
- <string name="screenoff_pause">Pausing connection in screen off state: less than %1$s in %2$ss</string>
- <string name="screen_nopersistenttun">Warning: Persistent tun not enabled for this VPN. Traffic will use the normal Internet connection when the screen is off.</string>
- <string name="save_password">Save Password</string>
- <string name="pauseVPN">Pause VPN</string>
- <string name="resumevpn">Resume VPN</string>
- <string name="state_userpause">VPN pause requested by user</string>
- <string name="state_screenoff">VPN paused - screen off</string>
- <string name="device_specific">Device specifics Hacks</string>
- <string name="cannotparsecert">Cannot display certificate information</string>
- <string name="appbehaviour">Application behaviour</string>
- <string name="vpnbehaviour">VPN behaviour</string>
- <string name="allow_vpn_changes">Allow changes to VPN Profiles</string>
- <string name="hwkeychain">Hardware Keystore:</string>
- <string name="permission_icon_app">Icon of app trying to use OpenVPN for Android</string>
- <string name="faq_vpndialog43">"Starting with Android 4.3 the VPN confirmation is guarded against \"overlaying apps\". This results in the dialog not reacting to touch input. If you have an app that uses overlays it may cause this behaviour. If you find an offending app contact the author of the app. This problem affect all VPN applications on Android 4.3 and later. See also &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=185\">Issue 185&lt;a> for additional details"</string>
- <string name="faq_vpndialog43_title">Vpn Confirm Dialog on Android 4.3 and later</string>
- <string name="donatePlayStore">Alternatively you can send me a donation with the Play Store:</string>
- <string name="thanks_for_donation">Thanks for donating %s!</string>
- <string name="logCleared">Log cleared.</string>
- <string name="show_password">Show password</string>
- <string name="keyChainAccessError">KeyChain Access error: %s</string>
- <string name="timestamp_short">Short</string>
- <string name="timestamp_iso">ISO</string>
- <string name="timestamps">Timestamps</string>
- <string name="timestamps_none">None</string>
- <string name="uploaded_data">Upload</string>
- <string name="downloaded_data">Download</string>
- <string name="vpn_status">Vpn Status</string>
- <string name="logview_options">View options</string>
- <string name="unhandled_exception">Unhandled exception: %1$s\n\n%2$s</string>
- <string name="unhandled_exception_context">%3$s: %1$s\n\n%2$s</string>
- <string name="faq_system_dialog_xposed">If you have rooted your Android device you can install the &lt;a href=\"http://xposed.info/\"&gt;Xposed framework&lt;/a&gt; and a the &lt;a href=\"http://repo.xposed.info/module/de.blinkt.vpndialogxposed\"&gt;VPN Dialog confirm module&lt;/a&gt; at your own risk"</string>
- <string name="full_licenses">Full licenses</string>
- <string name="blocklocal_summary">Networks directly connected to the local interfaces will not be routed over the VPN. Deselecting this option will redirect all traffic indented for local networks to the VPN.</string>
- <string name="blocklocal_title">Bypass VPN for local networks</string>
- <string name="userpw_file">Username/Password file</string>
- <string name="imported_from_file">[Imported from: %s]</string>
- <string name="files_missing_hint">Some files could not be found. Please select the files to import the profile:</string>
- <string name="openvpn_is_no_free_vpn">To use this app you need a VPN provider/VPN gateway supporting OpenVPN (often provided by your employer). Check out http://community.openvpn.net/ for more information on OpenVPN and how to setup your own OpenVPN server.</string>
- <string name="import_log">Import log:</string>
- <string name="ip_looks_like_subnet">Vpn topology \"%3$s\" specified but ifconfig %1$s %2$s looks more like an IP address with a network mask. Assuming \"subnet\" topology.</string>
- <string name="mssfix_invalid_value">The MSS override value has to be a integer between 0 and 9000</string>
- <string name="mssfix_value_dialog">Announce to TCP sessions running over the tunnel that they should limit their send packet sizes such that after OpenVPN has encapsulated them, the resulting UDP packet size that OpenVPN sends to its peer will not exceed this number of bytes. (default is 1450)</string>
- <string name="mssfix_checkbox">Override MSS value of TCP payload</string>
- <string name="mssfix_dialogtitle">Set MSS of TCP payload</string>
- <string name="client_behaviour">Client behaviour</string>
- <string name="clear_external_apps">Clear allowed external apps</string>
- <string name="loading">Loading…</string>
- <string name="allowed_vpn_apps_info">Allowed VPN apps: %1$s</string>
- <string name="disallowed_vpn_apps_info">Disallowed VPN apps: %1$s</string>
- <string name="app_no_longer_exists">Package %s is no longer installed, removing it from app allow/disallow list</string>
- <string name="vpn_disallow_radio">VPN is used for all apps but exclude selected</string>
- <string name="vpn_allow_radio">VPN is used for only for selected apps</string>
- <string name="query_delete_remote">Remove remote server entry?</string>
- <string name="keep">Keep</string>
- <string name="delete">Delete</string>
- <string name="add_remote">Add new remote</string>
- <string name="remote_random">Use connection entries in random order on connect</string>
- <string name="remote_no_server_selected">You need to define and enable at least one remote server.</string>
- <string name="server_list">Server List</string>
- <string name="vpn_allowed_apps">Allowed Apps</string>
- <string name="advanced_settings">Advanced Settings</string>
- <string name="payload_options">Payload options</string>
- <string name="tls_settings">TLS Settings</string>
- <string name="no_remote_defined">No remote defined</string>
- <string name="duplicate_vpn">Duplicate VPN profile</string>
- <string name="duplicate_profile_title">Duplicating profile: %s</string>
- <string name="show_log">Show log</string>
- <string name="faq_android_clients">Multiple OpenVPN clients for Android exist. The most common ones are OpenVPN for Android (this client), OpenVPN Connect and OpenVPN Settings.&lt;p&gt;The clients can be grouped into two groups: OpenVPN for Android and OpenVPN Connect use the official VPNService API (Android 4.0+) and require no root and OpenVPN Settings which uses root.&lt;p&gt;OpenVPN for Android is an open source client and developed by Arne Schwabe. It is targeted at more advanced users and offers many settings and the ability to import profiles from files and to configure/change profiles inside the app. The client is based on the community version of OpenVPN. It is based on the OpenVPN 2.x source code. This client can be seen as the semi officially client of the community. &lt;p&gt;OpenVPN Connect is non open source client that is developed by OpenVPN Technologies, Inc. The client is indented to be general use client and moree targeted at the average user and allows the import of OpenVPN profiles. This client is based on the OpenVPN C++ reimplementation of the OpenVPN protocol (This was required to allow OpenVPN Technologies, Inc to publish an iOS OpenVPN app). This client is the official client of the OpenVPN technologies &lt;p&gt; OpenVPN Settings is the oldest of the clients and also a UI for the open source OpenVPN. In contrast to OpenVPN for Android it requires root and does not use the VPNService API. It does not depend on Android 4.0+</string>
- <string name="faq_androids_clients_title">Differences between the OpenVPN Android clients</string>
-
-</resources>
diff --git a/ics-openvpn-stripped/main/src/main/res/values/styles.xml b/ics-openvpn-stripped/main/src/main/res/values/styles.xml
deleted file mode 100644
index 94970c88..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values/styles.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<resources>
- <style name="blinkt.baseTheme" parent="android:Theme.DeviceDefault.Light" />
- <style name="blinkt.common" parent="blinkt.baseTheme" >
- <!-- Shared between Holo and Material -->
- <item name="android:preferenceStyle">@style/BlinktPreferencePanel</item>
-
- </style>
-
- <style name="blinkt" parent="blinkt.common">
- </style>
-
- <!-- No margins or background by default. Not different for x-large screens -->
- <style name="BlinktPreferencePanel">
- <item name="android:background">@color/gelb</item>
- </style>
-
- <style name="item">
- <item name="android:layout_width">match_parent</item>
- <item name="android:layout_height">wrap_content</item>
- <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
- <item name="android:singleLine">true</item>
- </style>
-
- <style name="faqitem">
- <item name="android:layout_width">match_parent</item>
- <item name="android:layout_height">wrap_content</item>
- <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
- </style>
-
- <style name="faqhead">
- <item name="android:paddingTop">10sp</item>
- <item name="android:layout_width">match_parent</item>
- <item name="android:layout_height">wrap_content</item>
- <item name="android:textAppearance">?android:attr/textAppearanceLarge</item>
- <!-- <item name="android:singleLine">true</item> -->
- </style>
-
- <style name="accountSetupButton">
- <item name="android:layout_width">160sp</item>
- <item name="android:layout_height">40sp</item>
- <item name="android:textColor">?android:attr/textColorPrimary</item>
- <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
- </style>
-
- <style name="Theme.CreateShortCut" parent="android:Theme.Holo.DialogWhenLarge" />
-
- <style name="logWindowStatusText">
- <item name="android:paddingLeft">@dimen/paddingItemsSidebarLog</item>
- <item name="android:layout_width">wrap_content</item>
- <item name="android:layout_height">wrap_content</item>
- <item name="android:textAppearance">?android:attr/textAppearanceLarge</item>
- </style>
-
- <style name="logWindowStatusTitle">
- <item name="android:layout_width">wrap_content</item>
- <item name="android:layout_height">wrap_content</item>
- </style>
-
-
-</resources> \ No newline at end of file
diff --git a/ics-openvpn-stripped/main/src/main/res/values/untranslatable.xml b/ics-openvpn-stripped/main/src/main/res/values/untranslatable.xml
deleted file mode 100644
index 629514a0..00000000
--- a/ics-openvpn-stripped/main/src/main/res/values/untranslatable.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2012-2014 Arne Schwabe
- ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
- -->
-
-<resources>
-
- <string name="copyright_blinktgui" translatable="false">Copyright 2012–2014 Arne Schwabe &lt;arne@rfc2549.org></string>
- <string name="opevpn_copyright" translatable="false">Copyright © 2002–2010 OpenVPN Technologies, Inc. &lt;sales@openvpn.net>\n
-
- "OpenVPN" is a trademark of OpenVPN Technologies, Inc.\n</string>
- <string name="defaultserver" translatable="false">openvpn.uni-paderborn.de</string>
- <string name="defaultport" translatable="false">1194</string>
- <string name="copyright_file_dialog" translatable="false">File Dialog based on work by Alexander Ponomarev</string>
- <string name="lzo_copyright" translatable="false">Copyright © 1996 – 2011 Markus Franz Xaver Johannes Oberhumer</string>
- <string name="copyright_openssl" translatable="false"> This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit\n
- Copyright © 1998-2008 The OpenSSL Project. All rights reserved.\n\n
- This product includes cryptographic software written by Eric Young (eay@cryptsoft.com)\n
- Copyright © 1995-1998 Eric Young (eay@cryptsoft.com) All rights reserved.</string>
- <string name="openvpn" translatable="false">OpenVPN</string>
- <string name="file_dialog" translatable="false">File Dialog</string>
- <string name="lzo" translatable="false">LZO</string>
- <string name="openssl" translatable="false">OpenSSL</string>
- <string name="unknown_state" translatable="false">Unknown state</string>
- <string name="permission_description">Allows another app to control OpenVPN</string>
- <string name="bouncy_castle" translatable="false">Bouncy Castle Crypto APIs</string>
- <string name="copyright_bouncycastle" translatable="false">Copyright © 2000–2012 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)</string>
-
- <string-array name="tls_directions_values" translatable="false">
- <item>0</item>
- <item>1</item>
- <item></item>
- </string-array>
- <string-array name="crm_values" translatable="false">
- <item>1</item>
- <item>2</item>
- <item>5</item>
- <item>50</item>
- <item>-1</item>
- </string-array>
- <string name="crash_toast_text">OpenVPN for Android crashed, crash reported</string>
-
- <!-- These strings should not be visible to the user -->
- <string name="state_user_vpn_permission" translatable="false">Waiting for user permission to use VPN API</string>
- <string name="state_user_vpn_password" translatable="false">Waiting for user VPN password</string>
- <string name="state_user_vpn_password_cancelled" translatable="false">VPN password input dialog cancelled</string>
- <string name="state_user_vpn_permission_cancelled" translatable="false">VPN API permission dialog cancelled</string>
-
-</resources>
diff --git a/ics-openvpn-stripped/main/src/ovpn3/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java b/ics-openvpn-stripped/main/src/ovpn3/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java
deleted file mode 100644
index e595106c..00000000
--- a/ics-openvpn-stripped/main/src/ovpn3/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java
+++ /dev/null
@@ -1,275 +0,0 @@
-package de.blinkt.openvpn.core;
-
-import net.openvpn.ovpn3.ClientAPI_Config;
-import net.openvpn.ovpn3.ClientAPI_EvalConfig;
-import net.openvpn.ovpn3.ClientAPI_Event;
-import net.openvpn.ovpn3.ClientAPI_ExternalPKICertRequest;
-import net.openvpn.ovpn3.ClientAPI_ExternalPKISignRequest;
-import net.openvpn.ovpn3.ClientAPI_LogInfo;
-import net.openvpn.ovpn3.ClientAPI_OpenVPNClient;
-import net.openvpn.ovpn3.ClientAPI_ProvideCreds;
-import net.openvpn.ovpn3.ClientAPI_Status;
-import net.openvpn.ovpn3.ClientAPI_TransportStats;
-
-import java.lang.Override;
-
-import de.blinkt.openvpn.VpnProfile;
-
-import android.content.Context;
-
-public class OpenVPNThreadv3 extends ClientAPI_OpenVPNClient implements Runnable, OpenVPNManagement {
-
- static {
- /*System.loadLibrary("crypto");
- System.loadLibrary("ssl");*/
- System.loadLibrary("polarssl-dynamic");
- System.loadLibrary("ovpn3");
- }
-
- private VpnProfile mVp;
- private OpenVPNService mService;
-
- class StatusPoller implements Runnable
- {
- private long mSleeptime;
-
- boolean mStopped=false;
-
- public StatusPoller(long sleeptime) {
- mSleeptime=sleeptime;
- }
-
- public void run() {
- while(!mStopped) {
- try {
- Thread.sleep(mSleeptime);
- } catch (InterruptedException e) {
- }
- ClientAPI_TransportStats t = transport_stats();
- long in = t.getBytesIn();
- long out = t.getBytesOut();
- VpnStatus.updateByteCount(in, out);
- }
- }
-
- public void stop() {
- mStopped=true;
- }
- }
-
- @Override
- public void run() {
- String configstr = mVp.getConfigFile((Context)mService,true);
- if(!setConfig(configstr))
- return;
- setUserPW();
- VpnStatus.logInfo(copyright());
-
- StatusPoller statuspoller = new StatusPoller(5000);
- new Thread(statuspoller,"Status Poller").start();
-
- ClientAPI_Status status = connect();
- if(status.getError()) {
- VpnStatus.logError(String.format("connect() error: %s: %s",status.getStatus(),status.getMessage()));
- } else {
- VpnStatus.logInfo("OpenVPN3 thread finished");
- }
- statuspoller.stop();
- }
-
- @Override
- public boolean tun_builder_set_remote_address(String address, boolean ipv6) {
- mService.setMtu(1500);
- return true;
- }
-
- @Override
- public boolean tun_builder_set_mtu(int mtu) {
- mService.setMtu(mtu);
- return true;
- }
- @Override
- public boolean tun_builder_add_dns_server(String address, boolean ipv6) {
- mService.addDNS(address);
- return true;
- }
-
- @Override
- public boolean tun_builder_add_route(String address, int prefix_length,
- boolean ipv6) {
- if (address.equals("remote_host"))
- return false;
-
- if(ipv6)
- mService.addRoutev6(address + "/" + prefix_length,"tun");
- else
- mService.addRoute(new CIDRIP(address, prefix_length));
- return true;
- }
-
- @Override
- public boolean tun_builder_add_search_domain(String domain) {
- mService.setDomain(domain);
- return true;
- }
-
- @Override
- public int tun_builder_establish() {
- return mService.openTun().detachFd();
- }
-
- @Override
- public boolean tun_builder_set_session_name(String name) {
- VpnStatus.logInfo("We should call this session" + name);
- return true;
- }
-
-
-
- @Override
- public boolean tun_builder_add_address(String address, int prefix_length,
- boolean ipv6) {
- if(!ipv6)
- mService.setLocalIP(new CIDRIP(address, prefix_length));
- else
- mService.setLocalIPv6(address+ "/" + prefix_length);
- return true;
- }
-
- @Override
- public boolean tun_builder_new() {
-
- return true;
- }
-
- @Override
- public boolean tun_builder_reroute_gw(String server_address,
- boolean server_address_ipv6, boolean ipv4, boolean ipv6, long flags) {
- // ignore
- return true;
- }
-
- @Override
- public boolean tun_builder_exclude_route(String address, int prefix_length,
- boolean ipv6) {
- //ignore
- return true;
- }
-
-
- private boolean setConfig(String vpnconfig) {
-
- ClientAPI_Config config = new ClientAPI_Config();
- if(mVp.getPasswordPrivateKey()!=null)
- config.setPrivateKeyPassword(mVp.getPasswordPrivateKey());
-
- config.setContent(vpnconfig);
- config.setTunPersist(mVp.mPersistTun);
- config.setGuiVersion(mVp.getVersionEnvString(mService));
- config.setExternalPkiAlias("extpki");
-
- ClientAPI_EvalConfig ec = eval_config(config);
- if(ec.getExternalPki()) {
- VpnStatus.logError("OpenVPN seem to think as external PKI");
- }
- if (ec.getError()) {
- VpnStatus.logError("OpenVPN config file parse error: " + ec.getMessage());
- return false;
- } else {
- config.setContent(vpnconfig);
- return true;
- }
- }
-
- @Override
- public void external_pki_cert_request(ClientAPI_ExternalPKICertRequest certreq) {
- VpnStatus.logError("EXT PKI CERT");
- String[] ks = mVp.getKeyStoreCertificates((Context) mService);
- if(ks==null) {
- certreq.setError(true);
- certreq.setErrorText("Error in pki cert request");
- return;
- }
-
- String supcerts = ks[0];
- /* FIXME: How to differentiate between chain and ca certs in OpenVPN 3? */
- if (ks[1]!=null)
- supcerts += "\n" + ks[1];
- certreq.setSupportingChain(supcerts);
- certreq.setCert(ks[2]);
- certreq.setError(false);
- }
-
- @Override
- public void external_pki_sign_request(ClientAPI_ExternalPKISignRequest signreq) {
- signreq.setSig(mVp.getSignedData(signreq.getData()));
- }
-
- void setUserPW() {
- if(mVp.isUserPWAuth()) {
- ClientAPI_ProvideCreds creds = new ClientAPI_ProvideCreds();
- creds.setCachePassword(true);
- creds.setPassword(mVp.getPasswordAuth());
- creds.setUsername(mVp.mUsername);
- provide_creds(creds);
- }
- }
-
- @Override
- public boolean socket_protect(int socket) {
- boolean b= mService.protect(socket);
- return b;
-
- }
-
- public OpenVPNThreadv3(OpenVPNService openVpnService, VpnProfile vp) {
- init_process();
- mVp =vp;
- mService =openVpnService;
- }
-
- @Override
- public void pause(pauseReason pauseReason)
- {
- pause();
- }
-
- @Override
- public void log(ClientAPI_LogInfo arg0) {
- String logmsg =arg0.getText();
- while (logmsg.endsWith("\n"))
- logmsg = logmsg.substring(0, logmsg.length()-1);
-
- VpnStatus.logInfo(logmsg);
- }
-
- @Override
- public void event(ClientAPI_Event event) {
- VpnStatus.updateStateString(event.getName(), event.getInfo());
- if(event.getError())
- VpnStatus.logError(String.format("EVENT(Error): %s: %s",event.getName(),event.getInfo()));
- }
-
-
- // When a connection is close to timeout, the core will call this
- // method. If it returns false, the core will disconnect with a
- // CONNECTION_TIMEOUT event. If true, the core will enter a PAUSE
- // state.
-
- @Override
- public boolean pause_on_connection_timeout() {
- VpnStatus.logInfo("pause on connection timeout?! ");
- return true;
- }
-
- public boolean stopVPN() {
- stop();
- return true;
- }
-
- @Override
- public void reconnect() {
- reconnect(1);
- }
-
-}