Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | channels: Fix exit-signal data unpacking | Peter Volpe | 2015-06-29 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Peter Volpe <pvolpe@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 763735106564a3bff1ba9a3fece0dca58eec403f) | ||||
* | channels: fix exit-status not correctly set | Aris Adamantiadis | 2015-06-03 | 1 | -5/+3 |
| | |||||
* | Comment that ssh_forward_cancel() is deprecated. | Mike DePaulo | 2015-05-29 | 1 | -0/+1 |
| | | | | Signed-off-by: Aris Adamantiadis <aris@badcode.be> | ||||
* | Reintroduce ssh_forward_listen() (Fixes: #194) | Mike DePaulo | 2015-05-29 | 1 | -0/+5 |
| | | | | Signed-off-by: Aris Adamantiadis <aris@badcode.be> | ||||
* | buffers: adapt channels.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -406/+201 |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | ||||
* | log: Fix log levels. | Gangadhar Sandrani | 2014-04-22 | 1 | -5/+5 |
| | | | | | Signed-off-by: Gangadhar Sandrani <gangadhar.sandrani@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | doc: Improve docs for ssh_channel_get_exit_status(). | Andreas Schneider | 2014-04-10 | 1 | -0/+5 |
| | | | | BUG: https://red.libssh.org/issues/154 | ||||
* | channels: Fix exit-signal request. | Andreas Schneider | 2014-04-10 | 1 | -3/+3 |
| | | | | BUG: https://red.libssh.org/issues/153 | ||||
* | channel: check for closed state in waitwindow loops | Jon Simons | 2014-03-27 | 1 | -2/+4 |
| | | | | | Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | Add session/channel byte/packet counters | Audrius Butkevicius | 2014-02-12 | 1 | -0/+34 |
| | | | | Signed-off-by: Audrius Butkevicius <audrius.butkevicius@elastichosts.com> | ||||
* | doc: correct ssh_channel_read_timeout units | Jon Simons | 2014-02-02 | 1 | -6/+6 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | Make function ssh_channel_accept() nonblocking if timeout is 0. | Oleksandr Shneyder | 2014-02-02 | 1 | -1/+5 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | src: Rename buffer_add_data() to ssh_buffer_add_data(). | Andreas Schneider | 2014-01-19 | 1 | -7/+7 |
| | |||||
* | src: Rename buffer_init to ssh_buffer_init(). | Andreas Schneider | 2014-01-19 | 1 | -7/+7 |
| | |||||
* | doc: Fix channel documentation. | Andreas Schneider | 2014-01-17 | 1 | -31/+49 |
| | |||||
* | channel: Fix the name scheme of the forward functions. | Andreas Schneider | 2014-01-16 | 1 | -12/+14 |
| | |||||
* | channel: Add ssh_channel_accept_forward(). | Oleksandr Shneyder | 2014-01-16 | 1 | -3/+23 |
| | | | | | | | | This works same way as ssh_forward_accept() but can return a destination port of the channel (useful if SSH connection forwarding several TCP/IP ports). Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | src: Update my mail address. | Andreas Schneider | 2014-01-07 | 1 | -1/+1 |
| | |||||
* | update copyright information | Aris Adamantiadis | 2014-01-07 | 1 | -2/+2 |
| | |||||
* | channel: fix setting of channel->flags | Jon Simons | 2013-12-11 | 1 | -3/+3 |
| | | | | | | | | Fix the setting of 'channel->flags' to use '|='. Before this change, one bug symptom can be that channels are never fully free'd via ssh_channel_free, resulting in memory leaks. Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | channels: Add a ssh_channel_read_timeout function. | Andreas Schneider | 2013-12-04 | 1 | -3/+43 |
| | |||||
* | channel: fix infinite loop in channel_write_common | Jon Simons | 2013-11-22 | 1 | -1/+3 |
| | | | | | | BUG: https://red.libssh.org/issues/130 Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | flush channel after EOF and CLOSE | Rod Vagg | 2013-11-18 | 1 | -0/+8 |
| | |||||
* | doc: Fix doxygen warnings. | Andreas Schneider | 2013-11-04 | 1 | -5/+6 |
| | |||||
* | channel: Reinit the buffer and reset the state on error. | Andreas Schneider | 2013-10-20 | 1 | -23/+46 |
| | | | | BUG: https://red.libssh.org/issues/126 | ||||
* | channel: Fix ssh_global_request_termination(). | Andreas Schneider | 2013-10-20 | 1 | -1/+1 |
| | | | | BUG: https://red.libssh.org/issues/126 | ||||
* | channel: Fix packets termination timeout in global_request(). | Andreas Schneider | 2013-10-01 | 1 | -1/+1 |
| | | | | BUG: https://red.libssh.org/issues/126 | ||||
* | channels: Correctly handle timeouts in channel functions. | Andreas Schneider | 2013-09-17 | 1 | -5/+14 |
| | |||||
* | channel: Use the correct timeout option in channel_open(). | Andreas Schneider | 2013-09-17 | 1 | -1/+5 |
| | | | | BUG: https://red.libssh.org/issues/124 | ||||
* | channels: Correctly decrement timeout value in ssh_channel_accept(). | Andreas Schneider | 2013-09-16 | 1 | -2/+5 |
| | | | | BUG: https://red.libssh.org/issues/116 | ||||
* | channel: Document SSH_AGAIN in ssh_channel_read(). | Andreas Schneider | 2013-09-16 | 1 | -2/+2 |
| | | | | BUG: https://red.libssh.org/issues/115 | ||||
* | channel: Refactor channel_write_common() code. | Andreas Schneider | 2013-08-13 | 1 | -16/+37 |
| | | | | This makes it easier to read and easier to debug. | ||||
* | channel: Make channel_write_common() static. | Andreas Schneider | 2013-08-13 | 1 | -2/+4 |
| | |||||
* | channel: Use MIN macro in channel_write_common(). | Andreas Schneider | 2013-08-13 | 1 | -2/+4 |
| | |||||
* | channels: allow channel_open() to return SSH_AGAIN | Nicolas Viennot | 2013-07-25 | 1 | -1/+1 |
| | | | | | Signed-off-by: Nicolas Viennot <nicolas@viennot.biz> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | channels: Fix a SSH_LOG call. | Andreas Schneider | 2013-07-15 | 1 | -1/+1 |
| | |||||
* | src: Remove enter_function() and leave_function(). | Andreas Schneider | 2013-07-14 | 1 | -134/+48 |
| | |||||
* | src: Migrate to SSH_LOG. | Andreas Schneider | 2013-07-14 | 1 | -56/+56 |
| | |||||
* | server: Fix compilation without WITH_SERVER | Aris Adamantiadis | 2013-07-14 | 1 | -1/+5 |
| | |||||
* | agent: the valid request is auth-agent@openssh.com | Aris Adamantiadis | 2013-07-13 | 1 | -1/+1 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | server: implement server-side of agent forwarding | Aris Adamantiadis | 2013-07-13 | 1 | -0/+34 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | channels: implement callback for agent forwarding request | Aris Adamantiadis | 2013-07-13 | 1 | -0/+10 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | session: Introduce SSH_TIMEOUT_DEFAULT | Aris Adamantiadis | 2013-07-13 | 1 | -6/+6 |
| | | | | | | | | | The default timeout of 30seconds is very nice when connecting to a new SSH session, however it completely breaks the synchronous blocking API. Use SSH_TIMEOUT_DEFAULT when in blocking mode so channel reads&write are blocking as expected Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | Report according status when errors are detected | Aris Adamantiadis | 2012-12-27 | 1 | -3/+18 |
| | |||||
* | Fix channel_write to wait during key reexchanges | Aris Adamantiadis | 2012-12-23 | 1 | -1/+20 |
| | |||||
* | BUG 94: Fix big endian issue. | Andreas Schneider | 2012-12-03 | 1 | -3/+5 |
| | |||||
* | CVE-2012-4559: Ensure that we don't free req twice. | Andreas Schneider | 2012-11-14 | 1 | -1/+1 |
| | |||||
* | channels: Fix integer overflow in generate_cookie(). | Xi Wang | 2012-10-22 | 1 | -1/+1 |
| | | | | | | Since the type of rnd[i] is signed char, (rnd[i] >> 4), which is considered as arithmetic shift by gcc, could be negative, leading to out-of-bounds read. | ||||
* | channels: Don't leak memory in channel_rcv_request callback. | Andreas Schneider | 2012-10-12 | 1 | -0/+1 |
| | | | | Found by Coverity. | ||||
* | channels: Check return values of buffer functions. | Andreas Schneider | 2012-10-09 | 1 | -2/+9 |
| | | | | Found by Coverity. |