From: "plaisthos (Code Review)" Date: Mon, 10 Nov 2025 14:49:46 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., gianmarco@...2726..., openvpn-devel@lists.sourceforge.net, frank@...2641..., gert@...1296... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="cnVaOprial4="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: multipeer: introduce asymmetric peer-id List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: its_Giaan Cc: flichtenheld , openvpn-devel --cnVaOprial4= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: cron2, flichtenheld, its_Giaan. plaisthos has posted comments on this change by its_Giaan. ( http://gerrit.= openvpn.net/c/openvpn/+/1089?usp=3Demail ) Change subject: multipeer: introduce asymmetric peer-id ...................................................................... Patch Set 7: Code-Review-2 (1 comment) Patchset: PS7:=20 So this seem to not work correctly in P2p mode. peer a: openvpn --port 1195 --tls-server --ifconfig 10.173.0.1 255.255.255.= 0 --topology subnet --topology subnet --cert ~/nemesis.pem --key ~/nemesi= s.pem --dev tun --verb 4 --tun-mtu 1400 --config ~/fp --disable-dco peer b: openvpn --verb 4 --dev tun --remote nemesis.fritz.box 1195 --conf= ig ~/ovpn/confs/fp --tls-client --cert ~/ovpn/confs/styx-ed25519.pem --key= ~/ovpn/confs/styx-ed25519.pem --disable-dco --ifconfig 10.173.0.2 255.255= .255.0 The fp config just has the fingerpints in it. And the negotiated peer ids just don't make sense. It should be just the sa= me ids with rx and tx swapped but this is is not really that. 2025-11-10 15:48:41 us=3D782130 Data Channel: cipher 'AES-256-GCM', rx_peer= -id: 7762030, tx_peer-id: 5695615 2025-11-10 14:48:41 us=3D533055 Data Channel: cipher 'AES-256-GCM', rx_peer= -id: 7762030, tx_peer-id: 14459670 Also it seems to *always* use 7762030 in my tests. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1089?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: I0a13ee90b6706acf20eabcee3bab3f2dff639bf9 Gerrit-Change-Number: 1089 Gerrit-PatchSet: 7 Gerrit-Owner: its_Giaan Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: its_Giaan Gerrit-Attention: cron2 Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Mon, 10 Nov 2025 14:49:46 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes --cnVaOprial4= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

Patch set 7:Code-Review -2=

V= iew Change

1 comment:

  • Patchset:

    • Patch Set #7:

      So this see= m to not work correctly in P2p mode.

      peer a: openvpn --port 1195 --tls-= server --ifconfig 10.173.0.1 255.255.255.0 --topology subnet --topology su= bnet --cert ~/nemesis.pem --key ~/nemesis.pem --dev tun --verb 4 --tun-= mtu 1400 --config ~/fp --disable-dco

      peer b: openvpn --verb 4 --dev = tun --remote nemesis.fritz.box 1195 --config ~/ovpn/confs/fp --tls-client= --cert ~/ovpn/confs/styx-ed25519.pem --key ~/ovpn/confs/styx-ed25519.pem -= -disable-dco --ifconfig 10.173.0.2 255.255.255.0


      The fp config ju= st has the fingerpints in it.

      And the negotiated peer ids just don'= t make sense. It should be just the same ids with rx and tx swapped but thi= s is is not really that.

      2025-11-10 15:48:41 us=3D782130 Data Channel:= cipher 'AES-256-GCM', rx_peer-id: 7762030, tx_peer-id: 5695615

      =

      2025-11-10 14:48:41 us=3D533055 Data Channel: cipher 'AES-256-GCM'= , rx_peer-id: 7762030, tx_peer-id: 14459670

      Also it seems to *always* u= se 7762030 in my tests.

To view, visit change 1089. T= o unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I0a13ee90b6706acf20eabcee3ba= b3f2dff639bf9
Gerrit-Change-Number: 1089
Gerrit-PatchSet: 7
Gerrit-Owner: its_Giaan <gianmarco@...2786...= ..>
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: its_Giaan <gianmarco@...1665...= 726...>
Gerrit-Attention: cron2 <gert@...1296...>= ;
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Mon, 10 Nov 2025 14:49:46= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
= --cnVaOprial4=--