Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't allocate a new identity list in the new session's options. | Seb Boving | 2015-06-24 | 1 | -6/+0 |
| | | | | | | | | | The previous list is not freed. Since the new session just got created, an identity list is already allocated and empty. Signed-off-by: Sebastien Boving <seb@google.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit e020dd8d5917c3c957b73211cecc618d9f0207cb) | ||||
* | server: Add support for ed25519 keys in the server. | Aris Adamantiadis | 2015-02-02 | 1 | -0/+4 |
| | | | | | Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | options: Fix setting the port. | Andreas Schneider | 2014-12-25 | 1 | -3/+6 |
| | | | | | | Make sure we correctly read the port from the config file. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | Set the correct error in ssh_options_set(). | Hani Benhabiles | 2014-12-05 | 1 | -2/+2 |
| | | | | | Signed-off-by: Hani Benhabiles <hani@linux.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | Add options support for setting and getting HMAC algorithms | Dirkjan Bussink | 2014-04-22 | 1 | -0/+20 |
| | | | | | | BUG: https://red.libssh.org/issues/91 Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | doc: Document new meaning of SSH_BIND_OPTIONS_HOSTKEY | Alan Dunn | 2014-04-09 | 1 | -2/+6 |
| | | | | | Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | options: Repurpose SSH_BIND_OPTIONS_HOSTKEY to load host keys | Alan Dunn | 2014-04-09 | 1 | -21/+51 |
| | | | | | | | | | | | | | | | | | | | SSH_BIND_OPTIONS_HOSTKEY will now load host keys of any supported type rather than set the algorithms that the server permits (which seems like an unhelpful option anyway; it seems you can always control this by just loading the right keys). This option has slightly different semantics than the SSH_BIND_OPTIONS_<x>KEY options because it requires the key file to exist immediately rather than on ssh_bind_listen or ssh_bind_accept_fd. The semantics of this option makes more sense to me. We also eliminate ssh_bind_options_set_algo, since it is no longer used. Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | style: be consistent when iterating over wanted_methods | Luka Perkov | 2014-03-27 | 1 | -1/+1 |
| | | | | | Signed-off-by: Luka Perkov <luka.perkov@sartura.hr> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | doc: Improve and consolidate ssh_bind_options_set docs | Alan Dunn | 2014-03-27 | 1 | -48/+53 |
| | | | | | Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | doc: Add ECDSA keys to docs, make key docs consistent | Alan Dunn | 2014-03-27 | 1 | -1/+4 |
| | | | | | Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | options: Allow use of host ECDSA key | Alan Dunn | 2014-03-27 | 1 | -23/+31 |
| | | | | | Signed-off-by: Alan Dunn <amdunn@gmail.com> 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 | -1/+1 |
| | |||||
* | logging: fix server-side logging | Aris Adamantiadis | 2013-11-18 | 1 | -2/+3 |
| | |||||
* | options: Add SSH_OPTIONS_GSSAPI_DELEGATE_CREDENTIALS option. | Simo Sorce | 2013-11-15 | 1 | -0/+15 |
| | | | | | Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | options: Add SSH_OPTIONS_GSSAPI_CLIENT_IDENTITY option. | Andreas Schneider | 2013-11-15 | 1 | -0/+18 |
| | |||||
* | gssapi: Add suppport to set GSSAPI server identity. | Andreas Schneider | 2013-11-15 | 1 | -0/+18 |
| | |||||
* | doc: Fix doxygen warnings. | Andreas Schneider | 2013-11-04 | 1 | -1/+1 |
| | |||||
* | ssh_options_get can now return ProxyCommand | William Orr | 2013-11-02 | 1 | -0/+9 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | options: Fix compiler warning on Windows. | Andreas Schneider | 2013-07-22 | 1 | -1/+2 |
| | |||||
* | options: Set log level through options too. | Andreas Schneider | 2013-07-21 | 1 | -0/+1 |
| | |||||
* | options: Use the new function to use the log level. | Andreas Schneider | 2013-07-14 | 1 | -2/+2 |
| | |||||
* | options: Fix null ptr deference introduced in earlier fix. | Aris Adamantiadis | 2013-07-13 | 1 | -0/+7 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | BUG 103: Disable proxy command if set to 'none'. | Andreas Schneider | 2013-07-11 | 1 | -4/+8 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | opts: Fix segfault in option parser. | Andreas Schneider | 2013-06-02 | 1 | -3/+11 |
| | |||||
* | options: Fix a free crash bug if we parse unknown options. | Andreas Schneider | 2013-01-22 | 1 | -6/+8 |
| | | | | Thanks to Yong Chuan Koh, X-Force Research <kohyc@sg.ibm.com> | ||||
* | options: Fix documentation of ssh_options_get_port(). | Andreas Schneider | 2012-10-14 | 1 | -1/+1 |
| | |||||
* | kex: Use getter functions to access kex arrays. | Andreas Schneider | 2012-10-12 | 1 | -2/+2 |
| | | | | This should fix the build on OpenIndiana. | ||||
* | options: Check return code of ssh_iterator_value. | Andreas Schneider | 2012-10-12 | 1 | -1/+5 |
| | | | | Found by Coverity. | ||||
* | options: Fix a memory in ssh_options_copy() on error. | Andreas Schneider | 2012-10-05 | 1 | -0/+1 |
| | |||||
* | options: Fix a memory leak if we can't add an idenity. | Andreas Schneider | 2012-10-05 | 1 | -0/+1 |
| | |||||
* | dh: Add support for diffie-hellman-group14-sha1. | Dmitriy Kuznetsov | 2012-09-04 | 1 | -1/+1 |
| | |||||
* | options: Add option to specify host keys string. | Oliver Gasser | 2012-07-06 | 1 | -0/+15 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | session: Use a struct for all options. | Andreas Schneider | 2012-02-05 | 1 | -91/+91 |
| | |||||
* | Fix logic erorr with brace-less conditional statement | Lee Hambley | 2012-01-03 | 1 | -1/+2 |
| | |||||
* | options: Fix typo in ssh_options_get() docs. | Andreas Schneider | 2011-12-14 | 1 | -1/+1 |
| | |||||
* | options: Add missing argument check. | Andreas Schneider | 2011-11-03 | 1 | -0/+7 |
| | |||||
* | Improve ssh_options_get(ssh_session, enum ssh_options_e, char**). | Lee Hambley | 2011-11-03 | 1 | -31/+16 |
| | | | | | | | * Use SSH_ERROR and SSH_OK instead of `-1` and `0`. * Re-factor for code duplication * No longer call `ssh_set_error_invalid(ssh_session)` when the ssh_session is NULL. | ||||
* | Implement ssh_options_get_port(ssh_session, unsigned int*). | Lee Hambley | 2011-10-28 | 1 | -0/+26 |
| | |||||
* | Implement ssh_options_get(ssh_session, enum ssh_options_e, char**). | Lee Hambley | 2011-10-28 | 1 | -0/+86 |
| | |||||
* | priv: Move options and config prototypes to own header. | Andreas Schneider | 2011-09-18 | 1 | -0/+1 |
| | |||||
* | error: Use macros for error functions. | Andreas Schneider | 2011-09-17 | 1 | -40/+40 |
| | |||||
* | options: Fix NULL value handling. | Andreas Schneider | 2011-09-06 | 1 | -34/+64 |
| | |||||
* | options: Fix the ssh_options_set() function. | Andreas Schneider | 2011-09-05 | 1 | -321/+368 |
| | | | | | This is a refactor so that we check if the values are sane the user wants to set. If not return an error. | ||||
* | misc: Remove session from ssh_get_local_username(). | Andreas Schneider | 2011-08-16 | 1 | -1/+1 |
| | |||||
* | options: Allocate dest in ssh_options_copy(). | Andreas Schneider | 2011-08-11 | 1 | -70/+85 |
| | |||||
* | Fixes the ssh_log issue on ssh_bind handles. | Aris Adamantiadis | 2011-07-19 | 1 | -8/+8 |
| | |||||
* | Test for ecdh and dh-group1 | Aris Adamantiadis | 2011-06-12 | 1 | -0/+14 |
| | |||||
* | options: Remove unsused getopt option. | Andreas Schneider | 2011-01-06 | 1 | -5/+1 |
| | | | | Found by clang-analyzer http://test.libssh.org/clang-analyzer/ | ||||
* | Added compression options and allow "yes/no" setting | Aris Adamantiadis | 2010-12-27 | 1 | -15/+64 |
| | | | | 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. |