Version 1.2.6 - June 10 2010
libssh2 1.2.6 GPG sig (579590 bytes)
Changes:
- Added libssh2_sftp_statvfs() and libssh2_sftp_fstatvfs()
- Added libssh2_knownhost_checkp()
- Added libssh2_scp_send64()
Bug fixes:
- wait_socket: make c89 compliant and use two fd_sets for select()
- OpenSSL AES-128-CTR detection
- proper keyboard-interactive user dialog in the sftp.c example
- build procedure for VMS
- fixed libssh2.dsw to use the generated libssh2.dsp
- several Windows-related build fixes
- fail to init SFTP if session isn't already authenticated
- many tiny fixes that address clang-analyzer warnings
- sftp_open: deal with short channel_write calls
- libssh2_publickey_init: fixed to work better non-blocking
- sftp_close_handle: add precation to not access NULL pointer
- sftp_readdir: simplified and bugfixed
- channel_write: if data has been sent, don't return EAGAIN
Version 1.2.5 - April 13 2010
libssh2 1.2.5 GPG sig (559553 bytes)
Changes:
- Added Add keep-alive support: libssh2_keepalive_config() and
libssh2_keepalive_send()
- Added libssh2_knownhost_addc(), libssh2_init() and libssh2_exit()
- Added LIBSSH2_SFTP_S_IS***() macros
Bug fixes:
- fix memory leak in libssh2_session_startup()
- added missing error codes - shown as hangs in blocking mode
- fix memory leak in userauth_keyboard_interactive()
- libssh2_knownhost_del: fix write to freed memory
- Send and receive channel EOF before sending SSH_MSG_CHANNEL_CLOSE
- Use AES-CTR from OpenSSL when available
- Fixed gettimeofday to compile with Visual C++ 6
- NULL dereference when window adjusting a non-existing channel
- avoid using poll on interix and mac os x systems
- fix scp memory leak
- Correctly clear blocking flag after sending multipart packet
- Reduce used window sizes by factor 10
- libssh2_userauth_publickey_fromfile_ex() handles a NULL password
- sftp_init() deal with _libssh2_channel_write() short returns
Version 1.2.4 - February 13 2010
libssh2 1.2.4 GPG sig (547675 bytes)
Bug fixes:
- Resolve compile issues on Solaris x64 and UltraSPARC
- Allow compiling with OpenSSL when AES isn't available
- Fix Tru64 socklen_t compile issue with example/direct_tcpip.c
Version 1.2.3 - February 3 2010
libssh2 1.2.3 GPG sig (547652 bytes)
Changes:
- ssh-agent support with the new libssh2_agent_* functions
- Added libssh2_trace_sethandler()
- Added the direct_tcpip.c and ssh2_agent.c examples
Bug fixes:
- Fixed memory leak in userauth_publickey
- Fixed publickey authentication regression
- Silenced several compiler warnings
- avoid returning data to memory already freed
- transport layer fix for bogus -39 (LIBSSH2_ERROR_BAD_USE) errors
- Fixed padding in ssh-dss signature blob encoding
- Fixed direction blocking flag problems
- Fixed memory leak in sftp_fstat()
Version 1.2.2 - November 16 2009
libssh2 1.2.2 GPG sig (535430 bytes)
Changes:
- Support for the "aes128-ctr", "aes192-ctr", "aes256-ctr" ciphers
- Support for the "arcfour128" cipher
Bug fixes:
- Fix crash when server sends an invalid SSH_MSG_IGNORE message
Version 1.2.1 - September 28 2009
libssh2 1.2.1 GPG sig (533302 bytes)
Changes:
- generate and install libssh2.pc
Bug fixes:
- proper return codes returned from several functions
- return EAGAIN internal cleanup
- added knownhost.c to windows makefiles
- pass private-key to OpenSSL as a filename with BIO_new_file().
- make libssh2_scp_send/recv do blocking mode correctly
- libssh2_channel_wait_closed() could hang
- libssh2_channel_read_ex() must return 0 when closed
- added gettimeofday() function for win32 for the debug trace outputs
- transport layer bug causing invalid -39 (LIBSSH2_ERROR_BAD_USE) errors
- scp examples now loop correctly over libssh2_channel_write()
Version 1.2 - August 10 2009
libssh2 1.2 GPG sig (532299 bytes)
Changes:
- we've switched to using git for source code control
- the libssh2-devel mailing list moved to cool.haxx.se
- libssh2_poll() and libssh2_poll_channel_read() are now deprecated
- a range of libssh2_knownhost_*() functions were added to the API to work
with OpenSSH style known_hosts files etc
- added libssh2_session_hostkey()
- added an X11 forwarding example
- the makefile now generate MSVS project files
Bug fixes:
- bad 0-return from libssh2_channel_read
- failure to "drain" the transport data caused badness
- memory leak in libssh2_sftp_shutdown()
- fixed stroll() #if condition
- build thread-safe on Solaris
- error when including libssh2.h in two files on Windows fixed
- custom memory function extra argument was wrong
- transport now checks for and bail out on packets claing to be zero sized
- fixed a number of compiler warnings
- buildconf runs on Mac OS X
- public headers includable on their own
- bad debugdump() caused SIGSEGV at times (when libssh2_trace() was used)
- possible data loss when send_existing() failed to send its buffer
- passing FILE*s across DLL boundaries (OpenSSL) caused crashes on Windows
Version 1.1 - April 2 2009
libssh2 1.1 GPG sig
- Downloads using SCP or SFTP are now significantly faster
- Added a Libtool -export-symbols-regex flag to reduce the number of
exported symbols in shared libraries.
- Added a bunch of new man pages and renamed some of the previous ones
- Enhanced download performance
- Made libssh2_scp_recv() and libssh2_scp_send() deal with spaces in
filenames
- Fixed the bad randomness and off-by-one in libssh2_channel_x11_req_ex()
- Added libssh2_version()
- Fixed libssh2_channel_direct_tcpip_ex() to not fail when called a second
time
- Fixed libssh2_channel_write_ex problems in blocking situations
- 'make check' runs fine on cygwin
- Added libssh2_channel_receive_window_adjust2() and deprecated
libssh2_channel_receive_window_adjust()
- better socket error handling internally on win32
- libssh2 now always set the socket non-blocking internally and deals with
the interface as blocking or non-blocking set by
libssh2_session_set_blocking.