Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | security: fix for vulnerability CVE-2014-0017v0-5 | Aris Adamantiadis | 2014-03-04 | 1 | -0/+1 |
| | | | | | | | | | | | | | When accepting a new connection, a forking server based on libssh forks and the child process handles the request. The RAND_bytes() function of openssl doesn't reset its state after the fork, but simply adds the current process id (getpid) to the PRNG state, which is not guaranteed to be unique. This can cause several children to end up with same PRNG state which is a security issue. Conflicts: src/bind.c | ||||
* | Update version number to 0.5.5. | Andreas Schneider | 2013-02-12 | 1 | -1/+1 |
| | |||||
* | Fix regression in pre-connected socket setting. | Werner Koch | 2012-09-21 | 1 | -0/+1 |
| | | | | | | | | | | | * src/socket.c (ssh_socket_pollcallback): Factor some code out to ... (ssh_socket_set_connecting): New. * include/libssh/socket.h (ssh_socket_set_connecting): Add prototype. * src/client.c (ssh_connect): Use new function for a socket set by SSH_OPTIONS_FD. Signed-off-by: Werner Koch <wk@gnupg.org> Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | session: Cleanup timeout functions and fix packets termination. | rofl0r | 2012-01-02 | 1 | -0/+1 |
| | | | | | | | | It is possible that we get unrelated packets while waiting for termination, thus waiting indefinitely. As a workaround we have to check the user-supplied timeout. Also cleaned up ssh_blocking_flush, which was using the timeout in a bogus manner (resetting the timeout after each check). | ||||
* | Fixes the ssh_log issue on ssh_bind handles. | Aris Adamantiadis | 2011-09-17 | 3 | -13/+19 |
| | | | | | | | | (cherry picked from commit da954c2c5ee85bcbe2f5ad9f507a6306b0f5f8b9) Conflicts: src/keyfiles.c | ||||
* | build: Increase version number.libssh-0.5.2 | Andreas Schneider | 2011-09-16 | 1 | -1/+1 |
| | |||||
* | SSH1: handle exit-status message (channels would not close) | Aris Adamantiadis | 2011-09-15 | 1 | -0/+1 |
| | |||||
* | SSH1: fix build | Aris Adamantiadis | 2011-09-02 | 1 | -1/+1 |
| | | | | | | | | | (cherry picked from commit 3eece8ac0b107a7df8d95325ef17ed19d6429e75) Conflicts: src/channels.c src/channels1.c | ||||
* | channels: replaced bugged lists with ssh_list | Aris Adamantiadis | 2011-09-02 | 3 | -3/+2 |
| | | | | | | | | | (cherry picked from commit 6d8bb956c5caa48c2aba6713f067224650c3c1e1) Conflicts: src/channels.c src/session.c | ||||
* | build: Set libssh version to 0.5.1.libssh-0.5.1 | Andreas Schneider | 2011-08-09 | 1 | -1/+1 |
| | |||||
* | Introduced ssh_timeout_elapsed functions | Aris Adamantiadis | 2011-05-25 | 1 | -0/+9 |
| | | | | | | | | Functions to mesure elapsed time before and after a serie of calls. Introduces a dependancy to clock_gettime() and librt, hope this doesn't break anything. Porting to gettimeofday() should not be too hard. (cherry picked from commit 59f7647cd97c62ab7a26725e5a166dcb54b27bc6) | ||||
* | [channels] Added ssh_channel_window_size() and avoided reentrancy in ↵ | milo | 2011-05-02 | 1 | -0/+1 |
| | | | | | | channel_write_common() (cherry picked from commit 7ba09388464f0437da2833b81e268744b20a68fe) | ||||
* | Fix the ssh_message_retrieve problem by anihilation | Aris Adamantiadis | 2011-03-23 | 1 | -1/+1 |
| | |||||
* | Implement ssh_blocking_flush() | Aris Adamantiadis | 2011-03-23 | 2 | -0/+2 |
| | | | | | Based on code from Jan Willamowius (cherry picked from commit dff4e4e6d3a56123b00df48fdcd7a6de0a275aef) | ||||
* | doc: Improve the doc of ssh_bind_set_callbacks. | Andreas Schneider | 2011-03-09 | 1 | -0/+20 |
| | | | | (cherry picked from commit 7daa81f3aa876acb69a9cb332391dd218ac6838c) | ||||
* | doc: Improved documentation for server options. | Andreas Schneider | 2011-03-09 | 1 | -4/+57 |
| | | | | (cherry picked from commit 6754c347117d8450c11f7ad3931caa7584820cfc) | ||||
* | legacy: Added missing channel_write_stderr. | Andreas Schneider | 2011-02-23 | 1 | -0/+2 |
| | |||||
* | connect: Use ssh_is_ipaddr instead of regex. | Andreas Schneider | 2011-02-12 | 1 | -2/+0 |
| | | | | (cherry picked from commit 768fbdd92eb06df1e9a0fdaa9c7303ed30ebec6c) | ||||
* | misc: Added ssh_is_ipaddr() function. | Andreas Schneider | 2011-02-12 | 1 | -0/+2 |
| | | | | (cherry picked from commit b313fa944a5ab6e0eb935601cfdf60cf9008d06c) | ||||
* | session: Added ssh_is_connected(). | Andreas Schneider | 2011-02-06 | 1 | -0/+1 |
| | |||||
* | libsshpp: Removed unused variable. | Andreas Schneider | 2011-01-24 | 1 | -1/+0 |
| | |||||
* | misc: Added multiplatform ssh_getpass() fuction. | Andreas Schneider | 2011-01-24 | 1 | -0/+3 |
| | |||||
* | ssh_auth_password made nonblocking | Aris Adamantiadis | 2011-01-16 | 1 | -1/+2 |
| | |||||
* | Made ssh_userauth_none nonblocking | Aris Adamantiadis | 2011-01-16 | 2 | -1/+3 |
| | |||||
* | Fix double-connect testcase | Aris Adamantiadis | 2011-01-15 | 1 | -0/+1 |
| | |||||
* | Use termination functions for event polling | Aris Adamantiadis | 2011-01-12 | 1 | -1/+8 |
| | |||||
* | Non-blocking mode for ssh_connect | Aris Adamantiadis | 2011-01-10 | 1 | -0/+5 |
| | | | | This looks ugly. I'll see if we need to revert or change that patch later. | ||||
* | Change blocking parameter to a flag | Aris Adamantiadis | 2011-01-10 | 2 | -2/+7 |
| | |||||
* | Fix the missing returns in C++ wrapper | Aris Adamantiadis | 2011-01-05 | 1 | -1/+20 |
| | |||||
* | cmake: Fixed msvc posix warnings and unsecure functions. | Andreas Schneider | 2011-01-02 | 1 | -6/+0 |
| | |||||
* | libssh: Don't use the visibility flag on OS/2. | Andreas Schneider | 2010-12-31 | 1 | -1/+1 |
| | |||||
* | socket: Fixed ssh_socket_fd_set prototype. | Andreas Schneider | 2010-12-30 | 1 | -1/+1 |
| | |||||
* | Added compression options and allow "yes/no" setting | Aris Adamantiadis | 2010-12-27 | 2 | -1/+4 |
| | | | | SSH_OPTION_COMPRESSION and SSH_OPTION_COMPRESSION_LEVEL options have been added. Now, end-level apps may simply choose to enable compression without knowing the relevant algorithms behind it. | ||||
* | libsshpp: Fixed return of non-void function. | Andreas Schneider | 2010-12-23 | 1 | -1/+4 |
| | |||||
* | include: Only require LIBSSH_STATIC on Windows. | Andreas Schneider | 2010-12-10 | 1 | -9/+9 |
| | |||||
* | server: Remove channel_write_stderr. | Andreas Schneider | 2010-12-08 | 2 | -3/+1 |
| | |||||
* | doc: Some small fixes in server.h. | Andreas Schneider | 2010-12-07 | 1 | -11/+6 |
| | |||||
* | doc: Define a doc group for the callbacks. | Andreas Schneider | 2010-12-07 | 1 | -0/+11 |
| | |||||
* | Moved declarations from auth.h to various headers | Aris Adamantiadis | 2010-10-30 | 3 | -22/+25 |
| | |||||
* | Moved includes from priv.h to bind.h | Aris Adamantiadis | 2010-10-27 | 2 | -25/+55 |
| | |||||
* | start of work to have callbackbased ssh_bind | Aris Adamantiadis | 2010-10-19 | 2 | -1/+36 |
| | |||||
* | Oops, libssh.h did not compile anymore | Aris Adamantiadis | 2010-10-15 | 1 | -2/+2 |
| | |||||
* | Fix OPTIONS_BINDADDR, PROXYCOMMAND constant change | Aris Adamantiadis | 2010-10-14 | 1 | -1/+1 |
| | |||||
* | Removed the global poll ctx in fav. of /session ctx | Aris Adamantiadis | 2010-10-12 | 2 | -4/+3 |
| | |||||
* | Fix prepend bug | Aris Adamantiadis | 2010-10-03 | 1 | -1/+7 |
| | |||||
* | Fix warnings on testcases | Aris Adamantiadis | 2010-10-02 | 1 | -1/+1 |
| | |||||
* | Added ssh_channel_write_stderr() for the server | milo | 2010-10-02 | 1 | -0/+3 |
| | |||||
* | Added channel features on the server | milo | 2010-10-02 | 1 | -0/+8 |
| | | | | | | | - ssh_channel_request_send_exit_status() - ssh_channel_request_send_exit_signal() - enhanced these features client-side | ||||
* | Handle global requests and reverse forwarding | milo | 2010-10-02 | 3 | -0/+24 |
| | |||||
* | Add new callbacks in session and channels | milo | 2010-10-02 | 2 | -3/+153 |
| |