From: "plaisthos (Code Review)" Date: Tue, 24 Sep 2024 15:07:23 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <0f0ede79aaa02f18e6f4808002a88be7c0d53d86-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="/1eIJMfV5Do="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: Automatically enable --compress migrate on the server List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: openvpn-devel --/1eIJMfV5Do= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld. plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c= /openvpn/+/756?usp=3Demail ) Change subject: Automatically enable --compress migrate on the server ...................................................................... Patch Set 4: (1 comment) File src/openvpn/options.c: http://gerrit.openvpn.net/c/openvpn/+/756/comment/834676ef_0db434b3 : PS4, Line 3456: if (options->comp.alg =3D=3D COMP_ALG_LZO || option= s->comp.alg =3D=3D COMP_ALG_LZO_NO) I think you need to check for && !options->comp.flag & COMP_F_SWAP for COM= P_ALG_LZO because otherwise we also enable this for copress lzo. Although t= hose configs that have compress lzo will also have pushable ciphers, so I d= on't think there isa config that will break. But I would say that is the sa= me as compress lz4 enabling compress migrate. btw. instead of introducing COMP_ALG_LZO_NO here you could test for=20 (options->comp.alg =3D=3D COMP_ALG_STUB && !options->comp.flag & COMP_F_SWA= P) -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/756?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: I00209b880cfcedd93e28f97fc3941d8b85e095f3 Gerrit-Change-Number: 756 Gerrit-PatchSet: 4 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Tue, 24 Sep 2024 15:07:23 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --/1eIJMfV5Do= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld.

View C= hange

1 comment:

= To view, visit change 756. To unsubscribe, or for help writing mail filters, vis= it settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I00209b880cfcedd93e28f97fc39= 41d8b85e095f3
Gerrit-Change-Number: 756
Gerrit-PatchSet: 4
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Tue, 24 Sep 2024 15:07:23= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--/1eIJMfV5Do=--