Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-01-07 | src: Update my mail address. | Andreas Schneider | 11 | -11/+11 | |
2014-01-07 | update copyright information | Aris Adamantiadis | 20 | -26/+26 | |
2014-01-07 | pki: fix gcrypt signature process | Aris Adamantiadis | 1 | -1/+1 | |
2014-01-06 | session: Fix a possible memory leak. | Andreas Schneider | 1 | -0/+1 | |
2014-01-06 | poll: fix poll_handles ownerships | Aris Adamantiadis | 1 | -5/+27 | |
2014-01-06 | socket: don't attempt reading a non-connected socket | Aris Adamantiadis | 1 | -1/+1 | |
2013-12-22 | poll: Correctly free ssh_event_fd_wrapper. | Andreas Schneider | 1 | -3/+9 | |
This is allocated by ssh_event_add_fd. | |||||
2013-12-21 | config: Support expansion in the Host variable too. | Andreas Schneider | 1 | -9/+18 | |
BUG: https://red.libssh.org/issues/127 | |||||
2013-12-11 | channel: fix setting of channel->flags | Jon Simons | 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> | |||||
2013-12-11 | client: use ssh_channel_do_free in ssh_disconnect | Jon Simons | 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> | |||||
2013-12-09 | bind: Correctly free all memory in ssh_bind_free(). | Andreas Schneider | 1 | -3/+7 | |
Thanks to Jacob Baines. | |||||
2013-12-07 | session: Add ssh_get_clientbanner(). | Jon Simons | 1 | -0/+15 | |
2013-12-04 | channels: Add a ssh_channel_read_timeout function. | Andreas Schneider | 1 | -3/+43 | |
2013-11-28 | pki: Fix a memory leak. | Andreas Schneider | 1 | -0/+1 | |
CID #1132819 | |||||
2013-11-27 | pki: Add ssh_pki_import_privkey_file(). | Andreas Schneider | 1 | -0/+58 | |
2013-11-27 | pki_crypto: Add pki_private_key_to_pem(). | Andreas Schneider | 1 | -0/+118 | |
2013-11-27 | pki_gcrypt: Add pki_private_key_to_pem() stub. | Andreas Schneider | 1 | -0/+13 | |
2013-11-27 | curve25519: Fix memory leaks in ssh_server_curve25519_init(). | Andreas Schneider | 1 | -20/+23 | |
CID #1125255 | |||||
2013-11-27 | curve25519: Do not leak q_s_string. | Andreas Schneider | 1 | -0/+1 | |
CID #1125256 | |||||
2013-11-27 | curve25519: Fix a memory leak. | Andreas Schneider | 1 | -1/+1 | |
CID #1125257 | |||||
2013-11-27 | packet: Remove logically dead code. | Andreas Schneider | 1 | -3/+1 | |
CID #1128796 | |||||
2013-11-27 | ecdh: Use bignum_bin2bn. | Andreas Schneider | 2 | -4/+19 | |
2013-11-24 | server: Add a ssh_send_keepalive() function. | Nicolas Viennot | 1 | -0/+41 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-11-22 | channel: fix infinite loop in channel_write_common | Jon Simons | 1 | -1/+3 | |
BUG: https://red.libssh.org/issues/130 Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-11-18 | flush channel after EOF and CLOSE | Rod Vagg | 1 | -0/+8 | |
2013-11-18 | logging: fix server-side logging | Aris Adamantiadis | 1 | -2/+3 | |
2013-11-18 | gssapi: fix logging | Aris Adamantiadis | 1 | -14/+14 | |
2013-11-18 | sockets: null pointer check | Aris Adamantiadis | 1 | -5/+7 | |
2013-11-17 | gssapi: Fix support of delegated credentials | Simo Sorce | 1 | -23/+37 | |
In a previous refactoring patch, the code underpinning the ssh_gssapi_set_creds() API was inadvertently removed. This patch fixes the problem. Also clarify what variable holds which credentials and insure that credentials created within the library are propelry freed. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-11-17 | gssapi: Add support for GSSAPIDelegateCredentials config option. | Simo Sorce | 2 | -1/+12 | |
Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-11-17 | options: Add SSH_OPTIONS_GSSAPI_DELEGATE_CREDENTIALS option. | Simo Sorce | 1 | -0/+15 | |
Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-11-15 | gssapi: Add error checks and cleanup the code in ssh_gssapi_auth_mic(). | Andreas Schneider | 1 | -2/+13 | |
2013-11-15 | gssapi: Use GSSAPIClientIdentity to acquire creds | Simo Sorce | 1 | -3/+23 | |
Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-11-15 | gssapi: Add support for GSSAPIClientIdentity config option. | Andreas Schneider | 1 | -1/+9 | |
2013-11-15 | options: Add SSH_OPTIONS_GSSAPI_CLIENT_IDENTITY option. | Andreas Schneider | 2 | -0/+19 | |
2013-11-15 | gssapi: Add support for GSSAPIServerIdentity config option. | Andreas Schneider | 1 | -1/+9 | |
2013-11-15 | gssapi: Add suppport to set GSSAPI server identity. | Andreas Schneider | 3 | -1/+25 | |
2013-11-15 | Fix gssapi credential handling. | Simo Sorce | 1 | -105/+65 | |
- Properly acquire and inquitre credentials to get the list of available credentials. - Avoid enforcing a specific username it breaks some use cases (k5login). - Remove confusing references to delegated credentials as there is no code that actually uses delegated credentials in the initialization case. Signed-off-by: Siom Sorce <simo@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-11-15 | socket: Fix connect if we pass in a fd. | Andreas Schneider | 1 | -9/+13 | |
BUG: https://red.libssh.org/issues/106 Thanks to Saju Panikulam. | |||||
2013-11-14 | packet: Remove dead code. | Andreas Schneider | 1 | -6/+0 | |
2013-11-14 | packet: Set the packet to the processed data position. | Andreas Schneider | 1 | -1/+1 | |
Else we could end up with packet - current_macsize if to_be_read is 0. | |||||
2013-11-14 | dh: Fix wrong assignment. | Andreas Schneider | 1 | -1/+1 | |
Ups, sorry. | |||||
2013-11-13 | poll: Fix realloc in ssh_poll_ctx_resize(). | Andreas Schneider | 1 | -2/+6 | |
2013-11-13 | dh: Avoid possible memory leaks with realloc. | Andreas Schneider | 1 | -4/+13 | |
2013-11-13 | packet: Refactor ssh_packet_socket_callback(). | Andreas Schneider | 1 | -156/+201 | |
Make error checking more readable and add additional NULL checks. | |||||
2013-11-13 | server: Fix malloc call. | Andreas Schneider | 1 | -1/+1 | |
2013-11-09 | session: Always request POLLIN | Colin Walters | 1 | -3/+1 | |
The assumption is that if libssh functions are being invoked, we want to read data. Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-11-09 | Add ssh_get_poll_flags() | Colin Walters | 2 | -0/+30 | |
For integration with an external mainloop, we need to know how to replicate libssh's internal poll() calls. We originally through ssh_get_status() was that API, but it's not really - those flags only get updated from the *result* of a poll(), where what we really need is to know how libssh would *start* a poll(). Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-11-09 | client: If we have a pre-connected FD, set state to SOCKET_CONNECTED | Colin Walters | 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> | |||||
2013-11-06 | dh: Move ssh_get_hexa() and ssh_print_hexa() down. | Andreas Schneider | 1 | -57/+57 | |
This way they are in the documentation block for the session and we get documentation for them. |