From: "cron2 (Code Review)" Date: Wed, 12 Mar 2025 09:21:48 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., heiko@...515..., openvpn-devel@lists.sourceforge.net, frank@...2641..., lstipakov@...277... Message-ID: <0d8c81453d974e0ae9b4a2948ea0a5f0ff3e1eeb-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="HUu3ZacAOxc="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: dns: support multiple domains without DHCP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: d12fk Cc: stipa , flichtenheld , plaisthos , openvpn-devel --HUu3ZacAOxc= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: d12fk, flichtenheld, plaisthos, stipa. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/824?usp=3Demail ) Change subject: dns: support multiple domains without DHCP ...................................................................... Patch Set 13: Code-Review+2 (3 comments) Patchset: PS13: There's still a partly unresolved discussion and it needs to be tested what= happens with multiple concurrent VPNs modifying the global search list - b= ut for all normal cases this should work fine. I'm moving forward, and we = can fix this particular corner case later if it turns out to be problematic. File src/openvpnserv/interactive.c: http://gerrit.openvpn.net/c/openvpn/+/824/comment/3d28cfaf_6da650d8 : PS12, Line 1631: goto out; > Yeah that is intentional. [=E2=80=A6] With the adjusted comment ("doesn't reset anything") the code now matches t= he comment, so fine with me :-) http://gerrit.openvpn.net/c/openvpn/+/824/comment/3e617702_23668b59 : PS12, Line 1698: } > When we get there something is inconsistent in the registry. [=E2=80=A6] Indeed, we should never end in this state at all - though I do wonder what = happens if there are overlapping VPNs modifying the global search list (bot= h adding to it, and then the first existing and resetting the `InitialSearc= hList`). Guess we'll find out when the first issue gets openened :-) -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/824?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: Icaffbfa6b2e8efa2bd24a05537cb74b15f4fed96 Gerrit-Change-Number: 824 Gerrit-PatchSet: 13 Gerrit-Owner: d12fk Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-Reviewer: stipa Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Attention: d12fk Gerrit-Attention: stipa Gerrit-Comment-Date: Wed, 12 Mar 2025 09:21:48 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Comment-In-Reply-To: cron2 Comment-In-Reply-To: d12fk Gerrit-MessageType: comment --HUu3ZacAOxc= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: d12fk, flichtenheld, plaisthos, s= tipa.

Patch set 13:Code-Review +2

V= iew Change

3 comments:

  • Patchset:

    • Patch Set #13:

      There's still a partly unresolved discu= ssion and it needs to be tested what happens with multiple concurrent VPNs = modifying the global search list - but for all normal cases this should wor= k fine. I'm moving forward, and we can fix this particular corner case= later if it turns out to be problematic.

  • File src/openvpnserv/interactive.c:

    • Patch Set #12, Line 1631: <= code style=3D"font-family:monospace,monospace"> goto out;

      =

      Yeah that is intentional. [=E2=80=A6]

      With the adjusted commen= t ("doesn't reset anything") the code now matches the comment= , so fine with me :-)

    • Patch Set #12, Line 1698: }

      W= hen we get there something is inconsistent in the registry. [=E2=80=A6]

      Ind= eed, we should never end in this state at all - though I do wonder what hap= pens if there are overlapping VPNs modifying the global search list (both a= dding to it, and then the first existing and resetting the `InitialSearchLi= st`). Guess we'll find out when the first issue gets openened :-)

      <= /li>

To view, visit change 824. To unsubscribe, or for help wri= ting mail filters, visit set= tings.

=
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Icaffbfa6b2e8efa2bd24a05537c= b74b15f4fed96
Gerrit-Change-Number: 824
Gerrit-PatchSet: 13
Gerrit-Owner: d12fk <heiko@...515...>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-Reviewer: stipa <lstipakov@...277...= >
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-Attention: stipa <lstipakov@...1663...= .>
Gerrit-Comment-Date: Wed, 12 Mar 2025 09:21:48= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: cron2 <gert@...1296...= >
Comment-In-Reply-To: d12fk <heiko@...515...= >
Gerrit-MessageType: comment
--HUu3ZacAOxc=--