From: "d12fk (Code Review)" Date: Wed, 12 Mar 2025 04:05:16 +0000 In-Reply-To: References: Reply-To: heiko@...515..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <30bb53a9cb755d0a0a31a661f43e36aa786f743e-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="TV0KIAmXkiA="; 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: , Cc: flichtenheld , plaisthos , openvpn-devel --TV0KIAmXkiA= 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/+/838?usp=3Demail ) Change subject: dns: apply settings via script on unixoid systems ...................................................................... Patch Set 12: (6 comments) File doc/man-sections/script-options.rst: http://gerrit.openvpn.net/c/openvpn/+/838/comment/b108ebbe_96e2212b : PS12, Line 246: script > No, this doesn't work. rst is very specific here, only one argument is al= lowed. [=E2=80=A6] Right, even escaping the | doesn't do any good. http://gerrit.openvpn.net/c/openvpn/+/838/comment/0914df91_44ac0796 : PS12, Line 253: on > "in the order" Done http://gerrit.openvpn.net/c/openvpn/+/838/comment/5b7c6b9a_8f0f3287 : PS12, Line 258: option > `` `s `` does not work. `` `'s `` seems to work. docs suggest an escaped space instead http://gerrit.openvpn.net/c/openvpn/+/838/comment/6199f7b3_d91c8758 : PS12, Line 259: option > same Done http://gerrit.openvpn.net/c/openvpn/+/838/comment/1d4f23ec_ac1c5e61 : PS12, Line 261: ``--up`` and ``--down`` hooks for backward compatibility. > I think it is "backward*s* compatibility" Both seem to be in use, and the version without the s seems to be more comm= on: https://en.wikipedia.org/wiki/Backward_compatibility File src/openvpn/options.c: http://gerrit.openvpn.net/c/openvpn/+/838/comment/253131df_4812f96a : PS12, Line 531: "--dns-script cmd : Run cmd as user defined dns configu= ration script\n" > Add the `|disable` here 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: 12 Gerrit-Owner: d12fk Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Wed, 12 Mar 2025 04:05:16 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: flichtenheld Gerrit-MessageType: comment --TV0KIAmXkiA= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos.

View C= hange

6 comments:

    =
  • File doc/man-sections/script-option= s.rst:

    • Patch Set #1= 2, Line 246: script

      No, this doesn't work. rst is very specific here, on= ly one argument is allowed. [=E2=80=A6]

      Right, even escaping the | doesn= 9;t do any good.

    • Patch Set #12, Line 253: on

      "in the = order"

      Done

    • Patch Set #12, Line 258: option

      `` `s ``= does not work. `` `'s `` seems to work.

      docs suggest an escaped space = instead

    • Patch Set #12, Line 259: option

      same

      Done

    • <= li style=3D"margin: 0; padding: 0 0 0 16px;">

      Patch Set #12, Line 261: ``--up`` and ``--down`` hooks for backward compatibility.

      I think it is "backward*s* compatibility"

      Both s= eem to be in use, and the version without the s seems to be more common:https://en.wikipedia.org/wiki/Backward_compatibility

  • File src/openvpn/options.c:

    • Patch Set #12, Line 531: = "--dns-script cmd = : Run cmd as user defined dns configuration script\n"

      Add the `|disable` here

      Done

To view, visit= change 8= 38. 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: 12
Gerrit-Owner: d12fk <heiko@...515...>
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: Wed, 12 Mar 2025 04:05:16= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <frank@...1186...= .2641...>
Gerrit-MessageType: comment
--TV0KIAmXkiA=--