Bad LZO decompression header byte: 0

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
jacobors
OpenVpn Newbie
Posts: 3
Joined: Wed Jul 01, 2020 9:56 am

Bad LZO decompression header byte: 0

Post by jacobors » Wed Jul 01, 2020 10:11 am

Hi all,
I have an OpenVPN Server installed on CentOS.
I have a Sierra Airlink LS300 client (192.160.1.254) connected to the server.
I have comp-lzo configured on the client and on the server.
The VPN conecction between server and client appears as CONNECTED, but i can´t ping from server to client.
The log does not show any highlighted errors. Continuously displays the warning "Bad LZO decompression header byte: 0"
Does anyone know what the reason may be?
The OpenVPN Server version is 2.4.9.
The OpenVPN client version (Sierra Airlink LS300 with ALEOS 4.4.9) is 2.3.17
Thank you very much.

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Bad LZO decompression header byte: 0

Post by TinCanTech » Wed Jul 01, 2020 1:21 pm

Incompatible compression settings...

viewtopic.php?f=30&t=22603

jacobors
OpenVpn Newbie
Posts: 3
Joined: Wed Jul 01, 2020 9:56 am

Re: Bad LZO decompression header byte: 0

Post by jacobors » Wed Jul 01, 2020 1:36 pm

OK thanks.
So it is not possible to communicate a client with version 2.3.17 with a server with version 2.4.9?
The VPN appears as connected, but I cannot PING from the server to the client.
To be able to do it I have to use an old version of Openvpn on the server?

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Bad LZO decompression header byte: 0

Post by TinCanTech » Wed Jul 01, 2020 1:48 pm

OpenVPN 2.4 should be compatible with 2.3

OpenVPN recommend that you do not use compression on a VPN due to:
https://community.openvpn.net/openvpn/wiki/VORACLE

You obviously have not used the correct settings..

jacobors
OpenVpn Newbie
Posts: 3
Joined: Wed Jul 01, 2020 9:56 am

Re: Bad LZO decompression header byte: 0

Post by jacobors » Wed Jul 01, 2020 2:26 pm

OK, thank you very much for your help!
But if I don´t use compression, that error is shown in the logfile:

IP packet with unknown IP version=0

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Bad LZO decompression header byte: 0

Post by TinCanTech » Wed Jul 01, 2020 2:49 pm


CIX
OpenVpn Newbie
Posts: 1
Joined: Wed Dec 11, 2024 1:50 pm

Re: Bad LZO decompression header byte: 0

Post by CIX » Wed Dec 11, 2024 2:03 pm

Hello,

I was able to find a solution for the compression error.
My VPN goes through two routers interconnected by Wireguard, the 1st router seems to poorly transfer packets to the 2nd router via the VPN.
Because when I disabled compression I had other errors.

To solve the problem I put a low value in the tunnel MTU.
So I removed the options: mssfix and fragment 1500. To replace them with: tun-mtu 1300.
The router still has: iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
to maximize outgoing packets...
So I no longer have any compression problems.

However, be careful with LZO compression, see:
https://community.openvpn.net/openvpn/w ... U_7jJEQYs0

++

Post Reply