1
1
Граф коммитов

1240 Коммитов

Автор SHA1 Сообщение Дата
Andreas Schneider
1297da380e Improve the session documentation. 2010-02-05 18:34:39 +01:00
Andreas Schneider
4ee3b28ecb Update the doxygen config. 2010-02-05 18:34:13 +01:00
Andreas Schneider
757f8a6323 Set the soversion to 4.1 as we didn't break something.
yet?
2010-02-05 12:34:20 +01:00
Andreas Schneider
a25b06ecfc Increase version number. 2010-02-05 12:07:50 +01:00
Aris Adamantiadis
6b703b8d6a Update c++ prototypes 2010-02-02 18:30:26 +01:00
Aris Adamantiadis
c97d0d1220 add missing leave_function() 2010-02-02 18:20:23 +01:00
Aris Adamantiadis
7520d9c7b9 Handle timeout correctly 2010-02-02 18:16:46 +01:00
Vic Lee
2577214517 The ssh_message object needs to be freed after processing in channel_accept().
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2010-02-01 17:26:50 +01:00
Aris Adamantiadis
8e7bd43016 Fix compilation without WITH_SSH1 2010-01-30 20:36:00 +01:00
Aris Adamantiadis
e7b74c57f3 Hacked SSH1 to get past authentication
Also resolved some bugs that may impact 0.4. need to check
2010-01-25 23:23:01 +01:00
Aris Adamantiadis
cfdd4296a8 Fix poll not waking up on connect on win32
Under windows, poll does not detect connected socket using
POLLOUT but POLLWRNORM.
"Pending connect requests are indicated in the returned revents member of WSAPOLLFD structure by POLLWRNORM."
http://msdn.microsoft.com/en-us/library/ms741669%28VS.85%29.aspx
However, I did not test that fix. (no windows at hands). I also don't know
if the poll emulation layer works with that too.
2010-01-25 19:48:38 +01:00
Aris Adamantiadis
3407509ed7 Correctly handle channel failures and chan states 2010-01-24 23:03:56 +01:00
Aris Adamantiadis
3ac62dda51 Made packet handlers independant of session buffer 2010-01-24 22:43:52 +01:00
Aris Adamantiadis
3465b592e7 Few function name changes 2010-01-24 22:30:43 +01:00
Aris Adamantiadis
ca499a5495 Made ssh_packet_read asynchronous
Normally that's all that was needed into making SSH1 compliant
with the new API.
Beware, I have only implemented it, not actually tested it.
2010-01-24 22:27:44 +01:00
Aris Adamantiadis
8a1d832f80 Removed last calls to packet_read 2010-01-24 22:08:20 +01:00
Aris Adamantiadis
758df26582 Made parts of SSH asynchronous (inc kex1) 2010-01-24 21:03:03 +01:00
Aris Adamantiadis
6ae558b541 Beginning of async solution for SSH1 2010-01-24 01:07:08 +01:00
Aris Adamantiadis
68f53540df Move SSH-1 specific packet functions in packet1.c 2010-01-23 22:59:10 +01:00
Aris Adamantiadis
48ba9c9bc1 stub of C++ wrapper for libssh 2010-01-21 21:54:20 +01:00
Aris Adamantiadis
245deb2abe Fixed error message when connection failed 2010-01-16 18:47:32 +01:00
Aris Adamantiadis
549ea0d7ba Fix SSH1 related warning 2010-01-16 18:38:49 +01:00
Aris Adamantiadis
94d1112c55 SSH-1 cleanup and compile
Not tested, probably not working correctly yet
2010-01-10 21:05:46 +01:00
Aris Adamantiadis
0c47227144 Fix typo in build_make script 2010-01-10 20:07:37 +01:00
Aris Adamantiadis
a2505078da Set socket blocking after connexion 2010-01-08 23:28:55 +01:00
Aris Adamantiadis
35532a63fe Enforce NULL ptr verification in scp.c 2010-01-08 23:14:10 +01:00
Aris Adamantiadis
514ab6eed2 Fixed blocking bug in channel_poll 2010-01-08 23:05:10 +01:00
Aris Adamantiadis
c41e3a8e68 Cosmetics for packet numbering 2010-01-08 22:49:16 +01:00
Aris Adamantiadis
7d71340241 Oops, forgot the callback for server DH 2010-01-08 22:37:18 +01:00
Aris Adamantiadis
40bcc0bed8 No more packet_read2() ! 2010-01-08 22:33:58 +01:00
Aris Adamantiadis
74009e2be5 Prefix message_new with ssh_ 2010-01-08 22:28:40 +01:00
Aris Adamantiadis
40871ab1cc Prefix message_handle_channel_request with ssh_ 2010-01-08 22:27:16 +01:00
Aris Adamantiadis
2fc4c7e335 Dequeue the processed messages 2010-01-08 22:25:26 +01:00
Aris Adamantiadis
da8263b3f6 Renamed message_queue to ssh_message_queue 2010-01-08 22:16:00 +01:00
Aris Adamantiadis
12db7c4bc1 Merged the channel_request hdlrs and clean hdlrs 2010-01-08 22:14:31 +01:00
Aris Adamantiadis
db3ef37771 ssh_packet_userauth_request with new system 2010-01-08 21:09:40 +01:00
Aris Adamantiadis
7f32558e08 Converted message handlers to new system 2010-01-07 22:41:38 +01:00
Aris Adamantiadis
228ac78397 Changes to messages for async message handling 2010-01-07 22:02:21 +01:00
Aris Adamantiadis
b6656a1525 Removed packet_wait for SSH2 2010-01-06 22:53:10 +01:00
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