Re: [Openvpn-devel] [PATCH] fix clang warning about missing braces

2019-11-29 Thread David Sommerseth
this silences this warning with GCC-4.3.8 at least. That said, I'm not sure this is the best approach; it may hide other missing braces warnings we should see. -- kind regards, David Sommerseth OpenVPN Inc From 1166081219e8623e32aeea93ddabd2937df36ef8 Mon Sep 17 00:00:00 2001 From: David Sommer

Re: [Openvpn-devel] [PATCH v2] Fix ACL_CHECK_ADD_COMPILE_FLAGS to work with clang

2019-11-19 Thread David Sommerseth
Without this patch, clang-5.0.1 spits out lots of warnings related to -Wno-stringop-truncation. Acked-By: David Sommerseth -- kind regards, David Sommerseth OpenVPN Inc signature.asc Description: OpenPGP digital signature ___ Openvpn-

Re: [Openvpn-devel] [PATCH] Fix ACL_CHECK_ADD_COMPILE_FLAGS to work with clang

2019-11-14 Thread David Sommerseth
hen with an unknown -W* argument (without the no- prefix) $ gcc -o test test.c -Wall -Wnon-existing-flag gcc: error: unrecognized command line option ‘-Wnon-existing-flag’ I think you said it pretty well in your mail: > Darn compilers and darn -Werror So your change does improve Clang ... I

Re: [Openvpn-devel] [PATCH] Support for wolfSSL with OpenVPN v2.4.8

2019-11-14 Thread David Sommerseth
meeting next Thursday (Nov 21 @ 20:00 CET, #openvpn-meeting on FreeNode [1]). I strongly recommend you to attend this meeting to follow up your request. [1] You need to have your nick registered to join <https://freenode.net/kb/answer/registration&

Re: [Openvpn-devel] [PATCH applied] Re: wintun: add --windows-driver config option

2019-11-12 Thread David Sommerseth
On 12/11/2019 19:39, David Sommerseth wrote: > On 09/11/2019 16:00, Gert Doering wrote: >> Hi, >> >> On Sat, Nov 09, 2019 at 03:49:51PM +0100, Gert Doering wrote: >>> wintun: add --windows-driver config option >>> >>> Signed-off-b

Re: [Openvpn-devel] [PATCH applied] Re: wintun: add --windows-driver config option

2019-11-12 Thread David Sommerseth
tes in our repo for similar situations or clarifications. -- kind regards, David Sommerseth OpenVPN Inc signature.asc Description: OpenPGP digital signature ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Re: [Openvpn-devel] [PATCH v3] Make compression asymmetric by default and add warnings

2019-11-10 Thread David Sommerseth
this check not be moved to the postprocess checks? This will now > only trigger is comp was first set, and allow-compression later in the > config, not the other way around. What about pushed options? It's too long time since I looked at the

Re: [Openvpn-devel] [PATCH 4/5] Implement sending response to challenge via CR_RESPONSE

2019-10-22 Thread David Sommerseth
n Return wether p has n (or at least n) parameters > + */ > static bool > man_need(struct management *man, const char **p, const int n, unsigned int > flags) There's something missing here ... like a description of the function. -- kind regards, David Sommerseth OpenVPN Inc ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Re: [Openvpn-devel] [PATCH 3/5] Implement support for signalling IV_SSO to server

2019-10-22 Thread David Sommerseth
buf_printf(, "%s\n", e->string); > These new lines breaks the coding style of spaces around '==' and after comma in the strncmp() arguments, but so does the existing code. This needs to be fixed, but lets handle that outside of this patch set. Acked-By: David

Re: [Openvpn-devel] [PATCH 2/5] Implement forwarding client CR_RESPONSE messages to management

2019-10-22 Thread David Sommerseth
extend these new functions with doxygen comments on what these functions work. What information they parse, what they expect of data, from where the data comes and how they respond/produce results. Other than that, it looks good. -- kind regards, David Sommerseth OpenVPN Inc signature.asc Description: OpenPGP digital signature ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Re: [Openvpn-devel] [PATCH 1/5] Implement parsing and sending INFO and INFO_PRE control messages

2019-10-22 Thread David Sommerseth
ef ENABLE_MANAGEMENT This looks good, but the indenting of the #ifdef above is wrong; it should be at the beginning of the line. -- kind regards, David Sommerseth OpenVPN Inc ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Re: [Openvpn-devel] [Openvpn-users] [ext] OpenVPN GUI with Wintun (unofficial)

2019-10-11 Thread David Sommerseth
the patches from Lev updates the man page, but it should when the merge finally happens. -- kind regards, David Sommerseth OpenVPN Inc signature.asc Description: OpenPGP digital signature ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Re: [Openvpn-devel] [PATCH] OpenSolaris/OpenIllumos: use /bin/bash if available for test scripts.

2019-10-10 Thread David Sommerseth
*-*-openbsd*) > AC_DEFINE([TARGET_OPENBSD], [1], [Are we running on OpenBSD?]) > I have not tested this (don't have access to Solaris environments), but looks like a reasonable solution. Acked-By: David Sommerseth -- kind regards, David Sommerseth OpenVPN Inc signatu

Re: [Openvpn-devel] [PATCH] Insert client connection data into PAM environment

2019-10-04 Thread David Sommerseth
t;) if up.remote is NULL. And I suggest using the same format as found in other parts of the OpenVPN logging ... "USERNAME/IP-ADDRESS". If IP address is not available, use just "USERNAME". If you have any questions or comments, feel free to reach out. And also feel free to join the #openvpn-devel IRC channel on FreeNode; there are several of us community and corporate developers there so it is a chance to get quicker replies there (most of us are in the EU time zones). -- kind regards, David Sommerseth OpenVPN Inc ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

[Openvpn-devel] [PATCH 0/4] struct argv overhual - Oct 2019 edition

2019-10-04 Thread David Sommerseth
commit ef2c7b2fa4fd9fae934e608e37dc8d98edbace5f [3] Message-ID: <https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17957.html> -- kind regards, David Sommerseth OpenVPN Inc ---- David Sommerseth (1): Documented all the argv

[Openvpn-devel] [PATCH 4/4] Documented all the argv related code with minor refactoring

2019-10-04 Thread David Sommerseth
Added doxygen comments for all the functions in argv.c. There are some slight refactoring, renaming a few variables to make their use case more obvious and ensure lines do not break our 80-chars per line coding style limit. Signed-off-by: David Sommerseth --- src/openvpn/argv.c | 251

[Openvpn-devel] [PATCH 2/4] argv: do fewer memory re-allocations

2019-10-04 Thread David Sommerseth
so that it can be used to actually reset the argv without re-allocation. Signed-off-by: Heiko Hund Signed-off-by: David Sommerseth --- src/openvpn/argv.c | 81 ++-- src/openvpn/argv.h | 2 +- src/openvpn/console_systemd.c| 2

[Openvpn-devel] [PATCH 1/4] re-implement argv_printf_*()

2019-10-04 Thread David Sommerseth
t actually is the ASCII "group separator" control character, which fits its purpose). This commit has been updated by David Sommerseth based on Arne Schwabe and his own feedback on the mailing list. Signed-off-by: Heiko Hund Signed-off-by: David Sommerseth --- v2 - Improved comments, to make

Re: [Openvpn-devel] [PATCH applied] Re: Implement a permanent session id in auth-token

2019-10-01 Thread David Sommerseth
be in specific situations. -- kind regards, David Sommerseth OpenVPN Inc signature.asc Description: OpenPGP digital signature ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Re: [Openvpn-devel] [PATCH applied] Re: Sent indication that a session is expired to clients

2019-10-01 Thread David Sommerseth
ll; even on 2.4.x clients connecting to a server with this patch. -- kind regards, David Sommerseth OpenVPN Inc signature.asc Description: OpenPGP digital signature ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourc

[Openvpn-devel] [PATCH 1/3] auth-token: Fix building with --disable-server

2019-09-27 Thread David Sommerseth
-off-by: David Sommerseth --- src/openvpn/push.c | 2 ++ src/openvpn/ssl_common.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/openvpn/push.c b/src/openvpn/push.c index dc1a536a..49b9d1be 100644 --- a/src/openvpn/push.c +++ b/src/openvpn/push.c @@ -39,7 +39,9

[Openvpn-devel] [PATCH 2/3] auth-token: Fix compiler complaints with --disable-management

2019-09-27 Thread David Sommerseth
When building with --disable-management, the compiler complains with implicit declaration of function ‘ssl_clean_auth_token’. This is due to the ssl_clean_auth_token() function being declared inside an #ifdef ENABLE_MANAGEMENT fence where it should not be. Signed-off-by: David Sommerseth

[Openvpn-devel] [PATCH 3/3] Improve the comments related to auth-token-hmac patches

2019-09-27 Thread David Sommerseth
A couple of places the documentation was not clear enough or not even correct. Just improve this to avoid confusion later on. Signed-off-by: David Sommerseth --- src/openvpn/auth_token.h | 2 -- src/openvpn/ssl_common.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src

[Openvpn-devel] [PATCH 0/3] Last-minute fixes to auth-token-hmac patch series

2019-09-27 Thread David Sommerseth
./configure with --disable-server. Otherwise the existing patches works fine. The second patch, --disable-management fix, just fixes a long outstanding compiler warning. And the final patch with comment updates are just clarifications and minor improvements. David Sommerseth (3): auth-token: Fix

Re: [Openvpn-devel] [PATCH v7 5/7] Implement a permanent session id in auth-token

2019-09-27 Thread David Sommerseth
anged, 270 insertions(+), 41 deletions(-) This patch works ... but there are some comments which got ignored from the previous patch review. I will send a patch for this, as this is mostly documentation errors, not code errors. So, I'll approve this now; these patches needs to be com

Re: [Openvpn-devel] [PATCH v7 4/7] Rewrite auth-token-gen to be based on HMAC based tokens

2019-09-27 Thread David Sommerseth
t this (and the rest of the patches) passes compiling on our buildbot rig - including --disable-server. Acked-By: David Sommerseth -- kind regards, David Sommerseth OpenVPN Inc ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Re: [Openvpn-devel] [PATCH v7 7/7] Implement unit tests for auth-gen-token

2019-09-18 Thread David Sommerseth
+++ > 2 files changed, 411 insertions(+), 1 deletion(-) > create mode 100644 tests/unit_tests/openvpn/test_auth_token.c Acked-By: David Sommerseth This looks good now, and passes on my system. -- kind regards, David Sommerseth OpenVPN Inc _

Re: [Openvpn-devel] [PATCH v7 6/7] Sent indication that a session is expired to clients

2019-09-18 Thread David Sommerseth
| 6 ++ > src/openvpn/ssl_common.h | 10 +- > src/openvpn/ssl_verify.c | 8 > src/openvpn/ssl_verify.h | 15 ++- > 5 files changed, 24 insertions(+), 18 deletions(-) Acked-By: David Sommerseth This is identical to the previous version, just reference

Re: [Openvpn-devel] [PATCH v6 7/7] Implement unit tests for auth-gen-token

2019-09-13 Thread David Sommerseth
ED ] 1 test(s), listed below: [ FAILED ] auth_token_test_empty_user 1 FAILED TEST(S) -- Seems like the verify_auth_token() call doesn't add AUTH_TOKEN_VALID_EMPTYUSER flag. I didn't dive deep enough to try to understand why. -- kin

Re: [Openvpn-devel] [PATCH v6 6/7] Send indication that a session is expired to clients

2019-09-13 Thread David Sommerseth
on.h | 10 +- > src/openvpn/ssl_verify.c | 8 > src/openvpn/ssl_verify.h | 15 ++- > 5 files changed, 24 insertions(+), 18 deletions(-) > Acked-By: David Sommerseth This looks reasonable and the code does what it says. On my quick testing, I managed to trigg

Re: [Openvpn-devel] [PATCH] tun.h: remove TUN_PASS_BUFFER define

2019-09-09 Thread David Sommerseth
g out TUN_PASS_BUFFER with _WIN32 makes more sense. Acked-By: David Sommerseth -- kind regards, David Sommerseth OpenVPN Inc ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Re: [Openvpn-devel] [PATCH] tun.h: change tun_set() return value type to void

2019-09-09 Thread David Sommerseth
asically was the first public commit after the 1.6.0 release. In my very quick look, not even once has the return value been used since that time. So this change makes sense. No need to have a return value which has not been interesting since November 2004. Acked-By: David S

Re: [Openvpn-devel] [PATCH] Adding support for wolfSSL backend

2019-08-26 Thread David Sommerseth
getting a trust that you're going to be available also after WolfSSL support is added is kind of the key point; to help maintaining both the WolfSSL implementation but also helping out on a regular basis, especially on the crypto side. -- kind regards, David Sommerseth OpenVPN Inc _

Re: [Openvpn-devel] [PATCH v6 5/7] Implement a permanent session id in auth-token

2019-08-16 Thread David Sommerseth
r_pass *up) > /* setenv client real IP address */ > setenv_untrusted(session); > > +/* add auth-token environment */ > +add_session_token_env(session, multi, up); > #ifdef PLUGIN_DEF_AUTH >

Re: [Openvpn-devel] [PATCH v6 4/7] Rewrite auth-token-gen to be based on HMAC based tokens

2019-08-16 Thread David Sommerseth
-- This warning is not present when compiling with gcc-7.3.1, gcc-8.3.1, clang-3.4.2 nor clang-5.0.1. So I'm blaming buggy/confused older GCC compilers for this one. Since I've tested and reviewed the rest in earlier rounds and the change from previous version i sju

Re: [Openvpn-devel] [PATCH] Increase listen() backlog queue to 32

2019-08-16 Thread David Sommerseth
00", > as long as it's "more than 1". > > Found and debugged by "mjo" in Trac. > > Trac: #1208 > > Signed-off-by: Gert Doering Acked-By: David Sommerseth I agree with Antonio, and we should make it somewhat easier to modify. I'm not sure if th

Re: [Openvpn-devel] ***UNCHECKED*** Patch: Export NotBefore and NotAfter items to the environment in client-connect

2019-08-16 Thread David Sommerseth
if using ./configure --with-crypto-library=mbedtls ... This should also be improved. Other than that, the code looks reasonable at first glance (I have not compile tested it yet) -- kind regards, David Sommerseth OpenVPN Inc signature.asc Description: OpenPGP digital signature ___

Re: [Openvpn-devel] [PATCH] More specific syslog process name with systemd

2019-08-15 Thread David Sommerseth
a look at the journal integration rsyslog provides - which can also include the additional meta-data: <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/s1-interaction_of_rsyslog_and_journal> -- kind regards, David Sommerseth

Re: [Openvpn-devel] [PATCH 1/2] Fix check if iface name is set

2019-08-13 Thread David Sommerseth
On 13/08/2019 23:46, Steffan Karger wrote: > Hi, > > On 13-08-19 23:31, Antonio Quartulli wrote: >> On 13/08/2019 23:26, David Sommerseth wrote: >>> wouldn't it be better to >>> do 'if (rgi6->iface[0])' instead? Since the buffer should be NULL >>>

Re: [Openvpn-devel] [PATCH 1/2] Fix check if iface name is set

2019-08-13 Thread David Sommerseth
t size always "readable" - wouldn't it be better to do 'if (rgi6->iface[0])' instead? Since the buffer should be NULL terminated and has to be NULL terminted for strlen() to function anyhow. But the compiled code would be a bit more efficient (even though, this isn't necessarily a pe

Re: [Openvpn-devel] [PATCH v4 6/7] Sent indication that a session is expired to clients

2019-06-25 Thread David Sommerseth
on.h | 10 +- > src/openvpn/ssl_verify.c | 8 > src/openvpn/ssl_verify.h | 15 ++- > 5 files changed, 24 insertions(+), 18 deletions(-) > There's a typo in the subject line (Sent -> Send), otherwise this is fine and works as expected. Acked-by: Davi

Re: [Openvpn-devel] [PATCH v4 7/7] Implement unit tests for auth-gen-token

2019-06-25 Thread David Sommerseth
n': .../OpenVPN/openvpn/tests/unit_tests/openvpn/../../../src/openvpn/auth_token.c:299: undefined reference to `openvpn_base64_decode' - In addition comes the warnings I've already reported in a prior patch. -- kin

Re: [Openvpn-devel] [PATCH v4 4/7] Rewrite auth-token-gen to be based on HMAC based tokens

2019-06-25 Thread David Sommerseth
^~~ auth_token.c:234:36: note: format string is defined here "current timestamp (%lld). Broken/unsynchronised clock?", ~~~^ %ld ---- Other than these issues, th

Re: [Openvpn-devel] [PATCH v4 2/7] Implement --genkey type keyfile syntax and migrate tls-crypt-v2

2019-06-25 Thread David Sommerseth
> src/openvpn/options.h | 11 +++- > tests/t_lpback.sh | 8 +-- > 10 files changed, 151 insertions(+), 97 deletions(-) > Acked-by: David Sommerseth Looks good now, 'make check' passes and behaviour is more consi

Re: [Openvpn-devel] [PATCH v4 3/7] Add generate_ephemeral_key that allows a random ephermal key

2019-06-25 Thread David Sommerseth
x_overhead(void); []> +/** > + * Generate ephermal key material into the key structure or if ^ This comment don't need those two last words, but that can be fixed during commit time. Acked-By: David S

Re: [Openvpn-devel] [PATCH v3] Remove cmocka submodule, rely on system-wide installation instead.

2019-06-24 Thread David Sommerseth
cation which is really outweighing the > benefit of a local build today - so, use the system-wide installation > if available (querying pgk-config). Do not build unit-tests otherwise. > > v2: (inspired by patch from David Sommerseth) > introduce "configure --disable-unit-test&q

Re: [Openvpn-devel] [PATCH v2] t_net.sh: fixes for the networking test script

2019-06-20 Thread David Sommerseth
| 6 +- > tests/unit_tests/openvpn/Makefile.am | 2 ++ > tests/unit_tests/openvpn/test_networking.c | 16 > 3 files changed, 3 insertions(+), 21 deletions(-) Only glared at the code changes, and it makes sense after some clarifications on IRC. Acked-by: Davi

Re: [Openvpn-devel] [PATCH v3 1/7] Write key to stdout if filename is not given

2019-06-07 Thread David Sommerseth
goto cleanup; > @@ -708,7 +717,7 @@ tls_crypt_v2_write_client_key_file(const char *filename, > struct buffer test_wrapped_client_key; > msg(D_GENKEY, "Testing client-side key loading..."); > tls_crypt_v2_init_client_key(_client_key, _wrapped_client_key, > -

Re: [Openvpn-devel] [PATCH v3 3/7] Add pem_read_key_file variant that allows a random key

2019-06-07 Thread David Sommerseth
key)); > +return true; > + } > +else > +{ > +return read_pem_key_file(key, pem_name, key_file, key_inline); > +} > +} > + -- kind regards, David Sommerseth OpenVPN Inc ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Re: [Openvpn-devel] [PATCH v3 2/7] Implement --genkey type keyfile syntax and migrate tls-crypt-v2

2019-06-07 Thread David Sommerseth
notnull(options->shared_secret_file, > -"shared secret output file (--secret)"); > +if (options->shared_secret_file && options->genkey_filename) > +{ > +msg(M_USAGE, "You must provide a filename to either --genkey or > --secret, not both"); > +} By removing support for --genkey with --secret, this check need to moved outside this if() scope and check whether --secret and --genkey are both present. Otherwise, this patch looks reasonable. -- kind regards, David Sommerseth OpenVPN Inc ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Re: [Openvpn-devel] [Openvpn-users] Compiling OpenVPN 3 Linux Client on arm

2019-05-29 Thread David Sommerseth
enge, just need to fully grasp the C++ template complaint and find a fix which also doesn't break 64 bit. Btw ... (and I'm NOT pointing fingers) .. but these kind of questions are usually better suited for openvpn-devel mailing list (on Cc). -- kind regards, David Sommerseth Op

Re: [Openvpn-devel] OpenVPN 3 Linux client - v6 beta - Debian/Ubuntu repositories

2019-05-29 Thread David Sommerseth
openvpn2 and openvpn3 also provides --help screens, and openvpn3 also provides that for each "command" you give to it, like openvpn3 session-manage --help. If you have any questions, issues, comments, suggestions, etc ... please get in touch! -- kind regards, David Sommerseth O

[Openvpn-devel] OpenVPN 3 Linux client - v6 beta released

2019-05-24 Thread David Sommerseth
openvpn3-linux-6_beta.tar.xz.asc git references - git tag: v6_beta git commit: e6c66892ba0868206d558ad8b81351140c1195b4 Changes from v5 to v6 ------ David Sommerseth (12): build: Add sitnl debug m

Re: [Openvpn-devel] Wintun performance results

2019-05-15 Thread David Sommerseth
e should definitely have some wiki pages under https://community.openvpn.net/ related to how to prepare a good setup for performance testing. -- kind regards, David Sommerseth OpenVPN Inc > ср, 15 мая 2019 г. в 18:49, Lev Stipakov <mailto:lstipa...@gmail.com>>: > >

[Openvpn-devel] [PATCH v2.4] build: Package missing mock_msg.h

2019-05-07 Thread David Sommerseth
in vendor/ from an unpacked tarball. With this fix the cmocka unit tests can also run from tarballs, with manually extracting/fetching the cmocka source code in vendor/cmocka. This patch is a backport of git master commit 19a22ac5a8673e8715. Signed-off-by: David Sommerseth Cc: Steffan Karger

Re: [Openvpn-devel] [PATCH] Remove deprecated plugin functions from code samples

2019-04-17 Thread David Sommerseth
in particular when graphical mail clients - including webmails. The alternative is to either submit the patch as an attachment, or use the more preferred 'git send-email' approach where it will connect to your SMTP server of your preference and send the patch properly formatted. -- kind regar

[Openvpn-devel] [PATCH] build: Package missing mock_msg.h

2019-04-17 Thread David Sommerseth
in vendor/ from an unpacked tarball. With this fix the cmocka unit tests can also run from tarballs, with manually extracting/fetching the cmocka source code in vendor/cmocka. Signed-off-by: David Sommerseth 8<8<8<8<8<8<8<8<8<--

Re: [Openvpn-devel] [PATCH applied] cmocka: use relative paths

2019-04-17 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Acked-By: David Sommerseth This didn't break anything on my systems, and changes makes sense. I spotted another fix also sneaked in, replacing the incorrect OPTIONAL_PKCS11_{LIBS,CFLAGS} with the correct OPTIONAL_PKCS11_HELPER_{LIBS,CFLAGS

Re: [Openvpn-devel] [PATCH 1/1] initial cirrus-ci support

2019-04-16 Thread David Sommerseth
ly wonder about the value here. You can always argue that it's just a text file laying there if not being used, but we also want to avoid "dead files" in our repository. -- kind regards, David Sommerseth OpenVPN Inc signature.asc Description:

[Openvpn-devel] [PATCH v2] docs: Update INSTALL

2019-04-12 Thread David Sommerseth
in release/2.4. The contents is the same as git master, as it is still valid for v2.4. Signed-off-by: David Sommerseth --- v2 - Fixing incorrect OpenSSL version dependency --- INSTALL | 104 +++- 1 file changed, 65 insertions(+), 39 deletions

Re: [Openvpn-devel] Issue with smartcard authentication for openvpn

2019-04-10 Thread David Sommerseth
alternatives were scarce :( Is this a Windows only issue? Or is it present on other platforms as well? If it's Windows only, I think we can get around it by patching it and ensuring upstream is aware of this. But if it is more platforms, patching pkcs11-helper gets nasty quickly. -- kind regards,

[Openvpn-devel] OpenVPN 3 Linux client - v5 beta released

2019-04-08 Thread David Sommerseth
-- git tag: v5_beta git commit: 16dd2acdf3343e6180e005a229dbd4bd40c9f644 Changes from v4 to v5 -- Arne Schwabe (2): Rename bash completion script build: Allow configure.ac also to work with submodules

Re: [Openvpn-devel] [PATCH] Warn about insecure ciphers also in init_key_type

2019-04-02 Thread David Sommerseth
all - expecting the server to push a sane cipher - the current behaviour will to NOT warn about a weak cipher. Is that correctly understood? In general, I don't mind annoying/scaring users that they use an insecure cipher - no matter if it is through direct or indirect (pushed) configuration opti

[Openvpn-devel] [PATCH release/2.4] docs: Update INSTALL

2019-04-02 Thread David Sommerseth
The INSTALL file contained several minor errors, typos and was generally not up-to-date in regards to what ./configure provides today. In addition, several URL references have moved around to new homes. Signed-off-by: David Sommerseth --- This is just a backport of git master 6099ab67122429c0

[Openvpn-devel] [PATCH] docs: Update INSTALL

2019-03-27 Thread David Sommerseth
The INSTALL file contained several minor errors, typos and was generally not up-to-date in regards to what ./configure provides today. In addition, several URL references have moved around to new homes. Signed-off-by: David Sommerseth --- INSTALL | 104

Re: [Openvpn-devel] [PATCH applied] cleanup: Remove RPM openvpn.spec build approach

2019-03-07 Thread David Sommerseth
es commit 57ec6cec85b92e6af35a7871d105d84a753d6549 (master) commit f6a447cb42c097a2b35f55d3ca3e1a4be46738c6 (release/2.4) Author: David Sommerseth Date: Wed Feb 20 14:19:06 2019 +0100 cleanup: Remove RPM openvpn.spec build approach Signed-off-by: David Sommerseth Acked-by: Gert Doering

Re: [Openvpn-devel] [PATCH] Do not set pkcs11-helper "safe fork mode"

2019-03-07 Thread David Sommerseth
_SESSION_HANDLE_INVALID), it seems the locking being disabled with using pkcs11h_setForkMode(FALSE) still breaks something along the way. On the positive side, the "hang" we experience without this patch is gone. But I can't claim this being a proper fix as it is currently :-/ -- kind re

Re: [Openvpn-devel] [PATCH applied] Re: Better error message when script fails due to script-security setting

2019-03-07 Thread David Sommerseth
looks much better. It would get an ACK from me without much fuzz. Thanks! -- kind regards, David Sommerseth OpenVPN Inc signature.asc Description: OpenPGP digital signature ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https:

[Openvpn-devel] OpenVPN 3 Linux client - v4 beta released

2019-03-01 Thread David Sommerseth
8e3f7aa7aecae6 Changes from v3 to v4 -- Arne Schwabe (2): build: Allow GIT_CHECKOUT also to work with submodules and out of dir git repos contrib: Add Jenkins build file David Sommerseth (49): exceptions: Clean up, simplify and unify p

[Openvpn-devel] [PATCH] cleanup: Remove RPM openvpn.spec build approach

2019-02-20 Thread David Sommerseth
information of the OpenVPN packages they provide. Linux distributions is most likely much better at keeping the packaging up-to-shape much better than we. Signed-off-by: David Sommerseth --- .gitignore | 1 - INSTALL| 47 +++--- configure.ac

Re: [Openvpn-devel] [PATCH] Better error message when script fails due to script-security setting

2019-02-19 Thread David Sommerseth
- If execve() fails, the exit code is 127. That would normally be caught by the waitpid() later on and this exit code would be returned by openvpn_execve(). This should be improved in a separate patch though, but is not of high urgency. I

Re: [Openvpn-devel] [PATCH v2 3/6] Rewrite auth-token-gen to be based on HMAC based tokens

2019-02-15 Thread David Sommerseth
ret_file) > +{ > +msg(M_USAGE, "--auth-gen-token-secret-genkey requires a server > key " > +"to be set via --auth-gen-token-secret to create a shared > secret"); > +} > +auth_token_write_server_key_f

Re: [Openvpn-devel] [PATCH v2 5/6] Sent indication that a session is expired to clients

2019-02-15 Thread David Sommerseth
msg(M_INFO, "--auth-token-gen: auth-token from client expired"); Feature-ACK! Code change looks sane, but need to test this more carefully - where it would be good to have the changes from previous comments implemented. But, we should fix the incorrect msg() above. It should say

Re: [Openvpn-devel] [PATCH v2 4/6] Implement a permanent session id in auth-token

2019-02-15 Thread David Sommerseth
ts in authentication success. In this case, why can't the auth backend do everything? -- kind regards, David Sommerseth OpenVPN Inc ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Re: [Openvpn-devel] [PATCH v2 2/6] Allow pem_read_key_file to generate a random key

2019-02-15 Thread David Sommerseth
On 08/02/2019 15:50, Arne Schwabe wrote: > Am 08.02.19 um 13:30 schrieb David Sommerseth: >> On 22/01/2019 16:03, Arne Schwabe wrote: >>> From: Arne Schwabe >>> >>> This is useful for features that can use either a persistent >>> or an ephemeral key.

Re: [Openvpn-devel] [PATCH] Exit early when external scripts are specified with script-security < 2

2019-02-15 Thread David Sommerseth
ey need to fix their configs". But I also got lots of complaints from Fedora users when we changed _incorrect_ configurations to fail in similar ways. It's just amazing how few users who really *read* their log files. So with this in mind, I think this behavioural change should go in 2.5 only.

Re: [Openvpn-devel] [PATCH v2 2/6] Allow pem_read_key_file to generate a random key

2019-02-08 Thread David Sommerseth
INLINE_FILE_TAG)) > +if (key_file && strcmp(key_file, INLINE_FILE_TAG)) Is this fixing a bug? I'd recommend putting such fixes in a separate commit. -- kind regards, David Sommerseth OpenVPN Inc ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

[Openvpn-devel] OpenVPN 3 Linux client - v2/v3 beta released

2019-01-31 Thread David Sommerseth
820538bec38c790c7ffa7a86f045e33ffb300819e912d4df4d01db2ff3fab openvpn3-linux-2_beta.tar.xz b0a1659998bdfb8a5f7bf904be6abe5ec7ac21fcd16872298b9c2f8aaccd2453 openvpn3-linux-2_beta.tar.xz.asc - ---- Changes from v2

Re: [Openvpn-devel] Ubuntu 18.04 packages available for testing

2019-01-04 Thread David Sommerseth
On 04/01/2019 18:32, Bernhard Schmidt wrote: > Am 04.01.19 um 17:25 schrieb David Sommerseth: > > Hi everyone, > >> Okay, I was a bit unclear. The approach used with openvpn.service and >> openvpn@.service are broken by (Debian) design. Quite many users have >&g

Re: [Openvpn-devel] Ubuntu 18.04 packages available for testing

2019-01-04 Thread David Sommerseth
On 02/01/2019 07:35, Samuli Seppänen wrote: > Hi, > > Il 31/12/18 01:08, David Sommerseth ha scritto: [...snip...] >> And IIRC, we managed to get the new unit files into the Debian openvpn 2.4 >> package. And I just hope that they are updated with whatever we provi

Re: [Openvpn-devel] Ubuntu 18.04 packages available for testing

2018-12-30 Thread David Sommerseth
ng. The reason you'll find the b0rken unit files in the upstream Debian packages is to not break old existing installs. Which is nice, just that it behaves broken regardless. So if anyone is in doubt ... UPGRADE to the openvpn-{server,client}@.service unit files ASAP. -- kind regards, David Sommerseth OpenVPN Inc signature.asc Description: OpenPGP digital signature ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Re: [Openvpn-devel] [PATCH] Fix error message when using RHEL init script

2018-12-24 Thread David Sommerseth
than the one we ship here. [0] <https://src.fedoraproject.org/rpms/openvpn/tree/epel7> -- kind regards, David Sommerseth OpenVPN Inc signature.asc Description: OpenPGP digital signature ___ Openvpn-devel mailing list Openvpn-devel@lists.

Re: [Openvpn-devel] [PATCH 3/3] uncrustify openvpn/ sources

2018-12-12 Thread David Sommerseth
ributors to "run your changes through uncrustify before sending patches" will definitely help. -- kind regards, David Sommerseth OpenVPN Inc signature.asc Description: OpenPGP digital signature ___ Openvpn-devel mailing list Op

Re: [Openvpn-devel] [PATCH applied] uncrustify openvpn/ sources

2018-12-12 Thread David Sommerseth
g and closing. Your patch has been applied to the master branch commit f57431cdc88f22fa4d7962946f0d3187fe058539 Author: Gert Doering Date: Fri Nov 30 14:56:41 2018 +0100 uncrustify openvpn/ sources Signed-off-by: Gert Doering Acked-by: David Sommerseth Message-Id: <20181130

Re: [Openvpn-devel] [PATCH applied] uncrustify openvpnserv/ sources

2018-12-12 Thread David Sommerseth
/ sources Signed-off-by: Gert Doering Acked-by: David Sommerseth Message-Id: <20181130135641.11533-2-g...@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17971.html Signed-off-by: David Sommerseth - -- kind regards,

Re: [Openvpn-devel] [PATCH applied] Uncrustify sample-plugin sources according to code style

2018-12-12 Thread David Sommerseth
Uncrustify sample-plugin sources according to code style Signed-off-by: Gert Doering Acked-by: David Sommerseth Message-Id: <20181130135641.11533-1-g...@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17969.html Sign

[Openvpn-devel] Release of OpenVPN 3 Linux v1 (Beta)

2018-12-07 Thread David Sommerseth
_restart_ dbus-daemon on a running system, it might make your system misbehave afterwards) -- kind regards, David Sommerseth OpenVPN Inc --- a/openvpn3-core/openvpn/mbedtls/ssl/sslctx.hpp.orig 2018-12-07 23:35:14.288411887 +0100 +++ b/openvpn3-core/openvpn/mbedtls/ssl/sslctx.hpp 2018-1

Re: [Openvpn-devel] Summary of the community meeting (Wed, 28th Nov 2018)

2018-12-03 Thread David Sommerseth
pendently without really breaking anything. With all that said: Thank you for valuable feedback regardless. And your feedback on changing the "change of MTU" on Windows prior to Vista was gold! For the rest of your points, I believe Lev has followed well up on those. -- k

Re: [Openvpn-devel] [PATCH v2 2/7] implement networking API for iproute2

2018-11-27 Thread David Sommerseth
e, local, 0, remote , true); Of course, the 'true' could be a variable, but I don't see the real benefit of making net_addr_v4_add() implemented wit different modes. Especially when the "broadcast" and "peer" passing would most likely go via a shared variable. And it wouldn't make it cleared if peer and remote was separate arguments either; as only one of them can be present at the same time. So from code clarity, I like the distinction via the function names instead. It is more straight to the point for me. -- kind regards, David Sommerseth OpenVPN Inc ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Re: [Openvpn-devel] [PATCH applied] tls-crypt-v2: add unwrap_client_key

2018-10-26 Thread David Sommerseth
-by: Antonio Quartulli Message-Id: <1540208715-14044-3-git-send-email-steffan.kar...@fox-it.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17791.html Signed-off-by: David Sommerseth - -- kind regards, David Sommerseth -BEGIN PGP SIG

Re: [Openvpn-devel] [PATCH applied] tls-crypt-v2: add P_CONTROL_HARD_RESET_CLIENT_V3 opcode

2018-10-26 Thread David Sommerseth
-by: Steffan Karger Acked-by: Antonio Quartulli Message-Id: <1540208715-14044-4-git-send-email-steffan.kar...@fox-it.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17790.html Signed-off-by: David Sommerseth - -- kind regards, David Somm

Re: [Openvpn-devel] [PATCH applied] tls-crypt-v2: add script hook to verify metadata

2018-10-26 Thread David Sommerseth
Quartulli Signed-off-by: Steffan Karger Acked-by: Antonio Quartulli Message-Id: <1540208715-14044-6-git-send-email-steffan.kar...@fox-it.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17789.html Signed-off-by: David Sommerseth - -

Re: [Openvpn-devel] [PATCH applied] tls-crypt-v2: add specification to doc/

2018-10-26 Thread David Sommerseth
ge.net/msg17788.html Signed-off-by: David Sommerseth - -- kind regards, David Sommerseth -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBCgAGBQJb00cGAAoJEIbPlEyWcf3yqDcQAIYM7yxuxEGe75SoMJtsDlRH WuL2iz37ocScWBRNVZBoHJgQZ7B5BOiajDwadbuzkgPuLFQmrKc7MHm2t3

Re: [Openvpn-devel] [PATCH applied] tls-crypt-v2: implement tls-crypt-v2 handshake

2018-10-26 Thread David Sommerseth
Karger Acked-by: Antonio Quartulli Message-Id: <1540208715-14044-5-git-send-email-steffan.kar...@fox-it.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17787.html Signed-off-by: David Sommerseth - -- kind regards, David Sommerseth -BEG

Re: [Openvpn-devel] [PATCH applied] Add message explaining early TLS client hello failure

2018-10-26 Thread David Sommerseth
message explaining early TLS client hello failure Signed-off-by: Arne Schwabe Acked-by: Steffan Karger Message-Id: <20180926120159.19874-1-a...@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17491.html Signed-off-by: David Somm

Re: [Openvpn-devel] [PATCH applied] tls-crypt-v2: generate tls-crypt-v2 keys

2018-10-26 Thread David Sommerseth
Acked-by: Antonio Quartulli Message-Id: <1540208715-14044-2-git-send-email-steffan.kar...@fox-it.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17792.html Signed-off-by: David Sommerseth - -- kind regards, David Sommerseth -BEGIN PGP SIG

Re: [Openvpn-devel] [PATCH] Fix various compiler warnings

2018-10-26 Thread David Sommerseth
_callback(); > } Is there any reasonable reason we keep this simple wrapper function? The users of it is very limited and I struggle to see the value of it. Can't we just wipe this out out? This has been unchanged since the initial BETA21 SVN branch dating back to 2005. I struggle to s

Re: [Openvpn-devel] [PATCH] Wrap openvpn_swprintf into Windows define

2018-10-24 Thread David Sommerseth
g OpenBSD 4.9 support. I suggest the comment below the #ifdef _WIN32 to be something like: /* * openvpn_swprintf() is currently only used by Windows code paths * and when enabled for all platforms it will currently break * OpenBSD 4.9 which lacks vswprintf(3) support in its libc. */ -- kind regards, Da

Re: [Openvpn-devel] Adding Google Analytics code to Trac?

2018-10-24 Thread David Sommerseth
not leak any information to third-parties. There might be others too, but this is one I've been playing with some other places earlier. [1] <https://matomo.org/> -- kind regards, David Sommerseth OpenVPN Inc signature.asc Description: OpenPGP digital signature

Re: [Openvpn-devel] [PATCH 3/4] Add gc_arena to struct argv to save allocations

2018-10-24 Thread David Sommerseth
On 19/10/18 17:56, David Sommerseth wrote: > From: Heiko Hund > > With the private gc_arena we do not have to allocate the strings > found during parsing again, since we know the arena they are > allocated in is valid as long as the argv vector is. > > Signed-off-by: Hei

<    1   2   3   4   5   6   7   8   9   10   >