Commit Graph

1201 Commits

Author SHA1 Message Date
Aris Adamantiadis
84ec17964e Made the server DH asynchronous.
It still needs testing and cleanup, it was done with less
care than the client-side.
The socket listening and connexion is still synchronous
2010-01-06 22:49:40 +01:00
Aris Adamantiadis
ef5dc6cd2b Add support for async global requests
Normally the infamous packet_wait() synchronous call
is gone in all SSH2 client code.
2010-01-06 21:48:44 +01:00
Aris Adamantiadis
84e6aca5c5 Fixed typos from a* to error.c 2010-01-06 21:12:00 +01:00
Aris Adamantiadis
ebd0987376 Fix build when WITH_SSH1 undefined 2010-01-06 13:34:56 +01:00
Aris Adamantiadis
20baf4f5b6 Part of kex.c is SSH-1 specific 2010-01-03 23:38:37 +01:00
Aris Adamantiadis
335a0fe768 Remove some references to packet_wait() 2010-01-03 23:36:06 +01:00
Aris Adamantiadis
b25ebf4bdb Removed channel_handle now unused function 2010-01-03 23:23:56 +01:00
Aris Adamantiadis
804bb44eda Channel requests are asynchronous
Exec example also runs perfectly now.
2010-01-03 23:16:14 +01:00
Aris Adamantiadis
1b15896e8b Fix infinite loop in exec example 2010-01-03 23:15:55 +01:00
Aris Adamantiadis
055fbe1d87 Explicitely use the packet buffer arg in channels 2010-01-03 22:34:48 +01:00
Aris Adamantiadis
648e5d62ba Some work for async channel requests 2010-01-03 22:14:21 +01:00
Andreas Schneider
49de20aa5c Fixed cmake warning.
There is no CMakeLists.txt in tests and we don't build something
in the root CMakeLists.txt.
2009-12-30 19:08:03 +01:00
Vic Lee
13d534e89a Add pkg-config file libssh.pc
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-12-30 19:05:48 +01:00
Vic Lee
1944dc8b5f Add new API function ssh_userauth_privatekey_file().
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-12-30 19:05:37 +01:00
Vic Lee
f2ca2d50b5 In ssh_userauth_pubkey, if publickey argument is NULL, generate it from privatekey.
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-12-30 19:05:29 +01:00
Aris Adamantiadis
b361fb5898 Fix use-without-initialization 2009-12-28 22:29:50 +01:00
Aris Adamantiadis
8d1faa0dbc Made channel_open_session partially asynchronous 2009-12-27 00:06:34 +01:00
Aris Adamantiadis
77baa2df15 Fix a few log strings and levels in auth.c 2009-12-26 22:12:08 +01:00
Aris Adamantiadis
a229cb4676 Asynchronous authentication works ! 2009-12-26 21:59:37 +01:00
Aris Adamantiadis
682ed18123 New packet handler for SSH_USERAUTH_BANNER 2009-12-26 20:24:07 +01:00
Aris Adamantiadis
3aae59c224 Fix tricky bug within packet decoding 2009-12-26 17:03:27 +01:00
Aris Adamantiadis
6f3505bf6b Asynchronous service request 2009-12-26 16:51:33 +01:00
Aris Adamantiadis
bfdc48e320 Simplification of the "exec" sample 2009-12-24 10:46:46 +01:00
Vic Lee
fcda8beb1c File handle need to be closed in case of errors in privatekey_from_file
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-12-23 09:37:35 +01:00
Andreas Schneider
d0647afae5 Added an example for exec. 2009-12-22 18:34:23 +01:00
Aris Adamantiadis
a6383cec51 Fix typos in doc 2009-12-22 10:20:19 +01:00
Vic Lee
44fd5ff451 Added private key type detection feature in privatekey_from_file
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-12-22 09:02:10 +01:00
Andreas Schneider
ea34f37d43 Generate the APPLICATION_VERSION. 2009-12-21 15:56:21 +01:00
Andreas Schneider
23dcc2c7f3 Fixed ssh_get_user_home_dir() to be thread safe. 2009-12-21 12:32:58 +01:00
Aris Adamantiadis
91f7d127ea Tutorial doxyginized and updated up to auth sect. 2009-12-20 23:21:59 +01:00
Aris Adamantiadis
43c1245396 Some options functions did not show up in doxygen 2009-12-20 20:23:58 +01:00
Aris Adamantiadis
43288bc4f2 added ssh_message_auth_reply_pk_ok_simple 2009-12-20 18:51:37 +01:00
Aris Adamantiadis
2e22d6ef99 Add key validation in server side authentication 2009-12-20 18:05:02 +01:00
Andreas Schneider
6509b6e742 Started to add the tutorial to doxygen. 2009-12-19 00:31:47 +01:00
Aris Adamantiadis
d2ce0042b3 Deleted obsolete doxygen files 2009-12-19 00:10:54 +01:00
Aris Adamantiadis
0dcb63ff5e Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh 2009-12-19 00:10:13 +01:00
Andreas Schneider
bebbac1bd8 Improved doxygen output of ssh_options_set(). 2009-12-19 00:08:54 +01:00
Aris Adamantiadis
a1870a62cf Documentation callbacks.h + standardization 2009-12-18 23:56:59 +01:00
Andreas Schneider
1ef1a77421 Disabled caller graphs as they are only of internal interest. 2009-12-18 23:54:31 +01:00
Andreas Schneider
98819f92e3 Updated the doxygen file. 2009-12-18 23:41:25 +01:00
Andreas Schneider
ebce70eba1 Fixed documentation of buffer struct. 2009-12-18 23:41:01 +01:00
Andreas Schneider
ed257b982a Fixed documentation of ssh_options_copy(). 2009-12-18 23:38:27 +01:00
Andreas Schneider
1b7877f6ed Moved the doxygen mainpage to doc/mainpage.dox 2009-12-18 23:35:41 +01:00
Andreas Schneider
7500b0564c Document the callback structure correctly. 2009-12-18 23:19:37 +01:00
Andreas Schneider
0c992ece3b Added a mainpage to doxygen. 2009-12-18 23:12:47 +01:00
Andreas Schneider
e124249a8b Fixed the doxygen documentation. 2009-12-18 23:12:37 +01:00
Aris Adamantiadis
d950d6af52 Optional compilation of developper's doc 2009-12-16 23:19:18 +01:00
Aris Adamantiadis
55abcfeef6 These docs are outdated too 2009-12-15 23:53:28 +01:00
Aris Adamantiadis
49b3712891 Stub for doxygen main documentation 2009-12-15 23:50:16 +01:00
Aris Adamantiadis
b9a8b22728 Doxygen now outputs on stderr, inputs from doc/ 2009-12-15 23:48:51 +01:00