From: "cron2 (Code Review)" Date: Mon, 9 Sep 2024 10:45:48 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., gianmarco@...2726..., openvpn-devel@lists.sourceforge.net, frank@...2641..., lstipakov@...277... Message-ID: <88b2340fd8e1dd603f0dbecf600158655f033ec1-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="1mFdIChCTow="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: Ensures all params are ready before invoking dco_set_peer() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: its_Giaan Cc: stipa , flichtenheld , plaisthos , openvpn-devel --1mFdIChCTow= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, its_Giaan, plaisthos. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/587?usp=3Demail ) Change subject: Ensures all params are ready before invoking dco_set_peer() ...................................................................... Patch Set 5: Code-Review-1 (1 comment) Patchset: PS5: I'm not sure the patch is actually fixing the problematic behaviour ("not u= pdating mssfix correctly on pushed values"). If I run the code with `--tun-mtu 500` on the command line (proto UDP, IPv4= ), I see ``` 2024-09-09 12:36:53 us=3D890850 dco_set_peer: peer-id 0, keepalive 10/30, m= ss 460 ``` which sounds reasonable. if I run with `--tun-mtu 1500` locally, and the server pushes `--tun-mtu 14= 00`, I get ``` 2024-09-09 12:37:43 us=3D641363 net_iface_mtu_set: mtu 1400 for tun7 2024-09-09 12:37:43 us=3D642421 Data Channel MTU parms [ mss_fix:1400 max_f= rag:0 tun_mtu:1400 tun_max_mtu:1600 headroom:136 payload:1768 tailroom:562 = ET:0 ] 2024-09-09 12:37:43 us=3D642891 dco_set_peer: peer-id 1, keepalive 10/30, m= ss 1400 ``` which is not what I'd expect - but it is the same behaviour as "without thi= s patch". So, to proceed here, I need instructions for "how to demonstrate the proble= m", which actually see a change in behaviour with the patch... -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/587?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: Ic8538e734dba53cd43fead3961e4401c8037e079 Gerrit-Change-Number: 587 Gerrit-PatchSet: 5 Gerrit-Owner: its_Giaan Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-Reviewer: stipa Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: its_Giaan Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Mon, 09 Sep 2024 10:45:48 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment --1mFdIChCTow= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, its_Giaan, plaistho= s.

Patch set 5:Code-Review -1=

Vi= ew Change

1 comment:

  • Patchset:

    • Patch Set #5:

      I'm not sure the patch is actually fixing = the problematic behaviour ("not updating mssfix correctly on pushed va= lues").

      = If I run the code with `--tun-mtu 500` on the command line (proto UDP, IPv4= ), I see

      ```<= br>2024-09-09 12:36:53 us=3D890850 dco_set_peer: peer-id 0, keepalive 10/30= , mss 460
      ```

      which sounds reasonable.

      if I run with `--tun-mtu 1500` locally, and the server push= es `--tun-mtu 1400`, I get

      ```
      2024-09-09 12:37:43 us=3D641363 net_iface_mtu_set: mtu= 1400 for tun7
      2024-09-09 12:37:43 us=3D642421 Data Channel MTU parms [ = mss_fix:1400 max_frag:0 tun_mtu:1400 tun_max_mtu:1600 headroom:136 payload:= 1768 tailroom:562 ET:0 ]
      2024-09-09 12:37:43 us=3D642891 dco_set_peer: p= eer-id 1, keepalive 10/30, mss 1400
      ```

      which is not what I'd expect - but it is = the same behaviour as "without this patch".

      So, to proceed here, I need instru= ctions for "how to demonstrate the problem", which actually see a= change in behaviour with the patch...

To view, v= isit chan= ge 587. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ic8538e734dba53cd43fead3961e= 4401c8037e079
Gerrit-Change-Number: 587
Gerrit-PatchSet: 5
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-Reviewer: stipa <lstipakov@...277...= >
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: its_Giaan <gianmarco@...1665...= 726...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Mon, 09 Sep 2024 10:45:48= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
--1mFdIChCTow=--