1
1

1041 Коммитов

Автор SHA1 Сообщение Дата
Andreas Schneider
b9b7174d85 Add support to read and store sftp extensions. 2009-07-28 13:25:35 +02:00
Andreas Schneider
69ceaae9a9 Check for OpenSSH and implement sftp_symlink correct.
When OpenSSH's sftp-server was implemented, the order of the arguments
to the SSH_FXP_SYMLINK method was inadvertently reversed. Unfortunately,
the reversal was not noticed until the server was widely deployed.
Since fixing this to follow the specification would cause
incompatibility, the current order was retained.
2009-07-28 13:25:26 +02:00
Andreas Schneider
1abdb28995 Fix SSH1 compilation. 2009-07-27 23:17:35 +02:00
Andreas Schneider
81dab99afc Fix stdint type. 2009-07-27 23:14:04 +02:00
Andreas Schneider
291522772d Fix SSH1 and stdint in SSH1 code. 2009-07-27 23:13:24 +02:00
milo
26d1ac325b Fix potential memory corruption bug 2009-07-27 20:53:01 +02:00
milo
1311d03415 Fix typo orignator_port -> originator_port 2009-07-27 20:52:36 +02:00
Andreas Schneider
549fd32574 Fix compile errors in keyfiles. 2009-07-27 20:49:38 +02:00
Andreas Schneider
9f14bbd6ad Remove double SSH2_MSG_USERAUTH_PK_OK. 2009-07-27 20:30:27 +02:00
milo
e8f7801540 Public key authentication server side 2009-07-27 20:27:07 +02:00
Andreas Schneider
cdde79418a Add ssh_file_readaccess_ok to check read access on a file. 2009-07-27 14:20:32 +02:00
Andreas Schneider
9b97da65e6 Add a function to close the socket.
This fixes ssh_connect on Windows.
2009-07-27 14:19:06 +02:00
Andreas Schneider
1dcaebe1ce Fix a typo. 2009-07-27 13:20:29 +02:00
Andreas Schneider
28b5d0f875 Switch completly to stdint types. 2009-07-25 23:19:41 +02:00
Aris Adamantiadis
ba217dec1c First implementation of a scp transfer tool
Doesn't work yet. I've got a headache and debugging doesn't help.
2009-07-25 22:29:12 +02:00
Andreas Schneider
3b8c4dc750 Fix conflicting declarations of ssh_session and ssh_kbdint. 2009-07-25 20:26:56 +02:00
Andreas Schneider
5d1fa1be24 Fix return value of sftp_tell64(). 2009-07-25 19:52:07 +02:00
Andreas Schneider
c8e82528fc Update map file for ssh_clean_pubkey_hash; 2009-07-25 18:00:36 +02:00
Andreas Schneider
104e6d39ab Add a sftp_tel64() function. 2009-07-25 17:55:58 +02:00
Andreas Schneider
3f778d9a31 Add ssh_clean_pubkey_hash() which is needed on Windows. 2009-07-25 17:52:00 +02:00
Aris Adamantiadis
a935ad1857 New example directory with the begining of a scp 2009-07-25 17:03:01 +02:00
Aris Adamantiadis
7abb3941c8 Bumped the version numbers to 0.4.0 in HEAD 2009-07-25 16:32:10 +02:00
Andreas Schneider
194880b869 Update map file. 2009-07-25 11:56:59 +02:00
Andreas Schneider
737f588b3b Fix a typo. 2009-07-25 11:55:42 +02:00
Andreas Schneider
6d5b36fb79 Add symlink and readlink test to sample. 2009-07-25 11:55:42 +02:00
Andreas Schneider
8ce6bd3459 Add sftp_readlink function. 2009-07-25 11:55:42 +02:00
Andreas Schneider
5b8338d115 Add sftp_symlink function. 2009-07-25 11:55:33 +02:00
Aris Adamantiadis
e73cbbe18c Added a threading + sftp stress testcase 2009-07-24 22:52:10 +02:00
Aris Adamantiadis
69a01b3657 move all u32,u16,u8 and u64 declarations in priv.h
And fix all headers which need u32,u8,u64
2009-07-24 22:31:39 +02:00
Aris Adamantiadis
e406b81d34 Missed something in channel_select for CHANNEL 2009-07-24 22:24:10 +02:00
Aris Adamantiadis
fdc2751952 Make the SSH_SAFE_NAMESPACE flag active 2009-07-24 22:20:41 +02:00
Aris Adamantiadis
fa11083fcb Change refs from AGENT * to ssh_agent
Fixes also a typo in ssh_agent declaration
2009-07-24 22:19:40 +02:00
Aris Adamantiadis
2bc8819e8f Changes all CHANNEL * to ssh_channel 2009-07-24 22:15:33 +02:00
Aris Adamantiadis
23b6c95e04 Change PRIVATE_KEY * to ssh_private_key 2009-07-24 22:08:04 +02:00
Aris Adamantiadis
c041bcc6d9 Forgot sample* in previous BUFFER change 2009-07-24 22:03:36 +02:00
Aris Adamantiadis
fc5dd23afa Changed all PUBLIC_KEY * to ssh_public_key 2009-07-24 22:02:32 +02:00
Aris Adamantiadis
91d0660cc3 Changed all occurences of BUFFER * to ssh_buffer 2009-07-24 21:56:11 +02:00
Aris Adamantiadis
fb5769b4be You always forget SSH1 ... 2009-07-24 21:47:23 +02:00
Aris Adamantiadis
56ee212641 Change all occurences of STRING * to ssh_string 2009-07-24 21:45:41 +02:00
Aris Adamantiadis
8f3891e968 moved try_publickey_from_file in priv.h
Had nothing to do in libssh.h. 100% sure nobody
used it since one of the structure declaration
was not public.
2009-07-24 21:23:07 +02:00
Aris Adamantiadis
958a775afa replacing keys_struct with ssh_keys_struct 2009-07-24 21:18:15 +02:00
Aris Adamantiadis
e776dc16c9 Fixed namespace problem in public structures
changed
struct string_struct to ssh_string_struct
buffer_struct to ssh_buffer_struct
and so on.

Should not break apps using the caps version of these
2009-07-24 20:49:46 +02:00
Andreas Schneider
9450a3c987 Fix a possible segfault in sftp_canonicalize_path(). 2009-07-23 18:34:25 +02:00
Andreas Schneider
1939a55c3c Fix getaddrinfo and gethostbyname build problems on Solaris. 2009-07-23 11:57:17 +02:00
Andreas Schneider
2a116bb291 Fix OpenSSL include file checks on Solaris. 2009-07-23 11:54:32 +02:00
Andreas Schneider
d01c7320f9 Fix finding OpenSSL on Solaris. 2009-07-23 09:30:14 +02:00
Andreas Schneider
ea0315ed88 Add cmake check for big endian. 2009-07-23 09:25:36 +02:00
Andreas Schneider
85a5eb9499 Fix a segfault if a NULL pointer is passed to ssh_disconnect(). 2009-07-22 16:04:41 +02:00
Andreas Schneider
3cd06a1f26 Don't segfault if the session or the answer is NULL. 2009-07-22 12:18:34 +02:00
Andreas Schneider
19c3d02805 Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh 2009-07-21 14:12:25 +02:00