1
1

1114 Коммитов

Автор SHA1 Сообщение Дата
Andreas Schneider
d60b1ec1a2 Fixed a memory leak in channel_new() if we have an error. 2009-11-18 10:30:01 +01:00
Aris Adamantiadis
ae11589205 Pcap: more cleanup and minimalist API 2009-11-16 23:20:16 +01:00
Aris Adamantiadis
70b9475449 Pcap: Fix bug with non-encrypted incoming packets 2009-11-16 22:53:22 +01:00
Aris Adamantiadis
02aecc1278 Improved pcap dumping support 2009-11-16 22:36:31 +01:00
Andreas Schneider
3e90a11599 Improve standard logging. 2009-11-12 12:52:05 +01:00
Andreas Schneider
b4095189d7 Fixed setting the timeout and ssh2 and ssh1 option. 2009-11-12 12:50:31 +01:00
Andreas Schneider
c0b4c4d60c Fixed setting the log verbosity. 2009-11-12 11:44:36 +01:00
Andreas Schneider
12da24c056 Added an option to set log verbosity as string. 2009-11-10 09:12:07 +01:00
Andreas Schneider
d821117033 Always use the poll-emulation on Windows.
Until we we have a solution to use WSAPoll only on Vista and newer.
2009-11-09 20:13:27 +01:00
Aris Adamantiadis
30266f7627 Added explanation in ssh_silent_disconnect doxygen 2009-11-09 13:24:47 +01:00
Aris Adamantiadis
10b625e180 First lines of experimental pcap output support
This will serve to debug packets right under wireshark !
2009-11-08 23:42:41 +01:00
Aris Adamantiadis
10f27457d3 Add an other (simplier ?) polling method to sample 2009-11-08 20:00:23 +01:00
Aris Adamantiadis
af1f431364 change buffer size in sample.c 2009-11-07 17:35:24 +01:00
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