[Openvpn-devel] [PATCH] Fix crash in xkey-provider in msvc builds

2022-07-06 Thread selva . nair
From: Selva Nair The function signature for xkey_load_generic_key had function pointers defined as function types that seems to work in gcc but not in msvc. Fix it by changing the function signatures to what was intended. Also revert part of commit 627d1a3d28638... as that work- around should

[Openvpn-devel] Bug in msvc build of master + OpenSSL 3.0.x

2022-07-06 Thread Selva Nair
Hi, As reported by Lev here: https://github.com/OpenVPN/openvpn-gui/pull/508#issuecomment-1174057372 I think its due to this in xkey-provider: typedef void (XKEY_PRIVKEY_FREE_fn)(void *handle); (and a similar one for SIGN_fn) EVP_PKEY * xkey_load_generic_key(OSSL_LIB_CTX *libctx, void *handle,

[Openvpn-devel] [PATCH pre-05/25] networking: add net_iface_type API

2022-07-06 Thread Antonio Quartulli
This new API can be used to retrieve the type of a specific interface. It's mostly platform dependant, but right now expected values are "ovpn-dco", "tun" or "tap". Other values are possible too, but they are not of interest to us. Signed-off-by: Antonio Quartulli --- This patch is required by

[Openvpn-devel] [PATCH v6 05/25] dco: let open_tun_generic handle the DCO case

2022-07-06 Thread Antonio Quartulli
open_tun_generic already contains the logic required to find a device name when not specified b the user. For this reason the DCO case can easily leverage on function and avoid code duplication. Signed-off-by: Antonio Quartulli --- Changes from v5: * create TUN device when invoking --mktun

[Openvpn-devel] Summary of the community meeting (6th July 2022)

2022-07-06 Thread Samuli Seppänen
Hi, Here's the summary of the IRC meeting. --- COMMUNITY MEETING Place: #openvpn-meeting on libera.chat Date: Wed 6th July 2022 Time: 10:30 CEST (9:30 UTC) Planned meeting topics for this meeting were here: Your local meeting

[Openvpn-devel] HEADS UP: removal of --mktun and --rmtun in 2.6

2022-07-06 Thread Gert Doering
Hi, we are discussing to remove support for openvpn --mktun / --rmtun options in the upcoming 2.6 release - because it complicates the code, and we think there is no actual *need* for it anymore (and it's Linux only, etc). With "ip", there is a submode "ip tuntap", which does the same thing, so