Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable compression? (-z doesn't seem to work) #22

Open
cipriancraciun opened this issue Nov 22, 2022 · 4 comments
Open

How to enable compression? (-z doesn't seem to work) #22

cipriancraciun opened this issue Nov 22, 2022 · 4 comments

Comments

@cipriancraciun
Copy link

I've compiled the latest master branch, and I've tried specifying -z on both ends (client and server), only client, only server, and the connection just seems to reset.

Without -z I can make ctunnel work properly.

@thaughbaer
Copy link

The compression code is a bit broken ( my opinion ). I have a fork which works ( at least for me ).

@aceberle
Copy link

aceberle commented Jan 5, 2023

@thaughbaer, have you considered submitting a PR? I have also run into problems with the compression not working, and that was the only thing I actually wanted out of this library

@aceberle
Copy link

aceberle commented Jan 5, 2023

Wow @thaughbaer, crazy coincidence: I was also looking into using ctunnel specifically for compressing traffic to/from DB2 to improve performance over a WAN. I'm happy to see that your fork specifically addresses this scenario.

@thaughbaer
Copy link

@aceberle you should find it works well with Db2. I've only used it on one project but there were terabytes of data involved across many connections. I don't use and haven't tested the VPN mode. I was using Db2 going from AIX to Linux from ground to cloud on an unencrypted ( Db2 ) connection. Compression ratios were around 10:1 with around the same improvement in query time. Ping me with any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants