I want to disable compression without having to recall all of the clients. To that end I have configured my server with
Server Config
# Disable compression
compress
compress
Which should disable compression of the server side.
By using a client-connect script and inspecting the IV_VER environment variable (or lack thereof) I can determine the client version and if I need to push 'compress' or ' comp-lzo no' to it. This works in as much as I can see the relevant options being pushed from the server
e.g. for a 2.3 client
Code: Select all
...
PUSH_REPLY,redirect-gateway, ... ping-restart 60,comp-lzo ...
...
OPTIONS IMPORT: compression parms modified
...
Code: Select all
...
PUSH_REPLY,redirect-gateway, ... ping-restart 60,compress ...
...
OPTIONS IMPORT: compression parms modified
...
Code: Select all
Bad compression stub (swap) decompression header byte: 250
Code: Select all
Bad LZO decompression header byte: 251
Is there a way for a 2.4 server with compression disabled to disable the compression on 2.3 and 2.4 clients with push commands and if so what are they ?
Cheers