From: "plaisthos (Code Review)" Date: Tue, 28 Oct 2025 22:47:16 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., gert@...1296... Message-ID: <55b8bda369a9822c5dee6838da40025533fd936e-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="WRZewKoUL8c="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: Fix logic when pushed cipher triggers tun reopen and ignore more options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: flichtenheld , openvpn-devel --WRZewKoUL8c= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: cron2, flichtenheld. plaisthos has posted comments on this change by plaisthos. ( http://gerrit.= openvpn.net/c/openvpn/+/1321?usp=3Demail ) Change subject: Fix logic when pushed cipher triggers tun reopen and ignore= more options ...................................................................... Patch Set 1: (2 comments) Patchset: PS1: > I don't think the logic is right now (neither before nor afterwards). [= =E2=80=A6] welcome to openvpn logic. link-mtu and tun-mtu are mutally exclusive. And y= ou need to have link-mtu in the config to actually have a pushed cipher to = change the MTU of the tun device. File src/openvpn/push.c: http://gerrit.openvpn.net/c/openvpn/+/1321/comment/036771c8_d363c718?usp=3D= email : PS1, Line 1046: if (strprefix(line, "cipher ") && opt->ce.tun_mtu_d= efined) > I don't think this is actually correct - `--tun-mtu` is the *inner* MTU, = and that never changes on ` [=E2=80=A6] The question is more if we want to deprecate link-mtu and its weird behavio= ur. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1321?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: I76eb584024610a6054a069340adbac988abf686c Gerrit-Change-Number: 1321 Gerrit-PatchSet: 1 Gerrit-Owner: plaisthos Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: cron2 Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Tue, 28 Oct 2025 22:47:16 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: cron2 --WRZewKoUL8c= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: cron2, flichtenheld.

View = Change

2 comments:

  • Patchset:

    • Patch Set #1:

      I d= on't think the logic is right now (neither before nor afterwards). [=E2= =80=A6]

      welcome to openvpn logic. link-mtu and tun-mtu are= mutally exclusive. And you need to have link-mtu in the config to actually= have a pushed cipher to change the MTU of the tun device.

  • File src/openvpn/push.c:

    • Patch Set #1, = Line 1046: if (= strprefix(line, "cipher ") && opt->ce.tun_mtu_defined)=

      I don't think this is actually correct - `--tun-= mtu` is the *inner* MTU, and that never changes on ` [=E2=80=A6]

      The question is more if we want to deprecate link-mtu and its weird = behaviour.

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

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I76eb584024610a6054a069340ad= bac988abf686c
Gerrit-Change-Number: 1321
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: cron2 <gert@...1296...>= ;
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Tue, 28 Oct 2025 22:47:16= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2 <gert@...1296...= >
= --WRZewKoUL8c=--