From: David Sommerseth
Commit 0f2bc0dd92f43c9 started to introduce some file sanity
checking before OpenVPN started to avoid harder to explain issues
due to missing files or directories later on. But that commit
did not consider --chroot at all. Which would basically cause
OpenVPN to complain o
This patch contains a number of changes. I did not further spit this since some
changes make only sense being changed together.
Always use connection_list, simplifies the reconnection logic.
Change meaning of --connect-retry-max and --connect-retry to be used all
connections. This now allows Op
Do not protect the link socket when connecting to localhost
---
src/openvpn/socket.c | 21 ++---
src/openvpn/socket.h | 17 +
2 files changed, 35 insertions(+), 3 deletions(-)
diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c
index 27c967a..54a9f72 100644
--
With this patch OpenVPN will listen on Ipv4 as well as IPv6 when an IPv6 socket
is used. Using bind ipv6only will disable this behavior
---
doc/openvpn.8 | 8 +++-
src/openvpn/init.c| 1 +
src/openvpn/manage.c | 2 +-
src/openvpn/options.c | 4
src/openvpn/options.h | 1
Instead of using the implicit protocol string that is returned by the proto/af
to names function return a constant string. The strings have become part of the
wire protocl and we do not want them to change we the printing of proto/af
changes.
---
src/openvpn/options.c | 2 +-
src/openvpn/socket.
---
src/openvpn/init.c | 5 ++--
src/openvpn/socket.c | 51 ---
src/openvpn/socket.h | 85
src/openvpn/tun.c| 16 ++
src/openvpn/tun.h| 2 +-
5 files changed, 114 insertions(+), 45 deletions(-)
di
The ip-remote-hint option overrides the remote hostname of every
remote/connection entry unless management-query-remote is also defined and the
management interfaces overrides the option with remote MOD … The remote name is
even overridden when when management interface issues remote ACCEPT afte
Signed-off-by: Arne Schwabe
---
src/openvpn/socket.c | 468 ---
1 file changed, 261 insertions(+), 207 deletions(-)
diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c
index db711e1..207bb4e 100644
--- a/src/openvpn/socket.c
+++ b/src/openvpn/
---
src/openvpn/socket.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c
index c179818..cf6e8f4 100644
--- a/src/openvpn/socket.c
+++ b/src/openvpn/socket.c
@@ -187,15 +187,15 @@ openvpn_getaddrinfo (unsigned int flags,
---
src/openvpn/init.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/openvpn/init.c b/src/openvpn/init.c
index c54907c..e4f6af9 100644
--- a/src/openvpn/init.c
+++ b/src/openvpn/init.c
@@ -3339,6 +3339,10 @@ init_instance (struct context *c, const struct env_set
10 matches
Mail list logo