Re: [Openvpn-devel] [PATCH] Allow to specify bind interface for outbound/inbound connections

2017-01-25 Thread Maximilian Wilhelm
Anno domini 2016 Gert Doering scripsit: Hi Gert, * > On Sun, Oct 30, 2016 at 02:48:25PM +0100, Maximilian Wilhelm wrote: > > Can I motivate anyone on commenting on or applying this? :) > > You're keeping me busy on multiple fronts :-9 - and since this is networking, > it&

Re: [Openvpn-devel] [PATCH] Allow to specify bind interface for outbound/inbound connections

2017-01-26 Thread Maximilian Wilhelm
Anno domini 2017 Arne Schwabe scripsit: > A quick from me. Cool, thanks. > > diff --git a/src/openvpn/init.c b/src/openvpn/init.c > > index 73f8c6d..57b1423 100644 > > --- a/src/openvpn/init.c > > +++ b/src/openvpn/init.c > > @@ -2856,7 +2856,8 @@ do_init_socket_1 (struct context *c, const int m

Re: [Openvpn-devel] [PATCH] Allow to specify bind interface for outbound/inbound connections

2017-09-21 Thread Maximilian Wilhelm
Anno domini 2017 Maximilian Wilhelm scripsit: Hi, for the record: I've updated the PR on github and addressed the issues raised here before. -> https://github.com/OpenVPN/openvpn/pull/65#issuecomment-330715591 The point remaining is the support for FreeBSD: [...] > > > + i

Re: [Openvpn-devel] why is "route add failure" considered not an error?

2015-06-21 Thread Maximilian Wilhelm
Anno domini 2015 Jan Just Keijser scripsit: Hi, > > OpenVPN history confuses me :-) - right now, I am wondering about the > > following: > > > > - if we call ifconfig to set up the tun device, and that fails, we > > consider it a hard error (openvpn_exec_check(..., S_FATAL, ...) and > >

[Openvpn-devel] Allow OpenVPN to communicate to peers via a Linux VRF

2016-10-21 Thread Maximilian Wilhelm
Hi, I'm rolling out Linux VRFs[0] in my network and pushed all my external connections in a VRF, so nothing bad[tm] can happen. Doing so broke my OpenVPN connections between network nodes, as I kind of expected. I tried using the --bind option to let OpenVPN bind to the external IP for make a co

Re: [Openvpn-devel] Allow OpenVPN to communicate to peers via a Linux VRF

2016-10-21 Thread Maximilian Wilhelm
Anno domini 2016 Maximilian Wilhelm scripsit: Hi again, > I'm rolling out Linux VRFs[0] in my network and pushed all my external > connections in a VRF, so nothing bad[tm] can happen. > > Doing so broke my OpenVPN connections between network nodes, as I kind > of expected

[Openvpn-devel] [PATCH] Allow to specify bind interface for outbound/inbound connections

2016-10-30 Thread Maximilian Wilhelm
Anno domini 2016 Maximilian Wilhelm scripsit: > Anno domini 2016 Maximilian Wilhelm scripsit: > > Hi again, > > > I'm rolling out Linux VRFs[0] in my network and pushed all my external > > connections in a VRF, so nothing bad[tm] can happen. > > > &

[Openvpn-devel] WTMP support for OpenVPN 2.1

2007-09-02 Thread Maximilian Wilhelm
Hi! This is an initial attempt to let OpenVPN 2.1 write a wtmp log of all connections including the username, it's VPN IP and the real remote IP the user connected from. This provides an OpenVPN admin with a simple database of all connections of his VPN servers and the possibility to easily see

[Openvpn-devel] [PATCH] Let Makefile.am build wtmp, too.

2007-09-02 Thread Maximilian Wilhelm
Signed-off-by: Maximilian Wilhelm --- Makefile.am |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Makefile.am b/Makefile.am index 36e2cf9..6384857 100644 --- a/Makefile.am +++ b/Makefile.am @@ -94,7 +94,8 @@ openvpn_SOURCES = \ status.c status.h

[Openvpn-devel] [PATCH] Let OpenVPN write wtmp entries if configured so.

2007-09-02 Thread Maximilian Wilhelm
Signed-off-by: Maximilian Wilhelm --- multi.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/multi.c b/multi.c index 2c23a44..5d8c80e 100644 --- a/multi.c +++ b/multi.c @@ -462,7 +462,9 @@ multi_close_instance (struct multi_context *m, dmsg (D_MULTI_DEBUG

[Openvpn-devel] [PATCH] Added the ability to configure wtmp logging:

2007-09-02 Thread Maximilian Wilhelm
--log-wtmp server_id [file] : Enable logging to wtmp file using the two digit server_id a prefix for the utmp line. Optionally you can write to an own wtmp file. (Default is /var/log/ovpnwtmp. --- options.c | 31 +++ options.

[Openvpn-devel] [PATCH] Let multi.c call wtmp_* routines when ENABLE_WTMP is defined.

2007-09-02 Thread Maximilian Wilhelm
Signed-off-by: Maximilian Wilhelm --- multi.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/multi.c b/multi.c index fa924f1..2c23a44 100644 --- a/multi.c +++ b/multi.c @@ -42,6 +42,10 @@ #include "forward-inline.h" +#ifdef ENABLE_WTMP

[Openvpn-devel] [PATCH] Let set_utmp_line() use the configured 'server_id' as prefix in utmp line string

2007-09-02 Thread Maximilian Wilhelm
aschine write to the same wtmp file and you are still able to distinguish which instance created which entry. Signed-off-by: Maximilian Wilhelm --- wtmp.c | 14 +- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/wtmp.c b/wtmp.c index 3887220..50dd5f9 100644 --- a

[Openvpn-devel] [PATCH] Added WTMP support for OpenVPN

2007-09-02 Thread Maximilian Wilhelm
Signed-off-by: Maximilian Wilhelm --- wtmp.c | 333 wtmp.h | 27 + 2 files changed, 360 insertions(+), 0 deletions(-) create mode 100644 wtmp.c create mode 100644 wtmp.h diff --git a/wtmp.c b/wtmp.c new file mode 100644

[Openvpn-devel] [PATCH] Push a pointer to the whole options struct to wtmp_init()

2007-09-02 Thread Maximilian Wilhelm
the names specified in the configuration. Signed-off-by: Maximilian Wilhelm --- multi.c |2 +- options.c |3 ++- wtmp.c| 13 + wtmp.h|2 +- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/multi.c b/multi.c index 5d8c80e..1453399 100644 --- a

[Openvpn-devel] [PATCH] wtmp_init() does not honor username/groupname config options and chown()s wtmp file

2007-09-02 Thread Maximilian Wilhelm
t the point wtmp_init() is called.) Signed-off-by: Maximilian Wilhelm --- wtmp.c | 47 +++ 1 files changed, 43 insertions(+), 4 deletions(-) diff --git a/wtmp.c b/wtmp.c index 50dd5f9..374cf53 100644 --- a/wtmp.c +++ b/wtmp.c @@ -12,14 +12,16 @@ #define

Re: [Openvpn-devel] WTMP support for OpenVPN 2.1

2007-09-10 Thread Maximilian Wilhelm
Am Monday, den 3 September hub Maximilian Wilhelm folgendes in die Tasten: Hi! > This is an initial attempt to let OpenVPN 2.1 write a wtmp log of all > connections including the username, it's VPN IP and the real remote IP > the user connected from. [...] Is nobody interested

[Openvpn-devel] [Patch] Fix Null-Pointer bug in init_ssl() when no '--ca' is set but '--capath'

2007-10-11 Thread Maximilian Wilhelm
Hi! This little patch fixes a silly bug in init_ssl() in ssl.c where options->ca_file is accessed without prior check if it's not NULL. The bug was introduced in revision 784. Ciao Max -- Follow the white penguin. diff --git a/ssl.c b/ssl.c index 85e9c6f..868edc2 100644 --- a/ssl.c +++

[Openvpn-devel] [2nd Try] WTMP support for OpenVPN 2.1

2007-10-14 Thread Maximilian Wilhelm
100644 index 000..1c1a0af --- /dev/null +++ b/wtmp.c @@ -0,0 +1,397 @@ +/* + * OpenVPN wtmp support + * + * (C) 2007 Maximilian Wilhelm + * (C) 2007 Jan-Benedict Glaw + * + */ + +#include "config.h" +#include "syshead.h" + +#ifdef ENABLE_WTMP + +#define _GNU_SOURCE + +#in

Re: [Openvpn-devel] [Patch] Fix Null-Pointer bug in init_ssl() when no '--ca' is set but '--capath'

2008-01-29 Thread Maximilian Wilhelm
Am Friday, den 12 October hub Maximilian Wilhelm folgendes in die Tasten: Hi! What about this patch? I think it should be included in the next -rc as it fixes a crash. > This little patch fixes a silly bug in init_ssl() in ssl.c where > options->ca_file is accessed without prior chec

[Openvpn-devel] OpenVPN binaries for MAC?

2008-01-29 Thread Maximilian Wilhelm
Hi! While watching the preparations for release 2.1 I'm wondering if there will be prepared binaries or installable packages for Mac users when the release is there? Thanks, Ciao Max -- Follow the white penguin.

Re: [Openvpn-devel] OpenVPN binaries for MAC?

2008-05-09 Thread Maximilian Wilhelm
Maximilian Wilhelm scripsit: > While watching the preparations for release 2.1 I'm wondering if there > will be prepared binaries or installable packages for Mac users when > the release is there? So really nobody is interested in OpenVPN for MAC? Sad. Ciao Max -- Fo

Re: [Openvpn-devel] OpenVPN binaries for MAC?

2008-05-11 Thread Maximilian Wilhelm
Anno domini Noam Rathaus scripsit: Hi! > Don't get discouraged, one thing that I learned over the year, as there is no > MAC binary now, little if any use OpenVPN on MAC causing lack of interest on > both ends - developers and consumers for OpenVPN support for MAC. > If you are willing to com

[Openvpn-devel] "VRF support on Linux" / --bind-dev support

2020-06-26 Thread Maximilian Wilhelm
Hi, this set reintroduces the patch for "VRF support on Linux" by implementing --bind-dev option from 2016 as well as some real live documentation as requested by Gert :) I wrote a .rst file in the style of the "man-page overhaul project" in the hope that this format is useful and can easily be

[Openvpn-devel] [PATCH 1/2] Add --bind-dev option.

2020-06-26 Thread Maximilian Wilhelm
making connections using the non-default VRF and having the tun/tap interface in the default VRF. Thanks to David Ahern (Cumulus Networks) for insights on this. [0] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/networking/vrf.txt Signed-off-by: Maximilian

[Openvpn-devel] [PATCH 2/2] Documentation for --bind-dev / VRFs on Linux

2020-06-26 Thread Maximilian Wilhelm
From: Maximilian Wilhelm Signed-off-by: Maximilian Wilhelm --- doc/man-sections/vrf.rst | 75 1 file changed, 75 insertions(+) create mode 100644 doc/man-sections/vrf.rst diff --git a/doc/man-sections/vrf.rst b/doc/man-sections/vrf.rst new

Re: [Openvpn-devel] [PATCH 1/2] Add --bind-dev option.

2020-06-29 Thread Maximilian Wilhelm
Anno domini 2020 Gert Doering scripsit: Hi, > reading this more closely at merging/testing time, I do have a change > request... > > On Fri, Jun 26, 2020 at 08:49:44PM +0200, Maximilian Wilhelm wrote: > > +#ifdef TARGET_LINUX > > +else if (streq (

[Openvpn-devel] [PATCH v2] "VRF support on Linux" / --bind-dev support

2020-06-29 Thread Maximilian Wilhelm
Hi, once again, this time with added error handling in the setsockopt(). Sorry for missing this before. Best Max ___ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel

[Openvpn-devel] [PATCH v2 1/2] Add --bind-dev option.

2020-06-29 Thread Maximilian Wilhelm
From: Maximilian Wilhelm This options allows the user to specify a network device the OpenVPN process should use when making a connection or binding to an address. This translates in setting the SO_BINDTODEVICE option to the corresponding socket (on Linux). When for example using VRFs

[Openvpn-devel] [PATCH v2 2/2] Documentation for --bind-dev / VRFs on Linux

2020-06-29 Thread Maximilian Wilhelm
From: Maximilian Wilhelm Signed-off-by: Maximilian Wilhelm --- doc/man-sections/vrf.rst | 75 1 file changed, 75 insertions(+) create mode 100644 doc/man-sections/vrf.rst diff --git a/doc/man-sections/vrf.rst b/doc/man-sections/vrf.rst new

Re: [Openvpn-devel] wanted: mechanism to send text messages to client

2020-12-20 Thread Maximilian Wilhelm
Anno domini 2020 Greg Cox scripsit: Hi, [...] > So IMO, 1-2 are fundamental, 3-5 are > wishlist/consideration/extensions/ideas, use or ignore as you see fit: > * Make the ability for receiving messages on a client as described. > Enabled by default, maybe selectively disable-able because someone