From: "cron2 (Code Review)" Date: Mon, 6 Oct 2025 09:15:29 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., marco@...2726..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <0739cce6392ea863734d4c0a2be9dca06e268c4d-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="LsmcY03GFho="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: redirect-gateway: only redirect traffic through TUN if address famili... List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mrbff Cc: plaisthos , flichtenheld , openvpn-devel --LsmcY03GFho= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, mrbff, plaisthos. cron2 has posted comments on this change by mrbff. ( http://gerrit.openvpn.= net/c/openvpn/+/1210?usp=3Demail ) Change subject: redirect-gateway: only redirect traffic through TUN if addr= ess families match ...................................................................... Patch Set 3: Code-Review-2 (1 comment) Patchset: PS3: This looks like it's not actually the correct way to do it - with the patch= , a client that has a local `--ifconfig` configured will lose that on PUSH_= REPLY, no matter what the server pushes. This is a valid use case and must= not be broken. We do have the concept of "saved config data" which preserves what is in th= e client config - so `ifconfig` and `ifconfig-ipv6` need to be reset to "wh= at is in the client config" before connecting out (PUSH_REPLY), otherwise w= e will break existing setups. For `PUSH_REPLY` I do not really care, as that's new functionality. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1210?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: Ib3458a9ed2eb38e00184c4a92659b83b97fe476c Gerrit-Change-Number: 1210 Gerrit-PatchSet: 3 Gerrit-Owner: mrbff Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Attention: mrbff Gerrit-Comment-Date: Mon, 06 Oct 2025 09:15:29 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes --LsmcY03GFho= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: flichtenheld, mrbff, plaisthos.

Patch set 3:Code-Review -2=

V= iew Change

1 comment:

  • Patchset:

    • Patch Set #3:

      This looks = like it's not actually the correct way to do it - with the patch, a cli= ent that has a local `--ifconfig` configured will lose that on PUSH_REPLY, = no matter what the server pushes. This is a valid use case and must not be= broken.

      We do have the concept of "saved config data" which = preserves what is in the client config - so `ifconfig` and `ifconfig-ipv6` = need to be reset to "what is in the client config" before connect= ing out (PUSH_REPLY), otherwise we will break existing setups.

      For `PU= SH_REPLY` I do not really care, as that's new functionality.

    To view, visit change 1210. To unsubscribe, or for help writing= mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: openvpn
    Gerrit-Branch: master
    Gerrit-Change-Id: Ib3458a9ed2eb38e00184c4a9265= 9b83b97fe476c
    Gerrit-Change-Number: 1210
    Gerrit-PatchSet: 3
    Gerrit-Owner: mrbff <marco@...2726...> <= /div>
    Gerrit-Reviewer: cron2 <gert@...1296...>=
    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-Attention: mrbff <marco@...2726...&g= t;
    Gerrit-Comment-Date: Mon, 06 Oct 2025 09:15:29= +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    = --LsmcY03GFho=--