From: "cron2 (Code Review)" Date: Tue, 28 Oct 2025 13:32:29 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., heiko@...515..., openvpn-devel@lists.sourceforge.net, frank@...2641..., antonio@...2726... Message-ID: <32d914dc8f9bb17757e4fe2603641fdfa0c40cf1-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="6btfsmZH4lk="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: Install host routes for ifconfig-push routes when DCO is enabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: d12fk , flichtenheld , openvpn-devel --6btfsmZH4lk= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: d12fk, flichtenheld, ordex, plaisthos. cron2 has posted comments on this change by plaisthos. ( http://gerrit.open= vpn.net/c/openvpn/+/1192?usp=3Demail ) Change subject: Install host routes for ifconfig-push routes when DCO is en= abled ...................................................................... Patch Set 13: Code-Review-2 (1 comment) Patchset: PS13: We are getting there, but the journey is not over, alas. Now installation/removal of routes "according to what we want" in general w= orks fine, but we *always* try to remove the IPv4 host route at the end - h= ere's for a regular pool IP: ``` Oct 28 14:25:08 fbsd14 tun-udp-p2mp[12610]: MULTI_sva: pool returned IPv4= =3D10.114.2.3, IPv6=3Dfd00:abcd:114:2::1001 Oct 28 14:25:08 fbsd14 tun-udp-p2mp[12610]: MULTI: Learn: 10.114.2.3 -> cro= n2-ubuntu-2004-amd64/udp6:195.30.8.84:44555 peer-id=3D1 Oct 28 14:25:08 fbsd14 tun-udp-p2mp[12610]: MULTI: primary virtual IP for c= ron2-ubuntu-2004-amd64/udp6:195.30.8.84:44555 peer-id=3D1: 10.114.2.3 ... Oct 28 14:26:25 fbsd14 tun-udp-p2mp[12610]: /sbin/route del -net 10.114.2.3= /32 -iface tun0 -fib 0 -weight 16777115 Oct 28 14:26:25 fbsd14 tun-udp-p2mp[12610]: ERROR: FreeBSD route command fa= iled: external program exited with error status: 1 ``` which obviously is not the way to go forward. Need to look what changed in= IPv4 land here. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1192?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: I83295e00d1a756dfa44050b0a4493095fb050fff Gerrit-Change-Number: 1192 Gerrit-PatchSet: 13 Gerrit-Owner: plaisthos Gerrit-Reviewer: cron2 Gerrit-Reviewer: d12fk Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: ordex Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Attention: ordex Gerrit-Attention: d12fk Gerrit-Comment-Date: Tue, 28 Oct 2025 13:32:29 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes --6btfsmZH4lk= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

Patch set 13:Code-Review -2

= View Change

1 comment:

  • Patchset:

    • Patch Set #13:

      We are = getting there, but the journey is not over, alas.

      Now installation/remo= val of routes "according to what we want" in general works fine, = but we *always* try to remove the IPv4 host route at the end - here's f= or a regular pool IP:

      ```
      Oct 28 14:25:08 fbsd14 tun-udp-p2mp[12610]= : MULTI_sva: pool returned IPv4=3D10.114.2.3, IPv6=3Dfd00:abcd:114:2::1001<= br>Oct 28 14:25:08 fbsd14 tun-udp-p2mp[12610]: MULTI: Learn: 10.114.2.3 -&g= t; cron2-ubuntu-2004-amd64/udp6:195.30.8.84:44555 peer-id=3D1
      Oct 28 14:= 25:08 fbsd14 tun-udp-p2mp[12610]: MULTI: primary virtual IP for cron2-ubunt= u-2004-amd64/udp6:195.30.8.84:44555 peer-id=3D1: 10.114.2.3
      ...
      Oct 2= 8 14:26:25 fbsd14 tun-udp-p2mp[12610]: /sbin/route del -net 10.114.2.3/32 -= iface tun0 -fib 0 -weight 16777115
      Oct 28 14:26:25 fbsd14 tun-udp-p2mp[1= 2610]: ERROR: FreeBSD route command failed: external program exited with er= ror status: 1
      ```

      which obviously is not the way to go forward. Nee= d to look what changed in IPv4 land here.

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

<= div itemscope itemtype=3D"http://schema.org/EmailMessage">
<= meta itemprop=3D"name" content=3D"View Change"/>
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I83295e00d1a756dfa44050b0a44= 93095fb050fff
Gerrit-Change-Number: 1192
Gerrit-PatchSet: 13
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: d12fk <heiko@...515...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: ordex <antonio@...2726...&= gt;
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: ordex <antonio@...2726...= >
Gerrit-Attention: d12fk <heiko@...515...>= ;
Gerrit-Comment-Date: Tue, 28 Oct 2025 13:32:29= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
= --6btfsmZH4lk=--