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 > announce a new git repository for e

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: 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 files changed, 20 i

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 Schwa

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 somebody objects during

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 next week. kind reg

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(-) > > diff --git a/src/

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 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 |1 + 1 files ch

[Openvpn-devel] [PATCH] build: support platforms that does not need explicit tun headers

2012-06-02 Thread Alon Bar-Lev
Both "generic" and Darwin have no special headers to use tap. Fixes commit 7cacdfd4b7. Reported-by: Arne Schwabe Signed-off-by: Alon Bar-Lev --- configure.ac |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 5ace128..339164f 100644 ---

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.

[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 @@ OPTIONAL (but recommende

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 5:14 PM, Arne Schwabe wrote: Hello, >

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 >>> broken on OS X: >>> >>> [...] >>> checking

[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 comp

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: >> LZO_CFLAGS="-I/opt/local/inclu

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 net/if_tun.h presence..

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... no > checking net/

[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

[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 ++ src/openvpn/syshead.h

[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 @@ add_option (str

[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 100644 --- a/src/open

[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
Signed-off-by: Arne Schwabe --- src/openvpn/init.c | 11 +-- src/openvpn/tun.h | 11 +++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/openvpn/init.c b/src/openvpn/init.c index 61ced5d..a25de5d 100644 --- a/src/openvpn/init.c +++ b/src/openvpn/init.c @@

[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 deletions(-) diff --git

[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 @@ get_console_inpu

[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 +1087,8 @@ When used wi

[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 - src/

[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 warnin