From: "cron2 (Code Review)" Date: Sat, 30 Dec 2023 16:31:29 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="pgfiVIy8j+Q="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: Remove support for NTLM v1 proxy authentication List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld , plaisthos Cc: openvpn-devel --pgfiVIy8j+Q= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#5) to the change originally created by= flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/379?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by plaisthos Change subject: Remove support for NTLM v1 proxy authentication ...................................................................... Remove support for NTLM v1 proxy authentication Due to the limitation of the protocol it is not considered secure. Better to use basic auth instead of a false sense of security. NTLM v2 remains supported for now. Change-Id: I0dcb2dac4136f194da7050a8ea8495e9faba9dd9 Signed-off-by: Frank Lichtenheld Acked-by: Arne Schwabe Message-Id: <20231230143733.4426-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27= 862.html Signed-off-by: Gert Doering --- M Changes.rst M doc/man-sections/proxy-options.rst M src/openvpn/crypto_backend.h M src/openvpn/crypto_mbedtls.c M src/openvpn/crypto_openssl.c M src/openvpn/ntlm.c M src/openvpn/options.c M src/openvpn/proxy.c M src/openvpn/proxy.h M tests/unit_tests/openvpn/test_crypto.c 10 files changed, 101 insertions(+), 226 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/79/379/5 diff --git a/Changes.rst b/Changes.rst index 3676dce..69c811d 100644 --- a/Changes.rst +++ b/Changes.rst @@ -1,5 +1,7 @@ Overview of changes in 2.7 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D +Deprecated features +------------------- ``secret`` support has been removed by default. static key mode (non-TLS) is no longer considered "good and secure eno= ugh" for today's requirements. Use TLS mode instead. If deploying a PKI CA @@ -10,6 +12,10 @@ ``--allow-deprecated-insecure-static-crypto`` but will be removed in OpenVPN 2.8. +NTLMv1 support has been removed because it is completely insecure. + NTLMv2 support is still available, but will removed in a future releas= e. + + Overview of changes in 2.6 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D diff --git a/doc/man-sections/proxy-options.rst b/doc/man-sections/proxy-op= tions.rst index 548d1c0..9cf311f 100644 --- a/doc/man-sections/proxy-options.rst +++ b/doc/man-sections/proxy-options.rst @@ -7,7 +7,7 @@ ``--http-proxy-user-pass`` option. (See section on inline files) The last optional argument is an ``auth-method`` which should be one - of :code:`none`, :code:`basic`, or :code:`ntlm`. + of :code:`none`, :code:`basic`, or :code:`ntlm2`. HTTP Digest authentication is supported as well, but only via the :code:`auto` or :code:`auto-nct` flags (below). This must replace @@ -29,7 +29,9 @@ http-proxy proxy.example.net 3128 authfile.txt http-proxy proxy.example.net 3128 stdin http-proxy proxy.example.net 3128 auto basic - http-proxy proxy.example.net 3128 auto-nct ntlm + http-proxy proxy.example.net 3128 auto-nct ntlm2 + + Note that support for NTLMv1 proxies was removed with OpenVPN 2.7. --http-proxy-option args Set extended HTTP proxy options. Requires an option ``type`` as argument diff --git a/src/openvpn/crypto_backend.h b/src/openvpn/crypto_backend.h index 842e73e..a5371c8 100644 --- a/src/openvpn/crypto_backend.h +++ b/src/openvpn/crypto_backend.h @@ -157,17 +157,6 @@ */ int rand_bytes(uint8_t *output, int len); -/** - * Encrypt the given block, using DES ECB mode - * - * @param key DES key to use. - * @param src Buffer containing the 8-byte source. - * @param dst Buffer containing the 8-byte destination - */ -void cipher_des_encrypt_ecb(const unsigned char key[DES_KEY_LENGTH], - unsigned char src[DES_KEY_LENGTH], - unsigned char dst[DES_KEY_LENGTH]); - /* * * Generic cipher key type functions diff --git a/src/openvpn/crypto_mbedtls.c b/src/openvpn/crypto_mbedtls.c index ad3439c..f4c1cd2 100644 --- a/src/openvpn/crypto_mbedtls.c +++ b/src/openvpn/crypto_mbedtls.c @@ -758,17 +758,6 @@ return 1; } -void -cipher_des_encrypt_ecb(const unsigned char key[DES_KEY_LENGTH], - unsigned char src[DES_KEY_LENGTH], - unsigned char dst[DES_KEY_LENGTH]) -{ - mbedtls_des_context ctx; - - ASSERT(mbed_ok(mbedtls_des_setkey_enc(&ctx, key))); - ASSERT(mbed_ok(mbedtls_des_crypt_ecb(&ctx, src, dst))); -} - /* diff --git a/src/openvpn/crypto_openssl.c b/src/openvpn/crypto_openssl.c index fe1254f..e8ddf14 100644 --- a/src/openvpn/crypto_openssl.c +++ b/src/openvpn/crypto_openssl.c @@ -988,50 +988,6 @@ return cipher_ctx_final(ctx, dst, dst_len); } -void -cipher_des_encrypt_ecb(const unsigned char key[DES_KEY_LENGTH], - unsigned char src[DES_KEY_LENGTH], - unsigned char dst[DES_KEY_LENGTH]) -{ - /* We are using 3DES here with three times the same key to cheat - * and emulate DES as 3DES is better supported than DES */ - EVP_CIPHER_CTX *ctx =3D EVP_CIPHER_CTX_new(); - if (!ctx) - { - crypto_msg(M_FATAL, "%s: EVP_CIPHER_CTX_new() failed", __func__); - } - - unsigned char key3[DES_KEY_LENGTH*3]; - for (int i =3D 0; i < 3; i++) - { - memcpy(key3 + (i * DES_KEY_LENGTH), key, DES_KEY_LENGTH); - } - - if (!EVP_EncryptInit_ex(ctx, EVP_des_ede3_ecb(), NULL, key3, NULL)) - { - crypto_msg(M_FATAL, "%s: EVP_EncryptInit_ex() failed", __func__); - } - - int len; - - /* The EVP_EncryptFinal method will write to the dst+len pointer even - * though there is nothing to encrypt anymore, provide space for that = to - * not overflow the stack */ - unsigned char dst2[DES_KEY_LENGTH * 2]; - if (!EVP_EncryptUpdate(ctx, dst2, &len, src, DES_KEY_LENGTH)) - { - crypto_msg(M_FATAL, "%s: EVP_EncryptUpdate() failed", __func__); - } - - if (!EVP_EncryptFinal(ctx, dst2 + len, &len)) - { - crypto_msg(M_FATAL, "%s: EVP_EncryptFinal() failed", __func__); - } - - memcpy(dst, dst2, DES_KEY_LENGTH); - - EVP_CIPHER_CTX_free(ctx); -} /* * diff --git a/src/openvpn/ntlm.c b/src/openvpn/ntlm.c index 2e77214..bc33f41 100644 --- a/src/openvpn/ntlm.c +++ b/src/openvpn/ntlm.c @@ -55,19 +55,6 @@ static void -create_des_keys(const unsigned char *hash, unsigned char *key) -{ - key[0] =3D hash[0]; - key[1] =3D ((hash[0] & 1) << 7) | (hash[1] >> 1); - key[2] =3D ((hash[1] & 3) << 6) | (hash[2] >> 2); - key[3] =3D ((hash[2] & 7) << 5) | (hash[3] >> 3); - key[4] =3D ((hash[3] & 15) << 4) | (hash[4] >> 4); - key[5] =3D ((hash[4] & 31) << 3) | (hash[5] >> 5); - key[6] =3D ((hash[5] & 63) << 2) | (hash[6] >> 6); - key[7] =3D ((hash[6] & 127) << 1); -} - -static void gen_md4_hash(const uint8_t *data, int data_len, uint8_t *result) { /* result is 16 byte md4 hash */ @@ -210,7 +197,7 @@ uint8_t phase3[464]; uint8_t md4_hash[MD4_DIGEST_LENGTH + 5]; - uint8_t challenge[8], ntlm_response[24]; + uint8_t challenge[8]; int i, ret_val; uint8_t ntlmv2_response[144]; @@ -227,8 +214,6 @@ char username[128]; char *separator; - bool ntlmv2_enabled =3D (p->auth_method =3D=3D HTTP_AUTH_NTLM2); - ASSERT(strlen(p->up.username) > 0); ASSERT(strlen(p->up.password) > 0); @@ -282,126 +267,102 @@ challenge[i] =3D buf2[i+24]; } - if (ntlmv2_enabled) /* Generate NTLMv2 response */ + /* Generate NTLMv2 response */ + int tib_len; + + /* NTLMv2 hash */ + strcpy(userdomain, username); + my_strupr(userdomain); + if (strlen(username) + strlen(domain) < sizeof(userdomain)) { - int tib_len; - - /* NTLMv2 hash */ - strcpy(userdomain, username); - my_strupr(userdomain); - if (strlen(username) + strlen(domain) < sizeof(userdomain)) - { - strcat(userdomain, domain); - } - else - { - msg(M_INFO, "Warning: Username or domain too long"); - } - unicodize(userdomain_u, userdomain); - gen_hmac_md5((uint8_t *)userdomain_u, 2 * strlen(userdomain), md4_= hash, - ntlmv2_hash); - - /* NTLMv2 Blob */ - memset(ntlmv2_blob, 0, 128); /* Clear blob = buffer */ - ntlmv2_blob[0x00] =3D 1; /* Signature= */ - ntlmv2_blob[0x01] =3D 1; /* Signature= */ - ntlmv2_blob[0x04] =3D 0; /* Reserved = */ - gen_timestamp(&ntlmv2_blob[0x08]); /* 64-bit Time= stamp */ - gen_nonce(&ntlmv2_blob[0x10]); /* 64-bit Clie= nt Nonce */ - ntlmv2_blob[0x18] =3D 0; /* Unknown, = zero should work */ - - /* Add target information block to the blob */ - - /* Check for Target Information block */ - /* The NTLM spec instructs to interpret these 4 consecutive bytes = as a - * 32bit long integer. However, no endianness is specified. - * The code here and that found in other NTLM implementations point - * towards the assumption that the byte order on the wire has to - * match the order on the sending and receiving hosts. Probably NT= LM has - * been thought to be always running on x86_64/i386 machine thus - * implying Little-Endian everywhere. - * - * This said, in case of future changes, we should keep in mind th= at the - * byte order on the wire for the NTLM header is LE. - */ - const size_t hoff =3D 0x14; - unsigned long flags =3D buf2[hoff] | (buf2[hoff + 1] << 8) - |(buf2[hoff + 2] << 16) | (buf2[hoff + 3] <<= 24); - if ((flags & 0x00800000) =3D=3D 0x00800000) - { - tib_len =3D buf2[0x28]; /* Get Target Information b= lock size */ - if (tib_len > 96) - { - tib_len =3D 96; - } - - { - uint8_t *tib_ptr; - uint8_t tib_pos =3D buf2[0x2c]; - if (tib_pos + tib_len > sizeof(buf2)) - { - return NULL; - } - /* Get Target Information block pointer */ - tib_ptr =3D buf2 + tib_pos; - /* Copy Target Information block into the blob */ - memcpy(&ntlmv2_blob[0x1c], tib_ptr, tib_len); - } - } - else - { - tib_len =3D 0; - } - - /* Unknown, zero works */ - ntlmv2_blob[0x1c + tib_len] =3D 0; - - /* Get blob length */ - ntlmv2_blob_size =3D 0x20 + tib_len; - - /* Add challenge from message 2 */ - memcpy(&ntlmv2_response[8], challenge, 8); - - /* hmac-md5 */ - gen_hmac_md5(&ntlmv2_response[8], ntlmv2_blob_size + 8, ntlmv2_has= h, - ntlmv2_hmacmd5); - - /* Add hmac-md5 result to the blob. - * Note: This overwrites challenge previously written at - * ntlmv2_response[8..15] */ - memcpy(ntlmv2_response, ntlmv2_hmacmd5, MD5_DIGEST_LENGTH); + strcat(userdomain, domain); } - else /* Generate NTLM response */ + else { - unsigned char key1[DES_KEY_LENGTH], key2[DES_KEY_LENGTH]; - unsigned char key3[DES_KEY_LENGTH]; + msg(M_INFO, "Warning: Username or domain too long"); + } + unicodize(userdomain_u, userdomain); + gen_hmac_md5((uint8_t *)userdomain_u, 2 * strlen(userdomain), md4_hash, + ntlmv2_hash); - create_des_keys(md4_hash, key1); - cipher_des_encrypt_ecb(key1, challenge, ntlm_response); + /* NTLMv2 Blob */ + memset(ntlmv2_blob, 0, 128); /* Clear blob buff= er */ + ntlmv2_blob[0x00] =3D 1; /* Signature */ + ntlmv2_blob[0x01] =3D 1; /* Signature */ + ntlmv2_blob[0x04] =3D 0; /* Reserved */ + gen_timestamp(&ntlmv2_blob[0x08]); /* 64-bit Timestam= p */ + gen_nonce(&ntlmv2_blob[0x10]); /* 64-bit Client N= once */ + ntlmv2_blob[0x18] =3D 0; /* Unknown, zero= should work */ - create_des_keys(&md4_hash[DES_KEY_LENGTH - 1], key2); - cipher_des_encrypt_ecb(key2, challenge, &ntlm_response[DES_KEY_LEN= GTH]); + /* Add target information block to the blob */ - create_des_keys(&md4_hash[2 * (DES_KEY_LENGTH - 1)], key3); - cipher_des_encrypt_ecb(key3, challenge, - &ntlm_response[DES_KEY_LENGTH * 2]); + /* Check for Target Information block */ + /* The NTLM spec instructs to interpret these 4 consecutive bytes as a + * 32bit long integer. However, no endianness is specified. + * The code here and that found in other NTLM implementations point + * towards the assumption that the byte order on the wire has to + * match the order on the sending and receiving hosts. Probably NTLM h= as + * been thought to be always running on x86_64/i386 machine thus + * implying Little-Endian everywhere. + * + * This said, in case of future changes, we should keep in mind that t= he + * byte order on the wire for the NTLM header is LE. + */ + const size_t hoff =3D 0x14; + unsigned long flags =3D buf2[hoff] | (buf2[hoff + 1] << 8) + |(buf2[hoff + 2] << 16) | (buf2[hoff + 3] << 24); + if ((flags & 0x00800000) =3D=3D 0x00800000) + { + tib_len =3D buf2[0x28]; /* Get Target Information block= size */ + if (tib_len > 96) + { + tib_len =3D 96; + } + + { + uint8_t *tib_ptr; + uint8_t tib_pos =3D buf2[0x2c]; + if (tib_pos + tib_len > sizeof(buf2)) + { + return NULL; + } + /* Get Target Information block pointer */ + tib_ptr =3D buf2 + tib_pos; + /* Copy Target Information block into the blob */ + memcpy(&ntlmv2_blob[0x1c], tib_ptr, tib_len); + } + } + else + { + tib_len =3D 0; } + /* Unknown, zero works */ + ntlmv2_blob[0x1c + tib_len] =3D 0; + + /* Get blob length */ + ntlmv2_blob_size =3D 0x20 + tib_len; + + /* Add challenge from message 2 */ + memcpy(&ntlmv2_response[8], challenge, 8); + + /* hmac-md5 */ + gen_hmac_md5(&ntlmv2_response[8], ntlmv2_blob_size + 8, ntlmv2_hash, + ntlmv2_hmacmd5); + + /* Add hmac-md5 result to the blob. + * Note: This overwrites challenge previously written at + * ntlmv2_response[8..15] */ + memcpy(ntlmv2_response, ntlmv2_hmacmd5, MD5_DIGEST_LENGTH); memset(phase3, 0, sizeof(phase3)); /* clear reply */ strcpy((char *)phase3, "NTLMSSP\0"); /* signature */ phase3[8] =3D 3; /* type 3 */ - if (ntlmv2_enabled) /* NTLMv2 response */ - { - add_security_buffer(0x14, ntlmv2_response, ntlmv2_blob_size + 16, - phase3, &phase3_bufpos); - } - else /* NTLM response */ - { - add_security_buffer(0x14, ntlm_response, 24, phase3, &phase3_bufpo= s); - } + /* NTLMv2 response */ + add_security_buffer(0x14, ntlmv2_response, ntlmv2_blob_size + 16, + phase3, &phase3_bufpos); /* username in ascii */ add_security_buffer(0x24, username, strlen(username), phase3, diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 4c00353..e498114 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -144,7 +144,7 @@ " through an HTTP proxy at address s and port p.\n" " If proxy authentication is required,\n" " up is a file containing username/password on 2 line= s, or\n" - " 'stdin' to prompt from console. Add auth=3D'ntlm' = if\n" + " 'stdin' to prompt from console. Add auth=3D'ntlm2'= if\n" " the proxy requires NTLM authentication.\n" "--http-proxy s p 'auto[-nct]' : Like the above directive, but automat= ically\n" " determine auth method and query for username/passwo= rd\n" diff --git a/src/openvpn/proxy.c b/src/openvpn/proxy.c index 3b6f7df..5a1b4e1 100644 --- a/src/openvpn/proxy.c +++ b/src/openvpn/proxy.c @@ -354,7 +354,7 @@ { msg(D_PROXY, "PROXY AUTH NTLM: '%s'", buf); *data =3D NULL; - ret =3D HTTP_AUTH_NTLM; + ret =3D HTTP_AUTH_NTLM2; } #endif } @@ -517,9 +517,7 @@ #if NTLM else if (!strcmp(o->auth_method_string, "ntlm")) { - msg(M_INFO, "NTLM v1 authentication is deprecated and will be = removed in " - "OpenVPN 2.7"); - p->auth_method =3D HTTP_AUTH_NTLM; + msg(M_FATAL, "ERROR: NTLM v1 support has been removed. For now= , you can use NTLM v2 by selecting ntlm2 but it is deprecated as well."); } else if (!strcmp(o->auth_method_string, "ntlm2")) { @@ -534,13 +532,13 @@ } /* only basic and NTLM/NTLMv2 authentication supported so far */ - if (p->auth_method =3D=3D HTTP_AUTH_BASIC || p->auth_method =3D=3D HTT= P_AUTH_NTLM || p->auth_method =3D=3D HTTP_AUTH_NTLM2) + if (p->auth_method =3D=3D HTTP_AUTH_BASIC || p->auth_method =3D=3D HTT= P_AUTH_NTLM2) { get_user_pass_http(p, true); } #if !NTLM - if (p->auth_method =3D=3D HTTP_AUTH_NTLM || p->auth_method =3D=3D HTTP= _AUTH_NTLM2) + if (p->auth_method =3D=3D HTTP_AUTH_NTLM2) { msg(M_FATAL, "Sorry, this version of " PACKAGE_NAME " was built wi= thout NTLM Proxy support."); } @@ -646,8 +644,7 @@ /* get user/pass if not previously given */ if (p->auth_method =3D=3D HTTP_AUTH_BASIC - || p->auth_method =3D=3D HTTP_AUTH_DIGEST - || p->auth_method =3D=3D HTTP_AUTH_NTLM) + || p->auth_method =3D=3D HTTP_AUTH_DIGEST) { get_user_pass_http(p, false); } @@ -697,7 +694,6 @@ break; #if NTLM - case HTTP_AUTH_NTLM: case HTTP_AUTH_NTLM2: /* keep-alive connection */ openvpn_snprintf(buf, sizeof(buf), "Proxy-Connection: Keep= -Alive"); @@ -752,7 +748,7 @@ { processed =3D true; } - else if ((p->auth_method =3D=3D HTTP_AUTH_NTLM || p->auth_method = =3D=3D HTTP_AUTH_NTLM2) && !processed) /* check for NTLM */ + else if ((p->auth_method =3D=3D HTTP_AUTH_NTLM2) && !processed) /*= check for NTLM */ { #if NTLM /* look for the phase 2 response */ diff --git a/src/openvpn/proxy.h b/src/openvpn/proxy.h index 83b799e..7900244 100644 --- a/src/openvpn/proxy.h +++ b/src/openvpn/proxy.h @@ -31,7 +31,7 @@ #define HTTP_AUTH_NONE 0 #define HTTP_AUTH_BASIC 1 #define HTTP_AUTH_DIGEST 2 -#define HTTP_AUTH_NTLM 3 +/* #define HTTP_AUTH_NTLM 3 removed in OpenVPN 2.7 */ #define HTTP_AUTH_NTLM2 4 #define HTTP_AUTH_N 5 /* number of HTTP_AUTH methods */ diff --git a/tests/unit_tests/openvpn/test_crypto.c b/tests/unit_tests/open= vpn/test_crypto.c index 9e5469a..08c9c44 100644 --- a/tests/unit_tests/openvpn/test_crypto.c +++ b/tests/unit_tests/openvpn/test_crypto.c @@ -210,29 +210,6 @@ hmac_ctx_free(hmac); } -void -test_des_encrypt(void **state) -{ - /* We have a small des encrypt method that is only for NTLMv1. This un= it - * test ensures that it is not accidentally broken */ - - const unsigned char des_key[DES_KEY_LENGTH] =3D {0x42, 0x23}; - - const char *src =3D "MoinWelt"; - - /* cipher_des_encrypt_ecb wants a non const */ - unsigned char *src2 =3D (unsigned char *) strdup(src); - - unsigned char dst[DES_KEY_LENGTH]; - cipher_des_encrypt_ecb(des_key, src2, dst); - - const unsigned char dst_good[DES_KEY_LENGTH] =3D {0xd3, 0x8f, 0x61, 0x= f7, 0xbe, 0x27, 0xb6, 0xa2}; - - assert_memory_equal(dst, dst_good, DES_KEY_LENGTH); - - free(src2); -} - /* This test is in test_crypto as it calls into the functions that calcula= te * the crypto overhead */ static void @@ -473,7 +450,6 @@ cmocka_unit_test(crypto_translate_cipher_names), cmocka_unit_test(crypto_test_tls_prf), cmocka_unit_test(crypto_test_hmac), - cmocka_unit_test(test_des_encrypt), cmocka_unit_test(test_occ_mtu_calculation), cmocka_unit_test(test_mssfix_mtu_calculation) }; -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/379?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I0dcb2dac4136f194da7050a8ea8495e9faba9dd9 Gerrit-Change-Number: 379 Gerrit-PatchSet: 5 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-MessageType: newpatchset --pgfiVIy8j+Q= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 uploaded patch set #5 to the change originally cr= eated by flichtenheld.

View Change

The following approvals got outda= ted and were removed: Code-Review+2 by plaisthos

Remove support for NTLM v1 proxy authentication<=
br>
Due to the limitation of the protocol it is not
considered secure= . Better to use basic auth instead
of a false sense of security. NTLM v2= remains
supported for now.

Change-Id: I0dcb2dac4136f194da7050a8e= a8495e9faba9dd9
Signed-off-by: Frank Lichtenheld <frank@...2641...>= ;
Acked-by: Arne Schwabe <arne-openvpn@...1227...>
Message-Id: = <20231230143733.4426-1-gert@...1296...>
URL: https://www.mail-arch= ive.com/openvpn-devel@lists.sourceforge.net/msg27862.html
Signed-off-by:= Gert Doering <gert@...1296...>
---
M Changes.rst
M doc/man-= sections/proxy-options.rst
M src/openvpn/crypto_backend.h
M src/openv= pn/crypto_mbedtls.c
M src/openvpn/crypto_openssl.c
M src/openvpn/ntlm= .c
M src/openvpn/options.c
M src/openvpn/proxy.c
M src/openvpn/pro= xy.h
M tests/unit_tests/openvpn/test_crypto.c
10 files changed, 101 i= nsertions(+), 226 deletions(-)

git pull ssh://gerrit.openvpn.net:=
29418/openvpn refs/changes/79/379/5
diff --git a/Changes.rst b/Chan=
ges.rst
index 3676dce..69c811d 100644
--- a= /Changes.rst
+++ b/Changes.rst
@@ -1,5 +1,7= @@
Overview of changes in 2.7
=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+Deprecated features
+-------------------
``secret`` support has been removed by default.
static key mode (non-TLS) is no longer considered "good and secu= re enough"

for today's requirements. Use TLS= mode instead. If deploying a PKI CA
@@ -10,6 +12,10 @@
``--allow-deprecated-insecure-static-crypto`` but will b= e removed in
OpenVPN 2.8.

= +NTLMv1 support has been remove= d because it is completely insecure.
+ NTLMv2 support is still available, but will removed in= a future release.
+<= /span>
+
Ov= erview of changes in 2.6
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

<= span>diff --git a/doc/man-sections/proxy-options.rst b/doc/man-sections/pro= xy-options.rst

index 548d1c0..9cf311f 100644
--- a/doc/man-sections/proxy-options.rst

+++ b/doc/man-se= ctions/proxy-options.rst
@@ -7,7 +7,7 @@
= ``--http-proxy-user-pass`` option. (See section on inline files)
The last optional argument is an ``auth-method`= ` which should be one
-= of :code:`none`, :code:`basic`, or :code:`ntlm`.
+ of :code:`none`, :code:`basic`, or :code:`= ntlm2`.

HTTP Digest authentication is = supported as well, but only via the
:code:`auto` or :cod= e:`auto-nct` flags (below). This must replace
@@ -29,7 +29= ,9 @@
http-proxy proxy.example.net 3128 authfile.txt<= /span>
http-proxy proxy.example.net 3128 stdin
http-proxy proxy.example.net 3128 auto basic

- http-proxy proxy.example.net 3128 auto= -nct ntlm
+ http-= proxy proxy.example.net 3128 auto-nct ntlm2
+
+ Note that support for NTLMv1 proxies was removed with OpenVPN 2.7.

--http-proxy-option args
= Set extended HTTP proxy options. Requires an option ``type`` as argument=
diff --git a/src/openvpn/crypto_backend.h b/src/openvpn/cr= ypto_backend.h
index 842e73e..a5371c8 100644
--- a/src/openvpn/crypto_backend.h

+++ b/src/openvpn/cryp= to_backend.h
@@ -157,17 +157,6 @@
*/
int rand_bytes(uint8_t *output, int len);

-/**
- * Encrypt the given block, using DES ECB = mode
- *
- * @param key DES key to u= se.

- * @param src = Buffer containing the 8-byte source.
- * @param dst Buffer containing the 8-byte d= estination
- */<= br>-void cipher_des_encrypt_ecb(c= onst unsigned char key[DES_KEY_LENGTH],
- unsigned char src[DES_KEY_LEN= GTH],
- = unsigned char dst[DES_KEY_LENGTH]);
-
/*
* * Generic cipher key type functions
diff --git a/= src/openvpn/crypto_mbedtls.c b/src/openvpn/crypto_mbedtls.c
index ad3439c..f4c1cd2 100644

--- a/src/openvpn/crypto_mbe= dtls.c
+++ b/src/openvpn/crypto_mbedtls.c
@= @ -758,17 +758,6 @@
return 1;
}

-void
-cipher_des_encrypt_ecb(con= st unsigned char key[DES_KEY_LENGTH],
- unsigned char src[DES_KEY_LENGTH],
- = unsigned char dst[DES_KEY_LENGTH])
-{
- mbe= dtls_des_context ctx;
-=
- ASSERT(mbed_ok(mb= edtls_des_setkey_enc(&ctx, key)));
- ASSERT(mbed_ok(mbedtls_des_crypt_ecb(&ctx, src, ds= t)));
-}
-


=
/*
diff --git a/src/openvpn/crypto_openss= l.c b/src/openvpn/crypto_openssl.c
index fe1254f..e8ddf14 1= 00644
--- a/src/openvpn/crypto_openssl.c
++= + b/src/openvpn/crypto_openssl.c
@@ -988,50 +988,6 @@
return cipher_ctx_final(ctx, dst, dst_len);
}


-= void
-cipher_des_encryp= t_ecb(const unsigned char key[DES_KEY_LENGTH],
- unsigned char src[DES_KEY_L= ENGTH],
- = unsigned char dst[DES_KEY_LENGTH])
-{
- /* We are using 3DES here with three times the same key to cheat
- * and emulate DES as = 3DES is better supported than DES */
- EVP_CIPHER_CTX *ctx =3D EVP_CIPHER_CTX_new();
= - if (!ctx)
- {
- crypto_msg(M_FATAL, "%s: EVP_CIPHER_CTX_new= () failed", __func__);
- }
-- unsigned char key3[DES_KEY_= LENGTH*3];
- for (in= t i =3D 0; i < 3; i++)
- {
- memc= py(key3 + (i * DES_KEY_LENGTH), key, DES_KEY_LENGTH);
- }
-
- i= f (!EVP_EncryptInit_ex(ctx, EVP_des_ede3_ecb(), NULL, key3, NULL))- {
- crypto_msg(M_FATAL, "%s: EVP_Encr= yptInit_ex() failed", __func__);
- }
-=
- int len;-
- /* The EVP_EncryptFinal method will write to th= e dst+len pointer even
= - * though there is nothing to encrypt anymore, provide space for that = to
- * not overflow= the stack */
- unsi= gned char dst2[DES_KEY_LENGTH * 2];
- if (!EVP_EncryptUpdate(ctx, dst2, &len, src, DES_KEY_= LENGTH))
- {<= br>- crypto_msg(M_FATAL, &= quot;%s: EVP_EncryptUpdate() failed", __func__);
- }
-
- i= f (!EVP_EncryptFinal(ctx, dst2 + len, &len))
- {
- crypto_msg(M_FATAL, "%s: EVP_EncryptFinal() failed&= quot;, __func__);
- = }
-
- memcpy(dst, dst2, DES_KEY_LENGTH);
-
- EVP_CIPHER_CTX_free(ctx);
-}


/*

*
diff --git a/src/openvpn/ntlm.c b/= src/openvpn/ntlm.c
index 2e77214..bc33f41 100644
= --- a/src/openvpn/ntlm.c
+++ b/src/openvpn/ntlm.c
@@ -55,19 +55,6 @@

<= br> static void
-= create_des_keys(const unsigned char *hash, unsigned char *key)
-{

- key[0] =3D hash[0];
- key[1] =3D ((hash[0] & 1) << 7) | (has= h[1] >> 1);
- = key[2] =3D ((hash[1] & 3) << 6) | (hash[2] >> 2);- key[3] =3D ((hash[2] & = 7) << 5) | (hash[3] >> 3);
- key[4] =3D ((hash[3] & 15) << 4) | (hash[4] = >> 4);
- key[5= ] =3D ((hash[4] & 31) << 3) | (hash[5] >> 5);
- key[6] =3D ((hash[5] & 63) = << 2) | (hash[6] >> 6);

- key[7] =3D ((hash[6] & 127) << 1);
-}

-
-= static void
gen_md4_hash(const uint8_t *data, int data_len= , uint8_t *result)
{
/* result is 16 = byte md4 hash */
@@ -210,7 +197,7 @@
u= int8_t phase3[464];

uint8_t md4_hash= [MD4_DIGEST_LENGTH + 5];
+ uint8_t challenge[8];
= int i, ret_val;

uint8_t ntlmv2_respo= nse[144];
@@ -227,8 +214,6 @@
char use= rname[128];
char *separator;
<= br>- bool ntlmv2_enabled =3D (= p->auth_method =3D=3D HTTP_AUTH_NTLM2);
-
ASSERT(strlen(p->up.username)= > 0);
ASSERT(strlen(p->up.password) > 0);

@@ -282,126 +267,102 @@
= challenge[i] =3D buf2[i+24];
}
=
- if (ntlmv2_enable= d) /* Generate NTLMv2 response */
+ /* Generate NTLMv2 response */
+ int tib_len;
+
+ /* NTLMv2 hash */
+ strcpy(userdomain, username);
+ my_strupr(userdomain);
+ if (strlen(username) + strlen(domain= ) < sizeof(userdomain))
{
- int tib_len;
-
- /* NTLMv2 hash */
- strcpy(userdomain, username);
- my_strupr(userdomain);
- if (strlen(username) + strlen(do= main) < sizeof(userdomain))
- {
- = strcat(userdomain, domain);
- }
- = {
- msg(M_= INFO, "Warning: Username or domain too long");
- }
- unicodize(userdomain_u, userdomain);<= br>- gen_hmac_md5((uint8_t= *)userdomain_u, 2 * strlen(userdomain), md4_hash,
- ntlmv2_hash);
<= span style=3D"color: hsl(0, 100%, 40%);">-

- /* NTLMv2 Blob */
- memset(ntlmv2_blob, 0, 128); = /* Clear blob buffer */
- ntlmv2_blob[0x00] =3D 1; /= * Signature */
- = ntlmv2_blob[0x01] =3D 1; /* Signature */
- ntlmv2_blob[0x04] = =3D 0; /* Reserved */
- gen_timestamp(&ntlmv2_blob[0x08]);= /* 64-bit Timestamp */
- gen_nonce(&ntlmv2_blob[0x10]); = /* 64-bit Client Nonce */
- ntlmv2_blob[0x18] =3D 0; /= * Unknown, zero should work */
-
- /* A= dd target information block to the blob */
-
-= /* Check for Target Information block */
- /* The NTLM spec instructs to interpret = these 4 consecutive bytes as a
- * 32bit long integer. However, no endianness is specified= .
- * The code = here and that found in other NTLM implementations point
- * towards the assumption that th= e byte order on the wire has to
- * match the order on the sending and receiving hosts. Pr= obably NTLM has
- = * been thought to be always running on x86_64/i386 machine thus- * implying Little-End= ian everywhere.
- = *
- * This s= aid, in case of future changes, we should keep in mind that the
<= span style=3D"color: hsl(0, 100%, 40%);">- * byte order on the wire= for the NTLM header is LE.

- */
- = const size_t hoff =3D 0x14;
- unsigned long flags =3D buf2[hoff] | (buf2[hoff + 1] <= < 8)
- = |(buf2[hoff + 2] << 16) | (buf2[hoff + 3] << 24= );
- if ((flags = & 0x00800000) =3D=3D 0x00800000)
- {
- = if (tib_len > 96)
- {
- = tib_len =3D 96;
- }
-
- {- uint8_t *tib_pt= r;
- uin= t8_t tib_pos =3D buf2[0x2c];
- if (tib_pos + tib_len > sizeof(buf2))
<= span style=3D"color: hsl(0, 100%, 40%);">- {

- return NULL;
- }- /* Get Target = Information block pointer */
- tib_ptr =3D buf2 + tib_pos;
- /* Copy Target Information blo= ck into the blob */
- = memcpy(&ntlmv2_blob[0x1c], tib_ptr, tib_len);
<= span style=3D"color: hsl(0, 100%, 40%);">- }

- }
- else
- {
= - tib_len =3D 0;
- }
-
- /* Unknown, zero wo= rks */
- ntlmv2_= blob[0x1c + tib_len] =3D 0;
-
- /* Get = blob length */
- = ntlmv2_blob_size =3D 0x20 + tib_len;
-
- = /* Add challenge from message 2 */
- memcpy(&ntlmv2_response[8], challenge, 8);
-
- /* hmac-md5 */
- gen_hmac_md5(&ntlmv2_response[8], = ntlmv2_blob_size + 8, ntlmv2_hash,
- ntlmv2_hmacmd5);
-
- /* Add hmac-md5 result to the blob.
- * Note: This overwrites challenge = previously written at
-= * ntlmv2_response[8..15] */
- memcpy(ntlmv2_response, ntlmv2_hmacmd5, MD5_DIGEST_L= ENGTH);
+ strc= at(userdomain, domain);
}
- else /* Generate NTLM response */
+ else

{<= /span>
- unsigned char = key1[DES_KEY_LENGTH], key2[DES_KEY_LENGTH];
- unsigned char key3[DES_KEY_LENGTH];+ msg(M_INFO, "War= ning: Username or domain too long");
+ }
+ unicodize(userdomain_u, userdomain);
+ gen_hmac_md5((uint8_t *)userdomain_u, 2 * = strlen(userdomain), md4_hash,
+ ntlmv2_hash);

- create_des_keys(md4_hash, key1= );
- cipher_des_= encrypt_ecb(key1, challenge, ntlm_response);
+ /* NTLMv2 Blob */
+ memset(ntlmv2_blob, 0, 128); = /* Clear blob buffer */
+ ntlmv2_blob[0x00] =3D 1; /* Si= gnature */
+ ntlmv= 2_blob[0x01] =3D 1; /* Signature */
= + ntlmv2_blob[0x04] =3D 0; = /* Reserved */
+ gen_timestamp(&ntlmv2_blob[0x08]); = /* 64-bit Timestamp */
+ gen_nonce(&ntlmv2_blob[0x10]); /* 6= 4-bit Client Nonce */
+ ntlmv2_blob[0x18] =3D 0; /* Unknown, zer= o should work */

- create_des_keys(&md4_hash[DES_KEY_LENGTH - 1], key= 2);
- cipher_des= _encrypt_ecb(key2, challenge, &ntlm_response[DES_KEY_LENGTH]);+ /* Add target informatio= n block to the blob */

- create_des_keys(&md4_hash[2 * (DES_KEY_LENGT= H - 1)], key3);
- = cipher_des_encrypt_ecb(key3, challenge,
- &ntlm_response[DES_K= EY_LENGTH * 2]);
+ = /* Check for Target Information block */
+ /* The NTLM spec instructs to interpret these 4 c= onsecutive bytes as a
+ * 32bit long integer. However, no endianness is specified.+ * The code here and that= found in other NTLM implementations point
+ * towards the assumption that the byte order on= the wire has to
+ = * match the order on the sending and receiving hosts. Probably NTLM has
+ * been thought t= o be always running on x86_64/i386 machine thus
+ * implying Little-Endian everywhere.
+ *
+ * This said, in case of future ch= anges, we should keep in mind that the
+ * byte order on the wire for the NTLM header is LE.=
+ */
<= span style=3D"color: hsl(120, 100%, 40%);">+ const size_t hoff =3D 0x14;=

+ unsigned long f= lags =3D buf2[hoff] | (buf2[hoff + 1] << 8)
+ |(buf2[hoff + 2] &l= t;< 16) | (buf2[hoff + 3] << 24);
+ if ((flags & 0x00800000) =3D=3D 0x00800000)<= /span>
+ {
+ tib_len =3D buf2[0x28]; = /* Get Target Information block size */

+ if (tib_len > 96)
+ {
+ tib_len =3D 96;
+ }
+
+ {
+ = uint8_t *tib_ptr;
+ uint8_t tib_pos =3D buf2[0x2c];
+ if (tib_pos + tib_len > sizeo= f(buf2))
+ = {
+ r= eturn NULL;
+ = }
+ /*= Get Target Information block pointer */
+ tib_ptr =3D buf2 + tib_pos;
+ /* Copy Target Informa= tion block into the blob */

+ memcpy(&ntlmv2_blob[0x1c], tib_ptr, tib_len);
+ }
+ }

+ else
+ {
= + tib_len =3D 0;
}

= + /* Unknown, zero works */<= /span>
+ ntlmv2_blob[0x1c= + tib_len] =3D 0;
+<= /span>
+ /* Get blob leng= th */
+ ntlmv2_blo= b_size =3D 0x20 + tib_len;
+
+ /* Add c= hallenge from message 2 */
+ memcpy(&ntlmv2_response[8], challenge, 8);
+
+ /* hmac-md5 */
+ gen_hmac_md5(&ntlmv2_response[8], ntlmv2_blob_siz= e + 8, ntlmv2_hash,
+= ntlmv2_hmacmd5);
+
+ /= * Add hmac-md5 result to the blob.
+ * Note: This overwrites challenge previously written at=
+ * ntlmv2_respo= nse[8..15] */
+ me= mcpy(ntlmv2_response, ntlmv2_hmacmd5, MD5_DIGEST_LENGTH);
=
memset(phase3, 0, sizeof(phase3)); /* clear rep= ly */

strcpy((char *)phase3, "N= TLMSSP\0"); /* signature */
phase3[8] =3D 3;= /* type 3 */

- if (ntlmv2_enabled) /* NTLMv2 response */
= - {
- add_security_buffer(0x14, ntlmv2_respons= e, ntlmv2_blob_size + 16,
- phase3, &phase3_bufpos);
- }

- else /* NTLM response */
- {
- add_security_buffer(0x14, ntlm_response, 24, ph= ase3, &phase3_bufpos);
- }
+ /* NT= LMv2 response */
+ = add_security_buffer(0x14, ntlmv2_response, ntlmv2_blob_size + 16,+ phas= e3, &phase3_bufpos);

/* username= in ascii */
add_security_buffer(0x24, username, strle= n(username), phase3,
diff --git a/src/openvpn/options.c b/s= rc/openvpn/options.c
index 4c00353..e498114 100644--- a/src/openvpn/options.c
+++ b/src/openvpn/optio= ns.c
@@ -144,7 +144,7 @@
" = through an HTTP proxy at address s and port p.\n" " If proxy authentication is required,\n&= quot;
" up is a file containing = username/password on 2 lines, or\n"
- " 'stdin' to prompt fr= om console. Add auth=3D'ntlm' if\n"
+ " 'stdin' t= o prompt from console. Add auth=3D'ntlm2' if\n"
" the proxy requires NTLM authentication.\n&q= uot;

"--http-proxy s p 'auto[-nct]' : Lik= e the above directive, but automatically\n"
"= ; determine auth method and query for username/password\n&= quot;
diff --git a/src/openvpn/proxy.c b/src/openvpn/proxy.= c
index 3b6f7df..5a1b4e1 100644
--- a/src/o= penvpn/proxy.c
+++ b/src/openvpn/proxy.c
@@= -354,7 +354,7 @@
{
= msg(D_PROXY, "PROXY AUTH NTLM: '%s'", buf);=
*data =3D NULL;
- ret =3D HTTP_AUTH_NTLM;
+ ret =3D HTTP_AUTH_= NTLM2;

}
#endif
}

@@ -517,9 +517,7 @@
#if NTLM=
else if (!strcmp(o->auth_method_string, "= ntlm"))
{
- msg(M_INFO, "NTLM v1 authentication is d= eprecated and will be removed in "
- "OpenVPN 2.7");
- p->auth_method =3D HTT= P_AUTH_NTLM;

+ = msg(M_FATAL, "ERROR: NTLM v1 support has been removed. For now, y= ou can use NTLM v2 by selecting ntlm2 but it is deprecated as well.");=
}
else if (!strcmp(o->= ;auth_method_string, "ntlm2"))
{<= br>@@ -534,13 +532,13 @@
}

/* only basic and NTLM/NTLMv2 authentication supported so= far */
- if (p->= auth_method =3D=3D HTTP_AUTH_BASIC || p->auth_method =3D=3D HTTP_AUTH_NT= LM || p->auth_method =3D=3D HTTP_AUTH_NTLM2)
+ if (p->auth_method =3D=3D HTTP_AUTH_BASI= C || p->auth_method =3D=3D HTTP_AUTH_NTLM2)
{
get_user_pass_http(p, true);
}

#if !NTLM
- if (p->auth_method =3D=3D HTTP_AUTH_NTLM || p-&g= t;auth_method =3D=3D HTTP_AUTH_NTLM2)
+ if (p->auth_method =3D=3D HTTP_AUTH_NTLM2)<= br> {
msg(M_FATAL, "Sorry, this ver= sion of " PACKAGE_NAME " was built without NTLM Proxy support.&qu= ot;);
}
@@ -646,8 +644,7 @@
=
/* get user/pass if not previously given */
if (p->auth_method =3D=3D HTTP_AUTH_BASIC
<= span style=3D"color: hsl(0, 100%, 40%);">- || p->auth_method =3D= =3D HTTP_AUTH_DIGEST

- = || p->auth_method =3D=3D HTTP_AUTH_NTLM)
+ || p->auth_method =3D=3D HTTP_AUT= H_DIGEST)
{
get_user_pass_htt= p(p, false);
}
@@ -697,7 +694,6 @@
break;

#if= NTLM
- case= HTTP_AUTH_NTLM:
case HTTP_AUTH_NTLM2:<= br> /* keep-alive connection */
= openvpn_snprintf(buf, sizeof(buf), "Proxy-Connection: Keep= -Alive");
@@ -752,7 +748,7 @@
= {
processed =3D true;
= }
- else if ((= p->auth_method =3D=3D HTTP_AUTH_NTLM || p->auth_method =3D=3D HTTP_AU= TH_NTLM2) && !processed) /* check for NTLM */
+ else if ((p->auth_method =3D= =3D HTTP_AUTH_NTLM2) && !processed) /* check for NTLM */
= {
#if NTLM
/* = look for the phase 2 response */
diff --git a/src/openvpn/p= roxy.h b/src/openvpn/proxy.h
index 83b799e..7900244 100644<= /span>
--- a/src/openvpn/proxy.h
+++ b/src/openvpn= /proxy.h
@@ -31,7 +31,7 @@
#define HTTP_AU= TH_NONE 0
#define HTTP_AUTH_BASIC 1
#d= efine HTTP_AUTH_DIGEST 2
+/* #define HTTP_AUTH_NTLM 3 removed in OpenVPN 2.7 */ #define HTTP_AUTH_NTLM2 4
#define HTTP_AUTH_N = 5 /* number of HTTP_AUTH methods */

dif= f --git a/tests/unit_tests/openvpn/test_crypto.c b/tests/unit_tests/openvpn= /test_crypto.c
index 9e5469a..08c9c44 100644
--- a/tests/unit_tests/openvpn/test_crypto.c

+++ b/tests/= unit_tests/openvpn/test_crypto.c
@@ -210,29 +210,6 @@
hmac_ctx_free(hmac);
}

-void
-test_des_encrypt(void **state)-{
- /* We have a small des encrypt method that is o= nly for NTLMv1. This unit
- * test ensures that it is not accidentally broken */
-

- const unsigned char des_key[DES_KEY_LENGTH] =3D {0x4= 2, 0x23};
-
<= span style=3D"color: hsl(0, 100%, 40%);">- const char *src =3D "Moi= nWelt";

-- /* cipher_des_encrypt_ecb = wants a non const */
- = unsigned char *src2 =3D (unsigned char *) strdup(src);
-
- unsigned char dst[DES_KEY_LENGTH];
- cipher_des_encrypt_ecb(des_key, src2, d= st);
-
- const unsigned char dst_good[DES_K= EY_LENGTH] =3D {0xd3, 0x8f, 0x61, 0xf7, 0xbe, 0x27, 0xb6, 0xa2};
= -
- assert_memory_equal(dst, dst_good, DES_KEY_LENGTH= );
-
- free(src2);
-}
-
/* This test is in test_crypto as it calls into = the functions that calculate
* the crypto overhead */
static void
@@ -473,7 +450,6 @@
cmocka_unit_test(crypto_translate_cipher_names),

cmocka_unit_test(crypto_test_tls_prf),

= cmocka_unit_test(crypto_test_hmac),
- cmocka_unit_test(test_des_encrypt),
= cmocka_unit_test(test_occ_mtu_calculation),
= cmocka_unit_test(test_mssfix_mtu_calculation)
};

To view, visit change 379. To unsubscribe, or f= or help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I0dcb2dac4136f194da7050a8ea8= 495e9faba9dd9
Gerrit-Change-Number: 379
Gerrit-PatchSet: 5
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-MessageType: newpatchset
--pgfiVIy8j+Q=--