[Openvpn-devel] [PATCH] Unified success messages for setting mtu

2020-06-30 Thread Christopher Schenk
that makes sense. I updated the patch. Christopher --- src/openvpn/tun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 5567c445..2a2df27f 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -5525,7 +5525,7 @@ windows_set_mtu(

[Openvpn-devel] [PATCH 2/2] Log a note if someone wants to set a MTU below 1280 on IPv6

2020-06-29 Thread Christopher Schenk
--- src/openvpn/tun.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 3ef79b2f..67d7664e 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -238,6 +238,10 @@ do_set_mtu_service(const struct tuntap *tt, const short family, const int m

[Openvpn-devel] [PATCH 1/2] Unified success messages for setting mtu

2020-06-29 Thread Christopher Schenk
--- src/openvpn/tun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 18cdf38d..3ef79b2f 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -251,7 +251,7 @@ do_set_mtu_service(const struct tuntap *tt, const short family, c

[Openvpn-devel] [PATCH] Set the correct mtu on windows based systems

2020-04-21 Thread Christopher Schenk
Signed-off-by: Christopher Schenk --- include/openvpn-msg.h | 10 +++- src/openvpn/tun.c | 89 +++ src/openvpnserv/interactive.c | 31 3 files changed, 129 insertions(+), 1 deletion(-) diff --git a/include/openvpn-msg.h b/include

Re: [Openvpn-devel] [PATCH] Set the correct mtu on windows based systems

2019-11-12 Thread Christopher Schenk
Hi, any updates on this? I would really love to see this upstream. Regards, Christopher On 5/18/19 3:43 PM, Gert Doering wrote: Hi, On Sat, May 18, 2019 at 02:38:29PM +0200, Christopher Schenk wrote: any other thoughts on this patch? Any chance to getting it applied? It got an ACK, so

Re: [Openvpn-devel] [PATCH] Set the correct mtu on windows based systems

2019-05-18 Thread Christopher Schenk
Hi, any other thoughts on this patch? Any chance to getting it applied? Christopher On 4/23/19 5:35 PM, Christopher Schenk wrote: Hi, i think this is not a big issue since the mtu is only set until the system gets rebooted. So it behaves exactly like my netsh version where i specified a

Re: [Openvpn-devel] [PATCH] Set the correct mtu on windows based systems

2019-04-23 Thread Christopher Schenk
2019 at 7:18 AM Christopher Schenk < csch...@mail.uni-paderborn.de> wrote: Signed-off-by: Christopher Schenk --- include/openvpn-msg.h | 8 src/openvpn/tun.c | 89 +++ src/openvpnserv/interactive.c | 31 3 files changed, 12

Re: [Openvpn-devel] [PATCH] Set the correct mtu on windows based systems

2019-04-18 Thread Christopher Schenk
Hi, what do you think about this patch? Is anything missing? Best regards Christopher On 4/4/19 1:16 PM, Christopher Schenk wrote: Signed-off-by: Christopher Schenk --- include/openvpn-msg.h | 8 src/openvpn/tun.c | 89 +++ src

[Openvpn-devel] [PATCH] Set the correct mtu on windows based systems

2019-04-04 Thread Christopher Schenk
Signed-off-by: Christopher Schenk --- include/openvpn-msg.h | 8 src/openvpn/tun.c | 89 +++ src/openvpnserv/interactive.c | 31 3 files changed, 128 insertions(+) diff --git a/include/openvpn-msg.h b/include/openvpn-msg.h

[Openvpn-devel] [PATCH 2/4] Setting MTU also via interactive service

2019-04-01 Thread Christopher Schenk
--- include/openvpn-msg.h | 8 + src/openvpn/tun.c | 67 ++- src/openvpnserv/interactive.c | 50 ++ 3 files changed, 124 insertions(+), 1 deletion(-) diff --git a/include/openvpn-msg.h b/include/openvpn-msg.h index 6

[Openvpn-devel] [PATCH 1/4] Setting adapter mtu on windows systems

2019-04-01 Thread Christopher Schenk
From: Christopher Schenk --- src/openvpn/tun.c | 39 ++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 48a8fdf7..93d028c8 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -69,6 +69,12

[Openvpn-devel] [PATCH 4/4] Simplified if statements for better readability

2019-04-01 Thread Christopher Schenk
--- src/openvpn/tun.c | 58 --- 1 file changed, 14 insertions(+), 44 deletions(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 9fe8444f..20e661a7 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -69,7 +69,7 @@ static void netsh_ifco

[Openvpn-devel] [PATCH 3/4] Use netioapi instead of netsh to set mtu

2019-04-01 Thread Christopher Schenk
--- src/openvpn/tun.c | 68 +++ src/openvpnserv/interactive.c | 44 +-- 2 files changed, 46 insertions(+), 66 deletions(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index b0230a7c..9fe8444f 100644 --- a/src/openvpn/tun.c +++

Re: [Openvpn-devel] [PATCH] Setting adapter mtu on windows systems

2019-03-29 Thread Christopher Schenk
Hi, On 28/03/2019 16:00, Selva Nair wrote: I would go a step further to say we should not add new features that do not work when started using the interactive service. Secondly, we should avoid the old style use of netsh and instead use the iphelper API as far as possible. It should be possible

[Openvpn-devel] [PATCH] Setting adapter mtu on windows systems

2019-03-28 Thread Christopher Schenk
From: Christopher Schenk --- src/openvpn/tun.c | 39 ++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 48a8fdf7..93d028c8 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -69,6 +69,12