aboutsummaryrefslogtreecommitdiff
path: root/libssh/packet.c
AgeCommit message (Collapse)AuthorFilesLines
2008-06-17oops missed a line in the fixAris Adamantiadis1-3/+5
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@173 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-17bug #00006 fixAris Adamantiadis1-0/+3
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@172 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-16displaced the data_to_* into socketAris Adamantiadis1-2/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@171 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-16Big changes :Aris Adamantiadis1-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
2008-06-12begin fixing the ssh_say everywhereAris Adamantiadis1-1/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@167 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-12big changes :Aris Adamantiadis1-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
2008-03-12fixed the netdb problem ?Aris Adamantiadis1-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
2008-03-07first part of win32 patchesAris Adamantiadis1-1/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@141 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-04added the socket class and created wrappersAris Adamantiadis1-43/+22
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@137 7dcaeef0-15fb-0310-b436-a5af3365683c
2007-03-17found the nasty server bug ("ssh_accept: ")Aris Adamantiadis1-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
2006-12-12forgot a line from norbert's patchAris Adamantiadis1-0/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@98 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-12norbert's patches + strange typo in packet_nonblocking_flush()Aris Adamantiadis1-2/+8
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@97 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-11-12oops, forgot to verify that it compiled fineAris Adamantiadis1-3/+18
also, published changes from Norbert including lots of session->fd checks git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@81 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-11-30nonblocking support in dh_handshake() from client.cAris Adamantiadis1-14/+30
some packet nonblocking fixes. reenable sftp from the sample client. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@52 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-11-23same changes, SSH1 (reading only).Aris Adamantiadis1-96/+90
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@50 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-11-22added bases for nonblocking packet sending and receiving. packet_send Aris Adamantiadis1-116/+202
and packet_read may return SSH_AGAIN if the session is nonblocking and there is not enough data to be read. I also added a socket buffering through session->in_socket_buffer. It is more low-level than the packet buffer. I should rename in_buffer with in_packet_buffer. There is still work to do with the socket status, (opened, error, closed, ...) and much more work to extend the nonblocking to session opening, messages sending and such. I find the switch(session->packet_state) solution very nice (especially when the nonblocking function may have 10 differents states, like in a connection.) git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@49 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-04added the gcrypt patch (without gcrypt as default library).Aris Adamantiadis1-3/+3
still needs tests. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@38 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-18More work on the server side and sftp.Aris Adamantiadis1-1/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@9 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-07server kex done :)Aris Adamantiadis1-2/+5
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@6 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-07-05first importAris Adamantiadis1-0/+563
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@1 7dcaeef0-15fb-0310-b436-a5af3365683c