summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* message: Fix compiler warning.Andreas Schneider2012-01-021-1/+1
| | | | (cherry picked from commit 2f861a858be9f2fe1f55a0fbfc47d732e3b3b31b)
* message: Handle all unknown global messages.rofl0r2012-01-011-1/+4
| | | | | Reply to unknown global messages as required by the RFC. Therefore keepalive@openssh.com style messages should get treated in a sane way.
* keyfiles: Fix build errors with callbacks.Andreas Schneider2011-09-171-5/+5
| | | | Introduced with the last commit.
* Fixes the ssh_log issue on ssh_bind handles.Aris Adamantiadis2011-09-1713-64/+97
| | | | | | | | (cherry picked from commit da954c2c5ee85bcbe2f5ad9f507a6306b0f5f8b9) Conflicts: src/keyfiles.c
* doc: Fix threading documentation.Andreas Schneider2011-09-171-2/+2
| | | | (cherry picked from commit 2cc95e1e088553a94b0a8e07c458b1bc0a60d9b1)
* Fix documentation bug about threadingAris Adamantiadis2011-09-171-7/+7
| | | | (cherry picked from commit c84380bad55dba3cb06486dc7f19c0ea6705a060)
* build: Increase version number.libssh-0.5.2Andreas Schneider2011-09-163-4/+4
|
* build: Updated changelog.Andreas Schneider2011-09-161-0/+15
|
* SSH1: handle exit-status message (channels would not close)Aris Adamantiadis2011-09-153-1/+15
|
* channels: don't send SSH2 packets on SSH1 !Aris Adamantiadis2011-09-151-0/+7
|
* SSH1: fix buildAris Adamantiadis2011-09-023-12/+15
| | | | | | | | | (cherry picked from commit 3eece8ac0b107a7df8d95325ef17ed19d6429e75) Conflicts: src/channels.c src/channels1.c
* channels: replaced bugged lists with ssh_listAris Adamantiadis2011-09-028-49/+60
| | | | | | | | | (cherry picked from commit 6d8bb956c5caa48c2aba6713f067224650c3c1e1) Conflicts: src/channels.c src/session.c
* poll: resolve use-after-free + inconsistent callbacks callAris Adamantiadis2011-09-021-18/+3
| | | | | | | This code was weird in the first place. I suspect my change will break something else (probably the appcode that needed it). ssh_poll_ctx_free is not a good place to send exception callbacks imho. (cherry picked from commit b5351f2809140921076ef54cc6092b543b5199d2)
* Channels: increase window size x10Aris Adamantiadis2011-09-021-1/+1
| | | | | | Provides me a 3x performance boost for async sftp, 5x for sync sftp (on localhost) (cherry picked from commit 17ae216340fea65edbfbb59789121e6e4af73f20)
* channels: Fix bug #52.Andreas Schneider2011-09-021-4/+15
| | | | | | | (cherry picked from commit a2c94abb92ead1503a0d6284609af41e53bef402) Conflicts: src/channels.c
* unittests:make sftp_dir pass on my laptopAris Adamantiadis2011-09-022-0/+4
| | | | (cherry picked from commit 7363b29427023bb2bbcec0bb1783e869015ff664)
* scp: Fixed documentation bug #9Aris Adamantiadis2011-09-021-2/+6
| | | | (cherry picked from commit 99e6fde751365f0f3508ce9e1899d28ca4c3edb3)
* channels: Fix possible infinite loop in channel_read().rofl0r2011-08-291-1/+5
| | | | (cherry picked from commit 66188f1af84852b9d9fc09acf26454c4cfacefef)
* sftp: Handle short reads of sftp_async_read().Jonas Jonsson2011-08-291-3/+2
| | | | | | | | | sftp_async_read() and sftp_async_read_begin() assume that the whole read will be successful but when this is not the case, the offset will be wrong. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit d1df255df46b0b59ce5abfa1b2a4b971ebb4fb64)
* auth: Handle request service timeout in blocking mode.Andreas Schneider2011-08-271-2/+7
| | | | (cherry picked from commit e5e673bafe18032df3b6b7634410a6795e809f2a)
* auth: Fix ssh_auth_list() documentation.Andreas Schneider2011-08-221-1/+1
| | | | | The server will not return SSH_AUTH_METHOD_NONE. (cherry picked from commit 9c376dd913b40bbcf9e0fc528f53e02c104b6c58)
* channels: Fix incorrect return values in ssh_channel_write().Andreas Schneider2011-08-101-3/+12
| | | | (cherry picked from commit 13227714f25b57b95594f33d395bc3cea0b7fe8e)
* session: Fix an infinite loop in the termination callback.rofl0r2011-08-101-17/+11
| | | | | | This happened due to the use of the buggy and obsolete timeout funtions. (cherry picked from commit 7949f2cdc6eb1ac0f076e06e6a3fa47540a9b870)
* channels: Handle SSH_AGAIN in channel_open().Andreas Schneider2011-08-092-12/+9
| | | | (cherry picked from commit 2f878736427f5fd846f8ebb0c834e6a65bf8a638)
* Fix "status -5 inflating zlib packet"Mark Riordan2011-08-091-1/+1
| | | | | | Signed-off-by: Mark Riordan <mriordan@ipswitch.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 6c45d6dc0196a2846313b588c0e05996813ab3f8)
* build: Set libssh version to 0.5.1.libssh-0.5.1Andreas Schneider2011-08-093-4/+4
|
* build: Updated ChangeLog.Andreas Schneider2011-08-091-0/+15
|
* Fixed ssh_scp_write so it works when doing recursive copyEinar Floystad Dorum2011-08-081-11/+19
| | | | | | | | | | | | | There where two issues with ssh_scp_write: 1) It did not write a status message after the last write and OpenSSH would then give up after the write finished. 2) OpenSSH would sometimes write a status message, after near ends write. If scp_write didn't handle it, and subsequent status message. The remote window would shrink to zero and ssh_channel_write would start returning 0. Signed-off-by: Einar Floystad Dorum <einarfd@mailthief.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 01c4b713dc57d16612c3b61e1857fb982623dd12)
* client: Fix another source of endless wait.rofl0r2011-08-072-13/+15
| | | | (cherry picked from commit 35686b4822c8a18d1d6715221be91ee67e563bad)
* channels: Fix an endless loop in case of a channel_open error.rofl0r2011-08-071-0/+4
| | | | (cherry picked from commit 7ccd9c31b33798824b27e4af095b52b9026a1f98)
* session: Fix timeout handling.rofl0r2011-08-077-59/+88
| | | | | | -2 now means to use the timeout specified in options. It wasn't used earlier and poll only knows -1 and 0 anyway for special meanings. (cherry picked from commit af85337f5ff052437fa5cf117f3d065488640660)
* channels: Fix checking for fatal errors.rofl0r2011-08-073-19/+31
| | | | | | | | | We need this that we don't end up in and infinite poll loop. (cherry picked from commit 563fbe4de8ee090b40b50415a86f9a3da16f46b0) Conflicts: src/poll.c
* channels: Fix ssh_channel_from_local()rofl0r2011-08-071-14/+15
| | | | | | It only worked if the first channel in the list was equivalent to we were looking for. (cherry picked from commit 39f962c91eb4575a65edc7d984ce3f1a699097b8)
* misc: Fix ssh_timeout_update().rofl0r2011-08-071-5/+5
| | | | (cherry picked from commit c31cac93f3695b81383e65ecc8206fbda7f75d94)
* examples: Fix permissions of the file we copy.Andreas Schneider2011-08-031-1/+1
| | | | | Thanks to Baptiste Marchand. (cherry picked from commit 15ebbad146d980a33cd14e9fe4d99b4a7f69a46b)
* channels: Set the max packet size to 32768.Andreas Schneider2011-08-031-3/+23
| | | | (cherry picked from commit 790b62bca59f46593711d17dd6c3058c7571a17c)
* Workaround ssh_get_user_home_dir on LDAP usersAris Adamantiadis2011-07-131-1/+2
|
* build: Fix libssh_threads pkg-config.Andreas Schneider2011-06-151-1/+1
| | | | (cherry picked from commit 269c9fed354f3a8adbc54fccba6287d5b1f166e3)
* cmake: Added pkg-config support for libssh_treads.Andreas Schneider2011-06-142-0/+7
| | | | (cherry picked from commit 583a7f933ab6491742035e217d4bff0b38a33b08)
* packet: Don't (de)compress empty buffers.Andreas Schneider2011-06-111-2/+6
| | | | | This fixes bug #50. (cherry picked from commit fb0f1253519d5ff76fac1f0fc84077541ca93033)
* Fix compilation without server and sftp modesAris Adamantiadis2011-06-092-1/+26
| | | | (cherry picked from commit 809b3adeba94c1128c7a2ed5354ade305156b8b8)
* build: Check for ntohll().Andreas Schneider2011-06-063-2/+8
| | | | | This function is available on AIX. (cherry picked from commit 640e3830f295baae596cc34ec2fc79fc08807d0f)
* string: Added missing include.Andreas Schneider2011-06-061-0/+1
| | | | (cherry picked from commit 3fa801a9295e1adbfadcecfd193f3a84d307e64a)
* string: Added missing errno.Andreas Schneider2011-06-061-2/+3
| | | | (cherry picked from commit d536cc4f399eabb0ca3dec5bf8b2bf2dc168bf60)
* Check for NULL pointers in string.cmilo2011-06-061-3/+14
| | | | (cherry picked from commit 4230509e805f546091ca2e4f8aa13c22f6efc7a8)
* cmake: Fix static .lib overwriting on Windows.Andreas Schneider2011-06-012-4/+28
| | | | (cherry picked from commit 1880ef54d2c97c60ce9a29676f0214814c20d57b)
* cmake: Prepare for release.release-0-5-0Andreas Schneider2011-05-302-3/+5
|
* session: Fix return code of ssh_blocking_flush().Andreas Schneider2011-05-281-2/+2
| | | | (cherry picked from commit 3c21281bf07bceb61a321e11348cd54e35b5e869)
* remove "0.5.0 is dev" in the docAris Adamantiadis2011-05-271-2/+2
| | | | (cherry picked from commit 3bc46c3bf0f73237aaa70088d9a691a095c73558)
* Forgot a cast to remove warningsAris Adamantiadis2011-05-271-2/+2
| | | | (cherry picked from commit ac167c90775b757adefb9f3ec6b3cfbcdef78c1a)