[Openvpn-devel] [PATCH 0/8] Openvpn for Android patch set

2012-06-02 Thread Arne Schwabe
These are the patches that currently are applied to the openvpn version distributed in the android version of openvpn. Only the last two patches are really android specific the rest of the patches should also be useful on other platforms. Arne Schwabe (8): Silence Port is now 1194 IANA

[Openvpn-devel] [PATCH 3/8] Only use tmpdir if tmp_dir is really used.

2012-06-02 Thread Arne Schwabe
This fixes starting openvpn compiled as client only version of systems that have no /tmp (Android). --tmp-dir could only be set if P2MP_SERVER has been enabled too. Signed-off-by: Arne Schwabe --- src/openvpn/options.c | 12 src/openvpn/options.h |2 ++

[Openvpn-devel] [PATCH 1/8] Silence Port is now 1194 IANA warning if remote option with port is used

2012-06-02 Thread Arne Schwabe
Signed-off-by: Arne Schwabe --- src/openvpn/options.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 08f9cb2..8e5d3b9 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -4506,6 +4506,7

[Openvpn-devel] [PATCH 7/8] add ability to send/receive file descriptors via management interface, only used in android so. For now under #ifdef ANDROID

2012-06-02 Thread Arne Schwabe
Signed-off-by: Arne Schwabe --- src/openvpn/manage.c | 88 ++ src/openvpn/manage.h |4 ++ 2 files changed, 92 insertions(+), 0 deletions(-) diff --git a/src/openvpn/manage.c b/src/openvpn/manage.c index 141..cc22208

[Openvpn-devel] [PATCH 5/8] Add the name of the context where option is not allowed to the error message.

2012-06-02 Thread Arne Schwabe
Changes Options error: option 'dhcp-option' cannot be used in this context to P:Options error: option 'dhcp-option' cannot be used in this context ([PUSH-OPTIONS]) Signed-off-by: Arne Schwabe --- src/openvpn/options.c |5 +++-- 1 files changed, 3 insertions(+), 2

[Openvpn-devel] [PATCH 2/8] Add the query to the error message. Makes the diagnose what went wrong from logs easier.

2012-06-02 Thread Arne Schwabe
Signed-off-by: Arne Schwabe --- src/openvpn/console.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/openvpn/console.c b/src/openvpn/console.c index 2464e7e..afda8ca 100644 --- a/src/openvpn/console.c +++ b/src/openvpn/console.c @@ -232,7 +232,7

[Openvpn-devel] [PATCH 4/8] Explain that route-nopull also causes the client to ignore dhcp options.

2012-06-02 Thread Arne Schwabe
Signed-off-by: Arne Schwabe --- doc/openvpn.8 |3 ++- src/openvpn/options.c |2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/openvpn.8 b/doc/openvpn.8 index 24b1a2c..f420d58 100644 --- a/doc/openvpn.8 +++ b/doc/openvpn.8 @@ -1087,7

[Openvpn-devel] [PATCH 8/8] Android platform specific changes.

2012-06-02 Thread Arne Schwabe
Signed-off-by: Arne Schwabe --- src/openvpn/options.c |6 +++ src/openvpn/route.c | 25 +- src/openvpn/socket.c | 10 + src/openvpn/ssl.c |2 + src/openvpn/syshead.h |2 +- src/openvpn/tun.c | 88

[Openvpn-devel] Build broken on Mac OS X

2012-06-02 Thread Arne Schwabe
Hello, while preparing my patches for OS X I also noticed that the build is broken on OS X: [...] checking net/if_tun.h usability... no checking net/if_tun.h presence... no checking for net/if_tun.h... no checking net/tun/if_tun.h usability... no checking net/tun/if_tun.h presence... no checking

Re: [Openvpn-devel] Build broken on Mac OS X

2012-06-02 Thread Alon Bar-Lev
Hello, On Sat, Jun 2, 2012 at 5:14 PM, Arne Schwabe wrote: > Hello, > > while preparing my patches for OS X I also noticed that the build is > broken on OS X: > > [...] > checking net/if_tun.h usability... no > checking net/if_tun.h presence... no > checking for net/if_tun.h...

Re: [Openvpn-devel] Build broken on Mac OS X

2012-06-02 Thread Arne Schwabe
Am 02.06.12 16:19, schrieb Alon Bar-Lev: > Hello, > > On Sat, Jun 2, 2012 at 5:14 PM, Arne Schwabe wrote: >> Hello, >> >> while preparing my patches for OS X I also noticed that the build is >> broken on OS X: >> >> [...] >> checking net/if_tun.h usability... no >> checking

Re: [Openvpn-devel] Build broken on Mac OS X

2012-06-02 Thread Alon Bar-Lev
On Sat, Jun 2, 2012 at 5:28 PM, Arne Schwabe wrote: >>> In the INSTALL file  --with-lzo-headers and --with-lzo-lib is mentioned, >>> which do not work: >>> >> >> >>> LZO_CFLAGS="-I/opt/local/include" LZO_LIBS=-L/opt/local/lib ./configure >> This should have been: >>

[Openvpn-devel] [PATCH] build: update INSTALL to recent changes

2012-06-02 Thread Alon Bar-Lev
--- INSTALL | 144 +-- 1 files changed, 85 insertions(+), 59 deletions(-) diff --git a/INSTALL b/INSTALL index ab0d671..209cfa6 100644 --- a/INSTALL +++ b/INSTALL @@ -60,13 +60,12 @@ OPTIONAL (but recommended): (2) LZO real-time

Re: [Openvpn-devel] Build broken on Mac OS X

2012-06-02 Thread Alon Bar-Lev
On Sat, Jun 2, 2012 at 5:28 PM, Arne Schwabe wrote: > Am 02.06.12 16:19, schrieb Alon Bar-Lev: >> Hello, >> >> On Sat, Jun 2, 2012 at 5:14 PM, Arne Schwabe wrote: >>> Hello, >>> >>> while preparing my patches for OS X I also noticed that the build is >>>

Re: [Openvpn-devel] Build broken on Mac OS X

2012-06-02 Thread Alon Bar-Lev
Temporary workaround: have_tap_header="yes" ./configure ... On Sat, Jun 2, 2012 at 6:03 PM, Alon Bar-Lev wrote: > On Sat, Jun 2, 2012 at 5:28 PM, Arne Schwabe wrote: >> Am 02.06.12 16:19, schrieb Alon Bar-Lev: >>> Hello, >>> >>> On Sat, Jun 2, 2012 at

[Openvpn-devel] [PATCH] build: update INSTALL to recent changes

2012-06-02 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- INSTALL | 144 +-- 1 files changed, 85 insertions(+), 59 deletions(-) diff --git a/INSTALL b/INSTALL index ab0d671..209cfa6 100644 --- a/INSTALL +++ b/INSTALL @@ -60,13 +60,12 @@

Re: [Openvpn-devel] [PATCH] build: update INSTALL to recent changes

2012-06-02 Thread Alon Bar-Lev
On Sat, Jun 2, 2012 at 6:30 PM, Alon Bar-Lev wrote: > Signed-off-by: Alon Bar-Lev This time with sign-off.

Re: [Openvpn-devel] [PATCH 1/8] Silence Port is now 1194 IANA warning if remote option with port is used

2012-06-02 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First of all, thank you very much for your work on this patch set! And you have a lot of good things here. So to this patch ... On 02/06/12 15:03, Arne Schwabe wrote: > > Signed-off-by: Arne Schwabe --- > src/openvpn/options.c

Re: [Openvpn-devel] [PATCH 3/8] Only use tmpdir if tmp_dir is really used.

2012-06-02 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 See comments below. On 02/06/12 15:03, Arne Schwabe wrote: > This fixes starting openvpn compiled as client only version of > systems that have no /tmp (Android). --tmp-dir could only be set if > P2MP_SERVER has been enabled too. > > Signed-off-by:

Re: [Openvpn-devel] [PATCH 6/8] Allow routes to be set before opening tun, similar to ifconfig before opening tun

2012-06-02 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 See comments below. On 02/06/12 15:03, Arne Schwabe wrote: > > Signed-off-by: Arne Schwabe --- > src/openvpn/init.c | 11 +-- src/openvpn/tun.h | 11 > +++ 2 files changed, 20 insertions(+), 2 deletions(-) >

Re: [Openvpn-devel] [PATCH 2/8] Add the query to the error message. Makes the diagnose what went wrong from logs easier.

2012-06-02 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/06/12 15:03, Arne Schwabe wrote: > > Signed-off-by: Arne Schwabe > --- > src/openvpn/console.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > ACK. Will apply this soonish, unless somebody objects during

Re: [Openvpn-devel] [PATCH 4/8] Explain that route-nopull also causes the client to ignore dhcp options.

2012-06-02 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/06/12 15:03, Arne Schwabe wrote: > > Signed-off-by: Arne Schwabe --- doc/openvpn.8 > |3 ++- src/openvpn/options.c |2 +- 2 files changed, 3 > insertions(+), 2 deletions(-) > ACK. Will apply this soonish, unless

Re: [Openvpn-devel] [PATCH 5/8] Add the name of the context where option is not allowed to the error message.

2012-06-02 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/06/12 15:03, Arne Schwabe wrote: > Changes > > Options error: option 'dhcp-option' cannot be used in this context > > to > > P:Options error: option 'dhcp-option' cannot be used in this > context ([PUSH-OPTIONS]) > > Signed-off-by: Arne

Re: [Openvpn-devel] [PATCH 6/8] Allow routes to be set before opening tun, similar to ifconfig before opening tun

2012-06-02 Thread Arne Schwabe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 02.06.12 18:35, schrieb David Sommerseth: > > See comments below. > > On 02/06/12 15:03, Arne Schwabe wrote: > > > Signed-off-by: Arne Schwabe --- > > src/openvpn/init.c | 11 +-- src/openvpn/tun.h | 11 > > +++ 2

Re: [Openvpn-devel] [PATCH 1/8] Silence Port is now 1194 IANA warning if remote option with port is used

2012-06-02 Thread Arne Schwabe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 02.06.12 18:24, schrieb David Sommerseth: > > First of all, thank you very much for your work on this patch set! > And you have a lot of good things here. > > So to this patch ... > > On 02/06/12 15:03, Arne Schwabe wrote: > > > Signed-off-by:

Re: [Openvpn-devel] [easy-rsa] New official git repository

2012-06-02 Thread Alon Bar-Lev
Well, You removed all my work. I guess you do this your-self now. On Fri, Jun 1, 2012 at 4:14 PM, David Sommerseth wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > Hi all, > > On behalf of the OpenVPN community developers, I have the pleasure to >