From: "d12fk (Code Review)"
Date: Thu, 27 Feb 2025 00:29:50 +0000
In-Reply-To:
References:
Reply-To: heiko@...515..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, frank@...2641...
Message-ID: <2637abf8260c7bb77dad262251195d61aa840f5d-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="g/U64Ag8qTw="; charset=UTF-8
Subject: [Openvpn-devel] [L] Change in openvpn[master]: dns: support running
up/down script with privsep
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: plaisthos , flichtenheld , openvpn-devel
--g/U64Ag8qTw=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld, plaisthos.
d12fk has posted comments on this change. ( http://gerrit.openvpn.net/c/ope=
nvpn/+/839?usp=3Demail )
Change subject: dns: support running up/down script with privsep
......................................................................
Patch Set 8:
(1 comment)
File src/openvpn/dns.c:
http://gerrit.openvpn.net/c/openvpn/+/839/comment/032ef1df_3b6026f8 :
PS7, Line 709: ssize_t len =3D read(rfd, &status, sizeof(status=
));
> Hm, that's a good thought. [=E2=80=A6]
So, after careful consideration I think it is doable to add a timeout mecha=
nism to script calls, but I think if we decide to do that it should be done=
for all script hooks. Currently it is not done, and if a script hangs inde=
finitely openvpn is block indefinitely. I think accepting that is also a va=
lid outcome, so we need to decide as a group which way to go.
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/839?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: I6b67e3a00dd84bf348b6af28115ee11138c3a111
Gerrit-Change-Number: 839
Gerrit-PatchSet: 8
Gerrit-Owner: d12fk
Gerrit-Reviewer: flichtenheld
Gerrit-Reviewer: plaisthos
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: flichtenheld
Gerrit-Comment-Date: Thu, 27 Feb 2025 00:29:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld
Comment-In-Reply-To: d12fk
Gerrit-MessageType: comment
--g/U64Ag8qTw=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld, plaisthos.
View C=
hange
1 comment:
<=
li style=3D"margin: 0; padding: 0;">File src/openvpn/dns.c:
So, after careful consideration I think it is d=
oable to add a timeout mechanism to script calls, but I think if we decide =
to do that it should be done for all script hooks. Currently it is not done=
, and if a script hangs indefinitely openvpn is block indefinitely. I think=
accepting that is also a valid outcome, so we need to decide as a group wh=
ich way to go.
To view, visit change 839. To unsubscri=
be, or for help writing mail filters, visit settings.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I6b67e3a00dd84bf348b6af28115=
ee11138c3a111
Gerrit-Change-Number: 839
Gerrit-PatchSet: 8
Gerrit-Owner: d12fk <heiko@...515...> =
div>
Gerrit-Reviewer: flichtenheld <frank@...2716...=
1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...=
.1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...=
..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...=
41...>
Gerrit-Comment-Date: Thu, 27 Feb 2025 00:29:50=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <frank@...1186...=
.2641...>
Comment-In-Reply-To: d12fk <heiko@...515...=
>
Gerrit-MessageType: comment
--g/U64Ag8qTw=--