[Openvpn-devel] interactive service and stdout/stderr pipes

2016-02-12 Thread Selva Nair
Hi, Currently the interactive service uses anonymous pipes for stdout and stderr in CreateProcess to start OpenVPN. But the service doesn't actively read from these pipes until the process exits with a non-zero error code. Any output thus read goes to the service pipe and EventLog which a casual e

Re: [Openvpn-devel] OpenVPN installers with openvpn-gui pull request #13's code included

2016-02-12 Thread Selva Nair
On Fri, Feb 12, 2016 at 10:15 AM, Gert Doering wrote: > > > > No, currently --config goes first. > > Which we might want to turn around, then (changes user-visible behaviour > in case the config file has a "log mylog.txt" line)... > With the GUI overriding some of the user options in the config

Re: [Openvpn-devel] OpenVPN installers with openvpn-gui pull request #13's code included

2016-02-12 Thread Selva Nair
On Fri, Feb 12, 2016 at 10:20 AM, Arne Schwabe wrote: > > Anyway, I don't want to be actually the one who solves that, I'm just > > a user who tends to run into user-unfriendliness all the time :-) > > > > > You are too negative: > > Changelog: > > - Now honours user defined log file location

Re: [Openvpn-devel] OpenVPN installers with openvpn-gui pull request #13's code included

2016-02-12 Thread Arne Schwabe
Am 12.02.16 um 16:15 schrieb Gert Doering: > Hi, > > On Fri, Feb 12, 2016 at 09:56:15AM -0500, Selva Nair wrote: This is tricky..First, if the config is not readable, log file is not set at that time and log goes to stdout (mapped to "/dev/null" by the GUI). Even otherwise parsing

Re: [Openvpn-devel] OpenVPN installers with openvpn-gui pull request #13's code included

2016-02-12 Thread Gert Doering
Hi, On Fri, Feb 12, 2016 at 09:56:15AM -0500, Selva Nair wrote: > > > This is tricky..First, if the config is not readable, log file is not set > > > at that time and log goes to stdout (mapped to "/dev/null" by the GUI). > > > Even otherwise parsing the log to figure out what went wrong is not >

Re: [Openvpn-devel] OpenVPN installers with openvpn-gui pull request #13's code included

2016-02-12 Thread Selva Nair
On Fri, Feb 12, 2016 at 9:37 AM, Gert Doering wrote: > On Fri, Feb 12, 2016 at 09:29:39AM -0500, Selva Nair wrote: > > > Since we know where we're sending the log file to, some enhancement to > > > the GUI to just go read that file in case the management interface > fails > > > to connect (after

Re: [Openvpn-devel] OpenVPN installers with openvpn-gui pull request #13's code included

2016-02-12 Thread Gert Doering
Hi, On Fri, Feb 12, 2016 at 09:29:39AM -0500, Selva Nair wrote: > > Since we know where we're sending the log file to, some enhancement to > > the GUI to just go read that file in case the management interface fails > > to connect (after seconds?) would be good for troubleshooting. > > > > This

Re: [Openvpn-devel] OpenVPN installers with openvpn-gui pull request #13's code included

2016-02-12 Thread Selva Nair
Hi, On Fri, Feb 12, 2016 at 8:15 AM, Gert Doering wrote: > Hi, > > On Fri, Feb 12, 2016 at 10:53:27AM +0200, Samuli Seppänen wrote: > > That would be good. We also need to warn about lack of permissions on > > the config files. Right now GUI just hangs if it can't read the OpenVPN > > config fil

Re: [Openvpn-devel] OpenVPN installers with openvpn-gui pull request #13's code included

2016-02-12 Thread Gert Doering
Hi, On Fri, Feb 12, 2016 at 10:53:27AM +0200, Samuli Seppänen wrote: > That would be good. We also need to warn about lack of permissions on > the config files. Right now GUI just hangs if it can't read the OpenVPN > config file. This is a more fundamental issue, I think - if there is something

[Openvpn-devel] Micro-sha-ft

2016-02-12 Thread debbie10t
I presume you are aware but just in case microsoft no more SHA1 authenticode https://forums.openvpn.net/topic20987.html

Re: [Openvpn-devel] OpenVPN installers with openvpn-gui pull request #13's code included

2016-02-12 Thread Samuli Seppänen
Il 11/02/2016 22:23, Selva Nair ha scritto: Hi, On Thu, Feb 11, 2016 at 11:42 AM, Samuli Seppänen mailto:sam...@openvpn.net>> wrote: 2) OpenVPN-GUI points OpenVPN config directory to a system-wide location While OpenVPN-GUI now saves the registry keys under "HKCU" (=current user) i

Re: [Openvpn-devel] OpenVPN installers with openvpn-gui pull request #13's code included

2016-02-12 Thread Samuli Seppänen
Hi, Sending to the list also... PS> C:\> openvpnserv.exe -install PS> C:\> openvpnserv.exe -start automatic I suppose you mean openvpnserv.exe -start interactive You're correct. My mistake. - Revert commit 2af86368964 in openvpn-gui We may want to do this only for 2.4 (or g