From: "selvanair (Code Review)"
Date: Wed, 29 Apr 2026 13:01:50 +0000
In-Reply-To:
References:
Reply-To: selva.nair@...277..., arne-openvpn@...1227..., heiko@...515...,
openvpn-devel@lists.sourceforge.net, frank@...2641...
Message-ID: <5d463b78a8181f4e1dc19a8e8a26ede37d1c3f58-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="eMkbc8FfM+M="; charset=UTF-8
Subject: [Openvpn-devel] [S] Change in openvpn[master]: dns: correctly
handle dnssec settings
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: d12fk , flichtenheld , plaisthos , openvpn-devel
--eMkbc8FfM+M=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: d12fk, flichtenheld, plaisthos.
selvanair has posted comments on this change by selvanair. ( http://gerrit.=
openvpn.net/c/openvpn/+/1643?usp=3Demail )
Change subject: dns: correctly handle dnssec settings
......................................................................
Patch Set 1:
(3 comments)
File include/openvpn-msg.h:
http://gerrit.openvpn.net/c/openvpn/+/1643/comment/d51f138a_6bc6d024?usp=3D=
email :
PS1, Line 114: nrpt_dnssec_required =3D 1 << 1,
> Is this really needed? As far as I can remember Windows has no `optional`=
setting, i.e. [=E2=80=A6]
man-page says user can set optional, and I had no idea how to provide tha=
t rather than this. What this does is for the resolver to set DO flag but n=
ot require validation. Treating anything other than "no" as "yes" is not co=
rrect when we allo user to set yes/no/optional.
File src/openvpn/dns.h:
http://gerrit.openvpn.net/c/openvpn/+/1643/comment/5873967f_9eb03412?usp=3D=
email :
PS1, Line 32: DNS_SECURITY_UNSET,
> Not sure if we should get rid of `unset` since might not have a `optional=
` setting. [=E2=80=A6]
As "dns server n dnssec foo" is not a mandatory option, UNSET is useless an=
d error-prone. Just decide on a defualt value and let the variable have tha=
t by default. UNSET is not handled anywhere.
File src/openvpnserv/interactive.c:
http://gerrit.openvpn.net/c/openvpn/+/1643/comment/95f23091_fe96ccc6?usp=3D=
email :
PS1, Line 2472: nrpt_flags_t dnssec)
> Think it makes sense to rename `dnssec` -> `flags` or `nrpt_flags`, since=
it could have additional t [=E2=80=A6]
Acknowledged
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1643?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings?usp=3Demail
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Id514b06223cb55295c92b1fa6727f03d6e06befe
Gerrit-Change-Number: 1643
Gerrit-PatchSet: 1
Gerrit-Owner: selvanair
Gerrit-Reviewer: flichtenheld
Gerrit-Reviewer: plaisthos
Gerrit-CC: d12fk
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: flichtenheld
Gerrit-Attention: d12fk
Gerrit-Comment-Date: Wed, 29 Apr 2026 13:01:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: d12fk
--eMkbc8FfM+M=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is cur=
rently required from: d12fk, flichtenheld, plaisthos.
View =
Change
3 comments:
man-page says user can set optional, and I had no i=
dea how to provide that rather than this. What this does is for the resolve=
r to set DO flag but not require validation. Treating anything other than &=
quot;no" as "yes" is not correct when we allo user to set ye=
s/no/optional.
Fi=
le src/openvpn/dns.h:
Patch Set #1, Line 32: DNS_SECURITY_UNSET,
Not sure if w=
e should get rid of `unset` since might not have a `optional` setting. [=E2=
=80=A6]
As "dns server n dnssec foo" is not a ma=
ndatory option, UNSET is useless and error-prone. Just decide on a defualt =
value and let the variable have that by default. UNSET is not handled anywh=
ere.
File src/ope=
nvpnserv/interactive.c:
=
Patch Set #1, Line 2472: nrpt_flags_t dnssec)
=
Think it makes sense to rename `dnssec` -> `flags` or `nrpt_flags`, sinc=
e it could have additional t [=E2=80=A6]
Acknowledged
<=
/li>
To view, visit change 1643. To unsubscribe, or for help w=
riting mail filters, visit settings.
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Id514b06223cb55295c92b1fa672=
7f03d6e06befe
Gerrit-Change-Number: 1643
Gerrit-PatchSet: 1
Gerrit-Owner: selvanair <selva.nair@...1354...=
..>
Gerrit-Reviewer: flichtenheld <frank@...2716...=
1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...=
.1227...>
Gerrit-CC: d12fk <heiko@...515...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...=
..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...=
41...>
Gerrit-Attention: d12fk <heiko@...515...>=
;
Gerrit-Comment-Date: Wed, 29 Apr 2026 13:01:50=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: d12fk <heiko@...515...=
>
=
--eMkbc8FfM+M=--