1
1

1523 Коммитов

Автор SHA1 Сообщение Дата
Andreas Schneider
9cd5e97596 Fixed linking of the tests. 2010-03-04 20:08:04 +01:00
Andreas Schneider
9f59be3224 Rename ssh_list_add to ssh_list_append. 2010-03-04 20:08:04 +01:00
Andreas Schneider
dea644bbd6 Added a prepend function for ssh_list. 2010-03-04 20:08:04 +01:00
Andreas Schneider
8bcb835aa4 Fixed unit testing. 2010-03-02 23:49:21 +01:00
Andreas Schneider
eec3532955 Simplify the build option output. 2010-03-02 23:37:49 +01:00
Andreas Schneider
8424c7a747 Fixed sftp_parse_longname() on Windows.
There is no strndup function on Windows.
2010-03-02 14:15:20 +01:00
Andreas Schneider
464176d511 Added unit testing support using check. 2010-03-02 13:54:14 +01:00
Aris Adamantiadis
e8a1d135e2 Fix a race condition bug in ssh_scp_close()
Conflicts:

	libssh/scp.c
2010-03-01 20:00:02 +01:00
Aris Adamantiadis
b707b5e2a4 Answer to openssh's keepalives 2010-03-01 18:54:52 +01:00
Aris Adamantiadis
c987fd8c53 renamed ssh_list_get_head to ssh_list_pop_head 2010-03-01 18:11:40 +01:00
Aris Adamantiadis
d083554dff Fixed documentation in scp code 2010-02-26 18:48:38 +01:00
Andreas Schneider
ec3af2c5cb Added printout of owner and group in the sftp example. 2010-02-24 00:27:02 +01:00
Andreas Schneider
f857d4aff7 Fixed longname parsing, this only workings with readdir. 2010-02-24 00:26:51 +01:00
Andreas Schneider
39d6ef884a Added owner and group information in sftp attributes.
Parse the longname which is the output of 'ls -l' and set the owner and
group if we are talking to an openssh server.
2010-02-23 22:50:43 +01:00
Andreas Schneider
492d1f24c8 Set CFLAGS correctly. 2010-02-13 12:47:28 +01:00
Aris Adamantiadis
60e5a32d27 Small doc fix 2010-02-12 23:29:24 +01:00
Aris Adamantiadis
f8d0055503 More C++ work 2010-02-12 22:17:50 +01:00
Aris Adamantiadis
8baaf64a72 Fix compilation of opensolaris 2010-02-12 10:08:54 +01:00
Andreas Schneider
6ae69e0df0 Try zlib compression and fallback to none if not available. 2010-02-11 23:27:25 +01:00
Aris Adamantiadis
92ca76721a More C++ wrapper work.
Wrote stubs of functions needed in the wrapper
Created an Exception class which greatly simplifies
the use of libssh in C++
2010-02-11 23:08:07 +01:00
Aris Adamantiadis
6af2e3fc10 Fix closesocket() portbug for win32 2010-02-11 22:42:28 +01:00
Aris Adamantiadis
9bec3ee48e Use closesocket in server.c for win32
Resolves #56
2010-02-11 19:56:23 +01:00
Aris Adamantiadis
17ca9d9da7 Make better error messages for SSH1 errors 2010-02-10 18:20:21 +01:00
Aris Adamantiadis
c1711243f0 aes192-ctr and aes256-ctr working on libcrypto 2010-02-09 22:29:43 +01:00
Aris Adamantiadis
fdfd12716e aes128-ctr aes192-ctr aes256-ctr for libgcrypt 2010-02-09 22:24:04 +01:00
Aris Adamantiadis
dc0d945f28 Added aes128-ctr support for libcrypto (openssl) 2010-02-09 21:21:11 +01:00
Aris Adamantiadis
96465a52ee KEX bug: client preference should be prioritary 2010-02-09 21:20:17 +01:00
Aris Adamantiadis
512fa6e601 Added summary of build options in Cmake 2010-02-08 16:55:03 +01:00
Andreas Schneider
12d43e2967 Rename the libssh sftp documentation group. 2010-02-07 22:36:03 +01:00
Andreas Schneider
e8648416b8 Describe the main group a bit. 2010-02-07 22:36:03 +01:00
Andreas Schneider
b971834d10 Respect known_hosts file set by the user.
Thanks to contact@leblanc-simon.eu for the patch.
2010-02-07 22:35:38 +01:00
Andreas Schneider
94ee9effe6 Improve the SSH string documentation. 2010-02-07 21:50:38 +01:00
Aris Adamantiadis
81bc13e066 Expend macros in doxygen generation 2010-02-06 23:49:41 +01:00
Andreas Schneider
1297da380e Improve the session documentation. 2010-02-05 18:34:39 +01:00
Andreas Schneider
4ee3b28ecb Update the doxygen config. 2010-02-05 18:34:13 +01:00
Andreas Schneider
757f8a6323 Set the soversion to 4.1 as we didn't break something.
yet?
2010-02-05 12:34:20 +01:00
Andreas Schneider
a25b06ecfc Increase version number. 2010-02-05 12:07:50 +01:00
Aris Adamantiadis
6b703b8d6a Update c++ prototypes 2010-02-02 18:30:26 +01:00
Aris Adamantiadis
c97d0d1220 add missing leave_function() 2010-02-02 18:20:23 +01:00
Aris Adamantiadis
7520d9c7b9 Handle timeout correctly 2010-02-02 18:16:46 +01:00
Vic Lee
2577214517 The ssh_message object needs to be freed after processing in channel_accept().
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2010-02-01 17:26:50 +01:00
Aris Adamantiadis
8e7bd43016 Fix compilation without WITH_SSH1 2010-01-30 20:36:00 +01:00
Aris Adamantiadis
e7b74c57f3 Hacked SSH1 to get past authentication
Also resolved some bugs that may impact 0.4. need to check
2010-01-25 23:23:01 +01:00
Aris Adamantiadis
cfdd4296a8 Fix poll not waking up on connect on win32
Under windows, poll does not detect connected socket using
POLLOUT but POLLWRNORM.
"Pending connect requests are indicated in the returned revents member of WSAPOLLFD structure by POLLWRNORM."
http://msdn.microsoft.com/en-us/library/ms741669%28VS.85%29.aspx
However, I did not test that fix. (no windows at hands). I also don't know
if the poll emulation layer works with that too.
2010-01-25 19:48:38 +01:00
Aris Adamantiadis
3407509ed7 Correctly handle channel failures and chan states 2010-01-24 23:03:56 +01:00
Aris Adamantiadis
3ac62dda51 Made packet handlers independant of session buffer 2010-01-24 22:43:52 +01:00
Aris Adamantiadis
3465b592e7 Few function name changes 2010-01-24 22:30:43 +01:00
Aris Adamantiadis
ca499a5495 Made ssh_packet_read asynchronous
Normally that's all that was needed into making SSH1 compliant
with the new API.
Beware, I have only implemented it, not actually tested it.
2010-01-24 22:27:44 +01:00
Aris Adamantiadis
8a1d832f80 Removed last calls to packet_read 2010-01-24 22:08:20 +01:00
Aris Adamantiadis
758df26582 Made parts of SSH asynchronous (inc kex1) 2010-01-24 21:03:03 +01:00