From: "flichtenheld (Code Review)"
Date: Mon, 3 Mar 2025 16:44:14 +0000
In-Reply-To:
References:
Reply-To: frank@...2641..., arne-openvpn@...1227..., heiko@...515...,
openvpn-devel@lists.sourceforge.net
Message-ID:
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="7omHAzw2unk="; charset=UTF-8
Subject: [Openvpn-devel] [L] Change in openvpn[master]: dns: apply settings
via script on unixoid systems
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: d12fk
Cc: plaisthos , openvpn-devel
--7omHAzw2unk=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: d12fk, plaisthos.
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.ne=
t/c/openvpn/+/838?usp=3Demail )
Change subject: dns: apply settings via script on unixoid systems
......................................................................
Patch Set 8: Code-Review-1
(4 comments)
Patchset:
PS8:
Still discussing some of my earlier complaints, but overall the default beh=
avior looks good to me now.
File distro/dns-scripts/systemd-dns-updown.sh:
http://gerrit.openvpn.net/c/openvpn/+/838/comment/c52dbf8e_3ccb81e6 :
PS7, Line 91: [[ "$(readlink /etc/resolv.conf)" =3D~ systemd ]] || retu=
rn 1
> Problem is that scripts can't log anything afaik.
Not sure what you mean. You can just "echo" in scripts and the output will =
appear in the log.
File src/openvpn/options.c:
http://gerrit.openvpn.net/c/openvpn/+/838/comment/7fd139cb_82dfc0a9 :
PS7, Line 911: o->dns_options.script =3D DNS_UPDOWN_PATH;
> Built-in script now runs as built-in and should not be complained about a=
ny longer.
Done
http://gerrit.openvpn.net/c/openvpn/+/838/comment/79dede80_0f0470c1 :
PS7, Line 8052: set_user_script(options, &options->dns_options.scri=
pt, p[1], p[0], false);
> Not sure if we need the possibility to disable --dns-script, as on Window=
s it is not possible either [=E2=80=A6]
Done
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/838?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: Ifbe4ffb44d3bfcaa50adb38cacb3436fcdc71b10
Gerrit-Change-Number: 838
Gerrit-PatchSet: 8
Gerrit-Owner: d12fk
Gerrit-Reviewer: flichtenheld
Gerrit-Reviewer: plaisthos
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: d12fk
Gerrit-Comment-Date: Mon, 03 Mar 2025 16:44:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: flichtenheld
Comment-In-Reply-To: d12fk
Gerrit-MessageType: comment
--7omHAzw2unk=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: d12fk, plaisthos.
Patch set 8:Code-Review -1=
Vi=
ew Change
4 comments:
Not =
sure what you mean. You can just "echo" in scripts and the output=
will appear in the log.
File src/openvpn/options.c:
Patch Set #7, Line 911: o->dns_options.script =3D DNS_UPDOWN_PATH;<=
/p>
Built-in script now runs as built-in and should not be compl=
ained about any longer.
Done
Patch Set #7, Line 8052: =
set_user_script(opt=
ions, &options->dns_options.script, p[1], p[0], false);
Not sure if we need the possibility to disable --dns-script, as o=
n Windows it is not possible either [=E2=80=A6]
Done
To view, visit change 838. To unsubscribe, or for help writing mail filters,=
visit settings.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifbe4ffb44d3bfcaa50adb38cacb=
3436fcdc71b10
Gerrit-Change-Number: 838
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: d12fk <heiko@...515...>=
;
Gerrit-Comment-Date: Mon, 03 Mar 2025 16:44:14=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: flichtenheld <frank@...1186...=
.2641...>
Comment-In-Reply-To: d12fk <heiko@...515...=
>
Gerrit-MessageType: comment
--7omHAzw2unk=--