search for: have_libzstd

Displaying 5 results from an estimated 5 matches for "have_libzstd".

2023 Feb 24
1
[PATCH 1/1] Add support for ZSTD compression
...penbsd-compat/openssl-compat.h" @@ -142,12 +143,33 @@ cipher_alg_list(char sep, int auth_only) const char * compression_alg_list(int compression) { -#ifdef WITH_ZLIB - return compression ? "zlib at openssh.com,zlib,none" : - "none,zlib at openssh.com,zlib"; +#ifdef HAVE_LIBZSTD +#define COMP_ZSTD_WITH "zstd at breakpoint.cc," +#define COMP_ZSTD_NONE ",zstd at breakpoint.cc" #else - return "none"; +#define COMP_ZSTD_WITH "" +#define COMP_ZSTD_NONE "" #endif + +#ifdef WITH_ZLIB +#define COMP_ZLIB_C_WITH "zlib at opens...
2023 Feb 24
1
[PATCH 0/1] ZSTD compression support for OpenSSH
I added ZSTD support to OpenSSH roughly three years ago and I've been playing with it ever since. The nice part is that ZSTD achieves reasonable compression (like zlib) but consumes little CPU so it is unlikely that compression becomes the bottle neck of a transfer. The compression overhead (CPU) is negligible even when uncompressed data is tunneled over the SSH connection (SOCKS proxy, port
2020 Mar 24
4
ZSTD compression support for OpenSSH
I hacked zstd support into OpenSSH a while ago and just started to clean it up in the recent days. The cleanup includes configuration support among other things that I did not have. During testing I noticed the following differences compared to zlib: - highly interactive shell output (as in refreshed at a _very_ high rate) may result in higher bandwidth compared to zlib. Since zstd is quicker
2020 Sep 05
8
[PATCH 0/5] ZSTD compression support for OpenSSH
I added ZSTD support to OpenSSH roughly over a year and I've been playing with it ever since. The nice part is that ZSTD achieves reasonable compression (like zlib) but consumes little CPU so it is unlikely that compression becomes the bottle neck of a transfer. The compression overhead (CPU) is negligible even when uncompressed data is tunneled over the SSH connection (SOCKS proxy, port
2020 Feb 06
0
[PATCH] Add support for zstd compression
...std], [Build without libzstd (Default: with if possible)])) + +AS_IF([test "x$with_libzstd" != "xno"], + [want_libzstd=yes], + [want_libzstd=no]) + +AS_IF([test "x$want_libzstd" = "xyes"], + [ + PKG_CHECK_MODULES([LIBZSTD], [libzstd >= 1.3.8], [AC_DEFINE([HAVE_LIBZSTD], [1], [Use LIBZSTD])]) + ], + [AS_IF([test "x$with_libzstd" = "xyes"], + [AC_MSG_ERROR([libzstd requested but not found]) + ]) + ]) + +AC_SUBST([LIBZSTD_CFLAGS]) +AC_SUBST([LIBZSTD_LIBS]) + ################################################# # check for extended attribu...