aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2008-06-16displaced the data_to_* into socketAris Adamantiadis1-8/+6
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@171 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-16Big changes :Aris Adamantiadis2-16/+39
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-12big changes :Aris Adamantiadis2-5/+38
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-06-11sftp asynchronous readAris Adamantiadis1-0/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@164 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-22libssh.h now can be included from visual studioAris Adamantiadis1-1/+11
revert the wsapi wont-fix git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@161 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-22some changes so it compiles better under windowsAris Adamantiadis1-0/+999
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@159 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-12Resolved the string_free issue by coding it. I also made some Aris Adamantiadis1-0/+1
documentations of the string module. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@156 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-12fixed wrong prototypes for socket_tAris Adamantiadis2-3/+3
bug #0000004 git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@149 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-08config.h bug resolvedAris Adamantiadis1-1/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@146 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-07changed version number to 0.2.1-svnAris Adamantiadis1-1/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@144 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-07second part of win32 changesAris Adamantiadis1-4/+5
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@143 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-07first part of win32 patchesAris Adamantiadis1-1/+13
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@141 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-04fixed a load of ssh_set_error(NULL,...)Aris Adamantiadis1-4/+4
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@139 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-04fixed null pointer into options and ssh_set_error()Aris Adamantiadis1-8/+8
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@138 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-04added the socket class and created wrappersAris Adamantiadis1-2/+17
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@137 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-03fixed the #0000003 bugAris Adamantiadis1-1/+1
was only a misplaced #include. I hate C git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@136 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-03Rodolphe Rocca fixesAris Adamantiadis1-1/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@135 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-03fix bug #0000002 : in_socket_buffer and out_socket_buffer memleak +Aris Adamantiadis1-1/+1
"g" and "p" O(1) memleak. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@134 7dcaeef0-15fb-0310-b436-a5af3365683c
2007-07-31* include/libssh/Makefile.am: using top_builddir instead of top_srcdirLaurent Bigonville1-1/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@130 7dcaeef0-15fb-0310-b436-a5af3365683c
2007-07-31move config.h installation to include/libssh/MakefileLaurent Bigonville1-0/+6
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@129 7dcaeef0-15fb-0310-b436-a5af3365683c
2007-07-31Better automake filesLaurent Bigonville2-2/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@128 7dcaeef0-15fb-0310-b436-a5af3365683c
2007-07-27* Add autogen.sh to generate autotools filesLaurent Bigonville2-0/+3
* Rewrite the makefiles to use more automake git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@125 7dcaeef0-15fb-0310-b436-a5af3365683c
2007-02-07include/libssh/server.h: Remove struct definitionsJean-Philippe Garcia Ballester2-55/+57
include/libssh/priv.h: Add struct definitions that previously were in include/libssh/server.h libssh/server.c: Include libssh/priv.h git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@109 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-26trunk to 0.2Aris Adamantiadis1-1/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@104 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-12-15-rc releaseAris Adamantiadis1-1/+1
Ipv6 patch from Laurent Bigonville. When the ipv6 targets are unreachable, it tries all possible targets from the getaddrinfo list. Norbert: does it break anything ? it works for me but I didn't test it extensively git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@99 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-11-06doxygen documentation for option moduleAris Adamantiadis1-0/+3
added ssh_finalize() into libssh.h git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@78 7dcaeef0-15fb-0310-b436-a5af3365683c
2006-11-06at least I get a working doxygen documentation.Aris Adamantiadis2-1/+4
I am going to make the whole documentation as doxygen files. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@77 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-11-30nonblocking support in dh_handshake() from client.cAris Adamantiadis1-1/+3
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-25Added support for known_hosts format version 1Jean-Philippe Garcia Ballester1-0/+10
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@51 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-11-22added bases for nonblocking packet sending and receiving. packet_send Aris Adamantiadis2-1/+13
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-26resolved the infinite loop on exit (thanks giga for the hint).Aris Adamantiadis1-0/+5
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
2005-10-26patches from Norbert merged in. I have made some little changes here and there.Aris Adamantiadis1-3/+2
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
2005-10-25added Jean-Philippe's patch for libtools. it doesn't compile on my computer.Aris Adamantiadis1-0/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@40 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-25channel_select(). this function rocks !Aris Adamantiadis1-0/+7
I adapted the sample.c file. the select_loop function is bloated and fails to demonstrate how libssh is simple to handle... it looks to run at first try. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@39 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-04added the gcrypt patch (without gcrypt as default library).Aris Adamantiadis3-37/+94
still needs tests. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@38 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29write supportAris Adamantiadis1-0/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@30 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29pam samples files to put into /etc/pam.dAris Adamantiadis2-1/+2
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
2005-08-28more ACL on directories. Not already enabled.Aris Adamantiadis1-1/+1
First Pam code. looks like it works more or less. it needs a file in /etc/pam.d to be activated git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@22 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-26file opening/reading works :).Aris Adamantiadis1-1/+2
I fixed the "longname" part of a stat (which makes the output for ls into openssh's sftp) it's possible to browse and open abritrary files. but no ACL yet git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@19 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-26sftp server implementation :)Aris Adamantiadis1-1/+60
at this time, basic support of opendir, readdir, lstat, etc. just enough to "sftp" in and type ls. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@16 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-25fixed server segfaults on exit (double frees)Aris Adamantiadis1-0/+7
sftp_server_init() git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@15 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-19stdint.patch, debug_output.patch, ssh_12_select.patch,Aris Adamantiadis1-5/+8
solaris_7.patch and args_in_decl.patch from Norbert. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@12 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-18More work on the server side and sftp.Aris Adamantiadis1-1/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@9 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-10The kex works, the client authentifies (with password) then it's possible to ↵Aris Adamantiadis3-1/+82
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
2005-08-07server kex done :)Aris Adamantiadis4-10/+48
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@6 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-07-06sample sshd server accepts a client and sends a banner.Aris Adamantiadis1-0/+3
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@4 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-07-05Beginning of the SSH_BIND implementationAris Adamantiadis3-14/+41
hack for errors handling so it supports an Object-oriented kind of errors (generic for ssh_bind and ssh_session data types) git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@3 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-07-05first importAris Adamantiadis8-0/+1133
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@1 7dcaeef0-15fb-0310-b436-a5af3365683c