summaryrefslogtreecommitdiffstats
path: root/libssh
Commit message (Collapse)AuthorAgeFilesLines
...
* displaced the data_to_* into socketAris Adamantiadis2008-06-165-41/+81
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@171 7dcaeef0-15fb-0310-b436-a5af3365683c
* more efficient allocation algorithm for buffer.cAris Adamantiadis2008-06-161-7/+15
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@170 7dcaeef0-15fb-0310-b436-a5af3365683c
* Big changes :Aris Adamantiadis2008-06-1613-322/+376
| | | | | | | | | | | | 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-128-23/+29
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@167 7dcaeef0-15fb-0310-b436-a5af3365683c
* big changes :Aris Adamantiadis2008-06-1214-167/+615
| | | | | | | | 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
* fix doxygenAris Adamantiadis2008-06-111-8/+8
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@165 7dcaeef0-15fb-0310-b436-a5af3365683c
* sftp asynchronous readAris Adamantiadis2008-06-111-1/+107
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@164 7dcaeef0-15fb-0310-b436-a5af3365683c
* workaround for the bug #14Aris Adamantiadis2008-05-262-2/+8
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@162 7dcaeef0-15fb-0310-b436-a5af3365683c
* libssh.h now can be included from visual studioAris Adamantiadis2008-05-221-1/+1
| | | | | | | revert the wsapi wont-fix git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@161 7dcaeef0-15fb-0310-b436-a5af3365683c
* fix #ifdef win32 bugAris Adamantiadis2008-05-221-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@160 7dcaeef0-15fb-0310-b436-a5af3365683c
* some changes so it compiles better under windowsAris Adamantiadis2008-05-223-2/+12
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@159 7dcaeef0-15fb-0310-b436-a5af3365683c
* doxygen documentation for public key authenticationAris Adamantiadis2008-05-132-4/+40
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@158 7dcaeef0-15fb-0310-b436-a5af3365683c
* Doxygen changesAris Adamantiadis2008-05-127-23/+15
| | | | | | | Modified the makefile so the ln -s never fails. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@157 7dcaeef0-15fb-0310-b436-a5af3365683c
* Resolved the string_free issue by coding it. I also made some Aris Adamantiadis2008-05-121-1/+39
| | | | | | | documentations of the string module. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@156 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed a bug in channel_poll where channel_poll() would return 0 even Aris Adamantiadis2008-05-081-1/+1
| | | | | | | when data was available. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@155 7dcaeef0-15fb-0310-b436-a5af3365683c
* last win32 changes from keisialAris Adamantiadis2008-03-121-1/+0
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@152 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed the netdb problem ?Aris Adamantiadis2008-03-1214-14/+1
| | | | | | | | 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
* change doxygen doc for channel_pollAris Adamantiadis2008-03-071-2/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@145 7dcaeef0-15fb-0310-b436-a5af3365683c
* second part of win32 changesAris Adamantiadis2008-03-076-3/+59
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@143 7dcaeef0-15fb-0310-b436-a5af3365683c
* shrinked the default_get_password function. I hope nobody used it, it Aris Adamantiadis2008-03-071-9/+4
| | | | | | | has nothing to do in a ssh library. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@142 7dcaeef0-15fb-0310-b436-a5af3365683c
* first part of win32 patchesAris Adamantiadis2008-03-0715-41/+85
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@141 7dcaeef0-15fb-0310-b436-a5af3365683c
* Merged Keisial bugfix (crash when available protocols mismatch)Aris Adamantiadis2008-03-061-12/+21
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@140 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed a load of ssh_set_error(NULL,...)Aris Adamantiadis2008-03-046-29/+29
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@139 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed null pointer into options and ssh_set_error()Aris Adamantiadis2008-03-041-6/+6
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@138 7dcaeef0-15fb-0310-b436-a5af3365683c
* added the socket class and created wrappersAris Adamantiadis2008-03-048-97/+227
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@137 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed the #0000003 bugAris Adamantiadis2008-03-031-3/+4
| | | | | | | | | 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
* Rodolphe Rocca fixesAris Adamantiadis2008-03-031-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@135 7dcaeef0-15fb-0310-b436-a5af3365683c
* fix bug #0000002 : in_socket_buffer and out_socket_buffer memleak +Aris Adamantiadis2008-03-033-3/+17
| | | | | | | "g" and "p" O(1) memleak. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@134 7dcaeef0-15fb-0310-b436-a5af3365683c
* * libssh/Makefile.am: use top_srcdir instead of srcdirLaurent Bigonville2007-07-311-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@131 7dcaeef0-15fb-0310-b436-a5af3365683c
* * Add autogen.sh to generate autotools filesLaurent Bigonville2007-07-272-52/+13
| | | | | | | * 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
* found the nasty server bug ("ssh_accept: ")Aris Adamantiadis2007-03-172-1/+3
| | | | | | | | 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
* include/libssh/server.h: Remove struct definitionsJean-Philippe Garcia Ballester2007-02-071-0/+1
| | | | | | | | | 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
* libssh/server.c: Include netinet/in.h in order to compile under OpenBSD.Jean-Philippe Garcia Ballester2007-01-041-0/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@108 7dcaeef0-15fb-0310-b436-a5af3365683c
* -rc releaseAris Adamantiadis2006-12-151-33/+49
| | | | | | | | | | | 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
* 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
* norbert's patches + strange typo in packet_nonblocking_flush()Aris Adamantiadis2006-12-122-3/+9
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@97 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed makefiles for debian packagingAris Adamantiadis2006-11-161-3/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@83 7dcaeef0-15fb-0310-b436-a5af3365683c
* oops, forgot to verify that it compiled fineAris Adamantiadis2006-11-124-16/+60
| | | | | | | 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
* good work tonight. Made documentation for authentication, channels, buffers, ↵Aris Adamantiadis2006-11-124-11/+417
| | | | | | errors git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@80 7dcaeef0-15fb-0310-b436-a5af3365683c
* more doxygen documentationAris Adamantiadis2006-11-075-6/+146
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@79 7dcaeef0-15fb-0310-b436-a5af3365683c
* doxygen documentation for option moduleAris Adamantiadis2006-11-061-15/+132
| | | | | | | added ssh_finalize() into libssh.h git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@78 7dcaeef0-15fb-0310-b436-a5af3365683c
* at least I get a working doxygen documentation.Aris Adamantiadis2006-11-061-1/+20
| | | | | | | 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
* Added doxygen documentation file. Now need to document it..Aris Adamantiadis2006-11-061-1/+1
| | | | | | | added const keyword into ssh_connect_host git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@76 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add ssh_finalize to handle finalization of libssh and underlying cryptographicJean-Philippe Garcia Ballester2006-07-093-2/+36
| | | | | | | | | library. Add corresponding paragraph in API draft. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@75 7dcaeef0-15fb-0310-b436-a5af3365683c
* Correct file headerJean-Philippe Garcia Ballester2006-07-091-4/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@74 7dcaeef0-15fb-0310-b436-a5af3365683c
* libssh/keyfiles.c: Fix bug when reading private keys with libgcryptJean-Philippe Garcia Ballester2006-05-121-2/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@73 7dcaeef0-15fb-0310-b436-a5af3365683c
* keyfiles.c and wrapper.c: Remove useless secure memory flag (for libgcrypt)Jean-Philippe Garcia Ballester2006-03-015-36/+23
| | | | | | | | | | dh.c: Initialize libgcrypt only if not done before client.c: Remove cleanup of cryptograhpic library. This needs to be put somewhere, like in a crypto_finish function or something. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@70 7dcaeef0-15fb-0310-b436-a5af3365683c
* git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@53 ↵Aris Adamantiadis2005-12-061-34/+40
| | | | 7dcaeef0-15fb-0310-b436-a5af3365683c
* nonblocking support in dh_handshake() from client.cAris Adamantiadis2005-11-302-69/+123
| | | | | | | | 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
* Added support for known_hosts format version 1Jean-Philippe Garcia Ballester2005-11-254-17/+197
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@51 7dcaeef0-15fb-0310-b436-a5af3365683c