Re: [Openvpn-devel] [PATCH v2] openvpnserv: enable interactive service to open tun

2019-06-27 Thread Lev Stipakov
Hi, This only handles dev-node is unspecified. We need the same for > the case where dev-node specified above this. > I never used that, so this has slipped from my attention. Will do. > We service multiple OpenVPN processes, so a global variable is no good. > > Some alternatives: > (i) Use

Re: [Openvpn-devel] [PATCH v2] openvpnserv: enable interactive service to open tun

2019-06-26 Thread Selva Nair
Hi, I haven't compiled or run tested, but there are few issues that need to be addressed before that: On Wed, Jun 26, 2019 at 5:52 AM Lev Stipakov wrote: > > From: Lev Stipakov > > This patch enables interactive service to open tun device. > This is mostly needed by Wintun, which could be

[Openvpn-devel] [PATCH v2] openvpnserv: enable interactive service to open tun

2019-06-26 Thread Lev Stipakov
From: Lev Stipakov This patch enables interactive service to open tun device. This is mostly needed by Wintun, which could be opened only by privileged process. When interactive service is used, instead of calling CreateFile() directly by openvpn process we pass tun device path into service