Re: [Openvpn-devel] Issues with challenge-response when user/pass is read from a file

2015-12-17 Thread Wayne Davison
vpn and gives me full control w/o using --auth-user-pass (since the official release is not going to support reading the challenge/response from a file). ..wayne..

Re: [Openvpn-devel] [PATCH 1/3] Fix CR prompting when user & pass are read from a file.

2015-12-17 Thread Wayne Davison
ss FILENAME? I can't get that combo to work even without my changes. I guess I'll let you guys fix it up the right way. ..wayne..

[Openvpn-devel] [PATCH 3/3] Fix too-deep indentation.

2015-12-15 Thread Wayne Davison
Fix the indentation on the code block that got moved out of an unneeded "if". --- src/openvpn/misc.c | 116 ++--- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/src/openvpn/misc.c b/src/openvpn/misc.c index e0aa5f9..517a2eb 100644 --

[Openvpn-devel] [PATCH 2/3] Move 2 prompt buffers into deeper blocks.

2015-12-15 Thread Wayne Davison
Two buffers used for username/password prompting can be moved into a deeper block so that they don't get set if they are not going to be used. --- src/openvpn/misc.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/openvpn/misc.c b/src/openvpn/misc.c index

[Openvpn-devel] [PATCH 1/3] Fix CR prompting when user & pass are read from a file.

2015-12-15 Thread Wayne Davison
The code that reads the challenge response (both dynamic & static) will not prompt the user if the username and password information was read from a file. In the latest code this can be fixed by simply removing the "if (username_from_stdin || password_from_stdin)" condition because all the deeper

Re: [Openvpn-devel] [PATCH] Improve stdin prompting section, fixing CR prompting.

2015-12-15 Thread Wayne Davison
ation. If you end up wanting to consider the CR-from-a-file feature, that patch would be unchanged from the last one I posted. ..wayne..

Re: [Openvpn-devel] [PATCH] Improve stdin prompting section, fixing CR prompting.

2015-12-15 Thread Wayne Davison
", "sms", "phone", or enter a number from the generator app as they see fit. For me, I use "push" most of the time. I figure if the app is going to support reading the prompts from a file, it should support all the prompts the same way for consistency. ..wayne..

Re: [Openvpn-devel] [PATCH] Improve stdin prompting section, fixing CR prompting.

2015-12-14 Thread Wayne Davison
On Thu, Dec 10, 2015 at 8:57 AM, Wayne Davison wrote: > src/openvpn/misc.c | 119 > + > 1 file changed, 57 insertions(+), 62 deletions(-) > Any questions I can answer about this patch? This is such a straight-forward bug with

[Openvpn-devel] [PATCH] Allow challenge/response to be read from --auth-user-pass file.

2015-12-10 Thread Wayne Davison
Must be applied after the patch to fix CR prompting. --- doc/openvpn.8 | 8 +++- src/openvpn/misc.c | 19 +-- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/doc/openvpn.8 b/doc/openvpn.8 index 1b9dcae..e806930 100644 --- a/doc/openvpn.8 +++ b/doc/openvpn

[Openvpn-devel] [PATCH] Improve stdin prompting section, fixing CR prompting.

2015-12-10 Thread Wayne Davison
--- src/openvpn/misc.c | 119 + 1 file changed, 57 insertions(+), 62 deletions(-) diff --git a/src/openvpn/misc.c b/src/openvpn/misc.c index bc411bf..83e10f7 100644 --- a/src/openvpn/misc.c +++ b/src/openvpn/misc.c @@ -1132,74 +1132,69 @@ get_us

Re: [Openvpn-devel] [PATCH 1/2] Fix CR prompt with --auth-user-pass & support reading response.

2015-12-10 Thread Wayne Davison
don't get set when they aren't needed). ..wayne..

[Openvpn-devel] [PATCH 2/2] Fix indentation of just-tweaked section plus an off-by-one section.

2015-12-08 Thread Wayne Davison
--- src/openvpn/misc.c | 120 ++--- 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/src/openvpn/misc.c b/src/openvpn/misc.c index a6915ac..af64cb0 100644 --- a/src/openvpn/misc.c +++ b/src/openvpn/misc.c @@ -1105,11 +1105,11 @@ get_us

[Openvpn-devel] [PATCH 1/2] Fix CR prompt with --auth-user-pass & support reading response.

2015-12-08 Thread Wayne Davison
Fixes a bug where there is no prompt for a dynamic (or static) challenge response when combining "--auth-retry interact" (or --static-challenge) with --auth-user-pass and the password is read from the file. It also extends the reading from the file to allow a response to be provided on the line aft

[Openvpn-devel] [PATCH 0/2] Fix CR prompt with --auth-user-pass + R from a file

2015-12-08 Thread Wayne Davison
There is a bug in the challenge/response code when the username & password is read from a file -- the response is never prompted for. This bug affects older versions, including 2.3.8. The following patchset applies to master, and uses a similar bool idiom as what has been added for user & pass.

Re: [Openvpn-devel] Repos for Debian Wheezy?

2013-05-30 Thread Wayne
Does that mean you will be building packages against libssl1.0.0? Sorry for the top posting. Dumb phone email client. On May 30, 2013, at 10:16 AM, Samuli Seppänen wrote: > Hi, > > My OpenVPN Debian packages[1] seem to depend on libssl0.9.8, which probably > means they won't work on Wheezy.