From: "mrbff (Code Review)"
Date: Tue, 26 Aug 2025 15:31:15 +0000
In-Reply-To:
References:
Reply-To: marco@...2726..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, frank@...2641...,
lstipakov@...277..., gert@...1296...
Message-ID:
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="hMckEdR8wio="; charset=UTF-8
Subject: [Openvpn-devel] [L] Change in openvpn[master]: PUSH_UPDATE message
sender: enabling the server to send PUSH_UPDATE c...
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: flichtenheld , stipa , plaisthos , openvpn-devel
--hMckEdR8wio=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: cron2, flichtenheld, plaisthos, stipa.
mrbff has posted comments on this change. ( http://gerrit.openvpn.net/c/ope=
nvpn/+/869?usp=3Demail )
Change subject: PUSH_UPDATE message sender: enabling the server to send PUS=
H_UPDATE control messages
......................................................................
Patch Set 25:
(1 comment)
Patchset:
PS23:
> About the first point, i fixed the restarting in the server but the "send=
ing a wrong message and con [=E2=80=A6]
* Regarding the second point, the odd timing it's because the message is ju=
st enqueued (by `send_control_channel_string()`) but it gets "on the wire" =
only when `tls_process()` is finally called, so you could get from less tha=
n 1 up to around 10 seconds of latency from when the command is injected th=
rough management to when the packet leave the server instance.
* Regarding 3rd point instead, yes, the `/0` was an issue, i was misusing a=
function's parameter. For the push-update usage i think the only 'correct'=
way of pushing an ifconfig option should be something like `ifconfig 10.20=
4.2.47 255.255.255.0` (shouldn't we use it only in subnet mode?) with the p=
ushed ip in the same subnet of the server virtual ip, in this case `10.204.=
2.45/24` for example (or do we want to update the server ip too?) . I mean,=
this look to me the only practical use case but maybe i'm missing somethin=
g, if so please tell me.
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/869?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie82bcc7a8e583de9156b185d71d1a323ed8df3fc
Gerrit-Change-Number: 869
Gerrit-PatchSet: 25
Gerrit-Owner: mrbff
Gerrit-Reviewer: cron2
Gerrit-Reviewer: flichtenheld
Gerrit-Reviewer: plaisthos
Gerrit-Reviewer: stipa
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: cron2
Gerrit-Attention: flichtenheld
Gerrit-Attention: stipa
Gerrit-Comment-Date: Tue, 26 Aug 2025 15:31:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2
Comment-In-Reply-To: mrbff
Gerrit-MessageType: comment
--hMckEdR8wio=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: cron2, flichtenheld, plaisthos, s=
tipa.
View C=
hange
1 comment:
<=
li style=3D"margin: 0; padding: 0;">Patchset:
Patch Set #23:
About the first point=
, i fixed the restarting in the server but the "sending a wrong messag=
e and con [=E2=80=A6]
- Regarding the second point, t=
he odd timing it's because the message is just enqueued (by `send_contr=
ol_channel_string()`) but it gets "on the wire" only when `tls_pr=
ocess()` is finally called, so you could get from less than 1 up to around =
10 seconds of latency from when the command is injected through management =
to when the packet leave the server instance.
- Regarding 3rd point inst=
ead, yes, the `/0` was an issue, i was misusing a function's parameter.=
For the push-update usage i think the only 'correct' way of pushin=
g an ifconfig option should be something like `ifconfig 10.204.2.47 255.255=
.255.0` (shouldn't we use it only in subnet mode?) with the pushed ip i=
n the same subnet of the server virtual ip, in this case `10.204.2.45/24` f=
or example (or do we want to update the server ip too?) . I mean, this look=
to me the only practical use case but maybe i'm missing something, if =
so please tell me.
To view, visit change 869. =
To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie82bcc7a8e583de9156b185d71d=
1a323ed8df3fc
Gerrit-Change-Number: 869
Gerrit-PatchSet: 25
Gerrit-Owner: mrbff <marco@...2726...> <=
/div>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...=
1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...=
.1227...>
Gerrit-Reviewer: stipa <lstipakov@...277...=
>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...=
..1227...>
Gerrit-Attention: cron2 <gert@...1296...>=
;
Gerrit-Attention: flichtenheld <frank@...2375...=
41...>
Gerrit-Attention: stipa <lstipakov@...1663...=
.>
Gerrit-Comment-Date: Tue, 26 Aug 2025 15:31:15=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2 <gert@...1296...=
>
Comment-In-Reply-To: mrbff <marco@...2804...=
.>
Gerrit-MessageType: comment
--hMckEdR8wio=--