Commit Graph

339 Commits

Author SHA1 Message Date
Andreas Schneider
5fe99f8b09 Fixed building libssh with VC9. 2010-05-10 14:41:20 +02:00
Andreas Schneider
4bfe7f024c Added more defines to use secure VC functions. 2010-05-10 10:45:51 +02:00
Aris Adamantiadis
e9d6b15926 First implementation of known_hosts with port read
Conflicts:

	include/libssh/misc.h
	libssh/keyfiles.c
	libssh/misc.c
2010-05-07 12:55:33 +02:00
Aris Adamantiadis
6885d32c05 Added ssh_privatekey_type public function 2010-04-28 11:51:02 +02:00
Aris Adamantiadis
08a1bebb58 Do not compile aes*-ctr with <=OpenSSL 0.9.7b 2010-04-14 20:43:06 +02:00
Aris Adamantiadis
6e65abbe63 Fix vsnprintf symbol on older VS2003 compiler 2010-04-06 22:58:43 +02:00
Andreas Schneider
b1f93f600e Fixed documentation of ssh_bind_options_set. 2010-04-04 14:07:54 +02:00
Andreas Schneider
af7f69c515 Fixed spelling. 2010-03-25 13:55:50 +01:00
Andreas Schneider
99a58eb325 Increase version number to 0.4.2. 2010-03-15 19:33:11 +01:00
Andreas Schneider
83c51d1c13 Fixed and added support for several identity files. 2010-03-06 12:33:27 +01:00
Andreas Schneider
c712d30311 Rename ssh_list_add to ssh_list_append. 2010-03-06 12:29:03 +01:00
Andreas Schneider
2144049c7d Added a prepend function for ssh_list. 2010-03-06 12:29:03 +01:00
Aris Adamantiadis
9dd86859e8 renamed ssh_list_get_head to ssh_list_pop_head 2010-03-06 12:28:56 +01:00
Andreas Schneider
7539200773 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:52:56 +01:00
Andreas Schneider
b3589fbf6c Increased version number. 2010-01-29 18:59:55 +01:00
Aris Adamantiadis
dd68bae776 Fix underflow when leave_function() are unbalanced 2010-01-29 18:54:48 +01:00
Andreas Schneider
7199b196b0 Fixed documentation of buffer struct. 2009-12-18 23:45:34 +01:00
Andreas Schneider
d978f9b58a Moved the doxygen mainpage to doc/mainpage.dox 2009-12-18 23:45:09 +01:00
Andreas Schneider
e539eaf9e0 Added a mainpage to doxygen. 2009-12-18 23:11:25 +01:00
Andreas Schneider
1fadec37d6 Don't install crypto.h which is an internal header file. 2009-12-10 13:55:07 +01:00
Andreas Schneider
2aabbd6245 Remove socklen_t definition.
Tthe problem is that winsock2.h defines socklen_t as a typedef, not as a
define, so depending on the order of includes you can get errors in
ws2tcpip.h with msvc.
2009-12-09 13:04:26 +01:00
Andreas Schneider
176778bb1c Added gettimeofday for Windows.
Thanks to Patrick Spendrin.
2009-12-02 00:23:20 +01:00
Andreas Schneider
e5bf645010 Fixed uint* to work on Windows.
Thanks to Patrick Spendrin.
2009-12-02 00:23:00 +01:00
Aris Adamantiadis
ae11589205 Pcap: more cleanup and minimalist API 2009-11-16 23:20:16 +01:00
Aris Adamantiadis
02aecc1278 Improved pcap dumping support 2009-11-16 22:36:31 +01:00
Andreas Schneider
12da24c056 Added an option to set log verbosity as string. 2009-11-10 09:12:07 +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
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
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
Aris Adamantiadis
17f2645a32 Fix server kex again 2009-10-29 10:36:00 +01:00
Aris Adamantiadis
27d25752e9 Allow use of SSH_DIR/ when expanding key paths 2009-10-17 18:10:42 +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
22e74e3bab Remove deprecated functions. 2009-10-13 22:14:23 +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
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
Aris Adamantiadis
4b65aea401 Last nail on SSH_OPTIONS, SSH_SESSION etc. 2009-10-09 22:26:08 +02:00
Aris Adamantiadis
98ff6fbbce get rid of the option structure 2009-10-09 22:24:23 +02:00
Aris Adamantiadis
58294442d3 Moved samples into examples directory 2009-10-09 21:44:05 +02:00
Aris Adamantiadis
2e9c13dad0 Modified server API 2009-10-09 21:26:15 +02:00
Bernhard R. Link
7c759b9615 add ssh_set_error_oom and ssh_set_error_invalid
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-10-05 00:02:43 +02:00