From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: test of lzo option in OpenVPN
Date: Tue, 05 Sep 2023 17:30:16 +0100 [thread overview]
Message-ID: <611FE5F4-9CF4-4A09-BFAC-8847323A5C83@ipfire.org> (raw)
In-Reply-To: <275883d1-27aa-464f-afe8-33ab20c8dc16@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 2795 bytes --]
Hello Adolf,
Thank you for checking this one out.
> On 4 Sep 2023, at 21:15, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
>
> Hi All,
>
> On 04/09/2023 21:51, Adolf Belka wrote:
>> Hi All,
>>
>> As discussed in the conf call I did a test of the LZO option and the result was not what I had hoped for, at least with Network Manager - openvpn plugin.
>>
>> Using my vm testbed, I created a client with LZO option enabled.
>>
>> I made an opnvpn connection which was successful and worked.
>>
>> Then I disabled LZO on the server but left the client as it was.
>>
>> Remade the connection. The connection showed as CONNECTED in the openvpn WUI page but in my Arch Linux log for the network manager I got a periodic message of
>>
>> nm-openvpn[1266]: Bad LZO decompression header byte: 42
>>
>> Additionally trying to use the browser through the tunnel failed with the web sites timing out.
>>
>> So at least with Network Manager Openvpn plugin turning LZO off on the server ,when the client has it specified, does not work the way we discussed.
>>
>> I will do a further test with openvpn directly on the command line but if one openvpn client doesn't accept LZO being turned off on the server if it is enabled in the client this means we can't remove the LZO option and default it to disabled on the WUI page.
>>
> The same problem occurs when using openvpn as a client from the command line. LZO on the client and server works fine or both disabled works fine but lzo on client but turned off on server gives the same error message as found with network manager - openvpn plugin and although the Status shows as CONNECTED no traffic is successfully passed due to the compression mismatch.
>
> Conclusion: we can't remove the LZO option from the WUI page and have it default to off for everyone.
This is sad, but I think we already anticipated this.
I am now wondering what will happen when this option gets removed upstream (https://community.openvpn.net/openvpn/wiki/DeprecatedOptions#Option:--comp-lzoStatus:Pendingremoval). It hasn’t been decided, yet, but it is at least deprecated and already does not actually enable any compression.
That being said, we should remove the checkbox anyway then, because the page says:
Beginning with 2.5, these options will no longer enable compression, just enable the compression framing to be able to receive compressed packets.
So it is misleading to users right now because there is no compression whatsoever, it just enables an extra header which wastes space.
It should not be possible to enable this on new installations.
What do we do with this chaos now?
-Michael
>
> Regards,
>
> Adolf.
>
>> Regards,
>>
>> Adolf.
>>
>
> --
> Sent from my laptop
next prev parent reply other threads:[~2023-09-05 16:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-04 19:51 Adolf Belka
2023-09-04 20:15 ` Adolf Belka
2023-09-05 16:30 ` Michael Tremer [this message]
2023-09-05 19:17 ` Adolf Belka
2023-09-06 13:54 ` Michael Tremer
2023-09-09 11:18 ` Adolf Belka
2023-09-09 11:25 ` Adolf Belka
2023-09-12 13:47 ` Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=611FE5F4-9CF4-4A09-BFAC-8847323A5C83@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox