aboutsummaryrefslogtreecommitdiff
path: root/libssh/session.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-06misc: Rename libssh/ to src/Andreas Schneider1-520/+0
2010-08-28Added missing /** in doxygen @}'sAris Adamantiadis1-1/+1
2010-08-13server: Fix missing socket close notification.milo1-1/+16
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-08-09session: Set needed poll events for handling packets.milo1-0/+1
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-05-28session: Fixed setting up default identity files.Andreas Schneider1-3/+3
2010-05-14Sanitize libssh namespace + legacy wrappersAris Adamantiadis1-7/+7
2010-05-09ssh_socket support for 2 fd + Proxyhost commandAris Adamantiadis1-5/+9
2010-04-20session: Fixed a memory leak.Andreas Schneider1-0/+3
Thanks to Xi Wang for the patch.
2010-04-07Added support for StrictHostKeyChecking and UserKnownHostsFile parameters.Ruben Garcia Azuara1-0/+1
Added OpenSSH parameters to libssh: - StrictHostKeyChecking - UserKnownHostsFile This parameters are useful to avoid checking the fingerprint. Eg: ~/.ssh/config: Host 192.10.20.30 StrictHostKeyChecking no UserKnownHostsFile /dev/null Signed-off-by: Ruben Garcia Azuara <rubenga@tid.es> Signed-off-by: Andreas Schneider <mail@cynapses.org>
2010-03-04Fixed and added support for several identity files.Andreas Schneider1-1/+46
2010-03-01renamed ssh_list_get_head to ssh_list_pop_headAris Adamantiadis1-1/+1
2010-02-05Improve the session documentation.Andreas Schneider1-40/+82
2010-01-08Fixed blocking bug in channel_pollAris Adamantiadis1-2/+6
2009-12-28Fix use-without-initializationAris Adamantiadis1-13/+15
2009-12-11Added a global poll contextAris Adamantiadis1-26/+21
2009-12-01Fixed uint* to work on Windows.Andreas Schneider1-1/+1
Thanks to Patrick Spendrin.
2009-11-29Standardize callbacks style and add documentationAris Adamantiadis1-2/+2
2009-11-27Squashed commit of the following:Aris Adamantiadis1-0/+41
commit 43fad8dfd977637c31fade76ace2905f6528c3bc Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Fri Nov 27 18:39:06 2009 +0100 adaptation to the new ssh_poll_handle object name commit 1e5e6ac4605adf10d437d04f0fd4b7e66024853c Merge: 3fd92a0... 810adad... Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Fri Nov 27 18:33:06 2009 +0100 Merge branch 'master' into badcode/libssh_async commit 3fd92a08eb74b1447a9ff4ca4e1d137475c62cc6 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Mon Nov 2 14:25:46 2009 +0100 Compiles again commit 8910d7b9692418c9ccea0234f6d49674d238dc16 Merge: e83f1b5... cce34a6... Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Mon Nov 2 12:47:34 2009 +0100 Merge branch 'master' into libssh_async Very big merge ! Conflicts: include/libssh/callbacks.h include/libssh/priv.h libssh/channels.c libssh/messages.c libssh/packet.c libssh/server.c libssh/session.c libssh/socket.c commit e83f1b593219e183082b015315f09bfe95a29cfc Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Mon Nov 2 12:07:01 2009 +0100 rename callback.h commit dffa7b730e8f39e2198de18ab69a8e57bef95e58 Merge: 5a8b748... de8808c... Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Tue Sep 15 10:50:07 2009 +0200 Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh into libssh_async commit 5a8b7484f36599d28f2c0c14a23b76bfc7257638 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Sun Sep 13 12:55:18 2009 +0200 More updates to callback system commit 18620c20d5e4e62107093f7fd330e553493253fa Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Sat Sep 12 22:26:52 2009 +0200 Same thing with channel_rcv_data commit fc4a56f6726e409a5866272923f1cbebfc821af3 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Sat Sep 12 22:17:45 2009 +0200 added a few packet handlers for channels commit 4b6bb4fd00b10cf1321a764126f277ab204bffe3 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Fri Sep 11 23:15:25 2009 +0300 sample packet handlers + bugfixes commit 2784d09d6dec0a8f868912d14f90d860233b3f82 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Fri Sep 11 20:30:50 2009 +0300 Packet callbacks nearly finished Need tests and implementation of some packet callbacks commit cd3ea43f20c9ae2f54576ca98a0ea75c5d4299d3 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Thu Sep 10 12:46:02 2009 +0300 First step of async packet handling The socket to packet handler is nearly done (needs testing) I still need to define the interface for callbacks. commit 487f4d2a900a5fe3b90ceda4460ab7d38d7ad722 Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Tue Sep 8 23:24:09 2009 +0300 Almost complete socket callback system Finished the callback function so it bufferizes data when callee does not use it. Flushes the buffer automaticaly after a ssh_socket_nonblocking_flush commit 23571f22fac9e40c855dfa99569bba181a39648b Author: Aris Adamantiadis <aris@0xbadc0de.be> Date: Tue Sep 8 22:22:32 2009 +0300 First draft of a callback system
2009-11-16Pcap: more cleanup and minimalist APIAris Adamantiadis1-0/+6
2009-11-09Added explanation in ssh_silent_disconnect doxygenAris Adamantiadis1-1/+2
2009-10-09ssh_disconnect doesn't free the session anymoreAris Adamantiadis1-3/+8
2009-10-09get rid of the option structureAris Adamantiadis1-14/+0
2009-10-02Get rid of the options structure.Andreas Schneider1-12/+30
2009-09-26More include file splittingAris Adamantiadis1-1/+1
2009-09-26More include file movingsAris Adamantiadis1-0/+3
2009-09-23Moved lots of declaration out of priv.hAris Adamantiadis1-0/+5
2009-09-23Get rid of SSH_MESSAGEAris Adamantiadis1-2/+2
2009-09-23get rid of SSH_OPTIONSAris Adamantiadis1-1/+1
2009-09-23get rid of SSH_SESSIONAris Adamantiadis1-19/+17
2009-08-23experimental callback systemAris Adamantiadis1-0/+1
2009-08-11Fix memory leak introduced by previous bugfixAris Adamantiadis1-2/+3
2009-08-06Fix possible memory corruption (#14)milo1-2/+2
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-06-18added ssh_message_callback support.Aris Adamantiadis1-1/+8
Not fully working yet. User can set his ssh_message_callback, and the function ssh_execute_message_callbacks will call them when appropriate. Messages are correctly stacked (in packet_parse) but no call to ssh_execute_callbacks exists yet.
2009-05-12Fix the vim modeline and place it at the end of the file.Andreas Schneider1-3/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@763 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-20Rename privatekey_free() to be consistent with publickey_free().Andreas Schneider1-2/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@563 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-14Improve ssh_get_version().Andreas Schneider1-5/+12
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@477 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-14Improve ssh_get_disconnect_message().Andreas Schneider1-12/+18
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@476 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-14Improve ssh_get_status().Andreas Schneider1-14/+29
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@475 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-14Cleanup ssh_handle_packets().Andreas Schneider1-20/+27
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@474 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-14Add error checks to setter.Andreas Schneider1-19/+46
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@473 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-14Use consistent return values for packet_translate().Andreas Schneider1-1/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@456 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-09Improve ssh_message_free().Andreas Schneider1-1/+0
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@440 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-08Fix SSHv1 compile errors.Andreas Schneider1-1/+1
Thanks to Norbert Kiesel <nkiesel@tbdnetworks.com> for the patch. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@424 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-03Improve ssh_cleanup().Andreas Schneider1-26/+28
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@385 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-03Improve ssh_socket_free().Andreas Schneider1-21/+17
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@381 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-01Use memset cause something is wrong with the macro.Andreas Schneider1-1/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@335 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-01Fix ssh connection.Andreas Schneider1-1/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@334 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-01Improve ssh_new().Andreas Schneider1-17/+34
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@331 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-01Add memory error checks for crypto wrapper functions.Andreas Schneider1-0/+3
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@330 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-01More memory error checks for ssh_socket_new().Andreas Schneider1-1/+4
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@329 7dcaeef0-15fb-0310-b436-a5af3365683c