[Openvpn-devel] [PATCH applied] Re: Make 'lport 0' no longer sufficient to do '--bind'.

2025-03-24 Thread Gert Doering
Tested this with various combinations of --port, --bind, --lport, --local , etc. - a fascinating world of interesting effects. I've fixed a small oversight in the commit message - the line needs to read Summary: socket bind is now only done if one of these is set - --lport with not "0"

[Openvpn-devel] [S] Change in openvpn[master]: Make 'lport 0' no longer sufficient to do '--bind'.

2025-03-24 Thread cron2 (Code Review)
Hello flichtenheld, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/916?usp=email to look at the new patch set (#2). The following approvals got outdated and were removed: Code-Review+2 by plaisthos Change subject: Make 'lport 0' no longer

[Openvpn-devel] [S] Change in openvpn[master]: Make 'lport 0' no longer sufficient to do '--bind'.

2025-03-24 Thread cron2 (Code Review)
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/916?usp=email ) Change subject: Make 'lport 0' no longer sufficient to do '--bind'. .. Make 'lport 0' no longer sufficient to do '--bind'. 'lport ' used t

[Openvpn-devel] [S] Change in openvpn[master]: Mention address if not unspecific on DNS failure

2025-03-24 Thread cron2 (Code Review)
Attention is currently required from: flichtenheld, plaisthos. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/909?usp=email ) Change subject: Mention address if not unspecific on DNS failure ..

[Openvpn-devel] [PATCH v1] Make 'lport 0' no longer sufficient to do '--bind'.

2025-03-24 Thread Gert Doering
'lport ' used to trigger 'do socket bind', which is not useful in itself for the 'lport 0' case (port 0 -> OS assigns a random port, as it is done for unbound sockets) unless also binding to a particular local IP address ('--local 192.0.2.1'). The trigger for 'lport has been used, do socket bind'

[Openvpn-devel] [S] Change in openvpn[master]: Make 'lport 0' no longer sufficient to do '--bind'.

2025-03-24 Thread ordex (Code Review)
Attention is currently required from: cron2, flichtenheld. ordex has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/916?usp=email ) Change subject: Make 'lport 0' no longer sufficient to do '--bind'. ..

[Openvpn-devel] [S] Change in openvpn[master]: Make 'lport 0' no longer sufficient to do '--bind'.

2025-03-24 Thread plaisthos (Code Review)
Attention is currently required from: cron2, flichtenheld. plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/916?usp=email ) Change subject: Make 'lport 0' no longer sufficient to do '--bind'. ...

Re: [Openvpn-devel] [patch]: debian lintian informational warning (Authorization)

2025-03-24 Thread David Sommerseth via Openvpn-devel
On 18/03/2025 11:37, Marc Leeman wrote: > trivial spelling error raised by lintian. Thank you for the fix! And sorry for the slow response. It got handled last week, but forgot to reply and do the final push to the public repos. --

[Openvpn-devel] [S] Change in openvpn[master]: Make 'lport 0' no longer sufficient to do '--bind'.

2025-03-24 Thread cron2 (Code Review)
Attention is currently required from: flichtenheld, plaisthos. Hello plaisthos, flichtenheld, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/916?usp=email to review the following change. Change subject: Make 'lport 0' no longer sufficient to do '--bin

[Openvpn-devel] [S] Change in openvpn[master]: Use USER_PASS_LEN instead of TLS_USERNAME_LEN for override-username

2025-03-24 Thread plaisthos (Code Review)
Attention is currently required from: flichtenheld. Hello flichtenheld, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/913?usp=email to look at the new patch set (#3). Change subject: Use USER_PASS_LEN instead of TLS_USERNAME_LEN for override-user

[Openvpn-devel] [XS] Change in openvpn[master]: Directly use _countof in array initialisation

2025-03-24 Thread flichtenheld (Code Review)
Attention is currently required from: plaisthos. flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/915?usp=email ) Change subject: Directly use _countof in array initialisation .. Patch S

[Openvpn-devel] [XS] Change in openvpn[master]: Directly use _countof in array initialisation

2025-03-24 Thread cron2 (Code Review)
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/915?usp=email ) Change subject: Directly use _countof in array initialisation .. Directly use _countof in array initialisation This fixes the build failur

[Openvpn-devel] [S] Change in openvpn[master]: Use USER_PASS_LEN instead of TLS_USERNAME_LEN for override-username

2025-03-24 Thread flichtenheld (Code Review)
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/913?usp=email ) Change subject: Use USER_PASS_LEN instead of TLS_USERNAME_LEN for override-username .. Patch Set 3: -Code-Review -- To

[Openvpn-devel] [S] Change in openvpn[master]: Improve documentation for override-username

2025-03-24 Thread cron2 (Code Review)
cron2 has uploaded a new patch set (#2) to the change originally created by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/914?usp=email ) The following approvals got outdated and were removed: Code-Review+2 by flichtenheld Change subject: Improve documentation for override-username ...

[Openvpn-devel] [PATCH applied] Re: Improve documentation for override-username

2025-03-24 Thread Gert Doering
Documentation-only, nothing to test. (Stared at the change nonetheless, as we had discussions on some of the behavioural details - change makes sense) Your patch has been applied to the master branch. commit 5c1c57684b6a1e6bce24605d55fe8dc3d9d3480e Author: Arne Schwabe Date: Mon Mar 24 14:54:3

[Openvpn-devel] [S] Change in openvpn[master]: Use USER_PASS_LEN instead of TLS_USERNAME_LEN for override-username

2025-03-24 Thread flichtenheld (Code Review)
Attention is currently required from: plaisthos. flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/913?usp=email ) Change subject: Use USER_PASS_LEN instead of TLS_USERNAME_LEN for override-username .

[Openvpn-devel] [PATCH v1] Improve documentation for override-username

2025-03-24 Thread Gert Doering
From: Arne Schwabe - Mention that pushing auth-token-user only happens when OpenVPN also generates the auth-token. - mention that OpenVPN will only accept the original and overridden username from a client - suggest to use auth-token-user when a user generates the auth-token Change-Id: Ifc74

[Openvpn-devel] [XS] Change in openvpn[master]: Directly use _countof in array initialisation

2025-03-24 Thread cron2 (Code Review)
cron2 has uploaded a new patch set (#3) to the change originally created by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/915?usp=email ) The following approvals got outdated and were removed: Code-Review+2 by flichtenheld Change subject: Directly use _countof in array initialisation .

[Openvpn-devel] [PATCH applied] Re: Directly use _countof in array initialisation

2025-03-24 Thread Gert Doering
Thanks. Back to old-style const expressions, then... Your patch has been applied to the master branch. commit 1fc44d3b2ad3b96405650754a6e43f1576cda132 Author: Arne Schwabe Date: Mon Mar 24 14:37:53 2025 +0100 Directly use _countof in array initialisation Signed-off-by: Arne Schwabe

[Openvpn-devel] [S] Change in openvpn[master]: Improve documentation for override-username

2025-03-24 Thread plaisthos (Code Review)
Attention is currently required from: flichtenheld. Hello flichtenheld, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/914?usp=email to review the following change. Change subject: Improve documentation for override-username ..

[Openvpn-devel] [S] Change in openvpn[master]: Use USER_PASS_LEN instead of TLS_USERNAME_LEN for override-username

2025-03-24 Thread plaisthos (Code Review)
Attention is currently required from: flichtenheld. plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/913?usp=email ) Change subject: Use USER_PASS_LEN instead of TLS_USERNAME_LEN for override-username .

[Openvpn-devel] [PATCH v2] Directly use _countof in array initialisation

2025-03-24 Thread Gert Doering
From: Arne Schwabe This fixes the build failures on MSVC cl compiler. MSVC cl does not thinks of the expression of a const variable times an integer to be compile time static. C23 introduce the constexpr (like in C++) statement for that but we are only on C11 for now. So directly use the _count

[Openvpn-devel] [S] Change in openvpn[master]: Improve documentation for override-username

2025-03-24 Thread flichtenheld (Code Review)
Attention is currently required from: plaisthos. flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/914?usp=email ) Change subject: Improve documentation for override-username .. Patch Set

[Openvpn-devel] [XS] Change in openvpn[master]: Directly use _countof in array initialisation

2025-03-24 Thread plaisthos (Code Review)
Attention is currently required from: flichtenheld. Hello flichtenheld, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/915?usp=email to look at the new patch set (#2). Change subject: Directly use _countof in array initialisation ..

[Openvpn-devel] [XS] Change in openvpn[master]: Directly use _countof in array initialisation

2025-03-24 Thread plaisthos (Code Review)
Attention is currently required from: flichtenheld. Hello flichtenheld, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/915?usp=email to review the following change. Change subject: Directly use _countof in array initialisation

[Openvpn-devel] [S] Change in openvpn[master]: Use USER_PASS_LEN instead of TLS_USERNAME_LEN for override-username

2025-03-24 Thread plaisthos (Code Review)
Attention is currently required from: flichtenheld. Hello flichtenheld, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/913?usp=email to look at the new patch set (#2). Change subject: Use USER_PASS_LEN instead of TLS_USERNAME_LEN for override-user

[Openvpn-devel] [S] Change in openvpn[master]: Use USER_PASS_LEN instead of TLS_USERNAME_LEN for override-username

2025-03-24 Thread plaisthos (Code Review)
Attention is currently required from: flichtenheld. Hello flichtenheld, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/913?usp=email to review the following change. Change subject: Use USER_PASS_LEN instead of TLS_USERNAME_LEN for override-username .

[Openvpn-devel] [XS] Change in openvpn[master]: win: calculate address string buffer size

2025-03-24 Thread cron2 (Code Review)
cron2 has uploaded a new patch set (#7) to the change originally created by d12fk. ( http://gerrit.openvpn.net/c/openvpn/+/908?usp=email ) The following approvals got outdated and were removed: Code-Review+2 by flichtenheld Change subject: win: calculate address string buffer size .

[Openvpn-devel] [XS] Change in openvpn[master]: win: calculate address string buffer size

2025-03-24 Thread cron2 (Code Review)
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/908?usp=email ) Change subject: win: calculate address string buffer size .. win: calculate address string buffer size Instead of making the string buffer

[Openvpn-devel] [PATCH applied] Re: win: calculate address string buffer size

2025-03-24 Thread Gert Doering
Thanks for future-proofing this part of the code - it's fine today, but we might bump the number of allowed DNS addresses to "8" one day, and then the old code was at-risk for overflows... I haven't actually tested it, just stared at it for a bit, asked mingw ("no warnings") and we have Frank's +2

[Openvpn-devel] [PATCH v6] win: calculate address string buffer size

2025-03-24 Thread Gert Doering
From: Heiko Hund Instead of making the string buffer statically sized for a max. of four addresses, calculate it to hold up to the max number of addresses a dns_cfg_message_t can hold (currently four as well). Improves the code so that it doesn't rely on the addresses never being more than four i

[Openvpn-devel] [XS] Change in openvpn[master]: Fix incorrect condition for checking password related check

2025-03-24 Thread cron2 (Code Review)
cron2 has uploaded a new patch set (#2) to the change originally created by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/912?usp=email ) The following approvals got outdated and were removed: Code-Review+2 by ordex Change subject: Fix incorrect condition for checking password related chec

[Openvpn-devel] [XS] Change in openvpn[master]: Fix incorrect condition for checking password related check

2025-03-24 Thread cron2 (Code Review)
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/912?usp=email ) Change subject: Fix incorrect condition for checking password related check .. Fix incorrect condition for checking password related check

[Openvpn-devel] [PATCH applied] Re: Fix incorrect condition for checking password related check

2025-03-24 Thread Gert Doering
Yeah, sorry for not noticing when reviewing db48cea. In retrospective this is quite obviously the correct fix. Added Github: reference, and URLs to sf.net mail archive & gerrit - the archive at mail-archive.org is broken again :-( Your patch has been applied to the master branch. commit 15e663c