Andreas Schneider
460d0b402b
Add Makefiles for the CMake build system.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@203 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-02-02 14:44:46 +00:00
Andreas Schneider
2347065481
Add missing agent files.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@202 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-02-02 14:43:48 +00:00
Andreas Schneider
4259c9195c
Cleanup the define check in the libssh header file.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@201 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-02-02 14:42:40 +00:00
Andreas Schneider
70aa33c041
Start with ssh agent implementation.
...
This is work in progress.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@200 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-02-02 14:41:44 +00:00
Andreas Schneider
944084964a
Add extern C declatrion to server header file.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@199 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-01-08 17:48:35 +00:00
Andreas Schneider
f9f8ded7f0
Add a more generic auth callback function.
...
You should be able to obtain passwords or usernames with this
function.
Signed-off-by: Andreas Schneider <mail@cynapses.org>
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@198 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-12-29 11:33:51 +00:00
Andreas Schneider
6ea3888054
Change version numbers to 0.3.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@197 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-12-22 13:44:55 +00:00
Andreas Schneider
b11ddd23b2
Add doxygen documentation for all public sftp functions.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@196 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-12-22 09:51:31 +00:00
Andreas Schneider
c3e026c303
Create POSIX like sftp functions.
...
This breaks the API and will be libssh 0.3.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@195 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-12-22 09:50:40 +00:00
Aris Adamantiadis
a104c2eda3
http://www.cynapses.org/tmp/patches/libssh/0001-Replace-getenv-USER-with-getpwuid-functions.patch
...
from andreas (mostly userdirectory cleaning)
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@193 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-12-19 15:29:33 +00:00
Aris Adamantiadis
16a3379a61
some changes to resolve bugs reported by webyog
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@192 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-12-14 21:46:31 +00:00
Aris Adamantiadis
f7700f2bc2
patches 0001-Save-the-last-error-and-provide-a-function-to-get-it.patch,
...
0002-Use-const-whereever-it-makes-sense.patch,
0003-Implement-function-to-retrieve-userauth-possabilitie.patch
from Andreas Schneider
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@191 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-11-24 18:05:55 +00:00
Aris Adamantiadis
f880011d72
commited path 003 and 004 from Andreas Schneider
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@190 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-11-23 21:39:52 +00:00
Aris Adamantiadis
14c66c9bc5
oops miscompilation
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@189 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-11-05 16:45:37 +00:00
Aris Adamantiadis
11e3d3ebab
More doxygen documentation (internal set)
...
split of the sftp_async_read function
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@188 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-11-05 16:42:43 +00:00
Aris Adamantiadis
64e73b8d8a
doxygen fixes. Mostly typos and some comments.
...
sftp must be fully documented !
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@187 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-11-04 21:59:12 +00:00
Aris Adamantiadis
90bb81f7b0
added a file from openssh needed for known host parsing
...
added the BSD license in the tree to fulfill the license.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@186 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-11-02 23:46:55 +00:00
Aris Adamantiadis
0e8cf3b082
small changes in doxyfile.
...
cosmetic changes in buffer.c
added debugging enter_functions() in sftp.c
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@185 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-11-01 22:28:39 +00:00
Aris Adamantiadis
3b25cbf134
fixed a bug where channel_poll could wait forever for a packet already in socket buffer.
...
Inc'ed libtool numbers
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@184 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-10-29 00:25:31 +00:00
Aris Adamantiadis
4a3554b2fa
poll(2) support for channel_poll. Not yet for channel_select.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@183 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-10-28 23:52:02 +00:00
Aris Adamantiadis
1025372289
generate latex output in the doxyfile. It doesn't hurt since it won't try to compile it
...
automaticaly.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@182 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-10-28 22:48:38 +00:00
Aris Adamantiadis
d9832d1190
correct O_RDONLY sftp bug with windows systems
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@181 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-10-20 16:14:35 +00:00
Aris Adamantiadis
d477025000
fix bug 0000015 about memory leak in server path
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@180 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-30 22:28:11 +00:00
Aris Adamantiadis
5758188467
fix channel performance by changing the window len.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@179 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-30 13:10:26 +00:00
Aris Adamantiadis
b8dac18d0e
fixed a problem when a channel blocking read was bigger than size of buffer
...
+ window
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@178 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-27 16:56:24 +00:00
Aris Adamantiadis
0d1e22f5f8
Resolved the unitialized data_except member variable in socket.c, thanks
...
Norbert
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@177 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-21 12:15:27 +00:00
Aris Adamantiadis
3fb274ca84
added log.c
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@176 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-17 13:26:55 +00:00
Aris Adamantiadis
372d1e727b
fixed a bug in the channel windows.
...
Fixed the window growing on packet receive
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@175 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-17 01:52:11 +00:00
Aris Adamantiadis
ff515b5528
gcrypt + SSH1 bug resolved
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@174 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-17 01:06:53 +00:00
Aris Adamantiadis
507ea1e90f
oops missed a line in the fix
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@173 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-17 00:14:40 +00:00
Aris Adamantiadis
af637c9e8e
bug #00006 fix
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@172 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-17 00:08:38 +00:00
Aris Adamantiadis
8ce42c279e
displaced the data_to_* into socket
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@171 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-16 23:55:12 +00:00
Aris Adamantiadis
1fce8c72e7
more efficient allocation algorithm for buffer.c
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@170 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-16 23:19:29 +00:00
Aris Adamantiadis
77603dbc5a
Big changes :
...
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-16 23:02:49 +00:00
Aris Adamantiadis
5367581ce1
legal paperwork to be 100% respectful of LGPL, about openssl's
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@168 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-16 13:58:56 +00:00
Aris Adamantiadis
da3d665a13
begin fixing the ssh_say everywhere
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@167 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-12 20:40:43 +00:00
Aris Adamantiadis
fe51f9c766
big changes :
...
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-12 20:14:17 +00:00
Aris Adamantiadis
b94422ef10
fix doxygen
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@165 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-11 19:01:06 +00:00
Aris Adamantiadis
9aa8df7cd3
sftp asynchronous read
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@164 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-06-11 18:52:16 +00:00
Aris Adamantiadis
ea407765db
dev-cpp project file
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@163 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-27 13:18:01 +00:00
Aris Adamantiadis
41475a2a1f
workaround for the bug #14
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@162 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-26 20:14:59 +00:00
Aris Adamantiadis
c2f151ab56
libssh.h now can be included from visual studio
...
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-22 13:57:27 +00:00
Aris Adamantiadis
7278a9df95
fix #ifdef win32 bug
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@160 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-22 13:01:22 +00:00
Aris Adamantiadis
58f28617b8
some changes so it compiles better under windows
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@159 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-22 12:42:09 +00:00
Aris Adamantiadis
8b9841dd57
doxygen documentation for public key authentication
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@158 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-13 23:09:41 +00:00
Aris Adamantiadis
2cf6369113
Doxygen changes
...
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
2008-05-12 21:51:13 +00:00
Aris Adamantiadis
6a80f1a049
Resolved the string_free issue by coding it. I also made some
...
documentations of the string module.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@156 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-12 21:20:00 +00:00
Aris Adamantiadis
f084f6e67c
fixed a bug in channel_poll where channel_poll() would return 0 even
...
when data was available.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@155 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-05-08 22:12:21 +00:00
Laurent Bigonville
0a7d405b3d
* BumpStandards-Version to 3.7.3 (no further changes)
...
* debian/libssh-2-doc.doc-base: fix doc-base-unknown-section
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@154 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-04-17 15:18:47 +00:00
Aris Adamantiadis
46b96a145c
preliminary test suite
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@153 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-17 02:31:22 +00:00