From: "ralf_lici (Code Review)" Date: Wed, 31 Jul 2024 09:20:29 +0000 In-Reply-To: References: Reply-To: ralf@...2726..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <54a0c4050059d32530dc09c5bc4c7b9c4edfa715-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="kvoDvjqKy2k="; charset=UTF-8 Subject: [Openvpn-devel] [XL] Change in openvpn[master]: Add support for HAProxy's PROXY protocol List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: plaisthos , flichtenheld , openvpn-devel --kvoDvjqKy2k= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. ralf_lici has posted comments on this change. ( http://gerrit.openvpn.net/c= /openvpn/+/685?usp=3Demail ) Change subject: Add support for HAProxy's PROXY protocol ...................................................................... Patch Set 2: (1 comment) File src/openvpn/socket.c: http://gerrit.openvpn.net/c/openvpn/+/685/comment/52c62000_0d470c9e : PS1, Line 2684: /* check if it's a PROXY protocol header */ > It's true that it doesn't get executed only on the first packet. However,= there's a change in multi. [=E2=80=A6] I added an argument to the function that ensures the haproxy protocol heade= r detection is done only once at the beginning of the connection. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/685?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: I9766c68feaba71279f26c3310eee4b5ca215e6ac Gerrit-Change-Number: 685 Gerrit-PatchSet: 2 Gerrit-Owner: ralf_lici Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Wed, 31 Jul 2024 09:20:29 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: plaisthos Comment-In-Reply-To: ralf_lici Gerrit-MessageType: comment --kvoDvjqKy2k= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos.

View C= hange

1 comment:

    <= li style=3D"margin: 0; padding: 0;">

    File src/openvpn/socket.c:

    • Patch Set #1, Line 2684:= /* check if it= 's a PROXY protocol header */

      It's true that = it doesn't get executed only on the first packet. However, there's = a change in multi. [=E2=80=A6]

      I added an argument to the function that ens= ures the haproxy protocol header detection is done only once at the beginni= ng of the connection.

To view, visit change 685. To un= subscribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I9766c68feaba71279f26c3310ee= e4b5ca215e6ac
Gerrit-Change-Number: 685
Gerrit-PatchSet: 2
Gerrit-Owner: ralf_lici <ralf@...2726...>= ;
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: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Wed, 31 Jul 2024 09:20:29= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos <arne-openvp= n@...1227...>
Comment-In-Reply-To: ralf_lici <ralf@...2788...= 6...>
Gerrit-MessageType: comment
--kvoDvjqKy2k=--