Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | buffers: adapt client.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -28/+14 |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | ||||
* | log: Fix log levels. | Gangadhar Sandrani | 2014-04-22 | 1 | -1/+6 |
| | | | | | Signed-off-by: Gangadhar Sandrani <gangadhar.sandrani@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | client: fix corner case when sockets are manually created | Luka Perkov | 2014-03-27 | 1 | -1/+4 |
| | | | | | | | | | | If the sockets are created manually and passed to libssh the internal session state is set to SSH_SESSION_STATE_SOCKET_CONNECTED. Result of this fix can be verified by running torture_connect test (torture_connect_socket) with -vvvv flags. Signed-off-by: Luka Perkov <luka.perkov@sartura.hr> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | server: use custom server banners | Audrius Butkevicius | 2014-02-04 | 1 | -2/+2 |
| | | | | | | Value of session->serverbanner never gets used Signed-off-by: Audrius Butkevicius <audrius.butkevicius@gmail.com> | ||||
* | client: Fix EOF session error reporting. | Joseph Southwell | 2014-02-02 | 1 | -1/+2 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | server: allow custom server banners (bug #83) | Aris Adamantiadis | 2014-02-01 | 1 | -1/+9 |
| | |||||
* | src: Rename buffer_init to ssh_buffer_init(). | Andreas Schneider | 2014-01-19 | 1 | -8/+12 |
| | |||||
* | update copyright information | Aris Adamantiadis | 2014-01-07 | 1 | -3/+3 |
| | |||||
* | client: use ssh_channel_do_free in ssh_disconnect | Jon Simons | 2013-12-11 | 1 | -1/+1 |
| | | | | | | | | | | Ensure to use 'ssh_channel_do_free' in 'ssh_disconnect', when removing and free'ing up a session's channels. This matches the behavior in 'ssh_free', and is necessary to fully free any channel which may not have been closed completely (see usage of flags SSH_CHANNEL_FLAG_CLOSED_REMOTE, SSH_CHANNEL_FLAG_FREED_LOCAL). Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | client: If we have a pre-connected FD, set state to SOCKET_CONNECTED | Colin Walters | 2013-11-09 | 1 | -0/+1 |
| | | | | | | | Otherwise applications providing their own fd end up tripping an assertion, since the session is just in _CONNECTING. Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | logging: fix wording | Aris Adamantiadis | 2013-11-04 | 1 | -2/+2 |
| | |||||
* | client: Fix the build. | Andreas Schneider | 2013-10-18 | 1 | -1/+0 |
| | |||||
* | client: Added a missing NULL pointer check. | Oliver Stöneberg | 2013-10-18 | 1 | -8/+13 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | kex: implement curve25519-sha256@libssh.org | Aris Adamantiadis | 2013-09-27 | 1 | -0/+5 |
| | |||||
* | client: Add example code for ssh_get_openssh_version(). | Andreas Schneider | 2013-09-16 | 1 | -0/+8 |
| | | | | BUG: https://red.libssh.org/issues/120 | ||||
* | src: Remove enter_function() and leave_function(). | Andreas Schneider | 2013-07-14 | 1 | -45/+27 |
| | |||||
* | src: Migrate to SSH_LOG. | Andreas Schneider | 2013-07-14 | 1 | -9/+9 |
| | |||||
* | src: Add fall trough comments. | Andreas Schneider | 2013-06-18 | 1 | -0/+1 |
| | |||||
* | client: Fix possible NULL pointer dereference. | Andreas Schneider | 2013-06-13 | 1 | -2/+2 |
| | |||||
* | Implement key re-exchange | Aris Adamantiadis | 2012-12-23 | 1 | -1/+4 |
| | |||||
* | client: If session is NULL we can't set an error. | Andreas Schneider | 2012-10-09 | 1 | -1/+0 |
| | | | | Found by Coverity. | ||||
* | client: Check return value of ssh_handle_packets_termination. | Andreas Schneider | 2012-10-09 | 1 | -6/+9 |
| | | | | Found by Coverity. | ||||
* | dh: Add support for diffie-hellman-group14-sha1. | Dmitriy Kuznetsov | 2012-09-04 | 1 | -0/+1 |
| | |||||
* | build: Fix missing struct in_addr warning. | Andreas Schneider | 2012-07-17 | 1 | -0/+1 |
| | |||||
* | session: Use a struct for all options. | Andreas Schneider | 2012-02-05 | 1 | -17/+20 |
| | |||||
* | packet: Move packet callbacks to packet_cb.c. | Andreas Schneider | 2011-09-18 | 1 | -154/+0 |
| | |||||
* | priv: Move kex functions to kex header. | Andreas Schneider | 2011-09-18 | 1 | -0/+1 |
| | |||||
* | priv: Move options and config prototypes to own header. | Andreas Schneider | 2011-09-18 | 1 | -0/+1 |
| | |||||
* | client: Remove unused variable. | Andreas Schneider | 2011-09-18 | 1 | -1/+0 |
| | |||||
* | kex: moved KEX structures to ssh_crypto_struct | Aris Adamantiadis | 2011-09-18 | 1 | -12/+1 |
| | |||||
* | kex: split key selection and sending | Aris Adamantiadis | 2011-09-18 | 1 | -3/+4 |
| | |||||
* | session: Use defines for ssh_handle_packets(). | Andreas Schneider | 2011-09-17 | 1 | -2/+6 |
| | |||||
* | Update libssh to ssh_handle_packets_termination | Aris Adamantiadis | 2011-09-02 | 1 | -40/+53 |
| | | | | | | | | | | | cherry-picked from 0cb5248 Should resolve all timeout problems Conflicts: src/auth.c src/channels.c | ||||
* | channels: replaced bugged lists with ssh_list | Aris Adamantiadis | 2011-09-02 | 1 | -2/+5 |
| | | | | | | | cherry-picked from 0aef5f Conflicts: src/session.c | ||||
* | pki: We need only one signature verify blob function. | Andreas Schneider | 2011-08-23 | 1 | -5/+34 |
| | | | | This fixes the build without server. | ||||
* | client: Migrate to new signature pki. | Andreas Schneider | 2011-08-22 | 1 | -6/+10 |
| | |||||
* | client: Fix another source of endless wait. | rofl0r | 2011-08-06 | 1 | -12/+14 |
| | |||||
* | Fixes the ssh_log issue on ssh_bind handles. | Aris Adamantiadis | 2011-07-19 | 1 | -2/+2 |
| | |||||
* | [crypto] initial support for ecdh-sha2-nistp256 | Aris Adamantiadis | 2011-06-13 | 1 | -49/+34 |
| | | | | | Works with openssl Still requires work for libgcrypt and other modes | ||||
* | Moved DH specific code to dh.h | Aris Adamantiadis | 2011-06-12 | 1 | -44/+3 |
| | |||||
* | Introduced ssh_timeout_elapsed functions | Aris Adamantiadis | 2011-05-24 | 1 | -6/+10 |
| | | | | | | | 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. | ||||
* | connect: Set timeout on connect | Oliver Stöneberg | 2011-05-17 | 1 | -4/+6 |
| | | | | | This also fixes error handling in ssh_poll_ctx_dopoll() and ssh_handle_packets(), so it won't loop forever on an actual timeout. | ||||
* | SSH1: Update a few fix from 0.4.8-git | Aris Adamantiadis | 2011-01-26 | 1 | -2/+4 |
| | |||||
* | Fix double-connect testcase | Aris Adamantiadis | 2011-01-15 | 1 | -1/+52 |
| | |||||
* | Use termination functions for event polling | Aris Adamantiadis | 2011-01-12 | 1 | -14/+23 |
| | |||||
* | Non-blocking mode for ssh_connect | Aris Adamantiadis | 2011-01-10 | 1 | -2/+23 |
| | | | | This looks ugly. I'll see if we need to revert or change that patch later. | ||||
* | Fix connection callbacks called at wrong time | Aris Adamantiadis | 2011-01-10 | 1 | -0/+11 |
| | |||||
* | Fix "SSH_KEXINIT received in wrong state" race | Aris Adamantiadis | 2011-01-04 | 1 | -1/+1 |
| | | | | Setting the flag before doing any IO | ||||
* | misc: Differentiate between client and server in ssh_analyze_banner. | Andreas Schneider | 2010-09-29 | 1 | -1/+1 |
| | |||||
* | misc: Move ssh_analyze_banner to a common location. | Andreas Schneider | 2010-09-29 | 1 | -63/+2 |
| | | | | Don't duplicate functions! |