2004-12-07 22:17:20 +01:00
|
|
|
|
libssh2 - SSH2 library
|
|
|
|
|
======================
|
|
|
|
|
|
2006-03-08 20:10:53 +01:00
|
|
|
|
Version 0.14
|
|
|
|
|
------------
|
|
|
|
|
|
2006-04-06 23:50:37 +02:00
|
|
|
|
Plug leaks in EVP cipher init/shutdown. (Selcuk Gueney)
|
|
|
|
|
|
2006-03-08 20:10:53 +01:00
|
|
|
|
Allow socket_fd == 0 in libssh2_session_startup(). (puudeli)
|
|
|
|
|
|
2006-05-27 00:36:48 +02:00
|
|
|
|
Swap ordering of packet_add/packet-inspection to avoid inspect after free. (Selcuk)
|
|
|
|
|
|
2006-06-22 20:45:29 +02:00
|
|
|
|
Swap KEX_INIT ordering, send our KEX_INIT first.
|
|
|
|
|
|
|
|
|
|
Add check for oportunistic KEX_INIT packets. Burn bad guess if necessary.
|
|
|
|
|
|
2006-05-27 00:36:48 +02:00
|
|
|
|
Fix OpenSSL detection using pkg-config. (Dan Casey)
|
|
|
|
|
|
2005-11-02 01:26:24 +01:00
|
|
|
|
Version 0.13
|
|
|
|
|
------------
|
|
|
|
|
|
|
|
|
|
Fixed channel not being marked closed when CHANNEL_CLOSE package cannot be sent. (David Robins)
|
|
|
|
|
|
|
|
|
|
Fixed payload packet allocation bug when invalid packet length received. (David Robins)
|
|
|
|
|
|
2006-01-06 18:34:03 +01:00
|
|
|
|
Fixed `make install' target for MacOSX.
|
|
|
|
|
|
2005-11-18 00:20:32 +01:00
|
|
|
|
Add terminating NULL character to readlink()/realpath() results.
|
|
|
|
|
|
2006-02-24 00:14:35 +01:00
|
|
|
|
BugFix#1436593: Apply build options for HPUX targets.
|
|
|
|
|
|
2005-07-06 19:50:53 +02:00
|
|
|
|
Version 0.12
|
|
|
|
|
------------
|
|
|
|
|
|
2005-07-21 22:28:07 +02:00
|
|
|
|
Added support for publickey subsytem (not the same as publickey auth).
|
|
|
|
|
|
2005-08-10 23:37:44 +02:00
|
|
|
|
Fix x11_req. Multiple packet_len issues and error handling logic.
|
|
|
|
|
(Thanks Simon Hart)
|
|
|
|
|
|
2005-07-11 17:56:09 +02:00
|
|
|
|
Fix generation of 'e' portion of Diffie-Hellman keyset.
|
|
|
|
|
Use appropriate order for BN_rand() rather than fixed group1-specific value.
|
|
|
|
|
|
2005-07-06 19:50:53 +02:00
|
|
|
|
Re-fixed libssh2_sftp_rename_ex()
|
|
|
|
|
Transport had right packet_len, but sftp layer still had extra 4 bytes.
|
|
|
|
|
|
2005-11-02 00:11:50 +01:00
|
|
|
|
Fixed build with newer OpenSSL headers.
|
|
|
|
|
|
|
|
|
|
Added extern "C" declarations to libssh2_sftp.h for C++ compatability.
|
|
|
|
|
|
2005-05-18 19:10:27 +02:00
|
|
|
|
Version 0.11
|
|
|
|
|
------------
|
|
|
|
|
|
2005-07-05 03:38:41 +02:00
|
|
|
|
Added libssh2_chnnale_get_exit_status() -- Mikhail
|
|
|
|
|
|
|
|
|
|
Added libssh2_channel_wait_closed() -- Mikhail
|
|
|
|
|
|
|
|
|
|
Added libssh2_userauth_keyboard_interactive_ex() -- Mikhail
|
2005-06-11 21:18:06 +02:00
|
|
|
|
|
2005-05-18 19:10:27 +02:00
|
|
|
|
Added libssh2_channel_receive_window_adjust() to be able to increase the size of the receive window.
|
|
|
|
|
|
|
|
|
|
Added queueing for small window_adjust packets to avoid unnecessary packet conversation.
|
|
|
|
|
|
2005-06-17 19:18:25 +02:00
|
|
|
|
Fixed libssh2_sftp_rename_ex() to only send flags parameter if version >= 5 negotiated
|
|
|
|
|
(not currently possible, but will be and might as well keep the API consistent).
|
|
|
|
|
|
2005-05-06 20:30:43 +02:00
|
|
|
|
Version 0.10
|
|
|
|
|
------------
|
|
|
|
|
|
2005-05-11 07:11:31 +02:00
|
|
|
|
Added developer debugging hooks. See --enable-debug-* options to ./configure
|
|
|
|
|
|
2005-05-10 06:57:34 +02:00
|
|
|
|
Ignore extended data in the SFTP layer. With no other mechanism to deal with that data it'd just fill up and get stuck.
|
|
|
|
|
|
2005-05-06 20:30:43 +02:00
|
|
|
|
(Re)Fixed channel_write() to provide an opportunity for window space to become available again.
|
|
|
|
|
|
2005-05-10 06:49:43 +02:00
|
|
|
|
(Re)Fixed SFTP INIT to send the correct SFTP packet length.
|
|
|
|
|
|
2005-05-16 19:16:25 +02:00
|
|
|
|
Fixed segfault when client and host can't agree on a hostkey/crypt/mac/comp method. (Thanks puudeli)
|
|
|
|
|
|
2005-05-17 07:22:41 +02:00
|
|
|
|
Fixed major issue with sftp packet buffering mechanism. Using wrong blocking semantics. (No puudeli, YOU the man)
|
|
|
|
|
|
2005-05-17 01:12:09 +02:00
|
|
|
|
Reduced busy-looping of libssh2_sftp_packet_requirev.
|
|
|
|
|
|
2005-03-26 02:26:14 +01:00
|
|
|
|
Version 0.9
|
|
|
|
|
-----------
|
|
|
|
|
|
2005-05-04 20:48:47 +02:00
|
|
|
|
Changed blocking_read to only block as much as necessary and not an arbitrary length of time. (Thanks Felix)
|
|
|
|
|
|
2005-05-03 20:35:40 +02:00
|
|
|
|
Fixed SFTP INIT/VERSION to exclude request_id and send correct maximum version number.
|
|
|
|
|
|
2005-04-07 23:53:55 +02:00
|
|
|
|
Fixed SFTP to be properly BC with version 1 and 2 servers.
|
|
|
|
|
|
2005-03-26 02:26:14 +01:00
|
|
|
|
Fixed libssh2_poll() to recognized closed sessions/channels.
|
|
|
|
|
|
2005-05-04 21:01:48 +02:00
|
|
|
|
Fixed libssh2_channel_write_ex() to fully block when set to blocking mode. Return actual bytes written as well. (Thanks deadem)
|
|
|
|
|
|
2005-05-05 20:45:42 +02:00
|
|
|
|
Added tests for -lm and -lsocket and add them when necessary.
|
|
|
|
|
|
2005-03-29 00:59:35 +02:00
|
|
|
|
Added libssh2_channel_window_read_ex() and libssh2_channel_window_write_ex()
|
|
|
|
|
for examining the ssh transport windowing states.
|
|
|
|
|
|
2005-03-17 20:09:45 +01:00
|
|
|
|
Version 0.8
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
Fix potential segfault in compression/decompression.
|
|
|
|
|
|
|
|
|
|
Fix compatability with older versions of OpenSSL
|
|
|
|
|
|
2005-03-17 20:20:32 +01:00
|
|
|
|
Swapped order of none,zlib compression modes to prefer no compression by default.
|
|
|
|
|
|
2005-03-21 22:26:08 +01:00
|
|
|
|
Added sys/uio.h for platforms (FBSD) which need it in order to define struct iovec.
|
|
|
|
|
|
2005-03-23 01:21:26 +01:00
|
|
|
|
Added libssh2_poll() to check status of sockets/channels/listeners.
|
|
|
|
|
|
2005-03-21 22:26:08 +01:00
|
|
|
|
Removed unnecessary inclusion of stdio.h (holdover from debugging)
|
|
|
|
|
|
2005-02-14 04:16:42 +01:00
|
|
|
|
Version 0.7
|
|
|
|
|
-----------
|
|
|
|
|
|
2005-02-14 06:51:06 +01:00
|
|
|
|
Added libssh2_userauth_hostbased_fromfile_ex() for authenticating from hostkey.
|
|
|
|
|
|
2005-02-17 21:41:34 +01:00
|
|
|
|
Added configure recognition for MacOSX (Darwin) (Thanks Gabe)
|
|
|
|
|
|
2005-02-14 04:16:42 +01:00
|
|
|
|
Fixed extended data identification in libssh2_channel_read().
|
|
|
|
|
|
|
|
|
|
Fixed window adjust code. Hadn't acknowledged adjustments correctly.
|
|
|
|
|
|
|
|
|
|
Removed initial_window_size requirement for sending window adjust packet.
|
|
|
|
|
|
|
|
|
|
|
2005-01-20 22:35:24 +01:00
|
|
|
|
Version 0.6
|
|
|
|
|
-----------
|
|
|
|
|
|
2005-02-03 06:57:43 +01:00
|
|
|
|
Added LIBSSH2_FLAG_SIGPIPE to enable/disable SIGPIPE generated by send()/recv() calls. Default off.
|
|
|
|
|
|
|
|
|
|
Added libssh2_session_flag() to set optional session flags.
|
|
|
|
|
|
2005-02-03 06:41:35 +01:00
|
|
|
|
Collapsed exchanging_keys/newkeys/authenticated flags into single state attribute.
|
|
|
|
|
|
2005-02-01 06:37:42 +01:00
|
|
|
|
Fix zlib compression issue when internal buffer state misses partial sync.
|
|
|
|
|
|
2005-01-22 00:30:28 +01:00
|
|
|
|
Fix segfault when libssh2_session_methods() is called prior to session_startup().
|
|
|
|
|
|
2005-01-20 22:35:24 +01:00
|
|
|
|
Fixed client to server channel windowing. Pervent send queue overruns.
|
|
|
|
|
|
|
|
|
|
Swapped banner send/receive order (send first, then wait for response).
|
|
|
|
|
|
2004-12-26 22:54:19 +01:00
|
|
|
|
Version 0.5
|
|
|
|
|
-----------
|
|
|
|
|
|
2004-12-31 00:22:59 +01:00
|
|
|
|
*** BC Break ***
|
|
|
|
|
Reimplemented libssh2_session_methods() to match libssh2_session_method_pref() style
|
|
|
|
|
|
2005-01-08 00:51:46 +01:00
|
|
|
|
Fixed libssh2_attr2bin() (effects any setstat style call).
|
|
|
|
|
|
2005-01-08 00:14:53 +01:00
|
|
|
|
Fixed authenticating with encrypted private key.
|
|
|
|
|
|
2005-01-07 22:07:53 +01:00
|
|
|
|
Fixed authenticating via ssh-dss public key.
|
|
|
|
|
|
2004-12-27 21:38:44 +01:00
|
|
|
|
Fixed KEX_INIT cookie and packet padding to use actual random data
|
|
|
|
|
|
2004-12-26 22:54:19 +01:00
|
|
|
|
Added DESTDIR support to makefiles (Adam Go<47><6F>biowski -- I hope that character set translates right)
|
|
|
|
|
|
2004-12-29 20:26:28 +01:00
|
|
|
|
Added libssh2_channel_forward_listen_ex(), libssh2_channel_forward_cancel(), and libssh2_channel_forward_accept().
|
|
|
|
|
|
2004-12-31 01:15:18 +01:00
|
|
|
|
Added ./configure option '--disable-gex-new' to allow using the older group-exchange format
|
|
|
|
|
|
2004-12-31 01:55:52 +01:00
|
|
|
|
Added MAC methods hmac-md5 and hmac-md5-96.
|
|
|
|
|
|
2004-12-24 04:49:25 +01:00
|
|
|
|
Version 0.4
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
Fixed crash when trying to free sftp_dirhandle data from a filehandle struct.
|
|
|
|
|
|
2004-12-24 04:57:10 +01:00
|
|
|
|
Fixed leak in sftp_open_ex(), handle->handle not freed in handle_close().
|
|
|
|
|
|
2004-12-24 21:19:42 +01:00
|
|
|
|
Fixed leak in sftp_symlink_ex(), result for READLINK and REALPATH not freed unless there was an error.
|
|
|
|
|
|
2004-12-25 00:10:15 +01:00
|
|
|
|
Added libssh2_banner_set(), specify an arbitrary banner to send on introduction.
|
|
|
|
|
|
2004-12-18 08:00:51 +01:00
|
|
|
|
Version 0.3
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
Fixed libssh2_channel_read_ex(). Packet loop initialized BEFORE transport polled for new packets (should have been after).
|
|
|
|
|
|
2004-12-20 22:52:35 +01:00
|
|
|
|
Fixed blocking issues in scp_send()/scp_recv().
|
|
|
|
|
|
|
|
|
|
Fixed degree of indirection in macerror callback.
|
|
|
|
|
|
2004-12-23 01:42:20 +01:00
|
|
|
|
Changed packet read mechanism to use a fixed buffer and avoid unnecessary alloc/free calls. (especially while non-block looping)
|
|
|
|
|
|
2004-12-20 22:52:35 +01:00
|
|
|
|
Added channel close callback.
|
|
|
|
|
|
2004-12-22 01:20:02 +01:00
|
|
|
|
Added SFTP support (Using its own header file: libssh2_sftp.h)
|
|
|
|
|
|
2004-12-08 19:24:06 +01:00
|
|
|
|
Version 0.2
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
Changed extended data ignorance mechanism:
|
|
|
|
|
libssh2_channel_ignore_extended_data() changed to libssh2_channel_handle_extended_data()
|
|
|
|
|
Macro introduced for backward compatability during beta phase.
|
|
|
|
|
*** THE LIBSSH2_CHANNEL_IGNORE_EXTENDED_DATA() MACRO WILL BE REMOVED PRIOR TO 1.0 RELEASE ***
|
|
|
|
|
libssh2_channel_handle_extended_data() may be passed one of three "ignore_mode" constants
|
|
|
|
|
LIBSSH2_CHANNEL_EXTENDED_DATA_NONE Default behavior, queue ED packets and return them with read_ex
|
|
|
|
|
LIBSSH2_CHANNEL_EXTENDED_DATA_IGNORE Equivalent to libssh2_channel_ignore_extended_data()
|
|
|
|
|
IGNORE will implicitly flush the extended data stream(s)
|
|
|
|
|
LIBSSH2_CHANNEL_EXTENDED_DATA_MERGE Calls to channel_read() will check both the standard data stream
|
|
|
|
|
and the extended data stream(s) for the first available packet
|
|
|
|
|
|
2004-12-17 00:02:25 +01:00
|
|
|
|
Changed libssh2_session_disconnect_ex() to return an error code when alloc fails
|
|
|
|
|
|
2004-12-08 19:54:25 +01:00
|
|
|
|
Added libssh2_channel_flush_ex() and basic macros: ..._flush() ..._flush_stderr()
|
|
|
|
|
flush_ex accepts either the streamid (0 for standard data, 1 for stderr) or one of the two following constants:
|
|
|
|
|
LIBSSH2_CHANNEL_FLUSH_ALL Flush all streams
|
|
|
|
|
LIBSSH2_CHANNEL_FLUSH_EXTENDED_DATA Flush all streams EXCEPT the standard data stream
|
|
|
|
|
|
2004-12-09 19:24:14 +01:00
|
|
|
|
Added libssh2_session_callback_set() for setting ignore/debug/disconnect/macerror callbacks
|
|
|
|
|
|
2004-12-09 23:10:07 +01:00
|
|
|
|
Added libssh2_session_method_pref() to selectively set methods and method preferences.
|
|
|
|
|
|
|
|
|
|
Added libssh2_session_methods() to determine what methods were negotiated.
|
|
|
|
|
|
2004-12-10 00:27:14 +01:00
|
|
|
|
Added libssh2_session_abstract() for retreiving &session->abstract
|
|
|
|
|
|
2004-12-16 23:44:28 +01:00
|
|
|
|
Added libssh2_session_last_error() for retreiving error codes/messages
|
2004-12-10 00:27:14 +01:00
|
|
|
|
|
2004-12-08 19:24:06 +01:00
|
|
|
|
Version 0.1
|
|
|
|
|
-----------
|
2004-12-07 22:17:20 +01:00
|
|
|
|
|
|
|
|
|
Initial Release:
|
|
|
|
|
KEX methods: diffie-hellman-group14-sha1, diffie-hellman-group-exchange-sha1, diffie-hellman-group1-sha1
|
|
|
|
|
Hostkey methods: ssh-rsa, ssh-dss
|
|
|
|
|
Cipher methods: aes256-cbc, rijndael-cbc@lysator.liu.se, aes192-cbc, aes128-cbc, blowfish-cbc, arcfour, cast128-cbc, 3des-cbc, none*
|
|
|
|
|
Compression methods: zlib, none
|
|
|
|
|
MAC methods: hmac-sha1, hmac-sha1-96, hmac-ripemd160, hmac-ripemd160@openssh.com none*
|
|
|
|
|
*Cipher/MAC "none" is disabled by default for security purposes,
|
|
|
|
|
Use --enable-crypt-none and/or --enable-mac-none with ./configure to enable
|