From: "flichtenheld (Code Review)" Date: Thu, 6 Mar 2025 13:22:05 +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="Jz/RZOOtFro="; 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 --Jz/RZOOtFro= 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 10: (1 comment) File doc/man-sections/script-options.rst: http://gerrit.openvpn.net/c/openvpn/+/838/comment/4e38da14_521dd7d8 : PS9, Line 258: environment values will be passed to ``--up`` and ``--down= `` if no ``--dns`` > Hm, what exactly needs clarification? Okay, first of all start a new paragraph after "service there." The Windows= topic should have its own paragraph. Reformulate the rest to something like: Note that DNS-related `--dhcp-option` options will not be handled by this h= ook. If any `--dns' option is present then DNS-related `--dhcp-option` will= be ignored. Otherwise it will be given as `foreign_option` environment var= iable to `--up` and `--down` as in previous versions of OpenVPN. Not 100% sure this describes the correct behavior, but you can adapt it to = do so. But the structure is much better to understand what is going on, IMH= O. The "if no `--dns` option causes the old behavior to be overridden" is v= ery cryptic, I think. -- 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: 10 Gerrit-Owner: d12fk Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: d12fk Gerrit-Comment-Date: Thu, 06 Mar 2025 13:22:05 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: flichtenheld Comment-In-Reply-To: d12fk Gerrit-MessageType: comment --Jz/RZOOtFro= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: d12fk, plaisthos.

View C= hange

1 comment:

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

    File doc/man-sections/script-options= .rst:

    • Patch Set #9,= Line 258: environmen= t values will be passed to ``--up`` and ``--down`` if no ``--dns``

      Hm, what exactly needs clarification?

      Okay, first of all star= t a new paragraph after "service there." The Windows topic should= have its own paragraph.

      Reformulate the rest to something like:
      Note that DNS-relate= d `--dhcp-option` options will not be handled by this hook. If any `--dns&#= 39; option is present then DNS-related `--dhcp-option` will be ignored. Oth= erwise it will be given as `foreign_option` environment variable to `--up` = and `--down` as in previous versions of OpenVPN.

      Not 100% sure this describes the correc= t behavior, but you can adapt it to do so. But the structure is much better= to understand what is going on, IMHO. The "if no `--dns` option cause= s the old behavior to be overridden" is very cryptic, I think.

To view, visit change 838. To unsubscribe, or for help writin= g mail filters, visit settin= gs.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifbe4ffb44d3bfcaa50adb38cacb= 3436fcdc71b10
Gerrit-Change-Number: 838
Gerrit-PatchSet: 10
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: d12fk <heiko@...515...>= ;
Gerrit-Comment-Date: Thu, 06 Mar 2025 13:22:05= +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
--Jz/RZOOtFro=--