[Openvpn-devel] [XS] Change in openvpn[master]: dco: pass remoteaddr only for UDP peers

2024-12-16 Thread stipa (Code Review)
Attention is currently required from: flichtenheld, ordex, plaisthos. stipa has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/842?usp=email ) Change subject: dco: pass remoteaddr only for UDP peers ..

[Openvpn-devel] [PATCH v2 3/2] port-share: Add unix-socket and udp support for proxy protocol

2024-12-16 Thread corubba via Openvpn-devel
Just in case it is ever needed. Signed-off-by: Corubba Smith --- src/openvpn/ps.c | 42 +++--- src/openvpn/socket.h | 1 + 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/src/openvpn/ps.c b/src/openvpn/ps.c index b5d04c5b..b34df315 100644

[Openvpn-devel] [PATCH v2 1/2] port-share: Normalize IPv4-mapped IPv6 addresses

2024-12-16 Thread corubba via Openvpn-devel
Before passing IPv4-mapped IPv6 addresses to the proxy journal, translate them to plain IPv4 addresses. Whether the connection was accepted by OpenVPN on a "dual stack" socket is of no importance to the proxy receiver. Signed-off-by: Corubba Smith --- src/openvpn/ps.c | 18 ++ 1

[Openvpn-devel] [PATCH v2 2/2] port-share: Add proxy protocol v2 support

2024-12-16 Thread corubba via Openvpn-devel
In addition to the custom journal solution, also support the widely used binary PROXY protocol version 2 to convey the original client connection parameters to the proxy receiver. This makes the port-share journal feature more accessable and easier to use, because one doesn't need a custom integrat

Re: [Openvpn-devel] [PATCH 1/2] port-share: Normalize IPv4-mapped IPv6 addresses

2024-12-16 Thread Antonio Quartulli
Hello, On 15/12/2024 00:19, corubba via Openvpn-devel wrote: Before passing IPv4-mapped IPv6 addresses to the proxy journal, translate them to plain IPv4 addresses. Whether the connection was accepted by OpenVPN on a "dual stack" socket is of no importance to the proxy receiver. Thank you very