Re: [Openvpn-devel] [PATCH] Remove remaining traces of compat-stdbool.h

2016-11-20 Thread Selva Nair
On Sun, Nov 20, 2016 at 2:47 AM, Gert Doering wrote: > commit 35be7e0d5 removed most references to compat-stdbool.h but > overlooked configure and "make dist" > > Signed-off-by: Gert Doering > --- > configure.ac | 2 +- > src/compat/Makefile.am | 1 - > 2 files changed, 1 insertion(+)

[Openvpn-devel] [PATCH applied] Re: Remove remaining traces of compat-stdbool.h

2016-11-20 Thread Gert Doering
Patch has been applied to the master branch. commit e5fc56a77ee08d10974ab7a245ceb94e13761a1b Author: Gert Doering Date: Sun Nov 20 08:47:40 2016 +0100 Remove remaining traces of compat-stdbool.h Signed-off-by: Gert Doering Acked-by: Selva Nair Message-Id: <1479628060-3267

[Openvpn-devel] [PATCH] Poor man's NCP for non-NCP clients

2016-11-20 Thread Steffan Karger
Allows non-NCP clients (<= 2.3, or 2.4+ with --ncp-disable) to specify a --cipher that is different from the one in the server config, as long as the new cipher value is allowed (i.e. in --ncp-ciphers at the server side). This patch was inspired by Gert's "Poor man's NCP for 2.3 clients" patch, bu

[Openvpn-devel] [PATCH v2] Poor man's NCP for non-NCP clients

2016-11-20 Thread Steffan Karger
Allows non-NCP clients (<= 2.3, or 2.4+ with --ncp-disable) to specify a --cipher that is different from the one in the server config, as long as the new cipher value is allowed (i.e. in --ncp-ciphers at the server side). This patch was inspired by Gert's "Poor man's NCP for 2.3 clients" patch, bu

[Openvpn-devel] [PATCH] Stub implementation of "--dhcp-option DNS6 "

2016-11-20 Thread Gert Doering
This defines a new DHCP suboption "DNS6", but does not actually implement anything but "document the option and understand it". If received, it will be put into an "foreign_option_" environment variable where an --up script or plugin could receive and act upon it. On non-Windows platforms, all "d

[Openvpn-devel] [PATCH v3] Poor man's NCP for non-NCP clients

2016-11-20 Thread Steffan Karger
Allows non-NCP clients (<= 2.3, or 2.4+ with --ncp-disable) to specify a --cipher that is different from the one in the server config, as long as the new cipher value is allowed (i.e. in --ncp-ciphers at the server side). This patch was inspired by Gert's "Poor man's NCP for 2.3 clients" patch, bu

Re: [Openvpn-devel] Combined 32/64-bit OpenVPN 2.4_beta1 installer available for testing

2016-11-20 Thread debbie10t
On 18/11/16 20:14, debbie10t wrote: > Hi, > > On 18/11/16 13:29, Samuli Seppänen wrote: >> Hi, >> >> OpenVPN 2.4_rc1[1] will be bundled as a combined installer[2] that works >> on both 32-bit and 64-bit Windows versions (Vista and above). A preview >> installer based on 2.4_beta1 is available her

[Openvpn-devel] [PATCH] Do not set ipv6 address if '--ip-win32 manual' is used

2016-11-20 Thread Selva Nair
This also applies to --ifconfig-noexec. Resolves Trac #723 Signed-off-by: Selva Nair --- src/openvpn/tun.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 77ae72f..36e0b15 100644 --- a/src/openvpn/tun.c +++ b/src/ope

[Openvpn-devel] [PATCH] Handle --dhcp-option DNS6 on Windows using netsh

2016-11-20 Thread Selva Nair
TODO: set dns servers using the interactive service Signed-off-by: Selva Nair --- doc/openvpn.8 | 5 ++--- src/openvpn/options.c | 22 ++ src/openvpn/tun.c | 30 ++ src/openvpn/tun.h | 3 +++ 4 files changed, 49 insertions(+), 11

Re: [Openvpn-devel] [PATCH] Handle --dhcp-option DNS6 on Windows using netsh

2016-11-20 Thread Selva Nair
Note: This is supposed to be applied on top of the 'Stub implementation of "--dhcp-option DNS6 "' patch ( https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13140.html ) -- ___

Re: [Openvpn-devel] [PATCH] Do not set ipv6 address if '--ip-win32 manual' is used

2016-11-20 Thread Gert Doering
Hi, On Sun, Nov 20, 2016 at 04:18:54PM -0500, Selva Nair wrote: > This also applies to --ifconfig-noexec. > > Resolves Trac #723 > > Signed-off-by: Selva Nair The patch is fine code-wise, but I'm not sure if it is the best approach. We have this funny bit of special-case code: options.c, aro

Re: [Openvpn-devel] [PATCH] Handle --dhcp-option DNS6 on Windows using netsh

2016-11-20 Thread Gert Doering
HI, On Sun, Nov 20, 2016 at 04:41:52PM -0500, Selva Nair wrote: > Note: This is supposed to be applied on top of the 'Stub implementation > of "--dhcp-option DNS6 "' patch ( > https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13140.html > ) Now that was quick :-) - someone nee

Re: [Openvpn-devel] [PATCH] Handle --dhcp-option DNS6 on Windows using netsh

2016-11-20 Thread Selva Nair
On Sun, Nov 20, 2016 at 4:48 PM, Gert Doering wrote: > HI, > > On Sun, Nov 20, 2016 at 04:41:52PM -0500, Selva Nair wrote: > > Note: This is supposed to be applied on top of the 'Stub implementation > > of "--dhcp-option DNS6 "' patch ( > > https://www.mail-archive.com/openvpn-devel@lists. > so

Re: [Openvpn-devel] [PATCH] Stub implementation of "--dhcp-option DNS6 "

2016-11-20 Thread Selva Nair
On Sun, Nov 20, 2016 at 11:45 AM, Gert Doering wrote: > This defines a new DHCP suboption "DNS6", but does not actually > implement anything but "document the option and understand it". > > If received, it will be put into an "foreign_option_" environment > variable where an --up script or plugin

[Openvpn-devel] [PATCH] Handle DNS6 option on Android

2016-11-20 Thread Arne Schwabe
--- doc/android.txt | 3 ++- src/openvpn/tun.c | 8 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/android.txt b/doc/android.txt index 5f4ee95..e287be0 100644 --- a/doc/android.txt +++ b/doc/android.txt @@ -47,7 +47,8 @@ ROUTE network netmask To tell the UI which

Re: [Openvpn-devel] [PATCH] Handle --dhcp-option DNS6 on Windows using netsh

2016-11-20 Thread Arne Schwabe
Am 20.11.16 um 22:38 schrieb Selva Nair: > TODO: set dns servers using the interactive service > I was playing with ANdroid/IPv6 and this. For Android, the resolver takes the DNS server always in the order that I give it. Since there are now seperate lists for DNS and DNS6 I have to prefer always

Re: [Openvpn-devel] [PATCH] Stub implementation of "--dhcp-option DNS6 "

2016-11-20 Thread Selva Nair
Hi, On Sun, Nov 20, 2016 at 4:53 PM, Selva Nair wrote: > > > On Sun, Nov 20, 2016 at 11:45 AM, Gert Doering > wrote: > >> This defines a new DHCP suboption "DNS6", but does not actually >> implement anything but "document the option and understand it". >> >> If received, it will be put into an

[Openvpn-devel] handle unsupported windows versions in installer

2016-11-20 Thread Илья Шипицин
hello, due to dns filter, 2.4 (and future 2.3.14) requires at least windows vista. how should we handle unsupported windows versions? is there cerrtain link to older installer, which we can provide? should we download that installer from newer installer or just provide link? https://github.com/Op

Re: [Openvpn-devel] handle unsupported windows versions in installer

2016-11-20 Thread Selva Nair
Hi, On Sun, Nov 20, 2016 at 9:22 PM, Илья Шипицин wrote: > due to dns filter, 2.4 (and future 2.3.14) requires at least windows vista. 2.3.x will continue to work on WindowsXP -- block-outside-dns in 2.3 branch is handled using runtime loading of the library so the option is just ignored with

Re: [Openvpn-devel] [PATCH] Handle --dhcp-option DNS6 on Windows using netsh

2016-11-20 Thread Selva Nair
Hi, On Sun, Nov 20, 2016 at 5:29 PM, Arne Schwabe wrote: > Am 20.11.16 um 22:38 schrieb Selva Nair: > > TODO: set dns servers using the interactive service > > > > I was playing with ANdroid/IPv6 and this. For Android, the resolver > takes the DNS server always in the order that I give it. Since

Re: [Openvpn-devel] handle unsupported windows versions in installer

2016-11-20 Thread Gert Doering
Hi, On Sun, Nov 20, 2016 at 11:02:33PM -0500, Selva Nair wrote: > As for 2.4 installer, if run on XP, showing a link to the latest 2.3.x > before bailing out is a nice thing to do. If its not too much work, I would > vote for offering to download the installer as well. This sounds good, yes. ge