summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* gssapi: more debug infoAris Adamantiadis2013-07-131-4/+6
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* server: callback for channel_request_subsystemAris Adamantiadis2013-07-131-0/+11
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* server: added 2 missing channel callbacksAris Adamantiadis2013-07-131-0/+22
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* events: don't poll handles busy handling callbacksAris Adamantiadis2013-07-131-3/+8
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* agent: the valid request is auth-agent@openssh.comAris Adamantiadis2013-07-131-1/+1
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* client: call client callback even in non-server modeAris Adamantiadis2013-07-131-13/+16
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* client: handle x11 channel open requests with callbacksAris Adamantiadis2013-07-131-0/+13
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* server: Implement X11 requests and window-changeAris Adamantiadis2013-07-131-0/+18
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* Doc: fix a few broken parametersAris Adamantiadis2013-07-131-2/+2
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* server: implement server-side of agent forwardingAris Adamantiadis2013-07-131-0/+34
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* channels: implement callback for agent forwarding requestAris Adamantiadis2013-07-131-0/+10
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* callbacks: make the channel accept callback more logicalAris Adamantiadis2013-07-131-6/+2
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* ssh-agent: implement the clientside for agent forwarding auth.Aris Adamantiadis2013-07-131-30/+75
| | | | | | | This can only be used to authenticate the client, not to allow the connected server to transfer agent requests Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: implement ticket delegationAris Adamantiadis2013-07-131-14/+38
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* gssapi: retrieve forwarded (delegated) ticketsAris Adamantiadis2013-07-131-1/+14
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* auth: store client's credentialsAris Adamantiadis2013-07-131-6/+7
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* auth: implement client-side gssapiAris Adamantiadis2013-07-133-4/+463
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* options: Fix null ptr deference introduced in earlier fix.Aris Adamantiadis2013-07-131-0/+7
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* auth: implement gssapi-with-mic server sideAris Adamantiadis2013-07-131-0/+366
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* server: move message-specific call to ssh_*Aris Adamantiadis2013-07-131-17/+40
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* auth: adapt libssh to gssapi-with-mic serverAris Adamantiadis2013-07-132-3/+63
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* build: build with gssapi if detectedAris Adamantiadis2013-07-131-0/+7
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* GSSAPI: added stubAris Adamantiadis2013-07-132-0/+26
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* Implement callbacks for servers in the message queueAris Adamantiadis2013-07-131-7/+115
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* bind: ssh_pki functions also return SSH_EOF error codeAris Adamantiadis2013-07-131-3/+3
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* session: Introduce SSH_TIMEOUT_DEFAULTAris Adamantiadis2013-07-132-6/+12
| | | | | | | | | 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 callbacksAris Adamantiadis2013-07-131-14/+27
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* Defined SSH server callbacks interfaceAris Adamantiadis2013-07-131-0/+16
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* BUG 103: Disable proxy command if set to 'none'.Andreas Schneider2013-07-111-4/+8
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* messages: Fix a possible memory leak.Andreas Schneider2013-06-191-0/+1
|
* agent: Fix a possible memory leak.Andreas Schneider2013-06-191-5/+16
|
* agent: Fix possible memory leak.Andreas Schneider2013-06-191-2/+7
|
* kex1: Fix a possible null pointer dereference.Andreas Schneider2013-06-191-0/+3
|
* ecdh: Add missing return in ssh_client_ecdh_init().Andreas Schneider2013-06-191-0/+1
|
* ecdh: Avoid memory leaks in ssh_server_ecdh_init().Andreas Schneider2013-06-191-36/+69
|
* src: Add fall trough comments.Andreas Schneider2013-06-183-0/+3
|
* pki: Fix switch statement of pki_key_generate_ecdsa().Andreas Schneider2013-06-181-0/+2
|
* connect: Use the correct close function.Andreas Schneider2013-06-181-1/+1
|
* connect: Correctly fail in ssh_connect_host_nonblocking().Andreas Schneider2013-06-181-0/+2
|
* ecdh: Make sure we don't leak memory in ssh_client_ecdh_init().Andreas Schneider2013-06-181-12/+27
| | | | This also adds more checks for return values.
* auth: Cleanup the agent return code.Andreas Schneider2013-06-181-4/+2
|
* auth: If the agent fails, fall back to regular pathNicolas Viennot2013-06-181-1/+1
| | | | | It's causing issues on MacOSX when ssh_agent_get_ident_count() reports "Agent count: 0".
* kex1: Fix null check of hostkey.Andreas Schneider2013-06-171-1/+1
|
* socket: Check if socket (non)blocking is working.Andreas Schneider2013-06-172-12/+34
|
* socket: Check return value of getsockopt().Andreas Schneider2013-06-171-1/+4
|
* packet: Fix a possible segfault.Andreas Schneider2013-06-171-7/+6
|
* messages: Fix a possible segfault.Andreas Schneider2013-06-171-1/+3
|
* ecdh: Check return values of buffer_add_* functions.Andreas Schneider2013-06-171-4/+23
|
* dh: Check return value of buffer_add_ssh_string().Andreas Schneider2013-06-171-2/+8
|
* connect: Check return value of getsockopt().Andreas Schneider2013-06-171-3/+4
|