1
1
Граф коммитов

1261 Коммитов

Автор SHA1 Сообщение Дата
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
Aris Adamantiadis
6ae558b541 Beginning of async solution for SSH1 2010-01-24 01:07:08 +01:00
Aris Adamantiadis
68f53540df Move SSH-1 specific packet functions in packet1.c 2010-01-23 22:59:10 +01:00
Aris Adamantiadis
48ba9c9bc1 stub of C++ wrapper for libssh 2010-01-21 21:54:20 +01:00
Aris Adamantiadis
245deb2abe Fixed error message when connection failed 2010-01-16 18:47:32 +01:00
Aris Adamantiadis
549ea0d7ba Fix SSH1 related warning 2010-01-16 18:38:49 +01:00
Aris Adamantiadis
94d1112c55 SSH-1 cleanup and compile
Not tested, probably not working correctly yet
2010-01-10 21:05:46 +01:00
Aris Adamantiadis
0c47227144 Fix typo in build_make script 2010-01-10 20:07:37 +01:00
Aris Adamantiadis
a2505078da Set socket blocking after connexion 2010-01-08 23:28:55 +01:00
Aris Adamantiadis
35532a63fe Enforce NULL ptr verification in scp.c 2010-01-08 23:14:10 +01:00
Aris Adamantiadis
514ab6eed2 Fixed blocking bug in channel_poll 2010-01-08 23:05:10 +01:00
Aris Adamantiadis
c41e3a8e68 Cosmetics for packet numbering 2010-01-08 22:49:16 +01:00
Aris Adamantiadis
7d71340241 Oops, forgot the callback for server DH 2010-01-08 22:37:18 +01:00