1
1

156 Коммитов

Автор SHA1 Сообщение Дата
Aris Adamantiadis
227764a803 Made ssh_userauth_none nonblocking 2011-01-16 23:42:19 +01:00
Aris Adamantiadis
624676b1cc Made ask_userauth nonblocking 2011-01-16 23:42:19 +01:00
Aris Adamantiadis
b945cbca52 Fix double-connect testcase 2011-01-15 22:43:58 +01:00
Aris Adamantiadis
5b6f048197 Use termination functions for event polling 2011-01-12 23:04:43 +01:00
Aris Adamantiadis
7fbb926c0b Fix getpwuid_r on opensolaris 2011-01-11 17:55:12 +01:00
Andreas Schneider
bb5f5281c0 build: Fixed build on Windows. 2011-01-11 11:07:17 +01:00
Aris Adamantiadis
9140242cbe Non-blocking mode for ssh_connect
This looks ugly. I'll see if we need to revert or change that patch later.
2011-01-10 18:01:35 +01:00
Aris Adamantiadis
bcea8921ba Change blocking parameter to a flag 2011-01-10 17:39:47 +01:00
Aris Adamantiadis
076dfb8294 Fix connection callbacks called at wrong time 2011-01-10 12:14:26 +01:00
Aris Adamantiadis
d631ce32ed All error path consistent with ssh_packet_kexinit 2011-01-10 11:24:15 +01:00
Aris Adamantiadis
4439d5c774 Log errors with ssh_log 2011-01-10 11:23:49 +01:00
Aris Adamantiadis
ac6278feb7 Fix leak when key exchange fails. 2011-01-09 22:27:55 +01:00
Andreas Schneider
6b27966c9c keys: Fixed memory leaks in session signing.
Found by cppcheck - http://test.libssh.org/cppcheck-analyzer/
2011-01-06 14:32:39 +01:00
Andreas Schneider
a016d356fa dh: Fixed a memory leak in ssh_print_hexa.
Found by cppcheck - http://test.libssh.org/cppcheck-analyzer/
2011-01-06 14:25:35 +01:00
Andreas Schneider
82547867eb options: Remove unsused getopt option.
Found by clang-analyzer http://test.libssh.org/clang-analyzer/
2011-01-06 10:15:01 +01:00
Andreas Schneider
13ece2a2f8 messages: Added missing NULL pointer checks.
Found by clang-analyzer http://test.libssh.org/clang-analyzer/
2011-01-06 10:04:12 +01:00
Aris Adamantiadis
fdffa42c02 Fix "SSH_KEXINIT received in wrong state" race
Setting the flag before doing any IO
2011-01-04 16:59:54 +01:00
Andreas Schneider
d679d5d7ef poll: Ensure that the poll handle and ctx is zeroed. 2011-01-03 09:07:02 +01:00
Andreas Schneider
350838d1b5 messages: Fixed cast warnings on Windows. 2011-01-02 19:35:54 +01:00
Andreas Schneider
f23880ddee base64: Added casts to GET macros to fix build warnings. 2011-01-02 19:35:54 +01:00
Andreas Schneider
be3e5c35cf scp: Fixed a build warning on Windows. 2011-01-02 19:35:54 +01:00
Andreas Schneider
73c0cd050e poll: Fixed a build warning on Windows. 2011-01-02 19:35:53 +01:00
Andreas Schneider
c54d6b7f8a bind: Added include file for close function on Windows. 2011-01-02 19:35:53 +01:00
Andreas Schneider
1b88542fbe misc: Avoid redefine of _WIN32_IE. 2011-01-01 18:43:37 +01:00
Andreas Schneider
cb48057098 threads: Fixed ssh_pthread_thread_id with mingw. 2010-12-30 00:39:07 +01:00
Andreas Schneider
887d201bd3 server: Added missing include files for getaddrinfo on Windows. 2010-12-29 20:53:28 +01:00
Andreas Schneider
1267240810 connect: Added and improved regex for ip detection.
Thanks to Norbert Kiesel, rlo#14.
2010-12-29 20:44:07 +01:00
Andreas Schneider
296767afc4 server: Added include files for getaddrinfo. 2010-12-29 20:36:14 +01:00
Andreas Schneider
80d7ccb522 cmake: Added missing include dirs for libssh. 2010-12-29 20:18:18 +01:00
Andreas Schneider
69ac51dfaa connect: Added missing $ in IPREGEX.
Fixes rlo#14.
2010-12-29 19:48:15 +01:00
Andreas Schneider
438083542d connect: Use a better IP regex. 2010-12-28 00:24:47 +01:00
Aris Adamantiadis
4fa2e4dde1 Added compression options and allow "yes/no" setting
SSH_OPTION_COMPRESSION and SSH_OPTION_COMPRESSION_LEVEL options have been added. Now, end-level apps may simply choose to enable compression without knowing the relevant algorithms behind it.
2010-12-27 23:28:39 +01:00
Andreas Schneider
b4c62ac9ea server: Replace gethostbyname() with getaddrinfo().
Fixes rlo#13.
2010-12-27 21:51:55 +01:00
Andreas Schneider
a0e98f585a misc: Fixed a possible memory leak. 2010-12-27 18:08:30 +01:00
Andreas Schneider
7c728acd12 sftp: Fixed a memory leak in sftp_xstat.
Thanks to dsc for the bug report.
2010-12-27 17:52:24 +01:00
Andreas Schneider
38b87aab08 channels: Fixed a build warning. 2010-12-23 10:18:09 +01:00
Andreas Schneider
936c65f03e options: Remove unused variable. 2010-12-21 21:29:22 +01:00
Andreas Schneider
825581d0dc packet1: Fixed dead assignments.
Found by http://test.libssh.org/scan-build/
2010-12-21 16:29:08 +01:00
Andreas Schneider
d5df18a14f build: Fixed build warning on FreeBSD. 2010-12-20 15:49:29 +01:00
Andreas Schneider
bffaa86664 build: Fixed some build warnings on FreeBSD. 2010-12-20 15:45:49 +01:00
Aris Adamantiadis
47d11734e1 Fix free() on uninitialized data on some cases. 2010-12-19 12:33:31 +01:00
Andreas Schneider
48e4df4ac0 TODO server: Fixed server support. 2010-12-18 14:02:53 +01:00
Andreas Schneider
751f202f56 doc: Follow the current naming convention. 2010-12-10 20:28:59 +01:00
Andreas Schneider
57d752a1c3 include: Only require LIBSSH_STATIC on Windows. 2010-12-10 20:02:15 +01:00
Andreas Schneider
ef1cfbea70 build: Use the same name for static and shared library. 2010-12-10 20:00:23 +01:00
Andreas Schneider
038c764055 server: Remove channel_write_stderr. 2010-12-08 10:52:15 +01:00
Andreas Schneider
1758c172a2 doc: Fixed pki doc group. 2010-12-07 21:28:50 +01:00
Aris Adamantiadis
2dba4839ad Fix from Oleksandr Shneyder
http://www.libssh.org/archive/libssh/2010-11/0000005.html
2010-12-07 16:13:40 +01:00
Aris Adamantiadis
0e82cdeadc Moved includes from priv.h to bind.h 2010-10-27 23:06:38 +02:00
Aris Adamantiadis
ea4aa26dbb Split ssh_bind functions in a new .c file 2010-10-20 16:54:22 +02:00