Re: [Openvpn-devel] OpenVPN 2.6.7 released

2023-11-12 Thread Greg Cox
Segfaulting STR: Rocky9 host, used 2.6.7 from the copr repo. port 1194 proto tcp-server dev tun1 ca /etc/openvpn/server/keys/ca.crt cert /etc/openvpn/server/keys/server.crt key /etc/openvpn/server/keys/server.key dh none tls-groups secp521r1:secp384r1 topology subn

Re: [Openvpn-devel] [PATCH] resolvconf fails with -p

2021-11-06 Thread Greg Cox
On Sat, Nov 6, 2021 at 7:37 PM David Sommerseth < open...@sf.lists.topphemmelig.net> wrote: > I quickly checked resolveconf on Ubuntu {18,20,21}.04 and Debian 9-11. > Neither of them supports the '-p' argument. > > I've checked Fedora 34, RHEL-{7,8} too, where I could not find any > obvious altern

Re: [Openvpn-devel] [PATCH 2/7] compat-mode: allow user to specify version to be compatible with

2021-09-04 Thread Greg Cox
On Sat, Sep 4, 2021 at 9:57 AM Antonio Quartulli wrote: > diff --git a/src/openvpn/options.c b/src/openvpn/options.c > index 0d6b85cf..4d971a56 100644 > --- a/src/openvpn/options.c > +++ b/src/openvpn/options.c > @@ -3125,6 +3125,29 @@ options_postprocess_cipher(struct options *o) > } > } >

[Openvpn-devel] [PATCH] Explain structvar usage in sample defer plugin.

2021-02-01 Thread Greg Cox
sample-plugins/defer/simple.c uses OPENVPN_PLUGINv3_STRUCTVER settings that may not be obvious to a new author. Add a comment to reduce possible confusion. --- sample/sample-plugins/defer/simple.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sample/sample-plugins

[Openvpn-devel] [PATCH 2/2] More explicit versioning compatibility in sample-plugins/defer/simple.c

2021-01-27 Thread Greg Cox
While not required, adding openvpn_plugin_min_version_required_v1 helps by making an example for others to copy, and helps to explicitly call attention to the difference between the API version number and the struct version number in v3 calls. --- sample/sample-plugins/defer/simple.c | 21

[Openvpn-devel] [PATCH 1/2] Update openvpn_plugin_func_v2 to _v3 in sample-plugins/defer/simple.c

2021-01-27 Thread Greg Cox
This isn't strictly required, but it modernizes the functions used. This change makes _open the same parameter form as _func (for better parallelism in function writing) and includes a check for the correct struct version, as recommended by openvpn-plugin.h --- sample/sample-plugins/defer/simple.c

[Openvpn-devel] [PATCH] Fix naming error in sample-plugins/defer/simple.c

2021-01-24 Thread Greg Cox
--- sample/sample-plugins/defer/simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/sample-plugins/defer/simple.c b/sample/sample-plugins/defer/simple.c index b3c2fee48f8d2c10b10a09e8aadc1995e9cf067d..22bc22765d6773d3ea2344a328faf5008b0c5d89 100644 --- a/sample/s

[Openvpn-devel] [PATCH] Documentation fixes around openvpn_plugin_func_v3 in openvpn-plugin.h.in

2021-01-24 Thread Greg Cox
The comments refered to parameters found in openvpn_plugin_func_v2 but not in v3 --- include/openvpn-plugin.h.in | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/openvpn-plugin.h.in b/include/openvpn-plugin.h.in index 64b20886eb364c9317fbb177abe827158b7e301

Re: [Openvpn-devel] wanted: mechanism to send text messages to client

2020-12-21 Thread Greg Cox
On Mon, Dec 21, 2020 at 7:57 AM Илья Шипицин wrote: > that's interesting point. > being dependent on whether users logs or not does not look very good. > We only go to their logs when they come to us with issues. When we can head the users off ahead of time, it's easier. > I'd say it is ident

Re: [Openvpn-devel] wanted: mechanism to send text messages to client

2020-12-20 Thread Greg Cox
tl;dr - anything that lets me selectively put a message in front of my users is great. Yes please. The number one problem my users come across is expired certs. Nobody reads logs until they're forced to. A notif mechanism like you're describing would be great. With that I can set up scripts th

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

2018-06-30 Thread Greg Cox
you concatenate two patches? or what happened? It seems that the > part after this is not recognised as proper patch. > I think I dropped a few lines from `git format-patch HEAD~1 --stdout`​ on accident. Take two: >From 2f221fe6111572dc897dc91cfd9ad4929df478ec Mon Sep 17 00:00:00 2001

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

2018-06-30 Thread Greg Cox
While writing up a plugin, I found that the sample plugin code was using openvpn_plugin_open_v1. Since that and openvpn_plugin_func_v1 are listed as 'deprecated' in openvpn-plugin.h, it made sense to me that you shouldn't list those functions as sample code for others to clone. This edits only sa