2009-03-17 11:19:54 +01:00
|
|
|
|
- (Mar 17 2009) Simon Josefsson:
|
|
|
|
|
|
|
|
|
|
Added a Libtool -export-symbols-regex flag to reduce the number of
|
|
|
|
|
exported symbols in shared libraries. Reported by Mikhail Gusarov.
|
|
|
|
|
|
2009-03-16 16:00:45 +01:00
|
|
|
|
- (Mar 16 2009) Daniel Stenberg:
|
|
|
|
|
|
|
|
|
|
I renamed a few man pages to match the exact name of the functions they
|
|
|
|
|
describe. I also added template versions for the 13 functions that
|
|
|
|
|
previously lacked man pages. While these don't contain any docs just yet, it
|
|
|
|
|
will now be easier to add the info as the foundation is there!
|
|
|
|
|
|
2009-03-16 09:23:54 +01:00
|
|
|
|
- (Mar 15 2009) Daniel Stenberg:
|
|
|
|
|
|
|
|
|
|
* libssh2_channel_read_ex() was simplified and enhanced. It now adjusts the
|
|
|
|
|
window less frequent and uses much larger window that now allows MUCH
|
|
|
|
|
faster transfers.
|
|
|
|
|
|
|
|
|
|
* SCP send/recv now allow file names with whitespaces etc, thanks to a patch
|
|
|
|
|
by Heiner Steven
|
|
|
|
|
|
2009-03-13 23:15:27 +01:00
|
|
|
|
- (Mar 13 2009) Daniel Stenberg: Cleanups, that do seem to have boosted SFTP
|
|
|
|
|
download performance up to 300% in some tests:
|
|
|
|
|
|
|
|
|
|
* cut off "_ex" from several internal function names
|
|
|
|
|
|
|
|
|
|
* corrected some log outputs
|
|
|
|
|
|
|
|
|
|
* simplified libssh2_channel_read_ex() and made it much faster in the process
|
|
|
|
|
|
|
|
|
|
* cut out {{{ and }}} comments that were incorrect anyway
|
|
|
|
|
|
|
|
|
|
* fixed sftp_packet_ask() to return the correct packet by using memcmp() and
|
|
|
|
|
not strncmp()
|
|
|
|
|
|
|
|
|
|
* fixed mkdir()'s wait for packet to use the correct request_id - it
|
|
|
|
|
semi-worked previously because strncmp() in sftp_packet_ask() made it
|
|
|
|
|
match far too easily.
|
|
|
|
|
|
|
|
|
|
* took away the polling functionality from sftp_packet_ask() since it wasn't
|
|
|
|
|
used
|
2009-02-08 13:09:20 +01:00
|
|
|
|
|
2009-03-07 23:08:05 +01:00
|
|
|
|
- (Mar 7 2009) Olivier Hervieu pointed out a flaw in the
|
|
|
|
|
libssh2_channel_x11_req_ex() function that made it produce a crappy random
|
|
|
|
|
chunk of data. Peter Stuge improved the fix to not do out-of-boundary
|
|
|
|
|
writes. I (Daniel Stenberg) replaced the snprintf() with a plain sprintf()
|
|
|
|
|
since the size argument wasn't adding anything anyway.
|
|
|
|
|
|
2009-02-23 17:22:46 +01:00
|
|
|
|
- (Feb 23 2009) Added libssh2_version()
|
|
|
|
|
|
2009-02-20 17:14:45 +01:00
|
|
|
|
- (Feb 20 2009) libssh2_channel_direct_tcpip_ex() bug #1902169 fixed, which
|
|
|
|
|
caused it to fail when called a second time.
|
|
|
|
|
|
2009-02-12 12:46:28 +01:00
|
|
|
|
- (Feb 12 2009) Romain Bondue extended Markus Moeller fix from Feb 8, based on
|
|
|
|
|
a previous (uncommitted) patch by Erik Brossler. It improves
|
|
|
|
|
libssh2_channel_write_ex in blocking situations when the socket is set non-
|
|
|
|
|
blocking.
|
|
|
|
|
|
|
|
|
|
- (Feb 8 2009) Markus Moeller fixed a flaw in libssh2_channel_write_ex() that
|
|
|
|
|
would occur on EAGAIN situations.
|
2009-02-08 13:09:20 +01:00
|
|
|
|
|
2009-02-16 22:46:40 +01:00
|
|
|
|
Version 1.0 (December 26 2008)
|
|
|
|
|
------------------------------
|
2008-03-07 12:55:07 +01:00
|
|
|
|
|
2008-12-22 13:46:45 +01:00
|
|
|
|
- (Dec 20 2008) Based on Alexander Lamaison's patch, there's now a new
|
|
|
|
|
function called libssh2_sftp_tell64() that returns the 64 bit file offset,
|
|
|
|
|
as the existing libssh2_sftp_tell() only returns a size_t.
|
|
|
|
|
|
2008-12-19 23:21:36 +01:00
|
|
|
|
- (Dec 18 2008) Markus Moeller fixed the issue also reported by Alexander
|
|
|
|
|
Lamaison which caused SFTP reads with large buffers to fail.
|
|
|
|
|
|
2008-12-23 00:40:27 +01:00
|
|
|
|
- Several flaws were fixed that prevented at least SFTP to work reliably
|
|
|
|
|
|
2008-11-24 14:31:00 +01:00
|
|
|
|
- Vlad Grachov brought the new function called
|
|
|
|
|
libssh2_session_block_directions() which returns a bitmask for what
|
|
|
|
|
directions the connection blocks. It is to be used applications that use
|
|
|
|
|
non-blocking sockets and when a libssh2 function returns
|
|
|
|
|
LIBSSH2_ERROR_EAGAIN this function can be used to figure out in which
|
|
|
|
|
direction the socket would block and thus it can wait for the socket to
|
|
|
|
|
again be ready for communication in that direction before it calls libssh2
|
|
|
|
|
again.
|
|
|
|
|
|
|
|
|
|
- Vincent Jaulin brought the new libssh2_channel_request_pty_size_ex()
|
|
|
|
|
function.
|
2008-10-02 11:44:38 +02:00
|
|
|
|
|
2008-09-30 23:54:20 +02:00
|
|
|
|
- Carlo Bramini fixed the build for msys+mingw. Bug #1943976.
|
|
|
|
|
|
2008-09-29 20:59:40 +02:00
|
|
|
|
- Neil Gierman provided improved Visual Studio 2008 code in bug #1946268
|
|
|
|
|
|
|
|
|
|
- Bug #1862727 fixed libssh2_poll() to work on windows (by defining
|
|
|
|
|
HAVE_SELECT).
|
2008-09-29 16:16:19 +02:00
|
|
|
|
|
2008-12-22 14:18:36 +01:00
|
|
|
|
- Based on bug #1815692, we introduce libssh2_sftp_seek64() that allows
|
|
|
|
|
seeking beyond the 2GB margin even on 32bit machines.
|
2008-09-29 16:11:29 +02:00
|
|
|
|
|
2008-09-29 16:04:01 +02:00
|
|
|
|
- Based on a patch in bug #1878059 by Steven Ayre libssh2 now parses >2GB file
|
|
|
|
|
sizes when downloading SCP files.
|
|
|
|
|
|
2008-11-24 14:31:00 +01:00
|
|
|
|
- Bug #2064371 pointed out that the SSH2 banner may not use dash
|
|
|
|
|
('-'). Reported by Bjorn Stenborg.
|
2008-09-29 15:42:41 +02:00
|
|
|
|
|
2008-07-03 18:26:55 +02:00
|
|
|
|
- Sean Peterson fixed a key re-exchange bug:
|
|
|
|
|
http://daniel.haxx.se/projects/libssh2/mail/libssh2-devel-archive-2008-06/0002.shtml
|
|
|
|
|
|
2008-03-07 12:55:07 +01:00
|
|
|
|
- Mike Protts filed the bug report #1908724 that identified and fixed a problem
|
|
|
|
|
with SFTP stat on files >4GB in size. Previously it used 32bit math only.
|
|
|
|
|
|
2008-01-03 20:12:50 +01:00
|
|
|
|
- Removed a stderr debug message that was accidentally left in (bug #1863153)
|
|
|
|
|
|
2008-11-19 12:10:48 +01:00
|
|
|
|
- OpenSSL and libz detection changed to make cross-compiling to Mingw
|
|
|
|
|
work. See README for parameters to use if the auto-detection does
|
|
|
|
|
not work for you. From Simon Josefsson.
|
2007-11-12 10:22:32 +01:00
|
|
|
|
|
2008-11-21 16:00:18 +01:00
|
|
|
|
- Simon Josefsson added a self-test that uses libssh2 to connect to a
|
|
|
|
|
local sshd (only enabled if if OpenSSH is installed).
|
|
|
|
|
|
2007-11-12 10:22:32 +01:00
|
|
|
|
Version 0.18 (November 11 2007)
|
|
|
|
|
-------------------------------
|
2007-08-08 23:43:12 +02:00
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
- Various changes that improve non-blocking operations and prevent stalls.
|
|
|
|
|
Especially noticable on Windows since libssh2 just didn't work properly
|
|
|
|
|
non-blocking on Windows before.
|
|
|
|
|
|
2007-08-12 23:53:32 +02:00
|
|
|
|
- Peter O'Gorman reported how a SCP transfer would hang for him, and it was
|
|
|
|
|
fairly easy reproducable. One bug was in the transport layer, ignoring to
|
|
|
|
|
read more data while there was data left even though it couldn't decrypt the
|
|
|
|
|
data that was left due to it being too little... The other bug was in the
|
|
|
|
|
channel layer, where the libssh2_channel_receive_window_adjust() function
|
|
|
|
|
missed to set the state variables at times and thus this function would
|
|
|
|
|
misbehave on repeated invokes.
|
|
|
|
|
|
2007-08-21 01:26:58 +02:00
|
|
|
|
- Changed the signature of libssh2_channel_setenv_ex to add const to the
|
|
|
|
|
"varname" parameter (Dan Fandrich)
|
|
|
|
|
|
2007-08-08 23:43:12 +02:00
|
|
|
|
- Satish Mittal and David J Sullivan fixed an infinit recv() loop in
|
|
|
|
|
libssh2_banner_receive()
|
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Version 0.17 (August 6 2007)
|
|
|
|
|
----------------------------
|
2007-08-06 22:50:22 +02:00
|
|
|
|
Changes since previous version include:
|
|
|
|
|
|
|
|
|
|
o Re-indented the source code with this GNU indent setup:
|
|
|
|
|
|
|
|
|
|
--braces-on-if-line
|
|
|
|
|
--braces-after-struct-decl-line
|
|
|
|
|
--space-after-cast
|
|
|
|
|
--line-length 79
|
|
|
|
|
--comment-line-length 79
|
|
|
|
|
--cuddle-else
|
|
|
|
|
--no-tabs
|
|
|
|
|
--tab-size 8
|
|
|
|
|
--indent-level 4
|
|
|
|
|
--no-space-after-for
|
|
|
|
|
--space-after-if
|
|
|
|
|
--space-after-while
|
|
|
|
|
--no-space-after-function-call-names
|
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Version 0.16 (August 6 2007)
|
|
|
|
|
----------------------------
|
2007-08-06 17:00:48 +02:00
|
|
|
|
Changes since previous version include:
|
|
|
|
|
|
|
|
|
|
o CRLF stripping fix for PEM reading
|
|
|
|
|
o libssh2_scp_recv() error message fix
|
|
|
|
|
o added HACKING as an initial attempt to describe our source code format
|
|
|
|
|
o new public defines in include/libssh2.h to allow applictions to figure out
|
|
|
|
|
version number etc
|
|
|
|
|
o new script (maketgz) to build releases with
|
|
|
|
|
o updated files for building with MSVC and mingw
|
|
|
|
|
o keyboard-interactive would always fail due to claimed memory problem
|
|
|
|
|
o a few minor memory leaks fixed
|
|
|
|
|
o libssh2_poll() no longer relies on C99 features
|
|
|
|
|
o AIX 4 and 5 now supports non-blocking sockets
|
|
|
|
|
o large file magic checks in configure
|
|
|
|
|
o LIBSSH2_APINO was removed from the public header file
|
|
|
|
|
|
|
|
|
|
This release would not have been possible without these friendly contributors:
|
|
|
|
|
|
|
|
|
|
James Housley, Simon Josefsson, Dan Fandrich, Guenter Knauf and I too did
|
|
|
|
|
some poking. (Sorry if I forgot anyone I should've mentioned here.)
|
|
|
|
|
|
|
|
|
|
Of course we would have nothing without the great work by Sara Golemon that
|
|
|
|
|
we're extending and building upon.
|
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Version 0.15 (June 15 2007)
|
|
|
|
|
---------------------------
|
2007-06-15 19:22:49 +02:00
|
|
|
|
Added libssh2_sftp_readdir_ex() and updated LIBSSH2_APINO to
|
|
|
|
|
200706151200 (James Housley)
|
|
|
|
|
|
2007-06-14 12:34:10 +02:00
|
|
|
|
Converted all of the libssh2 code to be able to work in non-blocking
|
|
|
|
|
mode. This included some public API changes, listed below (James Housley)
|
|
|
|
|
Changed function return values:
|
|
|
|
|
int libssh2_session_free()
|
|
|
|
|
int libssh2_publickey_shutdown()
|
|
|
|
|
ssize_t libssh2_channel_read_ex()
|
|
|
|
|
ssize_t libssh2_channel_write_ex()
|
|
|
|
|
|
|
|
|
|
Added functions:
|
|
|
|
|
libssh2_session_last_errno(), libssh2_channel_handle_extended_data2(),
|
|
|
|
|
libssh2_channel_wait_closed(), libssh2_channel_wait_eof(),
|
|
|
|
|
libssh2_session_set_blocking()
|
|
|
|
|
|
|
|
|
|
Removed functions:
|
|
|
|
|
libssh2_channel_readnb_ex(), libssh2_channel_writenb_ex(),
|
|
|
|
|
libssh2_sftp_readnb(), libssh2_sftp_writenb(),
|
|
|
|
|
libssh2_sftp_mkdirnb_ex()
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-03-27 15:20:18 +02:00
|
|
|
|
Added the following functions for non-blocking operations: (Daniel Stenberg)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
libssh2_channel_readnb_ex()
|
|
|
|
|
libssh2_channel_writenb_ex()
|
|
|
|
|
libssh2_sftp_readnb()
|
|
|
|
|
libssh2_sftp_writenb()
|
|
|
|
|
|
2007-03-27 15:27:13 +02:00
|
|
|
|
Size parameter changed from 'int' to 'unsigned int' in several
|
|
|
|
|
public APIs.
|
|
|
|
|
|
2007-03-27 15:21:24 +02:00
|
|
|
|
Added (a few) man pages in docs/. (Daniel Stenberg)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-03-27 15:21:24 +02:00
|
|
|
|
Maximum SSH packet size is now some 35000 bytes.
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-03-27 15:21:24 +02:00
|
|
|
|
Private include files are now in src/ and only public headers are in
|
|
|
|
|
include/. (Daniel Stenberg)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-03-27 15:21:24 +02:00
|
|
|
|
Automake and libtool are being used (increased portability). (Daniel
|
|
|
|
|
Stenberg)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-03-27 15:21:24 +02:00
|
|
|
|
Fixed OpenSSL detection using pkg-config. (Daniel Stenberg)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-03-27 15:21:24 +02:00
|
|
|
|
Simple self test added to tests/. (Simon Josefsson)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-03-27 15:21:24 +02:00
|
|
|
|
Libgcrypt can now be used instead of OpenSSL if you specify
|
|
|
|
|
--with-libgcrypt. (Simon Josefsson)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-04-12 23:51:57 +02:00
|
|
|
|
Fixed a memory leak in the packet handling, and better handle out of
|
|
|
|
|
memory situations. (Dan Fandrich)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-03-27 15:21:24 +02:00
|
|
|
|
Made libssh2 build with OpenSSL 0.9.6. (Dan Fandrich)
|
2007-03-27 15:20:18 +02:00
|
|
|
|
|
2007-03-27 15:21:24 +02:00
|
|
|
|
Improved portability to Solaris related to -lsocket and
|
|
|
|
|
-lnsl. (Simon Josefsson)
|
|
|
|
|
|
|
|
|
|
Clean up of README, INSTALL, NEWS, added ChangeLog. (Simon
|
|
|
|
|
Josefsson)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-03-27 15:24:01 +02:00
|
|
|
|
Improve debugging code. Avoids many #ifdef's.
|
|
|
|
|
|
2007-04-12 23:24:36 +02:00
|
|
|
|
Improved session closing to avoid potentially truncated files on
|
|
|
|
|
OpenSSH servers (Dan Fandrich)
|
|
|
|
|
|
2007-04-18 20:51:03 +02:00
|
|
|
|
Made some function parameters in the API const (Dan Fandrich)
|
|
|
|
|
|
2007-03-27 14:10:25 +02:00
|
|
|
|
Version 0.14
|
|
|
|
|
------------
|
|
|
|
|
|
|
|
|
|
Plug leaks in EVP cipher init/shutdown. (Selcuk Gueney)
|
|
|
|
|
|
|
|
|
|
Allow socket_fd == 0 in libssh2_session_startup(). (puudeli)
|
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Swap ordering of packet_add/packet-inspection to avoid inspect after
|
|
|
|
|
free. (Selcuk)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
Swap KEX_INIT ordering, send our KEX_INIT first.
|
|
|
|
|
|
|
|
|
|
Add check for oportunistic KEX_INIT packets. Burn bad guess if necessary.
|
|
|
|
|
|
|
|
|
|
Fix OpenSSL detection using pkg-config. (Dan Casey)
|
|
|
|
|
|
|
|
|
|
Version 0.13
|
|
|
|
|
------------
|
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Fixed channel not being marked closed when CHANNEL_CLOSE package cannot be
|
|
|
|
|
sent. (David Robins)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Fixed payload packet allocation bug when invalid packet length
|
|
|
|
|
received. (David Robins)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
Fixed `make install' target for MacOSX.
|
|
|
|
|
|
|
|
|
|
Add terminating NULL character to readlink()/realpath() results.
|
|
|
|
|
|
|
|
|
|
BugFix#1436593: Apply build options for HPUX targets.
|
|
|
|
|
|
|
|
|
|
Version 0.12
|
|
|
|
|
------------
|
|
|
|
|
|
|
|
|
|
Added support for publickey subsytem (not the same as publickey auth).
|
|
|
|
|
|
|
|
|
|
Fix x11_req. Multiple packet_len issues and error handling logic.
|
|
|
|
|
(Thanks Simon Hart)
|
|
|
|
|
|
|
|
|
|
Fix generation of 'e' portion of Diffie-Hellman keyset.
|
2007-11-08 16:42:09 +01:00
|
|
|
|
|
|
|
|
|
Use appropriate order for BN_rand() rather than fixed group1-specific value.
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
Re-fixed libssh2_sftp_rename_ex()
|
2007-11-08 16:42:09 +01:00
|
|
|
|
|
|
|
|
|
Transport had right packet_len, but sftp layer still had extra 4 bytes.
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
Fixed build with newer OpenSSL headers.
|
|
|
|
|
|
|
|
|
|
Added extern "C" declarations to libssh2_sftp.h for C++ compatability.
|
|
|
|
|
|
|
|
|
|
Version 0.11
|
|
|
|
|
------------
|
|
|
|
|
|
|
|
|
|
Added libssh2_chnnale_get_exit_status() -- Mikhail
|
|
|
|
|
|
|
|
|
|
Added libssh2_channel_wait_closed() -- Mikhail
|
|
|
|
|
|
|
|
|
|
Added libssh2_userauth_keyboard_interactive_ex() -- Mikhail
|
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Added libssh2_channel_receive_window_adjust() to be able to increase the
|
|
|
|
|
size of the receive window.
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Added queueing for small window_adjust packets to avoid unnecessary packet
|
|
|
|
|
conversation.
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-11-08 16:42:09 +01: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).
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
Version 0.10
|
|
|
|
|
------------
|
|
|
|
|
|
|
|
|
|
Added developer debugging hooks. See --enable-debug-* options to ./configure
|
|
|
|
|
|
2007-11-08 16:42:09 +01: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.
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
(Re)Fixed channel_write() to provide an opportunity for window space to
|
|
|
|
|
become available again.
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
(Re)Fixed SFTP INIT to send the correct SFTP packet length.
|
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Fixed segfault when client and host can't agree on a hostkey/crypt/mac/comp
|
|
|
|
|
method. (Thanks puudeli)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Fixed major issue with sftp packet buffering mechanism. Using wrong
|
|
|
|
|
blocking semantics. (No puudeli, YOU the man)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
Reduced busy-looping of libssh2_sftp_packet_requirev.
|
|
|
|
|
|
|
|
|
|
Version 0.9
|
|
|
|
|
-----------
|
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Changed blocking_read to only block as much as necessary and not an
|
|
|
|
|
arbitrary length of time. (Thanks Felix)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Fixed SFTP INIT/VERSION to exclude request_id and send correct maximum
|
|
|
|
|
version number.
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
Fixed SFTP to be properly BC with version 1 and 2 servers.
|
|
|
|
|
|
|
|
|
|
Fixed libssh2_poll() to recognized closed sessions/channels.
|
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Fixed libssh2_channel_write_ex() to fully block when set to blocking mode.
|
|
|
|
|
Return actual bytes written as well. (Thanks deadem)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
Added tests for -lm and -lsocket and add them when necessary.
|
|
|
|
|
|
|
|
|
|
Added libssh2_channel_window_read_ex() and libssh2_channel_window_write_ex()
|
|
|
|
|
for examining the ssh transport windowing states.
|
|
|
|
|
|
|
|
|
|
Version 0.8
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
Fix potential segfault in compression/decompression.
|
|
|
|
|
|
|
|
|
|
Fix compatability with older versions of OpenSSL
|
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Swapped order of none,zlib compression modes to prefer no compression by
|
|
|
|
|
default.
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Added sys/uio.h for platforms (FBSD) which need it in order to define struct
|
|
|
|
|
iovec.
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
Added libssh2_poll() to check status of sockets/channels/listeners.
|
|
|
|
|
|
|
|
|
|
Removed unnecessary inclusion of stdio.h (holdover from debugging)
|
|
|
|
|
|
|
|
|
|
Version 0.7
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
Added libssh2_userauth_hostbased_fromfile_ex() for authenticating from hostkey.
|
|
|
|
|
|
|
|
|
|
Added configure recognition for MacOSX (Darwin) (Thanks Gabe)
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Version 0.6
|
|
|
|
|
-----------
|
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Added LIBSSH2_FLAG_SIGPIPE to enable/disable SIGPIPE generated by
|
|
|
|
|
send()/recv() calls. Default off.
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
Added libssh2_session_flag() to set optional session flags.
|
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Collapsed exchanging_keys/newkeys/authenticated flags into single state
|
|
|
|
|
attribute.
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
Fix zlib compression issue when internal buffer state misses partial sync.
|
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Fix segfault when libssh2_session_methods() is called prior to
|
|
|
|
|
session_startup().
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
Fixed client to server channel windowing. Pervent send queue overruns.
|
|
|
|
|
|
|
|
|
|
Swapped banner send/receive order (send first, then wait for response).
|
|
|
|
|
|
|
|
|
|
Version 0.5
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
*** BC Break ***
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Reimplemented libssh2_session_methods() to match
|
|
|
|
|
libssh2_session_method_pref() style
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
Fixed libssh2_attr2bin() (effects any setstat style call).
|
|
|
|
|
|
|
|
|
|
Fixed authenticating with encrypted private key.
|
|
|
|
|
|
|
|
|
|
Fixed authenticating via ssh-dss public key.
|
|
|
|
|
|
|
|
|
|
Fixed KEX_INIT cookie and packet padding to use actual random data
|
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Added DESTDIR support to makefiles (Adam Go<47><6F>biowski -- I hope that
|
|
|
|
|
character set translates right)
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Added libssh2_channel_forward_listen_ex(), libssh2_channel_forward_cancel(),
|
|
|
|
|
and libssh2_channel_forward_accept().
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
2007-11-08 16:42:09 +01:00
|
|
|
|
Added ./configure option '--disable-gex-new' to allow using the older
|
|
|
|
|
group-exchange format
|
2007-03-27 14:10:25 +02:00
|
|
|
|
|
|
|
|
|
Added MAC methods hmac-md5 and hmac-md5-96.
|
|
|
|
|
|
|
|
|
|
Version 0.4
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
Fixed crash when trying to free sftp_dirhandle data from a filehandle struct.
|
|
|
|
|
|
|
|
|
|
Fixed leak in sftp_open_ex(), handle->handle not freed in handle_close().
|
|
|
|
|
|
|
|
|
|
Fixed leak in sftp_symlink_ex(), result for READLINK and REALPATH not freed unless there was an error.
|
|
|
|
|
|
|
|
|
|
Added libssh2_banner_set(), specify an arbitrary banner to send on introduction.
|
|
|
|
|
|
|
|
|
|
Version 0.3
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
Fixed libssh2_channel_read_ex(). Packet loop initialized BEFORE transport polled for new packets (should have been after).
|
|
|
|
|
|
|
|
|
|
Fixed blocking issues in scp_send()/scp_recv().
|
|
|
|
|
|
|
|
|
|
Fixed degree of indirection in macerror callback.
|
|
|
|
|
|
|
|
|
|
Changed packet read mechanism to use a fixed buffer and avoid unnecessary alloc/free calls. (especially while non-block looping)
|
|
|
|
|
|
|
|
|
|
Added channel close callback.
|
|
|
|
|
|
|
|
|
|
Added SFTP support (Using its own header file: libssh2_sftp.h)
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
Changed libssh2_session_disconnect_ex() to return an error code when alloc fails
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
Added libssh2_session_callback_set() for setting ignore/debug/disconnect/macerror callbacks
|
|
|
|
|
|
|
|
|
|
Added libssh2_session_method_pref() to selectively set methods and method preferences.
|
|
|
|
|
|
|
|
|
|
Added libssh2_session_methods() to determine what methods were negotiated.
|
|
|
|
|
|
|
|
|
|
Added libssh2_session_abstract() for retreiving &session->abstract
|
|
|
|
|
|
|
|
|
|
Added libssh2_session_last_error() for retreiving error codes/messages
|
|
|
|
|
|
|
|
|
|
Version 0.1
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
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
|