summaryrefslogtreecommitdiff
path: root/src/protocol
AgeCommit message (Collapse)Author
2018-05-21parse_ssh{1,2}_packet C codeIru Cai
2018-05-21buffer_append: support NULL argument s to just allocate the spaceIru Cai
2018-05-21remove FQTermSSH{1,2}PacketSender, remove duplicated codeIru Cai
2018-05-21remove is_compressedIru Cai
2018-05-21conn_info: add host and portIru Cai
2018-05-21make a cleaner parseDataIru Cai
2018-05-21ssh_endian.hIru Cai
2018-05-21move packet making code to C codeIru Cai
2018-05-21use ssh_error.h to define error numbersIru Cai
2018-05-21remove cipher_type_Iru Cai
2018-05-21replace is_{en,de}crypt_ things with cipher->startedIru Cai
2018-05-21kill unneeded signals and slotsIru Cai
2018-05-17fqterm_ssh2_kex.cpp: remove unused headersIru Cai
2018-05-11Fix typo found by codespellBoyuan Yang
2018-05-10restruct SSH RSA verificationIru Cai
- put I_C, I_S, V_C, V_S, K_S to ssh_session - move RSA verification code to C code
2018-05-10kill FQTermSSHBufferIru Cai
2018-05-10use C SSH buffer for {input,output}_bufferIru Cai
2018-05-10Use C SSH buffer for socket_buffer, restruct parseDataIru Cai
2018-05-10restruct createRSAcontextIru Cai
2018-05-10fqterm packet: use C bufferIru Cai
Tested using SSH2
2018-05-10implement SSH buffer in CIru Cai
2018-05-07move local_shell_bin to fqterm_path, add the cmd to quickdialogIru Cai
2018-05-05remove 3des_cbc for SSH2Iru Cai
2018-05-05ssh_3des-ssh1.c: use uint8_tIru Cai
2018-05-04add KEX algorithmsIru Cai
2018-05-04refactor using ssh_session structureIru Cai
* move computeKey to C code * Use `mpint_e`, `secret` instead of bn_e, bn_K, drop bn_f * compute DH image and secret in DH related code * drop {get,put}{BN2,SSH2BN}
2018-04-30Add a connection info field in FQTermSocketIru Cai
- the connection info record contains the name of the cipher and MAC algorithms, and the key hash - after doing a key exchange, the connection info will be filled
2018-04-30add name field to ssh_cipher_tIru Cai
2018-04-30Fix SSH MAC verificationIru Cai
2018-04-29Use channelClosed() to handle channel close messageIru Cai
TODO: Now connection will be closed when a channel close, this should be handled according to RFC 4254.
2018-04-29refactor SSH MACIru Cai
2018-04-29kill fqterm_ssh_md5Iru Cai
2016-12-01EVP_MD_CTX_new for libresslIru Cai
2016-11-08Use SSH2 if server version string is SSH-1.99Iru Cai
2016-11-08fqterm_socket.cpp: rename to fqterm_socket_private.cppIru Cai
More clean up: * move static functions outside namespace FQTerm * use isdigit instead of QChar(...).isDigit()
2016-11-08better handling of errors when KEX fails, use EVP digestIru Cai
2016-11-08add aes-ctr cipher supportIru Cai
2016-11-08Implement ssh_cipher_t for symmetric ciphers in SSHIru Cai
* remove FQTermSSHCipher and FQTermSSH3DES, use ssh_cipher_t instead * implement EVP ciphers and 3DES-SSH1
2016-11-08Use ssh_diffie-hellman, the new SSH diffie hellman codeIru Cai
And add diffie-hellman-group14-sha1 support
2016-11-08fqterm_ssh_socket.cpp: test SSH2 first, fix typoIru Cai
TODO: make version 1.99 use SSH2
2016-11-08Use delete [] for getString() generated arraysIru Cai
2016-10-29Remove fqterm_ssh_{rsa,pubkey}Iru Cai
2016-10-29fqterm_ssh2_kex.cpp: use RSA_set0_key for OpenSSL 1.1.0Iru Cai
2016-10-29Add new SSH public key crypto code in ssh_kexIru Cai
The original code is too complicated and is broken under OpenSSL 1.1.0, so I rewrite new crypto code based on the original one, and make it work on OpenSSL 1.1.0. Thanks libssh2 for the HAVE_OPAQUE_STRUCT macro.
2016-10-28fqterm_ssh_des.cpp: use EVP_CIPHER_CTX_new()Iru Cai
2016-10-28Use BN_is_negative(bignum) instead of bignum->negIru Cai
In OpenSSL>=1.1.0: bn, a sub library in libcrypto, has been made opaque
2016-10-28Move ``find_package(OpenSSL)`` to protocol/CMakeLists.txtIru Cai
Files in ``protocol`` directory need ${OPENSSL_INCLUDE_DIR}, but this include is not done when building in this directory if the find_package statement is in ${SRC_ROOT}/CMakeLists.txt.*.
2016-04-03CMakeLists.txt cleanupIru Cai
- remove qt4_automoc - set VERBOSE_MAKEFILE - set FQTERM_LIBS - remove trailing spaces and empty lines
2015-08-28Qt 4 and 5 in one CMakeLists: subdirectoriesIru Cai
2015-02-08wip: Migrate to Qt5 -- API,name changesIru Cai
toAscii -> toLatin1 WFlags -> WindowFlags QCustomEvent -> QEvent QItemDelegate::check -> QItemDelegate::toCheck TRUE,FALSE -> true,false