blob: 0967c9c821b231b0ee08eda91572be606ce431d7 [file] [log] [blame]
2007-06-23 James Housley <jim@thehousleys.net>
* Eberhard Mattes submitted a patch "According to RFC 4251,
a boolean value of true is encoded as 1, not as 0xff". Servers
should accept any non-zero value.
2007-06-22 James Housley <jim@thehousleys.net>
* Guenter Knauf submitted code for windows to detect
if the socket is blocking or not.
2007-06-15 James Housley <jim@thehousleys.net>
* Add libssh2_sftp_readdir_ex(), this function if passed the
extra parameters will be used to store the full directory
entry as provided by the server. Updated LIBSSH2_APINO to
200706151200 for this change.
2007-06-12 James Housley <jim@thehousleys.net>
* libssh2_publickey_shutdown(), libssh2_session_free() changed
to return an "int" to allow signaling of LIBSSH2_ERROR_EAGAIN.
* libssh2_scp_recv(), libssh2_scp_send_ex() and libssh2_sftp_init()
will loop in on libssh2_channel_free() when there is an error.
It is not possible to return LIBSSH2_ERROR_EAGAIN in this condition
in these 3 functions and not lose the original error code.
2007-06-10 James Housley <jim@thehousleys.net>
* The list of supported authentication types returned by
libssh2_userauth_list() is an internal buffer and is managed
by the library and should not be free()'d by the user.
2007-06-08 James Housley <jim@thehousleys.net>
* Convert all the code to properly work with a socket in
non-blocking mode. All functions either return
LIBSSH2_ERROR_EAGAIN or return NULL and set the error code
to be LIBSSH2_ERROR_EAGAIN instead of blocking, when in
non-blocking mode.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* NEWS: Add.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* NEWS: Add.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* NEWS: Add -lsocket/-lnsl. End sentences with '.'.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* NEWS: Add. Start sentences with uppercase.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* configure.in: Use AC_SEARCH_LIBS on socket() for -lsocket, so we
don't link with -lsocket unless it is necessary. Remove
SHLIB_LDFLAGS, it was never used by anything.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* configure.in: Fix typo.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* src/session.c:
(libssh2_poll_channel_write, libssh2_poll_listener_queued): Mark as
static. Remove unneeded prototypes. Break Solaris 10 builds
according to "Heiko Jansen" <jansen@hbz-nrw.de>.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* src/packet.c:
(libssh2_packet_x11_open, libssh2_packet_queue_listener): Mark as
static functions. Remove unnecessary prototypes. Breaks Solaris 10
builds according to "Heiko Jansen" <jansen@hbz-nrw.de>.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* configure.in: Search -lnsl for inet_addr, suggested by "Heiko
Jansen" <jansen@hbz-nrw.de>.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* README: Fix typo, reported by "Heiko Jansen" <jansen@hbz-nrw.de>.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* Makefile.am: Dist buildconf, suggested by "Heiko Jansen"
<jansen@hbz-nrw.de>.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* docs/Makefile.am: Add 'dist_' to make sure man pages are included
in the release.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* Makefile.am: Add rule to generate ChangeLog. No need for foreign
or nostdinc (correct me if I'm wrong?).
2007-03-27 Simon Josefsson <simon@josefsson.org>
* AUTHORS: Add.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* LICENSE: Remove.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* COPYING: Add, from LICENSE.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* README: Rewrite, based on INSTALL.
2007-03-27 Simon Josefsson <simon@josefsson.org>
* NEWS: Add, from README.
2007-03-15 Daniel Stenberg <daniel@haxx.se>
* src/openssl.c: Dan Fandrich fixed another memory leak, this time
in the OpenSSL interface code:
It's not clear to me whether all the BN_news in _libssh2_rsa_new
need to be cleaned up, too. The OpenSSL docs for RSA_free implies
that you don't need to, and valgrind doesn't complain, so it's
probably OK as is.
2007-03-15 Daniel Stenberg <daniel@haxx.se>
* README: give credit to those who made the changes
2007-03-15 Daniel Stenberg <daniel@haxx.se>
* src/packet.c: fixed a memory leak in the packet handling (Dan
Fandrich)
2007-03-14 Daniel Stenberg <daniel@haxx.se>
* src/crypt.c, src/openssl.c, tests/Makefile.am: Dan Fandrich
patch:
1 - let libssh2 compile with OpenSSL 0.9.6b. This is due to 'crypt'
is found in one of its header files and EVP_MAX_BLOCK_LENGTH not
being found.
2 - The EXEEXT patch is because automake 1.7 doesn't support it, and
recent automakes add it automatically
2007-02-23 Daniel Stenberg <daniel@haxx.se>
* example/simple/Makefile.am, example/simple/sftpdir.c: Added
sftpdir, a sample doing an SFTP directory listing
2007-02-23 Daniel Stenberg <daniel@haxx.se>
* docs/libssh2_sftp_open_ex.3: nicer look
2007-02-23 Daniel Stenberg <daniel@haxx.se>
* docs/Makefile.am, docs/libssh2_channel_read_ex.3,
docs/libssh2_channel_readnb_ex.3, docs/libssh2_channel_write_ex.3,
docs/libssh2_poll.3, docs/libssh2_poll_channel_read.3,
docs/libssh2_sftp_read.3, docs/libssh2_sftp_readnb.3: more/updated
man pages
2007-02-14 Daniel Stenberg <daniel@haxx.se>
* src/transport.c: Lucas Newman found and fixed a problem where
libssh2_packet_read() could "lose" bytes when it read data from the
network that was an unaligned number of bytes compared to the
blocksize.
2007-02-08 Daniel Stenberg <daniel@haxx.se>
* example/simple/sftp.c: add include to fix compiler warning
2007-02-08 Daniel Stenberg <daniel@haxx.se>
* example/simple/sftp.c: Guenter Knauf added support for another IP
and I changed the order of the arguments and updated some comments.
2007-02-08 Daniel Stenberg <daniel@haxx.se>
* nw/Makefile.netware, nw/test/Makefile.netware,
win32/Makefile.win32, win32/test/Makefile.win32: Guenter Knauf's
Netware+Win32 updates after my recent changes
2007-02-07 Daniel Stenberg <daniel@haxx.se>
* src/channel.c: removed unused variable
2007-02-07 Daniel Stenberg <daniel@haxx.se>
* acinclude.m4, configure.in, src/channel.c: setting sockets
non-blocking using more portable code and configure macros from the
libcurl project (written by me)
2007-02-07 Daniel Stenberg <daniel@haxx.se>
* get_ver.awk, include/libssh2.h, nw/Makefile, nw/Makefile.netware,
nw/keepscreen.c, nw/nwlibc.c, nw/test/Makefile.netware,
src/libssh2_priv.h, src/session.c, win32/Makefile,
win32/Makefile.win32, win32/libssh2_config.h,
win32/test/Makefile.win32: Netware and Windows fixes by Guenter
Knauf
2007-02-06 Daniel Stenberg <daniel@haxx.se>
* include/libssh2.h: let's call the current version 0.15-CVS
2007-02-04 Simon Josefsson <simon@josefsson.org>
* configure.in, src/session.c: Remove unused uses of -lm and
math.h.
2007-02-04 Simon Josefsson <simon@josefsson.org>
* README: Fix.
2007-02-02 Daniel Stenberg <daniel@haxx.se>
* configure.in, example/simple/scp.c, include/libssh2.h,
src/channel.c, src/kex.c, src/libssh2_priv.h, src/misc.c,
src/packet.c, src/publickey.c, src/scp.c, src/session.c,
src/sftp.c, src/transport.c, src/userauth.c: 1 - new public
function libssh2_trace() that enables tracing/debug output on
various stuff if libssh2 was built with debug. If built without
debug, the function does nothing. 2 - configure --enable-debug is
now enough to build a debug version (including picky compiler
options) 3 - internally, we no longer need/use #ifdef/#endif around
all uses of the _libssh2_debug() function/macro.
The scp.c example is the first application to test this new debug
logging.
2007-02-02 Daniel Stenberg <daniel@haxx.se>
* README: non-blocking and man pages
2007-02-02 Daniel Stenberg <daniel@haxx.se>
* Makefile.am, configure.in, docs/Makefile.am: Include man pages in
distro tarball and make install. Note that this is still (by far) an
incomplete set of man pages.
2007-02-02 Daniel Stenberg <daniel@haxx.se>
* src/Makefile.am: bump the version-info due to the changes in the
API we're working on and due to the fact that there's release of the
previous CVS-state shipped in Debian (and possibly others distros).
2007-02-02 Daniel Stenberg <daniel@haxx.se>
* Makefile.am, configure.in, ssh2_sample.c, example/Makefile.am,
example/simple/Makefile.am, example/simple/scp_nonblock.c,
example/simple/sftp.c, example/simple/sftp_nonblock.c,
include/libssh2.h, include/libssh2_sftp.h, src/Makefile.am,
src/channel.c, src/crypt.c, src/kex.c, src/libssh2_priv.h,
src/misc.c, src/packet.c, src/publickey.c, src/scp.c,
src/session.c, src/sftp.c, src/transport.c: Adding src/transport.c
for the SECSH transport layer read/write in a non- blocking way. The
channel code is now responsible for enabling/disabling blocking
status and to work with it.
I've also modified indenting and fixed compiler warnings at places,
and added a bunch of new examples in example/simple that I've used
to verify that the code still runs like before.
libssh2_channel_{read|write}nb_ex() and
libssh2_sftp_{read|write}nb() are the four new functions that
supposedly work non-blocking.
2007-02-02 Daniel Stenberg <daniel@haxx.se>
* docs/libssh2_channel_read_ex.3: non-blocking stuff removed, see
*readnb_ex()
2007-02-02 Daniel Stenberg <daniel@haxx.se>
* docs/libssh2_channel_read_ex.3, docs/libssh2_channel_readnb_ex.3,
docs/libssh2_sftp_init.3, docs/libssh2_sftp_open_ex.3,
docs/template.3: more docs, including a template.3 for new man
pages
2007-02-02 Simon Josefsson <simon@josefsson.org>
* README: Libgcrypt stuff works.
2007-02-02 Simon Josefsson <simon@josefsson.org>
* src/libgcrypt.c: Mind your p's and q's! RSA authentication now
works.
2007-02-01 Daniel Stenberg <daniel@haxx.se>
* example/simple/scp.c: Chris Nystrom helped me realize I must
count the received bytes myself to know when the transfer is
complete
2007-01-30 Daniel Stenberg <daniel@haxx.se>
* example/simple/scp.c: oops, it shouldn't be non-blocking when
doing blocking transfers...
2007-01-30 Daniel Stenberg <daniel@haxx.se>
* example/simple/scp.c: simple (blocking) SCP transfer
2007-01-24 Daniel Stenberg <daniel@haxx.se>
* example/simple/sftp.c, example/simple/ssh2.c: two simple samples
2007-01-23 Daniel Stenberg <daniel@haxx.se>
* src/libssh2_priv.h, src/mac.c, src/openssl.c, src/pem.c: fix
compiler warnings
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/libgcrypt.c: Fix RSA private key reading (still not working).
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/libgcrypt.c: Fix warnings.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/libgcrypt.h: Fix warnings.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/crypt.c, src/hostkey.c, src/libgcrypt.c, src/libgcrypt.h,
src/libssh2_priv.h, src/openssl.c, src/openssl.h: Fix warnings.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/hostkey.c: Fix warnings.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/libgcrypt.c: Fix mem leak.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/pem.c: Fix mem leak.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/openssl.h, src/pem.c, src/publickey.c: Fix warnings.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/openssl.h: Need more #include's.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/pem.c, src/openssl.c: Fix warnings.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/kex.c: Remove OpenSSL #include.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/libgcrypt.c: Fix mem leak.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* configure.in: If --with-libgcrypt is specified, don't check for
OpenSSL.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/kex.c, src/libgcrypt.h, src/openssl.h: Abstract bignum API.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/hostkey.c, src/libgcrypt.c, src/libgcrypt.h, src/openssl.c,
src/openssl.h: Abstract RSA/DSA private key file reading and
RSA/DSA signing, and implement them in openssl/libgcrypt layer.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/libssh2_priv.h: Add prototypes for pem.c functions.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/Makefile.am: Add pem.c.
2007-01-23 Simon Josefsson <simon@josefsson.org>
* src/pem.c: Add. Functions for reading PEM files and decoding
ASN.1.
2007-01-22 Daniel Stenberg <daniel@haxx.se>
* src/libssh2_priv.h: please picky compiler
2007-01-22 Simon Josefsson <simon@josefsson.org>
* src/hostkey.c, src/libssh2_priv.h: Remove non-iovec based RSA/DSA
signing (not used, and DSA code even buggy).
2007-01-19 Daniel Stenberg <daniel@haxx.se>
* src/openssl.c: fix warning for memcpy()
2007-01-18 Simon Josefsson <simon@josefsson.org>
* src/libgcrypt.c: Indent. Fix mem leak on errors.
2007-01-18 Simon Josefsson <simon@josefsson.org>
* src/crypt.c: Remove openssl #include. Protect use of 3DES.
Reorder definitions to match preference order.
2007-01-18 Simon Josefsson <simon@josefsson.org>
* src/crypt.c: Remove debug code.
2007-01-18 Simon Josefsson <simon@josefsson.org>
* src/crypt.c: Use new generic crypto APIs.
2007-01-18 Simon Josefsson <simon@josefsson.org>
* src/kex.c: Align with new _LIBSSH2_CRYPT_METHOD API, for
libgcrypt support.
2007-01-18 Simon Josefsson <simon@josefsson.org>
* src/libssh2_priv.h: Fix _LIBSSH2_CRYPT_METHOD for libgcrypt
support.
2007-01-18 Simon Josefsson <simon@josefsson.org>
* src/libgcrypt.c, src/libgcrypt.h, src/openssl.c, src/openssl.h:
Implement new _libssh2_cipher_* API.
2007-01-18 Simon Josefsson <simon@josefsson.org>
* src/hostkey.c, src/libgcrypt.c, src/libgcrypt.h, src/openssl.c,
src/openssl.h: Support DSA verifications.
2007-01-18 Simon Josefsson <simon@josefsson.org>
* src/hostkey.c: Check return value. Fix SHA1_Final.
2007-01-17 Simon Josefsson <simon@josefsson.org>
* src/openssl.h: Fix 3DES check.
2007-01-17 Simon Josefsson <simon@josefsson.org>
* src/hostkey.c: Use libssh2_sha1 instead of SHA1.
2007-01-17 Simon Josefsson <simon@josefsson.org>
* src/hostkey.c: Fix last commit.
2007-01-17 Simon Josefsson <simon@josefsson.org>
* src/hostkey.c: Use libssh2_* wrappers for SHA-1.
2007-01-17 Simon Josefsson <simon@josefsson.org>
* src/crypt.c, src/hostkey.c, src/libgcrypt.h, src/mac.c,
src/openssl.h: Use LIBSSH2_* instead of OPENSSL_NO_* (should
ultimately be possible to chose by ./configure?).
2007-01-17 Simon Josefsson <simon@josefsson.org>
* src/hostkey.c, src/kex.c, src/libgcrypt.h, src/libssh2_priv.h,
src/openssl.h: Use LIBSSH2_* instead of OPENSSL_NO_* (should
ultimately be possible to chose by ./configure?).
2007-01-17 Simon Josefsson <simon@josefsson.org>
* src/openssl.h: Unconditionally use SHA-1.
2007-01-16 Simon Josefsson <simon@josefsson.org>
* src/openssl.c, src/libgcrypt.c: Add.
2007-01-16 Simon Josefsson <simon@josefsson.org>
* README: Add.
2007-01-16 Simon Josefsson <simon@josefsson.org>
* src/hostkey.c, src/libgcrypt.h, src/openssl.h: Begin to abstract
RSA operations.
2007-01-16 Simon Josefsson <simon@josefsson.org>
* src/Makefile.am: Also build openssl.c or libgcrypt.c.
2007-01-16 Simon Josefsson <simon@josefsson.org>
* configure.in: Define an automake conditional iff libgcrypt is
used.
2007-01-15 Simon Josefsson <simon@josefsson.org>
* src/Makefile.am, src/channel.c, src/kex.c, src/libgcrypt.h,
src/libssh2_priv.h, src/mac.c, src/openssl.h, src/packet.c,
src/session.c, src/userauth.c: Use generic APIs for (HMAC-)MD5/SHA1
and RNG, and implement them via OpenSSL/libgcrypt.
2007-01-15 Simon Josefsson <simon@josefsson.org>
* m4/libgcrypt.m4: Add, for libgcrypt.
2007-01-15 Simon Josefsson <simon@josefsson.org>
* configure.in: Look for libgcrypt if --with-libgcrypt is given to
./configure. Note that until the libgcrypt work is complete,
libssh2 also link to OpenSSL.
2007-01-10 Simon Josefsson <simon@josefsson.org>
* src/hostkey.c, src/kex.c, src/libssh2_priv.h: Remove unfinished
OPENSSL_NO_SHA ifdef stuff, since SHA-1 is required for libssh2 to
work.
2007-01-09 Simon Josefsson <simon@josefsson.org>
* configure.in, Makefile.am, tests/Makefile.am, tests/simple.c: Add
basic self test.
2007-01-03 Mikhail Gusarov <dottedmag@dottedmag.net>
* buildconf: --copy added to automake --add-missing to avoid
symlinks in bootstrapped CVS snapshot tarballs
2007-01-02 Mikhail Gusarov <dottedmag@dottedmag.net>
* docs/libssh2_channel_read_ex.3, docs/libssh2_session_startup.3:
Minus sign escaped to not be treated as emdash in man pages.
2006-12-21 Daniel Stenberg <daniel@haxx.se>
* src/kex.c: fix compiler warnings
2006-12-21 Daniel Stenberg <daniel@haxx.se>
* src/comp.c: fix compiler warnings (and some indent changes)
2006-12-21 Daniel Stenberg <daniel@haxx.se>
* src/misc.c, src/mac.c: fix compiler warnings
2006-12-21 Daniel Stenberg <daniel@haxx.se>
* src/hostkey.c: fix compiler warnings, minor re-indenting
2006-12-21 Daniel Stenberg <daniel@haxx.se>
* docs/libssh2_channel_forward_accept.3,
docs/libssh2_channel_forward_listen_ex.3,
docs/libssh2_channel_read_ex.3,
docs/libssh2_channel_set_blocking.3, docs/libssh2_session_free.3,
docs/libssh2_session_init.3, docs/libssh2_session_startup.3: Added
an initial set of man pages.
2006-12-21 Daniel Stenberg <daniel@haxx.se>
* ssh2_sample.c: fix warnings and allow passing user name and
password on the command line
2006-12-13 Daniel Stenberg <daniel@haxx.se>
* acinclude.m4, configure.in: Added the configure option
--enable-debug-build which not only enables a debug build (using -g
and disabling all -O options), but also sets a whole range of
picky/strict compiler options depending on what compiler and version
that is used. This function is ripped right off the curl configure
script, written by yours truly. I left it using the same name as in
the curl script to 1) make it obvious where it comes from, so that
2) it will be easier to update and keep it in sync with future
modifications.
Now, this shows MAAAAAAAAANY warnings...
2006-12-13 Daniel Stenberg <daniel@haxx.se>
* src/session.c: Removed use of ceil() since that is a math lib
function and getting the exact accuracy of the microsecond to
millisecond conversion simply cannot be that important. We don't
even explicitly link with -lm...
2006-12-09 Simon Josefsson <simon@josefsson.org>
* src/packet.c, src/session.c: Fix indentation.
2006-12-09 Simon Josefsson <simon@josefsson.org>
* src/crypt.c, src/kex.c: Fix indentation.
2006-12-07 Simon Josefsson <simon@josefsson.org>
* buildconf: Add.
2006-12-07 Simon Josefsson <simon@josefsson.org>
* Makefile.am, configure.in, m4/autobuild.m4: Add autobuild.m4, to
make it easier to use http://autobuild.josefsson.org/.
2006-12-07 Simon Josefsson <simon@josefsson.org>
* src/crypt.c, src/kex.c, src/libssh2_priv.h, src/packet.c,
src/session.c: Move symmetric OpenSSL EVP crypto calls to crypt.c.
2006-11-27 Mikhail Gusarov <dottedmag@dottedmag.net>
* src/packet.c: Improve detection of closed channel. Eleminates
lock-ups on multi-channel operation.
2006-11-27 Mikhail Gusarov <dottedmag@dottedmag.net>
* src/packet.c: Reading bigger blocks from network before
decryption. Significantly increases performance.
2006-11-27 Mikhail Gusarov <dottedmag@dottedmag.net>
* src/packet.c: write(2) may write only part of passed data under
FreeBSD. Make sure whole buffer is written.
2006-11-24 Daniel Stenberg <daniel@haxx.se>
* README: mention a few recent changes
2006-11-20 Daniel Stenberg <daniel@haxx.se>
* src/Makefile.am: Add builddir/src to the include path, for the
generated config header when building out of the source tree.
2006-11-20 Daniel Stenberg <daniel@haxx.se>
* Makefile.am: ssh2_sample now gets the right include path to the
current include directory
2006-11-20 Daniel Stenberg <daniel@haxx.se>
* configure.in, src/libssh2_priv.h: check for inline in configure
2006-11-20 Daniel Stenberg <daniel@haxx.se>
* Makefile.am, Makefile.in, buildconf, config.guess, config.sub,
configure.in, src/Makefile.am, src/Makefile.in,
src/libssh2_config.h.in: Starting now, we use automake and libtool
for the build.
2006-11-20 Daniel Stenberg <daniel@haxx.se>
* Makefile.in, configure.in, include/libssh2_config.h.in,
include/libssh2_priv.h, src/libssh2_config.h.in,
src/libssh2_priv.h: Moved the private include files libssh2_priv.h
and libssh2_config.h.in from include/ into the src/ directory. The
include/ dir is now strictly for public headers.
Also, I removed the special win32 source package creation target in
the makefile and I modified the contact email address in
configure.in to point out the libssh2-devel list.
2006-11-19 Daniel Stenberg <daniel@haxx.se>
* src/publickey.c: kill compiler warnings
2006-11-19 Daniel Stenberg <daniel@haxx.se>
* src/Makefile.in: until we automake, let 'make' build all by
default
2006-11-19 Daniel Stenberg <daniel@haxx.se>
* src/channel.c: kill warnings
2006-11-17 Daniel Stenberg <daniel@haxx.se>
* configure.in: Use pkg-config --cflags-only-I when getting the
include files necessary to build with OpenSSL. Previous approach
caused a bad compiler option get set.
2006-11-14 James Housley
* src/packet.c: Patch from Daniel Stenberg
1 - #include <inttypes.h> and uses uint32_t (this is not very
portable and need attention as I mentioned in my separate mail)
2 - changes libssh2_blocking_read() to return ssize_t and all code
that uses this function explicitly checks its return code (better).
3 - I fixed a bunch of compiler warnings where functions got called
with unsigned char * when they expect char *. I strongly suggest we
patch away all warnings - now.
2006-11-13 James Housley
* include/libssh2_sftp.h: Reproduce most of the POSIX
permission/file type defines from sys/stat.h so that if compiled
with a non-POSIX compiler these are still available for client
software.
2006-11-13 James Housley
* src/userauth.c: As pointed out, feof() will always fail after a
rewind
2006-11-13 James Housley
* src/userauth.c: Bug: [ 1592645 ] Public key can not be readed
from file
While posting a public key file to a remote server via cut-n-paste
it is possible that the key won't have the proper ending. It might
not have the standard carriage return or line feed. It might even
have extra spaces. This patch is based on the originators original
patch, but is more extensive. If reading the file ends in EOF,
remove that character. Then if there are spaces at the end of the
file remove them also.
This does not fix the posibility of the same error in a multi-key
file, but it is a start.
2006-11-10 James Housley
* src/packet.c: /* RFC4253 section 6.1 Maximum Packet Length says:
*
* "All implementations MUST be able to process packets with
* uncompressed payload length of 32768 bytes or less and
* total packet size of 35000 bytes or less (including length,
* padding length, payload, padding, and MAC.)."
*/ Protect against an improper packet from producing unreasonable
values. Credit goes to Daniel Stenberg
2006-11-10 James Housley
* src/sftp.c: libssh2_sftp_readdir() wasn't null terminating the
filename. If there is enough room in the buffer, all a null to the
end.
2006-11-04 James Housley
* include/libssh2.h, include/libssh2_sftp.h, src/channel.c,
src/misc.c, src/sftp.c, src/userauth.c: The public *_ex() API
functions, most of them, used "int" for length values. The
convience functions pass in the return from strlen() which is
"size_t", usually an "unsigned long". This created the possiblility
of passing in a value that could look negative.
All "int" lengths were converted to "unsigned int". Ideally they
should all become "size_t", but that is a bigger change. This is a
good start.
2006-06-22 Sara Golemon <pollita@libssh2.org>
* configure.in, include/libssh2.h: Bump for release
2006-06-22 Sara Golemon <pollita@libssh2.org>
* README, include/libssh2_priv.h, src/kex.c, src/packet.c: Don't
wait for KEX_INIT prior to sending our own packet. Watch out for
bad KEX_INIT guesses and burn packets if necessary.
2006-05-26 Sara Golemon <pollita@libssh2.org>
* README, configure.in, src/packet.c: Swap ordering of
packet_add/packet-inspection to avoid inspect after free. Fix
OpenSSL detection using pkg-config.
2006-04-17 Sara Golemon <pollita@libssh2.org>
* src/packet.c, src/session.c: Map Win32 errno values
2006-04-07 Sara Golemon <pollita@libssh2.org>
* Makefile.in, src/Makefile.in: autoconf already handles -g for us
2006-04-06 Sara Golemon <pollita@libssh2.org>
* README, src/kex.c, src/session.c: Plug leaks caused by not using
OpenSSL's EVP interface correctly
2006-04-05 Sara Golemon <pollita@libssh2.org>
* src/session.c: Map win32 error codes
2006-03-08 Sara Golemon <pollita@libssh2.org>
* README, src/session.c: Allow socket_fd == 0 in
libssh2_session_startup()
2006-03-02 Sara Golemon <pollita@libssh2.org>
* LICENSE, include/libssh2.h, include/libssh2_priv.h,
include/libssh2_publickey.h, include/libssh2_sftp.h, src/channel.c,
src/comp.c, src/crypt.c, src/hostkey.c, src/kex.c, src/mac.c,
src/misc.c, src/packet.c, src/publickey.c, src/scp.c,
src/session.c, src/sftp.c, src/userauth.c: Bump copyright year
2006-03-02 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h, configure.in: Bump version number
2006-02-23 Sara Golemon <pollita@libssh2.org>
* Makefile.in, README, configure.in, include/libssh2_priv.h,
src/Makefile.in: BugFix#1436593: Apply build options for HPUX
targets
2006-02-20 Mikhail Gusarov <dottedmag@dottedmag.net>
* src/packet.c: Fixed errorneous flushing packets for unrelated
channels when one is closed (thanks to Alexander Holyapin)
2006-01-06 Sara Golemon <pollita@libssh2.org>
* Makefile.in, README: Fix make install on MacOSX
2005-11-17 Sara Golemon <pollita@libssh2.org>
* README, src/sftp.c: Add terminating NULL to readlin/realpath
results
2005-11-02 Sara Golemon <pollita@libssh2.org>
* README, src/channel.c, src/packet.c: Fix miscellaneous bugs in
src/channel.c and src/packet.c Courtessy David Robins
2005-11-01 Sara Golemon <pollita@libssh2.org>
* README, configure.in, include/libssh2.h: Prep for release
2005-10-04 Mikhail Gusarov <dottedmag@dottedmag.net>
* include/libssh2_sftp.h: Added missing '#ifdef __cplusplus extern
"C" {}' stanza
2005-08-25 Sara Golemon <pollita@libssh2.org>
* include/libssh2_priv.h: Explicitly include sha.h and md5.h from
openssl
2005-08-10 Sara Golemon <pollita@libssh2.org>
* README, src/channel.c: Fix x11_req. Multiple packet_len issues
and error handling logic. (Simon Hart)
2005-07-21 Sara Golemon <pollita@libssh2.org>
* Makefile.in, README, configure.in, include/libssh2.h,
include/libssh2_config.h.in, include/libssh2_priv.h,
include/libssh2_publickey.h, src/Makefile.in, src/misc.c,
src/publickey.c: Add publickey subsystem support
2005-07-11 Sara Golemon <pollita@libssh2.org>
* src/kex.c, README: Fix generation of 'e' portion of
Diffie-Hellman keyset.
2005-07-06 Sara Golemon <pollita@libssh2.org>
* README, src/sftp.c: Fix rename op -- Take 2
2005-07-06 Sara Golemon <pollita@libssh2.org>
* src/sftp.c: Correct ancient typos in error messages
2005-07-05 Sara Golemon <pollita@libssh2.org>
* configure.in, include/libssh2.h: bump for release -- 0.11
2005-07-05 Sara Golemon <pollita@libssh2.org>
* README: BFN
2005-06-24 Mikhail Gusarov <dottedmag@dottedmag.net>
* src/session.c, include/libssh2.h: libssh2_poll_channel_read made
external
2005-06-24 Mikhail Gusarov <dottedmag@dottedmag.net>
* src/packet.c: Debug output slightly fixed
2005-06-24 Mikhail Gusarov <dottedmag@dottedmag.net>
* src/channel.c, include/libssh2.h: Added
libssh2_channel_wait_close()
2005-06-23 Mikhail Gusarov <dottedmag@dottedmag.net>
* src/packet.c: Memory leak liquidated - free the
SSH_MSG_CHANNEL_REQUEST packet data after processing 'exit-status'
message
2005-06-23 Mikhail Gusarov <dottedmag@dottedmag.net>
* src/channel.c, src/packet.c, include/libssh2.h,
include/libssh2_priv.h: 'exit-status' information packet handling
added
2005-06-20 Mikhail Gusarov <dottedmag@dottedmag.net>
* include/libssh2.h: Added extern "C" declaration for C++
compatibility
2005-06-18 Mikhail Gusarov <dottedmag@dottedmag.net>
* src/userauth.c: Fixed keyboard-interactive authentication, debug
output added
2005-06-18 Mikhail Gusarov <dottedmag@dottedmag.net>
* src/userauth.c, include/libssh2.h: libssh2_userauth_list should
return char*, not the const char*
2005-06-18 Mikhail Gusarov <dottedmag@dottedmag.net>
* src/channel.c, src/hostkey.c, src/kex.c, src/scp.c,
src/session.c, src/userauth.c, ssh2_sample.c, include/libssh2.h,
include/libssh2_priv.h: Strictening function prototypes: char* ->
const char* where applicable
2005-06-17 Sara Golemon <pollita@libssh2.org>
* README, src/sftp.c: Don't send flags for rename op if the sftp
version is too low
2005-06-16 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h, src/userauth.c: Add abstract pointer to
keyboard-interactive callback
2005-06-11 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h, include/libssh2_priv.h, README,
src/userauth.c: Add keyboard interactive authentication.
Implementation contributed by Mikhail Gusarov.
2005-05-24 Sara Golemon <pollita@libssh2.org>
* configure.in: Late commit -- This is for release 0.10
2005-05-18 Sara Golemon <pollita@libssh2.org>
* src/channel.c, src/packet.c: Drop these old references to initial
window size, they were a mistake
2005-05-18 Sara Golemon <pollita@libssh2.org>
* README: BFN
2005-05-18 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h, include/libssh2_priv.h, src/channel.c,
src/packet.c: Save up multiple small refunds in order to cut down
on unnecessary WINDOW_ADJUST packets
2005-05-17 Sara Golemon <pollita@libssh2.org>
* src/sftp.c: Typo: ALWAYS TEST FIRST
2005-05-17 Sara Golemon <pollita@libssh2.org>
* README, src/sftp.c: Fix sftp packet queueing mechanism
2005-05-16 Sara Golemon <pollita@libssh2.org>
* src/sftp.c, README: Reduce busy-looping of
libssh2_sftp_packet_requirev()
2005-05-16 Sara Golemon <pollita@libssh2.org>
* README, src/kex.c: Fix segfault when client/host can't agree on
hostkey/crypt/mac/comp
2005-05-11 Sara Golemon <pollita@libssh2.org>
* src/packet.c: Fix format specifiers
2005-05-11 Sara Golemon <pollita@libssh2.org>
* src/misc.c: Whoops
2005-05-11 Sara Golemon <pollita@libssh2.org>
* README, configure.in, include/libssh2_config.h.in,
include/libssh2_priv.h, src/channel.c, src/kex.c, src/misc.c,
src/packet.c, src/scp.c, src/session.c, src/sftp.c, src/userauth.c:
Add debugging hooks for development diagnostics
2005-05-10 Sara Golemon <pollita@libssh2.org>
* README, src/sftp.c: Ignore extended data in the SFTP layer.
2005-05-10 Sara Golemon <pollita@libssh2.org>
* README, src/sftp.c: One last (better be last) fix for FXP_INIT
2005-05-06 Sara Golemon <pollita@libssh2.org>
* README, src/channel.c: More fixes for channel_write()
2005-05-05 Sara Golemon <pollita@libssh2.org>
* configure.in, include/libssh2.h: Bump for release
2005-05-05 Sara Golemon <pollita@libssh2.org>
* README, configure.in: Check for and link against libm and
libsocket
2005-05-04 Sara Golemon <pollita@libssh2.org>
* src/channel.c, README: Block means block
2005-05-04 Sara Golemon <pollita@libssh2.org>
* README, src/packet.c: Make blocking_read's polling loop less
arbitrary
2005-05-04 Sara Golemon <pollita@libssh2.org>
* src/sftp.c: Put filetype into open/diropen/mkdir attributes
2005-05-04 Sara Golemon <pollita@libssh2.org>
* src/sftp.c: Fix constant from last patch
2005-05-03 Sara Golemon <pollita@libssh2.org>
* README: Late BFN
2005-05-03 Sara Golemon <pollita@libssh2.org>
* src/sftp.c: FXP_INIT packet should not have had a request_id
component and sftp_packet_require shouldn't expect FXP_VERSION to
have one when coming back. Thanks puudeli!
2005-04-07 Sara Golemon <pollita@libssh2.org>
* README, src/sftp.c: Fixed SFTP to be properly BC with version 1
and 2 servers
2005-04-05 Sara Golemon <pollita@libssh2.org>
* src/packet.c: Block means block.
2005-04-02 Sara Golemon <pollita@libssh2.org>
* src/packet.c: break; fallthroughs in win32 code
2005-04-01 Sara Golemon <pollita@libssh2.org>
* src/channel.c, src/userauth.c: Phase II of packet loop migration:
Clean code is good code
2005-04-01 Sara Golemon <pollita@libssh2.org>
* src/packet.c: Another typo
2005-04-01 Sara Golemon <pollita@libssh2.org>
* include/libssh2_priv.h: typo
2005-04-01 Sara Golemon <pollita@libssh2.org>
* src/packet.c, include/libssh2_priv.h: Phase 1 of the Great
Timeout Cleanup
2005-03-28 Sara Golemon <pollita@libssh2.org>
* src/packet.c: Nix unused variable
2005-03-28 Sara Golemon <pollita@libssh2.org>
* README, include/libssh2.h, src/channel.c: Add
libssh2_channel_window_(read|write)_ex()
2005-03-26 Sara Golemon <pollita@libssh2.org>
* src/packet.c: Nix the memset loop Speaking of which: Why wasn't
it JUST a memset() call?
The encrypted version of packet_write fills in this data with
OpenSSL RAND_bytes() data, and as far as the unencrypted version
goes? Well, it's unencrypted, randomness doesn't help at that point.
2005-03-26 Sara Golemon <pollita@libssh2.org>
* README, include/libssh2.h, src/session.c: Don't let a dead
session leave poll() hanging
2005-03-23 Sara Golemon <pollita@libssh2.org>
* configure.in, include/libssh2.h: Bump for release
2005-03-23 Sara Golemon <pollita@libssh2.org>
* README, configure.in, include/libssh2.h,
include/libssh2_config.h.in, src/session.c: Add libssh2_poll()
2005-03-21 Sara Golemon <pollita@libssh2.org>
* README, configure.in, include/libssh2_config.h.in, src/hostkey.c,
src/packet.c, src/scp.c, src/userauth.c: Add sys/uio.h for FBSD
builds and remove old stdio references
2005-03-17 Sara Golemon <pollita@libssh2.org>
* README, src/comp.c: Swap compression mode preferences, prefer
none over zlib by default
2005-03-17 Sara Golemon <pollita@libssh2.org>
* README: Late news
2005-03-02 Sara Golemon <pollita@libssh2.org>
* src/hostkey.c: Possible fix for compatability with OpenSSL <
0.9.7
2005-02-28 Sara Golemon <pollita@libssh2.org>
* src/comp.c: strm->next_out doesn't *stay* == out, only free out
2005-02-18 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h, include/libssh2_priv.h,
include/libssh2_sftp.h, src/channel.c, src/comp.c, src/crypt.c,
src/hostkey.c, src/kex.c, src/mac.c, src/misc.c, src/packet.c,
src/scp.c, src/session.c, src/sftp.c, src/userauth.c, LICENSE:
Update copyright year
2005-02-18 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h, configure.in: Bump for release
2005-02-18 Sara Golemon <pollita@libssh2.org>
* Makefile.in: Add win32/ files to dist
2005-02-18 Sara Golemon <pollita@libssh2.org>
* win32/config.mk: Genericise win32 build params
2005-02-17 Sara Golemon <pollita@libssh2.org>
* README, configure.in, include/libssh2.h: Add support for
MacOSX(Darwin)
2005-02-14 Sara Golemon <pollita@libssh2.org>
* README, src/userauth.c, include/libssh2.h: Add support for
hostbased pubkey authentication
2005-02-14 Sara Golemon <pollita@libssh2.org>
* README, src/channel.c: Acknowledge window adjustments and fix the
paren bug I just introduced :)
2005-02-14 Sara Golemon <pollita@libssh2.org>
* src/channel.c: Fix extended data identification and make window
adjust always be sent
2005-02-09 Sara Golemon <pollita@libssh2.org>
* Makefile.in, TODO: Remove TODO file
2005-02-09 Sara Golemon <pollita@libssh2.org>
* configure.in, include/libssh2.h: Bump for release
2005-02-09 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h: These aren't meaningful since we don't bring
libssh2_config.h in
2005-02-03 Sara Golemon <pollita@libssh2.org>
* README, include/libssh2.h, include/libssh2_priv.h, src/packet.c,
src/session.c: Added libssh2_session_flag() and
LIBSSH2_FLAG_SIGPIPE with hooks
2005-02-03 Sara Golemon <pollita@libssh2.org>
* include/libssh2_priv.h, README, src/kex.c, src/packet.c,
src/session.c, src/userauth.c: Collapse state flags into single
bitmask attribute
2005-02-01 Sara Golemon <pollita@libssh2.org>
* README, src/comp.c: Fix zlib compression when internal buffer not
empty
2005-01-22 Edink Kadribasic
* win32/libssh2_config.h: Silence warnings when win32 is already
defined. Enable zlib and newer diffie-hellman-group-exchange-sha1
syntax.
2005-01-22 Edink Kadribasic
* win32/libssh2.dsp, win32/ssh2_sample.dsp: Adjust project files to
live in /win32
2005-01-22 Edink Kadribasic
* win32/libssh2.dsp, win32/ssh2_sample.dsp: Correct line endings
2005-01-21 Sara Golemon <pollita@libssh2.org>
* src/session.c, README: Avoid segfault when
libssh2_session_methods() called too early
2005-01-20 Sara Golemon <pollita@libssh2.org>
* README: BFN
2005-01-20 Sara Golemon <pollita@libssh2.org>
* src/channel.c, src/packet.c: Handle Client-To-Server channel
windowing.
2005-01-19 biot
* src/scp.c: Added a couple of comments to keep my
last-error-not-set-o-meter from going off
2005-01-18 Sara Golemon <pollita@libssh2.org>
* src/session.c: Can't remember why I did this, banner should
always be sent before trying to receive
2005-01-18 Sara Golemon <pollita@libssh2.org>
* src/hostkey.c: Simplify DSA signing process
2005-01-18 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h: Fix u64int ifdef statement
2005-01-11 Sara Golemon <pollita@libssh2.org>
* win32/libssh2.dsp, win32/libssh2.dsw, win32/ssh2_sample.dsp: Add
MSVC6 build files
2005-01-11 Sara Golemon <pollita@libssh2.org>
* src/misc.c: Finish making msvc6 happy
2005-01-11 Sara Golemon <pollita@libssh2.org>
* configure.in, include/libssh2.h: Bump for release (tardy)
2005-01-11 Wez Furlong
* include/libssh2.h, include/libssh2_priv.h,
include/libssh2_sftp.h, src/sftp.c: be nice to msvc 6
2005-01-11 Wez Furlong
* win32/config.mk: Add release build for win32
2005-01-10 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h: Allow alternate API prefix from CFLAGS or
calling app
2005-01-10 Sara Golemon <pollita@libssh2.org>
* Makefile.in: Add dist_nmake target
2005-01-07 Sara Golemon <pollita@libssh2.org>
* README, src/sftp.c: Fix setstat calls. libssh2_attr2bin was
masking out flags
2005-01-07 Sara Golemon <pollita@libssh2.org>
* src/hostkey.c, README: Need to load the cipher definitions if we
expect to use them...
2005-01-07 Sara Golemon <pollita@libssh2.org>
* README, src/hostkey.c: Fix ssh-dss public key authentication
2005-01-06 Sara Golemon <pollita@libssh2.org>
* src/channel.c: Ooops, this should have been hexits, not raw bytes
2005-01-06 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h, include/libssh2_priv.h, src/channel.c,
src/packet.c, src/session.c: Add X11 forwarding support
2005-01-03 Wez Furlong
* NMakefile, ssh2_sample.c, include/libssh2.h,
include/libssh2_priv.h, src/NMakefile, src/channel.c, src/packet.c,
src/session.c, src/sftp.c, win32/config.mk, win32/libssh2_config.h,
win32/rules.mk: Add support for win32.
Edit win32/config.mk to set the paths to your openssl and zlib
headers and libraries.
Then, from the root of the tree:
nmake -f NMakefile
voila.
2005-01-01 Sara Golemon <pollita@libssh2.org>
* config.guess, config.sub: Ooops, forgot to add these
2005-01-01 Sara Golemon <pollita@libssh2.org>
* Makefile.in, configure.in, include/libssh2.h,
include/libssh2_priv.h: Move towards a working win32 build
2004-12-31 Sara Golemon <pollita@libssh2.org>
* Makefile.in, configure.in: Let ./configure populate VERSION in
Makefile
2004-12-31 Sara Golemon <pollita@libssh2.org>
* INSTALL: Additional install docs
2004-12-31 Sara Golemon <pollita@libssh2.org>
* README, include/libssh2_priv.h, src/kex.c, src/mac.c: Added
support for MAC methods: hmac-md5 and hmac-md5-96
key_len should not have been in KEX_METHOD, it's dependent on MAC
method, not KEX method.
This is why the MD5 MACs were borked initially, md5 has a key_len of
16, not 20.
2004-12-31 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h: APINO should have been bumped when
session_methods() proto was changed
2004-12-31 Sara Golemon <pollita@libssh2.org>
* README, configure.in, include/libssh2.h,
include/libssh2_config.h.in: Add ./configure option
'--disable-gex-new' to fallback on older
diffie-hellman-group-exchange-sha1 syntax.
i.e. Use SSH_MSG_KEX_DH_GEX_REQUEST_OLD rather then
SSH_MSG_KEX_DH_GEX_REQUEST
See draft-ietf-secsh-dh-group-exchange section 7 for details.
2004-12-30 Sara Golemon <pollita@libssh2.org>
* README: Note change to libssh2_session_methods()
2004-12-30 biot
* include/libssh2.h, src/session.c: Changed
libssh2_session_methods() to use method_type parameter
2004-12-30 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h, src/kex.c: Add error codes to
session_method_pref()
2004-12-29 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h, include/libssh2_priv.h, README, src/channel.c,
src/packet.c, src/session.c: Add remote tcp/ip forwarding.
2004-12-27 Sara Golemon <pollita@libssh2.org>
* README, src/kex.c, src/packet.c: use actual random data with
KEX_INIT cookie and packet padding
2004-12-26 Sara Golemon <pollita@libssh2.org>
* Makefile.in, README, src/Makefile.in: Add DESTDIR support during
'make install' (Adam Go³êbiowski)
2004-12-24 Sara Golemon <pollita@libssh2.org>
* Makefile.in, configure.in, include/libssh2.h: Bump for release
2004-12-24 Sara Golemon <pollita@libssh2.org>
* README, include/libssh2.h, src/session.c: Added
libssh2_banner_set()
2004-12-24 Sara Golemon <pollita@libssh2.org>
* README, src/sftp.c: Fixed leak in sftp_symlink_ex(), result for
READLINK and REALPATH not freed unless there was an error.
2004-12-24 Sara Golemon <pollita@libssh2.org>
* README, src/sftp.c: Plug leak in handle string provided by
sftp_open
2004-12-24 Sara Golemon <pollita@libssh2.org>
* README, src/sftp.c: Fix crash in sftp_close_handle.
Don't free dir handle data when it's not a dir handle!
2004-12-23 Sara Golemon <pollita@libssh2.org>
* Makefile.in, TODO, configure.in, include/libssh2.h: Bump version
for release and remove SFTP from TODO list
2004-12-23 Sara Golemon <pollita@libssh2.org>
* README, src/packet.c: Make libssh2_packet_read() use a static
buffer to avoid unnecessary alloc and free calls.
Since the cipher and mac layers aren't runtime extensible (yet) and
we know neither of these works in sizes greater than 32, we can
safely set aside a 64 byte block of data on the stack for crypting
and hashing.
This will make a big difference during quasi-non-blocking reads
where libssh2_packet_read() is polled repeatedly.
2004-12-22 Sara Golemon <pollita@libssh2.org>
* include/libssh2_sftp.h, src/sftp.c: Expose specific SFTP error
codes to the calling program
2004-12-22 Sara Golemon <pollita@libssh2.org>
* LICENSE, configure.in, include/libssh2.h, include/libssh2_priv.h,
include/libssh2_sftp.h, src/channel.c, src/comp.c, src/crypt.c,
src/hostkey.c, src/kex.c, src/mac.c, src/misc.c, src/packet.c,
src/scp.c, src/session.c, src/sftp.c, src/userauth.c: Update
contact info with new domain
2004-12-22 Sara Golemon <pollita@libssh2.org>
* Makefile.in, README, include/libssh2.h, include/libssh2_priv.h,
include/libssh2_sftp.h, src/Makefile.in, src/misc.c, src/sftp.c:
Add SFTP support
2004-12-20 Sara Golemon <pollita@libssh2.org>
* include/libssh2_priv.h: Fix LIBSSH2_CHANNEL_CLOSE for the LAST
TIME.
2004-12-20 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h, include/libssh2_priv.h: Ooops, try that
again...
2004-12-20 Sara Golemon <pollita@libssh2.org>
* README, include/libssh2.h, include/libssh2_priv.h, src/channel.c,
src/scp.c: Fixes: scp blocking modes, MacError abstract indirection
Additions: Channel Close callback
2004-12-18 Sara Golemon <pollita@libssh2.org>
* src/packet.c, include/libssh2.h: A broken decrypt (or false
packet) could cause an unreasonably large block of memory to be
allocated leading to indeterminate results.
SSH-TRANS only requires implementations to handle about about 32k
compressed length per packet. Allow 40k to be safe, but no more.
2004-12-18 Sara Golemon <pollita@libssh2.org>
* src/channel.c, README: Fixed polling error in
libssh2_channel_read_ex()
2004-12-17 Sara Golemon <pollita@libssh2.org>
* src/channel.c: Packet queueing mechanism allows data which
immediately follows open confirmation to get ignored. Work around
this by adding the channel to the list before opening it.
2004-12-17 Sara Golemon <pollita@libssh2.org>
* Makefile.in, configure.in, include/libssh2.h: Bump version for
release
2004-12-16 Sara Golemon <pollita@libssh2.org>
* src/channel.c: Fix return code in libssh2_channel_write_ex()
2004-12-16 Sara Golemon <pollita@libssh2.org>
* README, include/libssh2.h, src/session.c: Changed
libssh2_session_disconnect_ex() to return an error code on failed
alloc.
2004-12-16 Sara Golemon <pollita@libssh2.org>
* src/hostkey.c: Correct comments for hostkey_hash
2004-12-16 Sara Golemon <pollita@libssh2.org>
* README, include/libssh2.h, src/session.c: Add
libssh2_session_last_error()
2004-12-10 Sara Golemon <pollita@libssh2.org>
* src/userauth.c: This initialization was based on an earlier
concept
2004-12-09 Sara Golemon <pollita@libssh2.org>
* README, include/libssh2.h, src/session.c: Added
libssh2_session_abstract()
2004-12-09 Sara Golemon <pollita@libssh2.org>
* README, include/libssh2.h, include/libssh2_priv.h, src/kex.c,
src/session.c: Add libssh2_session_method_pref() and
libssh2_session_methods().
Specify methods to be used and retreive what methods were
negotiated.
2004-12-09 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h: Let the calling program know what methods we
support
2004-12-09 Sara Golemon <pollita@libssh2.org>
* README, include/libssh2.h, src/session.c: Added
libssh2_session_callback_set()
2004-12-08 Sara Golemon <pollita@libssh2.org>
* README, include/libssh2.h, src/channel.c: Add flush mechanism to
the channel API
2004-12-08 Sara Golemon <pollita@libssh2.org>
* README: Update changelog
2004-12-08 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h, include/libssh2_priv.h, src/channel.c,
src/packet.c: Change extended data ignore to allow merging extended
data into the primary stream
2004-12-08 Sara Golemon <pollita@libssh2.org>
* Makefile.in: Add INSTALL, and remove configure.in from 'make
dist'
2004-12-08 Sara Golemon <pollita@libssh2.org>
* INSTALL: Basic Instructions
2004-12-08 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h, Makefile.in: Bump version for release
2004-12-08 Sara Golemon <pollita@libssh2.org>
* include/libssh2.h, include/libssh2_priv.h, src/channel.c,
src/packet.c: Add "ignore extended data" option to avoid having
stderr data fill up the receive window and leaving no room for stdio
data.
2004-12-08 Sara Golemon <pollita@libssh2.org>
* src/channel.c: Plug memory leaks in request_pty and
channel->channel_type
2004-12-07 Sara Golemon <pollita@libssh2.org>
* LICENSE, Makefile.in, README, TODO, configure.in, install-sh,
mkinstalldirs, ssh2_sample.c, include/libssh2.h,
include/libssh2_config.h.in, include/libssh2_priv.h,
src/Makefile.in, src/channel.c, src/comp.c, src/crypt.c,
src/hostkey.c, src/kex.c, src/mac.c, src/misc.c, src/packet.c,
src/scp.c, src/session.c, src/userauth.c: Initial Import.
2004-12-07 Sara Golemon <pollita@libssh2.org>
* LICENSE, Makefile.in, README, TODO, configure.in, install-sh,
mkinstalldirs, ssh2_sample.c, include/libssh2.h,
include/libssh2_config.h.in, include/libssh2_priv.h,
src/Makefile.in, src/channel.c, src/comp.c, src/crypt.c,
src/hostkey.c, src/kex.c, src/mac.c, src/misc.c, src/packet.c,
src/scp.c, src/session.c, src/userauth.c: Initial revision