summaryrefslogtreecommitdiffstats
path: root/libssh/packet.c
Commit message (Collapse)AuthorAgeFilesLines
* more priv.h splittingAris Adamantiadis2009-09-261-0/+1
|
* Fixed including of config.h.Andreas Schneider2009-09-251-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)
* Moved lots of declaration out of priv.hAris Adamantiadis2009-09-231-0/+5
|
* get rid of SSH_SESSIONAris Adamantiadis2009-09-231-13/+13
|
* Limit the size of acceptable compressed packetsAris Adamantiadis2009-09-161-1/+1
|
* Fix "void * ptr used in pointer arithmetic" warngAris Adamantiadis2009-08-291-3/+3
|
* Change SSH_LOG_RARE to SSH_LOG_PACKET in packet.cAris Adamantiadis2009-08-291-8/+8
|
* Add forward listening featureVic Lee2009-08-161-0/+1
| | | | Signed-off-by: Andreas Schneider <mail@cynapses.org>
* Fix build with MSVC.Andreas Schneider2009-07-301-2/+1
|
* Fix SSH1 compilation.Andreas Schneider2009-07-271-10/+10
|
* Fix SSH1 and stdint in SSH1 code.Andreas Schneider2009-07-271-11/+11
|
* Switch completly to stdint types.Andreas Schneider2009-07-251-24/+24
|
* Change all occurences of STRING * to ssh_stringAris Adamantiadis2009-07-241-1/+1
|
* added ssh_message_callback support.Aris Adamantiadis2009-06-181-0/+3
| | | | 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.
* Begin of asynchronous SSH message parsingAris Adamantiadis2009-06-171-1/+7
|
* Fix build warnings.Andreas Schneider2009-06-091-0/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@774 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix compilation of SSHv1.Andreas Schneider2009-05-231-2/+2
| | | | | | | Patch by Norbert Kiesel. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@770 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix some compiler warnings on windows.Andreas Schneider2009-05-131-2/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@764 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix the vim modeline and place it at the end of the file.Andreas Schneider2009-05-121-2/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@763 7dcaeef0-15fb-0310-b436-a5af3365683c
* Rename buffer_add_data_begin() to buffer_prepend_data().Andreas Schneider2009-04-221-4/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@571 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve packet_hmac_verify().Andreas Schneider2009-04-151-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@481 7dcaeef0-15fb-0310-b436-a5af3365683c
* Use consistend return values for packet_wait() functions.Andreas Schneider2009-04-141-91/+106
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@462 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add more error checks to packet_parse().Andreas Schneider2009-04-141-60/+65
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@461 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add more error checks to packet_send1().Andreas Schneider2009-04-141-41/+72
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@460 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add more error checks to packet_send2().Andreas Schneider2009-04-141-37/+64
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@459 7dcaeef0-15fb-0310-b436-a5af3365683c
* Format packet_write().Andreas Schneider2009-04-141-8/+17
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@458 7dcaeef0-15fb-0310-b436-a5af3365683c
* Format packet_flush().Andreas Schneider2009-04-141-8/+12
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@457 7dcaeef0-15fb-0310-b436-a5af3365683c
* Use consistent return values for packet_translate().Andreas Schneider2009-04-141-19/+25
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@456 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add more error checks to packet_read1().Andreas Schneider2009-04-141-108/+138
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@455 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add more error checks to packet_read2().Andreas Schneider2009-04-101-119/+160
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@454 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix header functions and add return value checks.Andreas Schneider2009-04-081-2/+7
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@430 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix SSHv1 compile errors.Andreas Schneider2009-04-081-3/+3
| | | | | | | 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
* Fix build warnings found with printf checking of ssh_set_error().Andreas Schneider2009-04-051-1/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@405 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add memory error checking for packet functions.Andreas Schneider2009-04-011-3/+13
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@323 7dcaeef0-15fb-0310-b436-a5af3365683c
* Check for memory allocation errors.Andreas Schneider2009-04-011-7/+18
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@316 7dcaeef0-15fb-0310-b436-a5af3365683c
* Normalize the license in all files and add vim tab instructions.Andreas Schneider2009-03-291-20/+23
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@305 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add an option WITH_LIBZ to compile with zlib support.Andreas Schneider2009-03-281-5/+7
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@289 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix build warnings.Andreas Schneider2009-03-141-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@273 7dcaeef0-15fb-0310-b436-a5af3365683c
* Replace ssh_say with ssh_log.Andreas Schneider2009-03-111-15/+24
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@264 7dcaeef0-15fb-0310-b436-a5af3365683c
* oops missed a line in the fixAris Adamantiadis2008-06-171-3/+5
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@173 7dcaeef0-15fb-0310-b436-a5af3365683c
* bug #00006 fixAris Adamantiadis2008-06-171-0/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@172 7dcaeef0-15fb-0310-b436-a5af3365683c
* displaced the data_to_* into socketAris Adamantiadis2008-06-161-2/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@171 7dcaeef0-15fb-0310-b436-a5af3365683c
* Big changes :Aris Adamantiadis2008-06-161-214/+61
| | | | | | | | | | | | refactoring of the socket class. Now the buffering happens in the socket class. enhanced the logging system. Cleaned up some debugging messages. Verified the working with ssh-1. If this cleanup introduced bugs (it did but corrected the found ones) at least, they will be easier to find also added the (c) and fixed dates for updated files git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@169 7dcaeef0-15fb-0310-b436-a5af3365683c
* begin fixing the ssh_say everywhereAris Adamantiadis2008-06-121-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@167 7dcaeef0-15fb-0310-b436-a5af3365683c
* big changes :Aris Adamantiadis2008-06-121-26/+83
| | | | | | | | Some documentation, and a new logging system. some work must be done to get rid of the infamous ssh_say() git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@166 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed the netdb problem ?Aris Adamantiadis2008-03-121-1/+0
| | | | | | | | i don't understand, removing the #include <netdb.h> didn't add misses for ntohl. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@148 7dcaeef0-15fb-0310-b436-a5af3365683c
* first part of win32 patchesAris Adamantiadis2008-03-071-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@141 7dcaeef0-15fb-0310-b436-a5af3365683c
* added the socket class and created wrappersAris Adamantiadis2008-03-041-43/+22
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@137 7dcaeef0-15fb-0310-b436-a5af3365683c
* found the nasty server bug ("ssh_accept: ")Aris Adamantiadis2007-03-171-1/+2
| | | | | | | | it was the session->alive which was null. I wonder how this bug survived my initial development ... git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@115 7dcaeef0-15fb-0310-b436-a5af3365683c
* forgot a line from norbert's patchAris Adamantiadis2006-12-121-0/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@98 7dcaeef0-15fb-0310-b436-a5af3365683c