[Openvpn-devel] [PATCH v2] get_default_gateway(): implement platform support for Linux/IPROUTE2

2025-01-31 Thread Gert Doering
Remove the old "read /proc/net/route and try to parse it" implementation and always use the sitnl/netlink implementation of net_route_v4_best_gw(). This was kept "because we had it and it was working" but does not really provide any benefit - netlink for route queries is there for v6 anyway, and t

[Openvpn-devel] [PATCH v2] get_default_gateway(): implement platform support for Linux/SITNL

2025-01-31 Thread Gert Doering
This adds Linux/SITNL platform functionality to the framework started by commit 9df51cf56 and commit 0fcfc8381f. v2: make comment reflect reality Change-Id: I1db72d7dca648a8ea4ec65d173290a819971305c Signed-off-by: Gert Doering Acked-by: Antonio Quartulli --- This change was reviewed on Gerrit

[Openvpn-devel] [XS] Change in openvpn[master]: get_default_gateway(): implement platform support for Linux/SITNL

2025-01-31 Thread ordex (Code Review)
Attention is currently required from: cron2, flichtenheld, plaisthos. ordex has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/883?usp=email ) Change subject: get_default_gateway(): implement platform support for Linux/SITNL .

[Openvpn-devel] [M] Change in openvpn[master]: get_default_gateway(): implement platform support for Linux/IPROUTE2

2025-01-31 Thread ordex (Code Review)
Attention is currently required from: cron2, flichtenheld, plaisthos. ordex has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/884?usp=email ) Change subject: get_default_gateway(): implement platform support for Linux/IPROUTE2 ..

[Openvpn-devel] [M] Change in openvpn[master]: get_default_gateway(): implement platform support for Linux/IPROUTE2

2025-01-31 Thread cron2 (Code Review)
Attention is currently required from: cron2, flichtenheld, plaisthos. Hello flichtenheld, ordex, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/884?usp=email to look at the new patch set (#2). The change is no longer submittable: checks~Ch

[Openvpn-devel] [XS] Change in openvpn[master]: get_default_gateway(): implement platform support for Linux/SITNL

2025-01-31 Thread cron2 (Code Review)
Attention is currently required from: flichtenheld, plaisthos. Hello flichtenheld, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/883?usp=email to look at the new patch set (#2). Change subject: get_default_gateway(): implement platform s

[Openvpn-devel] [M] Change in openvpn[master]: route.c: improve get_default_gateway() logic on Windows

2025-01-31 Thread cron2 (Code Review)
Attention is currently required from: flichtenheld, plaisthos, stipa. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/879?usp=email ) Change subject: route.c: improve get_default_gateway() logic on Windows

[Openvpn-devel] [L] Change in openvpn[master]: Add support for simultaneous use of UDP and TCP sockets

2025-01-31 Thread its_Giaan (Code Review)
Attention is currently required from: cron2, its_Giaan, plaisthos. Hello cron2, flichtenheld, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/764?usp=email to look at the new patch set (#18). Change subject: Add support for simultaneous us

[Openvpn-devel] [L] Change in openvpn[master]: Add support for simultaneous use of UDP and TCP sockets

2025-01-31 Thread its_Giaan (Code Review)
Attention is currently required from: cron2, plaisthos. its_Giaan has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/764?usp=email ) Change subject: Add support for simultaneous use of UDP and TCP sockets ..

[Openvpn-devel] [M] Change in openvpn[master]: Rename occurences of 'struct link_socket' from 'ls' to 'sock'

2025-01-31 Thread its_Giaan (Code Review)
Attention is currently required from: cron2, flichtenheld, its_Giaan, plaisthos. Hello cron2, flichtenheld, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/874?usp=email to look at the new patch set (#4). The following approvals got outdate

[Openvpn-devel] [M] Change in openvpn[master]: route.c: improve get_default_gateway() logic on Windows

2025-01-31 Thread cron2 (Code Review)
Attention is currently required from: flichtenheld, plaisthos, stipa. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/879?usp=email ) Change subject: route.c: improve get_default_gateway() logic on Windows

[Openvpn-devel] [M] Change in openvpn[master]: Rename occurences of 'struct link_socket' from 'ls' to 'sock'

2025-01-31 Thread cron2 (Code Review)
Attention is currently required from: flichtenheld, its_Giaan, plaisthos. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/874?usp=email ) Change subject: Rename occurences of 'struct link_socket' from 'ls' to 'sock' ..

[Openvpn-devel] [PATCH applied] Re: get_default_gateway(): implement platform support for Linux/SITNL

2025-01-31 Thread Gert Doering
Tested on a local gentoo system, with "the usual" questions (--show-gateway, --show-gateway 127.0.0.1, --show-gateway , ...). Patch has been applied to the master branch. commit f28c254da58c7a48592c2c63c0a98b38283405e8 Author: Gert Doering Date: Fri Jan 31 09:46:51 2025 +0100 get_default_

[Openvpn-devel] [XS] Change in openvpn[master]: get_default_gateway(): implement platform support for Linux/SITNL

2025-01-31 Thread cron2 (Code Review)
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/883?usp=email ) Change subject: get_default_gateway(): implement platform support for Linux/SITNL .. get_default_gateway(): implement platform support for

[Openvpn-devel] [M] Change in openvpn[master]: get_default_gateway(): implement platform support for Linux/IPROUTE2

2025-01-31 Thread cron2 (Code Review)
Hello flichtenheld, ordex, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/884?usp=email to look at the new patch set (#3). The following approvals got outdated and were removed: Code-Review+2 by ordex Change subject: get_default_gateway()

[Openvpn-devel] [M] Change in openvpn[master]: get_default_gateway(): implement platform support for Linux/IPROUTE2

2025-01-31 Thread cron2 (Code Review)
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/884?usp=email ) Change subject: get_default_gateway(): implement platform support for Linux/IPROUTE2 .. get_default_gateway(): implement platform support

[Openvpn-devel] [XS] Change in openvpn[master]: get_default_gateway(): implement platform support for Linux/SITNL

2025-01-31 Thread cron2 (Code Review)
Hello flichtenheld, ordex, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/883?usp=email to look at the new patch set (#3). The following approvals got outdated and were removed: Code-Review+2 by ordex Change subject: get_default_gateway()

[Openvpn-devel] [PATCH applied] Re: get_default_gateway(): implement platform support for Linux/IPROUTE2

2025-01-31 Thread Gert Doering
Tested on a gentoo system with "configure --enable-iproute2" and then asking the usual "--show-gateway ..." questions. The actual code change is quite trivial - throw out old code, rely on the (by now) really well-tested and proven sitnl code. Your patch has been applied to the master branch. co

[Openvpn-devel] [M] Change in openvpn[master]: route.c: improve get_default_gateway() logic on Windows

2025-01-31 Thread stipa (Code Review)
Attention is currently required from: cron2, flichtenheld, plaisthos, stipa. Hello cron2, flichtenheld, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/879?usp=email to look at the new patch set (#3). The following approvals got outdated an

[Openvpn-devel] [M] Change in openvpn[master]: route.c: improve get_default_gateway() logic on Windows

2025-01-31 Thread stipa (Code Review)
Attention is currently required from: cron2, flichtenheld, plaisthos. stipa has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/879?usp=email ) Change subject: route.c: improve get_default_gateway() logic on Windows

[Openvpn-devel] [PATCH v5] route.c: improve get_default_gateway() logic on Windows

2025-01-31 Thread Gert Doering
From: Lev Stipakov When adding host route for IPv4, we use the default gateway. There are cases, however, when this does not work - for example when remote is not accessible via default gateway but via dedicated route. Factor out code to look for the best gateway to reach the host from get_defau

[Openvpn-devel] [M] Change in openvpn[master]: route.c: improve get_default_gateway() logic on Windows

2025-01-31 Thread cron2 (Code Review)
Attention is currently required from: flichtenheld, plaisthos, stipa. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/879?usp=email ) Change subject: route.c: improve get_default_gateway() logic on Windows

[Openvpn-devel] [PATCH applied] Re: route.c: improve get_default_gateway() logic on Windows

2025-01-31 Thread Gert Doering
Tested a local windows build with this with various nasty questions ("--show-gateway 127.0.0.1", ON_LINK and not, etc) and v5 now gets us the expected results for all my and Lev's tests. Plus, the code is much more efficient on a system with many routes than "get all the tables from Windows, and w

[Openvpn-devel] [M] Change in openvpn[master]: route.c: improve get_default_gateway() logic on Windows

2025-01-31 Thread cron2 (Code Review)
cron2 has uploaded a new patch set (#6) to the change originally created by stipa. ( http://gerrit.openvpn.net/c/openvpn/+/879?usp=email ) The following approvals got outdated and were removed: Code-Review+2 by cron2 Change subject: route.c: improve get_default_gateway() logic on Windows ..

[Openvpn-devel] [M] Change in openvpn[master]: route.c: improve get_default_gateway() logic on Windows

2025-01-31 Thread cron2 (Code Review)
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/879?usp=email ) Change subject: route.c: improve get_default_gateway() logic on Windows .. route.c: improve get_default_gateway() logic on Windows When ad

[Openvpn-devel] [L] Change in openvpn[master]: Add support for simultaneous use of UDP and TCP sockets

2025-01-31 Thread cron2 (Code Review)
Attention is currently required from: its_Giaan, ordex, plaisthos. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/764?usp=email ) Change subject: Add support for simultaneous use of UDP and TCP sockets ...

[Openvpn-devel] [XS] Change in openvpn[master]: mudp.c: keep offset value when resetting buffer

2025-01-31 Thread cron2 (Code Review)
cron2 has uploaded a new patch set (#13) to the change originally created by stipa. ( http://gerrit.openvpn.net/c/openvpn/+/814?usp=email ) The following approvals got outdated and were removed: Code-Review+2 by flichtenheld, Code-Review+2 by ordex Change subject: mudp.c: keep offset value when

[Openvpn-devel] [XS] Change in openvpn[master]: mudp.c: keep offset value when resetting buffer

2025-01-31 Thread cron2 (Code Review)
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/814?usp=email ) Change subject: mudp.c: keep offset value when resetting buffer .. mudp.c: keep offset value when resetting buffer dco-win requires contro

[Openvpn-devel] [PATCH v2] dco: fix source IP selection

2025-01-31 Thread Qingfang Deng
When multihome option is enabled, OpenVPN passes ipi_addr to DCO, which is always 0.0.0.0. It should use ipi_spec_dst instead. When local option is present, OpenVPN does not pass it to DCO. As a result, Linux may pick a different IP as the source IP, breaking the connection. Signed-off-by: Qingfan

[Openvpn-devel] [M] Change in openvpn[master]: route.c: improve get_default_gateway() logic on Windows

2025-01-31 Thread stipa (Code Review)
Attention is currently required from: cron2, flichtenheld, plaisthos. Hello cron2, flichtenheld, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/879?usp=email to look at the new patch set (#4). Change subject: route.c: improve get_default_

[Openvpn-devel] [M] Change in openvpn[master]: route.c: improve get_default_gateway() logic on Windows

2025-01-31 Thread stipa (Code Review)
Attention is currently required from: cron2, flichtenheld, plaisthos. Hello cron2, flichtenheld, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/879?usp=email to look at the new patch set (#5). Change subject: route.c: improve get_default_

[Openvpn-devel] [PATCH applied] Re: mudp.c: keep offset value when resetting buffer

2025-01-31 Thread Gert Doering
Just for clarification: I'm taking the patch "v10" from the list, while gerrit claims to have a "v12" - this is just due to rebasing and re-pushing, but nothing at all has changed there. I admit I haven't really closely looked what happens here, but it was stared-at by Frank and Antonio, and both

[Openvpn-devel] [PATCH] Adding AWS-LC to the OpenVPN CI

2025-01-31 Thread Shubham Mittal via Openvpn-devel
URL: https://github.com/OpenVPN/openvpn/pull/673 Acked-by: Arne Schwabe Signed-off-by: Shubham Mittal --- .github/workflows/build.yaml | 62 1 file changed, 62 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 90d52