From bf74aa095adf8d0a3b4144b29b2d7a48fe4e02b2 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Sat, 9 Sep 2023 14:32:15 +0900 Subject: add -g option to specify TCP cc algorithm This commit introduce SSH_OPTIONS_CCALGO option to the libssh patch and add -g CONGESTION option to mscp. --- include/mscp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/mscp.h b/include/mscp.h index 7062c48..35af518 100644 --- a/include/mscp.h +++ b/include/mscp.h @@ -56,6 +56,7 @@ struct mscp_opts { #define MSCP_SSH_MAX_CIPHER_STR 32 #define MSCP_SSH_MAX_HMAC_STR 32 #define MSCP_SSH_MAX_COMP_STR 32 /* yes, no, zlib, zlib@openssh.com, none */ +#define MSCP_SSH_MAX_CCALGO_STR 16 #define MSCP_SSH_MAX_PASSWORD 128 #define MSCP_SSH_MAX_PASSPHRASE 128 @@ -72,6 +73,7 @@ struct mscp_ssh_opts { char cipher[MSCP_SSH_MAX_CIPHER_STR]; /** cipher spec */ char hmac[MSCP_SSH_MAX_HMAC_STR]; /** hmacp spec */ char compress[MSCP_SSH_MAX_COMP_STR]; /** yes, no, zlib@openssh.com */ + char ccalgo[MSCP_SSH_MAX_CCALGO_STR]; /** TCP cc algorithm */ char password[MSCP_SSH_MAX_PASSWORD]; /** password auth passowrd */ char passphrase[MSCP_SSH_MAX_PASSPHRASE]; /** passphrase for private key */ -- cgit v1.2.3