[Openvpn-devel] ps.c and function is_openvpn_protocol

2012-07-16 Thread Kai
Hello all, While using SSLH ( www.rutschle.net/tech/sslh.shtml ) which tries to use function is_openvpn_protocol from the OpenVPN implementation as much as possible to detect OpenVPN connections (with only one difference), I found that I can not detect OpenVPN connections when they are establ

Re: [Openvpn-devel] OpenVPN 3.3_alpha2 build problem

2012-07-16 Thread Alon Bar-Lev
On Mon, Jul 16, 2012 at 11:24 PM, Jonathan K. Bullard wrote: >> Please try: >> >> ./configure CFLAGS="-Ixxx" LDFLAGS="-Lyyy" >> >> Should be simpler. > > > Thanks. Although > > LDFLAGS="-Lxxx -Lyyy -Lzzz" > > builds, but it causes config to output "checking for PKCS11_HELPER... no". I > assume tha

Re: [Openvpn-devel] OpenVPN 3.3_alpha2 build problem

2012-07-16 Thread Jonathan K. Bullard
> > Please try: > > ./configure CFLAGS="-Ixxx" LDFLAGS="-Lyyy" > > Should be simpler. > Thanks. Although LDFLAGS="-Lxxx -Lyyy -Lzzz" builds, but it causes config to output "checking for PKCS11_HELPER... no". I assume that if it isn't finding pkcs11-helper, then it might not configure the build t

Re: [Openvpn-devel] New build system questions

2012-07-16 Thread Gert Doering
Hi, On Mon, Jul 16, 2012 at 07:45:03PM +0300, Alon Bar-Lev wrote: > > (3) I want to build "compat" as a static library. How can I do that? > > > > I've tried adding the following arguments after "./configure": > > > > --enable-static --disable-shared [..] > > You don't need the above... just add

Re: [Openvpn-devel] New build system questions

2012-07-16 Thread Alon Bar-Lev
On Mon, Jul 16, 2012 at 7:24 PM, Jonathan K. Bullard wrote: > I'm in the process of trying to build 2.3_alpha2 into Tunnelblick. It's slow > going because of my unfamiliarity with make/automake, etc. I have several > questions: > > (1) Is there a way to disable building "openvpnserv" and the "auth

Re: [Openvpn-devel] OpenVPN 3.3_alpha2 build problem

2012-07-16 Thread Alon Bar-Lev
Please try: ./configure CFLAGS="-Ixxx" LDFLAGS="-Lyyy" Should be simpler. Alon. On Mon, Jul 16, 2012 at 7:24 PM, Jonathan K. Bullard wrote: > Thank you, Arne and Alon -- I finally managed to get Tunnelblick > more-or-less built using the new build system in 2.3_alpha2. > > For the record, I ha

[Openvpn-devel] New build system questions

2012-07-16 Thread Jonathan K. Bullard
I'm in the process of trying to build 2.3_alpha2 into Tunnelblick. It's slow going because of my unfamiliarity with make/automake, etc. I have several questions: (1) Is there a way to disable building "openvpnserv" and the "auth-pam" plugin? (Other than modifying src/Makefile.am and src/plugins/Ma

Re: [Openvpn-devel] OpenVPN 3.3_alpha2 build problem

2012-07-16 Thread Jonathan K. Bullard
Thank you, Arne and Alon -- I finally managed to get Tunnelblick more-or-less built using the new build system in 2.3_alpha2. For the record, I had to use xxx*_LIBS*="-Lyyy" (not xxx*_LDFLAGS*) before ./configure, to get it working.

Re: [Openvpn-devel] [PATCH 0/3] better --auto-proxy support for Windows

2012-07-16 Thread Heiko Hund
On Tuesday 13 September 2011 11:41:11 Krashan Brahmanjara wrote: > At this moment main problem is invalid proxy search sequence. > I'm in network with high protection policy. Proxy got password and IE > settings are available but password is not visible. Only proxycfg data are > visible and Firefox

Re: [Openvpn-devel] [PATCH] make non-blocking connect work on Windows

2012-07-16 Thread Heiko Hund
On Monday 16 July 2012 13:02:11 Alon Bar-Lev wrote: >On Mon, Jul 16, 2012 at 12:42 PM, Heiko Hund wrote: >> I wonder if GetLastError() works reliably with WinSock2 operations as >> msdn.microsoft.com/en-us/library/windows/desktop/ms737828%28v=vs.85%29.aspx >> and >> msdn.microsoft.com/en-us/librar

Re: [Openvpn-devel] [PATCH] make non-blocking connect work on Windows

2012-07-16 Thread Alon Bar-Lev
On Mon, Jul 16, 2012 at 12:42 PM, Heiko Hund wrote: > On Monday 16 July 2012 12:12:24 Alon Bar-Lev wrote: >> On Mon, Jul 16, 2012 at 11:39 AM, Heiko Hund wrote: >> > On Friday 13 July 2012 20:00:49 Alon Bar-Lev wrote: >> >> In my projects I always compare to the two values EWOULDBLOCK and >> >> E

Re: [Openvpn-devel] [PATCH] make non-blocking connect work on Windows

2012-07-16 Thread Heiko Hund
On Monday 16 July 2012 12:12:24 Alon Bar-Lev wrote: > On Mon, Jul 16, 2012 at 11:39 AM, Heiko Hund wrote: > > On Friday 13 July 2012 20:00:49 Alon Bar-Lev wrote: > >> In my projects I always compare to the two values EWOULDBLOCK and > >> EINPROGRESS and it works without much conditionals. > >> >

Re: [Openvpn-devel] [PATCH] make non-blocking connect work on Windows

2012-07-16 Thread Alon Bar-Lev
On Mon, Jul 16, 2012 at 11:39 AM, Heiko Hund wrote: > Hi Alon > > On Friday 13 July 2012 20:00:49 Alon Bar-Lev wrote: >> In my projects I always compare to the two values EWOULDBLOCK and >> EINPROGRESS and it works without much conditionals. >> >> So simply do: >> --- >> if (status == EINPROGRES

Re: [Openvpn-devel] [PATCH] make non-blocking connect work on Windows

2012-07-16 Thread Heiko Hund
Hi Alon On Friday 13 July 2012 20:00:49 Alon Bar-Lev wrote: > In my projects I always compare to the two values EWOULDBLOCK and > EINPROGRESS and it works without much conditionals. > > So simply do: > --- > if (status == EINPROGRESS || status == EWOULDBLOCK) While this surly compiles with min

Re: [Openvpn-devel] Openvpn-2.3_alpha2 and easy-rsa-2.2.0_master packages and packaging files published

2012-07-16 Thread Samuli Seppänen
Hi Alon, The spec files I used are originally from RPMforge, forked when 2.3-alpha1 was released. I did not use the openvpn.spec.in file from the repo as it seemed outdated at the time. Now that I look again at the history of openvpn.spec.in file, I see that much of it was rewritten during the bui