summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* security: fix for vulnerability CVE-2014-0017v0-5Aris Adamantiadis2014-03-041-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 Schneider2013-02-121-1/+1
|
* Fix regression in pre-connected socket setting.Werner Koch2012-09-211-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.rofl0r2012-01-021-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 Adamantiadis2011-09-173-13/+19
| | | | | | | | (cherry picked from commit da954c2c5ee85bcbe2f5ad9f507a6306b0f5f8b9) Conflicts: src/keyfiles.c
* build: Increase version number.libssh-0.5.2Andreas Schneider2011-09-161-1/+1
|
* SSH1: handle exit-status message (channels would not close)Aris Adamantiadis2011-09-151-0/+1
|
* SSH1: fix buildAris Adamantiadis2011-09-021-1/+1
| | | | | | | | | (cherry picked from commit 3eece8ac0b107a7df8d95325ef17ed19d6429e75) Conflicts: src/channels.c src/channels1.c
* channels: replaced bugged lists with ssh_listAris Adamantiadis2011-09-023-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.1Andreas Schneider2011-08-091-1/+1
|
* Introduced ssh_timeout_elapsed functionsAris Adamantiadis2011-05-251-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 ↵milo2011-05-021-0/+1
| | | | | | channel_write_common() (cherry picked from commit 7ba09388464f0437da2833b81e268744b20a68fe)
* Fix the ssh_message_retrieve problem by anihilationAris Adamantiadis2011-03-231-1/+1
|
* Implement ssh_blocking_flush()Aris Adamantiadis2011-03-232-0/+2
| | | | | Based on code from Jan Willamowius (cherry picked from commit dff4e4e6d3a56123b00df48fdcd7a6de0a275aef)
* doc: Improve the doc of ssh_bind_set_callbacks.Andreas Schneider2011-03-091-0/+20
| | | | (cherry picked from commit 7daa81f3aa876acb69a9cb332391dd218ac6838c)
* doc: Improved documentation for server options.Andreas Schneider2011-03-091-4/+57
| | | | (cherry picked from commit 6754c347117d8450c11f7ad3931caa7584820cfc)
* legacy: Added missing channel_write_stderr.Andreas Schneider2011-02-231-0/+2
|
* connect: Use ssh_is_ipaddr instead of regex.Andreas Schneider2011-02-121-2/+0
| | | | (cherry picked from commit 768fbdd92eb06df1e9a0fdaa9c7303ed30ebec6c)
* misc: Added ssh_is_ipaddr() function.Andreas Schneider2011-02-121-0/+2
| | | | (cherry picked from commit b313fa944a5ab6e0eb935601cfdf60cf9008d06c)
* session: Added ssh_is_connected().Andreas Schneider2011-02-061-0/+1
|
* libsshpp: Removed unused variable.Andreas Schneider2011-01-241-1/+0
|
* misc: Added multiplatform ssh_getpass() fuction.Andreas Schneider2011-01-241-0/+3
|
* ssh_auth_password made nonblockingAris Adamantiadis2011-01-161-1/+2
|
* Made ssh_userauth_none nonblockingAris Adamantiadis2011-01-162-1/+3
|
* Fix double-connect testcaseAris Adamantiadis2011-01-151-0/+1
|
* Use termination functions for event pollingAris Adamantiadis2011-01-121-1/+8
|
* Non-blocking mode for ssh_connectAris Adamantiadis2011-01-101-0/+5
| | | | This looks ugly. I'll see if we need to revert or change that patch later.
* Change blocking parameter to a flagAris Adamantiadis2011-01-102-2/+7
|
* Fix the missing returns in C++ wrapperAris Adamantiadis2011-01-051-1/+20
|
* cmake: Fixed msvc posix warnings and unsecure functions.Andreas Schneider2011-01-021-6/+0
|
* libssh: Don't use the visibility flag on OS/2.Andreas Schneider2010-12-311-1/+1
|
* socket: Fixed ssh_socket_fd_set prototype.Andreas Schneider2010-12-301-1/+1
|
* Added compression options and allow "yes/no" settingAris Adamantiadis2010-12-272-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 Schneider2010-12-231-1/+4
|
* include: Only require LIBSSH_STATIC on Windows.Andreas Schneider2010-12-101-9/+9
|
* server: Remove channel_write_stderr.Andreas Schneider2010-12-082-3/+1
|
* doc: Some small fixes in server.h.Andreas Schneider2010-12-071-11/+6
|
* doc: Define a doc group for the callbacks.Andreas Schneider2010-12-071-0/+11
|
* Moved declarations from auth.h to various headersAris Adamantiadis2010-10-303-22/+25
|
* Moved includes from priv.h to bind.hAris Adamantiadis2010-10-272-25/+55
|
* start of work to have callbackbased ssh_bindAris Adamantiadis2010-10-192-1/+36
|
* Oops, libssh.h did not compile anymoreAris Adamantiadis2010-10-151-2/+2
|
* Fix OPTIONS_BINDADDR, PROXYCOMMAND constant changeAris Adamantiadis2010-10-141-1/+1
|
* Removed the global poll ctx in fav. of /session ctxAris Adamantiadis2010-10-122-4/+3
|
* Fix prepend bugAris Adamantiadis2010-10-031-1/+7
|
* Fix warnings on testcasesAris Adamantiadis2010-10-021-1/+1
|
* Added ssh_channel_write_stderr() for the servermilo2010-10-021-0/+3
|
* Added channel features on the servermilo2010-10-021-0/+8
| | | | | | | - ssh_channel_request_send_exit_status() - ssh_channel_request_send_exit_signal() - enhanced these features client-side
* Handle global requests and reverse forwardingmilo2010-10-023-0/+24
|
* Add new callbacks in session and channelsmilo2010-10-022-3/+153
|