Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added server example with callbacks impl | Aris Adamantiadis | 2013-07-13 | 2 | -0/+294 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | Make examples more BSD friendly | Aris Adamantiadis | 2013-07-13 | 1 | -11/+15 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | Try to find ARGP on solaris, BSD | Aris Adamantiadis | 2013-07-13 | 1 | -0/+4 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | Implement callbacks for servers in the message queue | Aris Adamantiadis | 2013-07-13 | 1 | -7/+115 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | bind: ssh_pki functions also return SSH_EOF error code | Aris Adamantiadis | 2013-07-13 | 1 | -3/+3 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | session: Introduce SSH_TIMEOUT_DEFAULT | Aris Adamantiadis | 2013-07-13 | 3 | -6/+17 |
| | | | | | | | | | 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> | ||||
* | server: added channel callbacks | Aris Adamantiadis | 2013-07-13 | 3 | -14/+64 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | Defined SSH server callbacks interface | Aris Adamantiadis | 2013-07-13 | 3 | -1/+124 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | tests: Use fstat() after the open(). | Andreas Schneider | 2013-07-13 | 1 | -8/+8 |
| | |||||
* | cmake: Pass _FORTIFY_SOURCE directly to the preprocessor. | Andreas Schneider | 2013-07-13 | 1 | -2/+2 |
| | |||||
* | BUG 103: Disable proxy command if set to 'none'. | Andreas Schneider | 2013-07-11 | 2 | -4/+26 |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | examples: Check return value of fileno(). | Andreas Schneider | 2013-06-19 | 1 | -1/+5 |
| | |||||
* | messages: Fix a possible memory leak. | Andreas Schneider | 2013-06-19 | 1 | -0/+1 |
| | |||||
* | agent: Fix a possible memory leak. | Andreas Schneider | 2013-06-19 | 1 | -5/+16 |
| | |||||
* | agent: Fix possible memory leak. | Andreas Schneider | 2013-06-19 | 1 | -2/+7 |
| | |||||
* | examples: Fix a possible memory leak. | Andreas Schneider | 2013-06-19 | 1 | -0/+3 |
| | |||||
* | examples: Fix a possible memory leak. | Andreas Schneider | 2013-06-19 | 1 | -1/+9 |
| | |||||
* | kex1: Fix a possible null pointer dereference. | Andreas Schneider | 2013-06-19 | 1 | -0/+3 |
| | |||||
* | ecdh: Add missing return in ssh_client_ecdh_init(). | Andreas Schneider | 2013-06-19 | 1 | -0/+1 |
| | |||||
* | ecdh: Avoid memory leaks in ssh_server_ecdh_init(). | Andreas Schneider | 2013-06-19 | 1 | -36/+69 |
| | |||||
* | src: Add fall trough comments. | Andreas Schneider | 2013-06-18 | 3 | -0/+3 |
| | |||||
* | pki: Fix switch statement of pki_key_generate_ecdsa(). | Andreas Schneider | 2013-06-18 | 1 | -0/+2 |
| | |||||
* | tests: Check return value of stat. | Andreas Schneider | 2013-06-18 | 1 | -1/+3 |
| | |||||
* | tests: Check return values of buffer functions. | Andreas Schneider | 2013-06-18 | 1 | -3/+7 |
| | |||||
* | connect: Use the correct close function. | Andreas Schneider | 2013-06-18 | 1 | -1/+1 |
| | |||||
* | connect: Correctly fail in ssh_connect_host_nonblocking(). | Andreas Schneider | 2013-06-18 | 1 | -0/+2 |
| | |||||
* | ecdh: Make sure we don't leak memory in ssh_client_ecdh_init(). | Andreas Schneider | 2013-06-18 | 1 | -12/+27 |
| | | | | This also adds more checks for return values. | ||||
* | auth: Cleanup the agent return code. | Andreas Schneider | 2013-06-18 | 1 | -4/+2 |
| | |||||
* | auth: If the agent fails, fall back to regular path | Nicolas Viennot | 2013-06-18 | 1 | -1/+1 |
| | | | | | It's causing issues on MacOSX when ssh_agent_get_ident_count() reports "Agent count: 0". | ||||
* | sample: Fix a possible buffer overrun. | Andreas Schneider | 2013-06-17 | 1 | -2/+5 |
| | |||||
* | kex1: Fix null check of hostkey. | Andreas Schneider | 2013-06-17 | 1 | -1/+1 |
| | |||||
* | socket: Check if socket (non)blocking is working. | Andreas Schneider | 2013-06-17 | 3 | -14/+36 |
| | |||||
* | socket: Check return value of getsockopt(). | Andreas Schneider | 2013-06-17 | 1 | -1/+4 |
| | |||||
* | packet: Fix a possible segfault. | Andreas Schneider | 2013-06-17 | 1 | -7/+6 |
| | |||||
* | messages: Fix a possible segfault. | Andreas Schneider | 2013-06-17 | 1 | -1/+3 |
| | |||||
* | ecdh: Check return values of buffer_add_* functions. | Andreas Schneider | 2013-06-17 | 1 | -4/+23 |
| | |||||
* | dh: Check return value of buffer_add_ssh_string(). | Andreas Schneider | 2013-06-17 | 1 | -2/+8 |
| | |||||
* | connect: Check return value of getsockopt(). | Andreas Schneider | 2013-06-17 | 1 | -3/+4 |
| | |||||
* | channels1: Check return value of buffer_add_u8(). | Andreas Schneider | 2013-06-17 | 1 | -1/+6 |
| | |||||
* | examples: Check return value of ssh_channel_read. | Andreas Schneider | 2013-06-17 | 1 | -2/+12 |
| | |||||
* | packet1: Don't free an invalid address. | Andreas Schneider | 2013-06-17 | 1 | -1/+0 |
| | |||||
* | pki: Limit privkey to 4M for now. | Andreas Schneider | 2013-06-17 | 2 | -0/+7 |
| | |||||
* | pki: Fix a resource leak on error. | Andreas Schneider | 2013-06-17 | 1 | -0/+3 |
| | |||||
* | tests: Use memory assert functions. | Andreas Schneider | 2013-06-17 | 1 | -7/+10 |
| | |||||
* | pki: Fix resource leak on error. | Andreas Schneider | 2013-06-13 | 1 | -0/+1 |
| | |||||
* | torture: Fix a resource leak on error. | Andreas Schneider | 2013-06-13 | 1 | -0/+1 |
| | |||||
* | tests: Don't leak memory. | Andreas Schneider | 2013-06-13 | 1 | -1/+2 |
| | |||||
* | client: Fix possible NULL pointer dereference. | Andreas Schneider | 2013-06-13 | 1 | -2/+2 |
| | |||||
* | known_hosts: Fix readablity. | Andreas Schneider | 2013-06-13 | 1 | -1/+1 |
| | |||||
* | pki: Use fstat() after opening the file. | Andreas Schneider | 2013-06-13 | 1 | -16/+16 |
| |