From: "cron2 (Code Review)" Date: Tue, 18 Feb 2025 16:24:33 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., gianmarco@...2726..., openvpn-devel@lists.sourceforge.net, frank@...2641..., a@...2181... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="HygD/sJEYKA="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: Add support for simultaneous use of UDP and TCP sockets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: its_Giaan Cc: flichtenheld , plaisthos , openvpn-devel --HygD/sJEYKA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: its_Giaan, ordex, plaisthos. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/764?usp=3Demail ) Change subject: Add support for simultaneous use of UDP and TCP sockets ...................................................................... Patch Set 19: Code-Review-1 (1 comment) Patchset: PS19: I have not done a new round of review on the code yet, but tested it somewh= at more in earnest :-) Running well-behaved clients on multiple UDP and TCP ports in parallel (2 U= DP, 1 TCP, changing ports, pinging around) worked very nicely. Then I went for the gremlins - lots of short-lived connections on randomize= d destionation ports, with 4 sockets bound (2 UDP, 2 TCP), and *boom* it as= serts on me, after about 5 minutes of gremlin run time... ``` 2025-02-18 17:20:55 us=3D391543 Connection Attempt Assertion failed at forw= ard.c:1756 (link_socket_actual_defined(c->c2.to_link_addr)) ``` this is with DCO on the server, but I do not think it makes a difference - = most likely this is a race condition because these clients are extremely no= n-well-behaved, read, some are killed right after TCP connection, or in the= middle of the TLS handshake. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/764?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: I31bbf87e4e568021445c7512ecefadfd4a69b363 Gerrit-Change-Number: 764 Gerrit-PatchSet: 19 Gerrit-Owner: its_Giaan Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-CC: ordex Gerrit-Attention: plaisthos Gerrit-Attention: its_Giaan Gerrit-Attention: ordex Gerrit-Comment-Date: Tue, 18 Feb 2025 16:24:33 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment --HygD/sJEYKA= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: its_Giaan, ordex, plaisthos.

Patch set 19:Code-Review -1

V= iew Change

1 comment:

  • Patchset:

    • Patch Set #19:

      I have not done a new round of review on the= code yet, but tested it somewhat more in earnest :-)

      Running well-behaved clients on mu= ltiple UDP and TCP ports in parallel (2 UDP, 1 TCP, changing ports, pinging= around) worked very nicely.

      Then I went for the gremlins - lots of short-lived connecti= ons on randomized destionation ports, with 4 sockets bound (2 UDP, 2 TCP), = and *boom* it asserts on me, after about 5 minutes of gremlin run time...

      ```
      2025-02= -18 17:20:55 us=3D391543 Connection Attempt Assertion failed at forward.c:1= 756 (link_socket_actual_defined(c->c2.to_link_addr))
      ```

      this is with DCO on the = server, but I do not think it makes a difference - most likely this is a ra= ce condition because these clients are extremely non-well-behaved, read, so= me are killed right after TCP connection, or in the middle of the TLS hands= hake.

To view, visit change 764. To unsubscribe, or fo= r help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I31bbf87e4e568021445c7512ece= fadfd4a69b363
Gerrit-Change-Number: 764
Gerrit-PatchSet: 19
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-CC: ordex <a@...2181...>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: its_Giaan <gianmarco@...1665...= 726...>
Gerrit-Attention: ordex <a@...2181...> <= /div>
Gerrit-Comment-Date: Tue, 18 Feb 2025 16:24:33= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
--HygD/sJEYKA=--