1
1

1101 Коммитов

Автор SHA1 Сообщение Дата
Aris Adamantiadis
272a4d1e45 Refactorize sample.c 2009-11-07 17:23:06 +01:00
Aris Adamantiadis
3a95ecfe74 move authentication out of sampe.c 2009-11-07 03:45:27 +01:00
Aris Adamantiadis
14ae9a7f0c Moved sftp parts into a new example 2009-11-06 19:21:18 +01:00
Aris Adamantiadis
51f1918109 Update structures name to new convention
SSH_POLL* -> ssh_poll_handle,
SSH_POLL_CTX* -> ssh_poll_ctx
2009-11-06 18:52:49 +01:00
Andreas Schneider
fa27956daf Improve MSVC support. Better binary compatibility.
Patch by Patrick Spendrin from KDE.
2009-11-06 09:57:09 +01:00
Aris Adamantiadis
ab0d8a3828 A few test cases for benchmarks 2009-11-05 18:18:35 +01:00
Andreas Schneider
efded18724 Fixed compilation of samplesshd. 2009-11-05 16:38:05 +01:00
Andreas Schneider
f52bc064e9 Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh 2009-11-05 16:08:49 +01:00
Aris Adamantiadis
75f066dfcd channel_read() won't block until count b. are read 2009-11-05 16:00:05 +01:00
Aris Adamantiadis
535ff07f0f Forgot to update config.h.cmake 2009-11-05 13:09:42 +01:00
Aris Adamantiadis
5e002635fc Fix compilation on freebsd 6.0 which lacks argp.h 2009-11-03 21:04:36 +01:00
Aris Adamantiadis
e71c28f6a0 Fix warnings on old gcc's
they don't like variable names having type names
2009-11-03 21:04:07 +01:00
Aris Adamantiadis
c0e091a52f Fix openssl header inclusion
caused cbc_encrypt to be redefined by an openssl
macro
2009-11-03 21:03:22 +01:00
Andreas Schneider
8ab0f8e51f Increase package version. 2009-10-29 20:22:05 +01:00
Andreas Schneider
cce34a6176 Fixed setting knownhosts in ssh_is_server_known(). 2009-10-29 12:10:44 +01:00
Andreas Schneider
89f0311927 Fixed a segfault on Windows. 2009-10-29 12:10:22 +01:00
Aris Adamantiadis
e455f6f756 Make libssh_scp a little more consistant 2009-10-29 10:50:47 +01:00
Aris Adamantiadis
17f2645a32 Fix server kex again 2009-10-29 10:36:00 +01:00
Aris Adamantiadis
9f034aca9c Fix server kex 2009-10-29 10:02:49 +01:00
Bernhard R. Link
22bdfa3886 improve error reporting of sftp.c
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-10-25 11:12:02 +01:00
Bernhard R. Link
ef8246a592 buffer_get_data returns 0 on error, so checking buffer_get_u* for < 0 makes no sense
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-10-25 09:50:06 +01:00
Aris Adamantiadis
110d201e02 fix stupid bug 2009-10-23 12:48:40 +02:00
Aris Adamantiadis
be4f695c5c Compatibility with (broken) sftp version 2 protocols 2009-10-23 12:19:22 +02:00
Andreas Schneider
792def7a65 Add missing free. 2009-10-23 11:45:44 +02:00
Andreas Schneider
840cecbe0e Fix memory leaks in ssh_bind_options_set() if called twice.
This fixes ticket #36.
2009-10-22 18:56:02 +02:00
Aris Adamantiadis
27d25752e9 Allow use of SSH_DIR/ when expanding key paths 2009-10-17 18:10:42 +02:00
Aris Adamantiadis
a479b30298 Verify existence of callback before using them 2009-10-17 17:54:39 +02:00
Andreas Schneider
86620fc991 Improve example authentication. 2009-10-15 17:56:03 +02:00
Andreas Schneider
b3dfd5cffc Added missing documentation for ssh_bind_options_set. 2009-10-15 17:22:04 +02:00
Andreas Schneider
f0858ff6b2 Added option parsing using GNU argp. 2009-10-15 17:17:58 +02:00
Andreas Schneider
7b7280e728 Added option to set log_verbosity in the server. 2009-10-15 17:17:36 +02:00
Andreas Schneider
2523ed0779 Added an option to set the port as string. 2009-10-15 17:02:51 +02:00
Andreas Schneider
e736b1a40e Fixed ssh_get_user_home_dir on Windows. 2009-10-15 16:37:07 +02:00
Andreas Schneider
cbf012c337 Fixed ssh_get_home_dir and ssh dir to be more portable on UNIX systems.
Thanks to Pino Toscano.
2009-10-15 14:53:11 +02:00
Andreas Schneider
c360ed1d9a Add API changes to README. 2009-10-13 22:23:06 +02:00
Andreas Schneider
22e74e3bab Remove deprecated functions. 2009-10-13 22:14:23 +02:00
Vic Lee
02b3104215 Fix a memory corruption in parse_status_msg
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-10-11 11:11:08 +02:00
Aris Adamantiadis
26a5294116 add logging 2009-10-11 00:20:37 +02:00
Aris Adamantiadis
5e4c78e114 Fix server. Now, it runs 2009-10-11 00:14:21 +02:00
Aris Adamantiadis
e74305c5eb updated the sftp subsystem to follow the type conv 2009-10-10 20:55:17 +02:00
Aris Adamantiadis
499f9aa707 Add structure cleaning in comment 2009-10-10 20:07:52 +02:00
Andreas Schneider
4dee9a3e68 Document the function to set the callbacks and provide an example. 2009-10-10 19:59:14 +02:00
Aris Adamantiadis
399041180f resolve callback crash 2009-10-10 16:25:40 +02:00
Aris Adamantiadis
3f55fb5b22 fix typo in header inclusion 2009-10-10 12:04:35 +02:00
Aris Adamantiadis
37a4a65d60 Add ssh_free at the end 2009-10-10 12:04:16 +02:00
Andreas Schneider
ccd886feb4 Added auth callback function to sample to test callback stuff. 2009-10-10 11:55:42 +02:00
Andreas Schneider
b1bc283e9a Rename callback header file. 2009-10-10 10:52:04 +02:00
Andreas Schneider
be75fac7ff Add a function to set the callback structure to the session. 2009-10-10 10:51:56 +02:00
Aris Adamantiadis
6ec65c6f9d ssh_disconnect doesn't free the session anymore 2009-10-09 22:50:48 +02:00
Aris Adamantiadis
71ab0cf6cc No more SSH_BIND SSH_MESSAGE etc. 2009-10-09 22:37:23 +02:00