summaryrefslogtreecommitdiffstats
path: root/libssh/session.c
Commit message (Collapse)AuthorAgeFilesLines
* oops, forgot to verify that it compiled fineAris Adamantiadis2006-11-121-1/+4
| | | | | | | 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
* more doxygen documentationAris Adamantiadis2006-11-071-0/+58
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@79 7dcaeef0-15fb-0310-b436-a5af3365683c
* added bases for nonblocking packet sending and receiving. packet_send Aris Adamantiadis2005-11-221-0/+1
| | | | | | | | | | | | | | | | | 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
* resolved the infinite loop on exit (thanks giga for the hint).Aris Adamantiadis2005-10-261-0/+15
| | | | | | | | I resolved a memory alloc problem into hmac_init (same kind that the one of md5_init). It's still saying there is a memory corruption. Since the memory corruption happens before it is found (in malloc()), I'll have to run valgrind to locate it. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@46 7dcaeef0-15fb-0310-b436-a5af3365683c
* patches from Norbert merged in. I have made some little changes here and there.Aris Adamantiadis2005-10-261-0/+3
| | | | | | | It still doesn't compile because of the O1 thing passed to ld. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@41 7dcaeef0-15fb-0310-b436-a5af3365683c
* added the gcrypt patch (without gcrypt as default library).Aris Adamantiadis2005-10-041-0/+1
| | | | | | | still needs tests. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@38 7dcaeef0-15fb-0310-b436-a5af3365683c
* pam samples files to put into /etc/pam.dAris Adamantiadis2005-08-291-0/+6
| | | | | | | | ssh_silent_disconnect() and server forking. I still have to add a -D command line to avoid the forking. password auth works, but there is no uid change yet. I'll have to make the configuration stuff really being respected by the server. (like keys, ports, users, ...) git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@23 7dcaeef0-15fb-0310-b436-a5af3365683c
* More work on the server side and sftp.Aris Adamantiadis2005-08-181-1/+5
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@9 7dcaeef0-15fb-0310-b436-a5af3365683c
* The kex works, the client authentifies (with password) then it's possible to ↵Aris Adamantiadis2005-08-101-0/+1
| | | | | | choose a subsystem. The channels don't completely work. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@7 7dcaeef0-15fb-0310-b436-a5af3365683c
* server kex done :)Aris Adamantiadis2005-08-071-0/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@6 7dcaeef0-15fb-0310-b436-a5af3365683c
* first importAris Adamantiadis2005-07-051-0/+124
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@1 7dcaeef0-15fb-0310-b436-a5af3365683c