aboutsummaryrefslogtreecommitdiff
path: root/libssh/packet.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-06misc: Rename libssh/ to src/Andreas Schneider1-529/+0
2010-07-23Continue removing old flushing codeAris Adamantiadis1-15/+3
2010-07-23Removed obsolete socket functionsAris Adamantiadis1-3/+1
2010-07-18Receive and send SSH_MSG_UNIMPLEMENTEDAris Adamantiadis1-2/+34
2010-05-14Sanitize libssh namespace + legacy wrappersAris Adamantiadis1-13/+13
2010-04-28Fix warnings found with clang analyzerAris Adamantiadis1-2/+1
2010-04-20packet: Fixed linking if we build without server support.Andreas Schneider1-0/+4
Thanks to Xi Wang for the patch.
2010-03-04Rename ssh_list_add to ssh_list_append.Andreas Schneider1-1/+1
2010-01-24Few function name changesAris Adamantiadis1-4/+4
2010-01-24Made ssh_packet_read asynchronousAris Adamantiadis1-1/+3
Normally that's all that was needed into making SSH1 compliant with the new API. Beware, I have only implemented it, not actually tested it.
2010-01-24Beginning of async solution for SSH1Aris Adamantiadis1-0/+6
2010-01-23Move SSH-1 specific packet functions in packet1.cAris Adamantiadis1-324/+0
2010-01-10SSH-1 cleanup and compileAris Adamantiadis1-8/+6
Not tested, probably not working correctly yet
2010-01-08Cosmetics for packet numberingAris Adamantiadis1-44/+49
2010-01-08Oops, forgot the callback for server DHAris Adamantiadis1-1/+1
2010-01-08No more packet_read2() !Aris Adamantiadis1-197/+4
2010-01-08ssh_packet_userauth_request with new systemAris Adamantiadis1-1/+1
2010-01-07Converted message handlers to new systemAris Adamantiadis1-2/+2
2010-01-06Removed packet_wait for SSH2Aris Adamantiadis1-21/+1
2010-01-06Add support for async global requestsAris Adamantiadis1-2/+2
Normally the infamous packet_wait() synchronous call is gone in all SSH2 client code.
2010-01-03Some work for async channel requestsAris Adamantiadis1-2/+2
2009-12-27Made channel_open_session partially asynchronousAris Adamantiadis1-2/+2
2009-12-26Asynchronous authentication works !Aris Adamantiadis1-3/+4
2009-12-26New packet handler for SSH_USERAUTH_BANNERAris Adamantiadis1-1/+2
2009-12-26Fix tricky bug within packet decodingAris Adamantiadis1-0/+1
2009-12-26Asynchronous service requestAris Adamantiadis1-1/+1
2009-12-18Documentation callbacks.h + standardizationAris Adamantiadis1-1/+1
2009-12-13Made packet_wait issue warningsAris Adamantiadis1-73/+7
2009-12-13Key exchange currently done asynchronouslyAris Adamantiadis1-3/+11
Fixed an important bug in packet buffering (two packets received in the same recv would'nt be processed correctly)
2009-12-12packet SSH_KEXINIT received and parsedAris Adamantiadis1-3/+4
Resolved some bugs in the callback mechanism as well
2009-12-11Async connection + banner fetch is workingAris Adamantiadis1-1/+3
2009-12-06struct socket -> struct ssh_socket_struct +typedefAris Adamantiadis1-5/+5
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-28/+288
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: Fix bug with non-encrypted incoming packetsAris Adamantiadis1-0/+11
2009-11-16Improved pcap dumping supportAris Adamantiadis1-1/+16
2009-09-26more priv.h splittingAris Adamantiadis1-0/+1
2009-09-25Fixed including of config.h.Andreas Schneider1-1/+2
If there is some option to modify libc behaviour (like if there was some off_t usage to be modified by some flag to make that 64 bit) that needs to be done before the first libc header. one could still do -D there, though (unless cmake wants to do something automatically and puts that in config.h)
2009-09-23Moved lots of declaration out of priv.hAris Adamantiadis1-0/+5
2009-09-23get rid of SSH_SESSIONAris Adamantiadis1-13/+13
2009-09-16Limit the size of acceptable compressed packetsAris Adamantiadis1-1/+1
2009-08-29Fix "void * ptr used in pointer arithmetic" warngAris Adamantiadis1-3/+3
2009-08-29Change SSH_LOG_RARE to SSH_LOG_PACKET in packet.cAris Adamantiadis1-8/+8
2009-08-16Add forward listening featureVic Lee1-0/+1
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-07-30Fix build with MSVC.Andreas Schneider1-2/+1
2009-07-27Fix SSH1 compilation.Andreas Schneider1-10/+10
2009-07-27Fix SSH1 and stdint in SSH1 code.Andreas Schneider1-11/+11
2009-07-25Switch completly to stdint types.Andreas Schneider1-24/+24
2009-07-24Change all occurences of STRING * to ssh_stringAris Adamantiadis1-1/+1