1
1

1507 Коммитов

Автор SHA1 Сообщение Дата
milo
48a20a6137 example: Fixed the sample ssh server implementation.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-08-09 20:54:40 +02:00
milo
8ef0fbc294 server: Fixed the server implementation.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-08-09 20:54:32 +02:00
milo
51a21823f9 server: Added a define to set the server status.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-08-09 20:54:28 +02:00
milo
7a68331fcd messages: Make sure we pop the message at the beginning.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-08-09 20:54:23 +02:00
milo
d896d6393b wrapper: Added a log message if client kex is empty.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-08-09 20:54:17 +02:00
milo
6d531ed0a6 session: Set needed poll events for handling packets.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-08-09 20:54:13 +02:00
milo
06df7c1b31 socket: Make sure we only transmit data if we have some.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-08-09 20:54:06 +02:00
milo
2b108483ce pcap: Zero the pcap structure.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-08-09 20:54:01 +02:00
milo
23c745d335 kex: Fixed initialization of server kex.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-08-09 20:53:56 +02:00
milo
eb361626cb session: Added callback for the connection per session.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-08-09 20:53:49 +02:00
milo
b0f8ca556b session: Fixed the type of the session dh_handshake_state.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-08-09 20:53:03 +02:00
Andreas Schneider
e41e28744f build: Added a check for NSIS. 2010-08-03 18:13:59 +02:00
Andreas Schneider
e862f04527 build: Set a default zlib search path for windows. 2010-08-03 18:13:59 +02:00
Andreas Schneider
42519db55d build: Set a default openssl search path for windows. 2010-08-03 18:13:59 +02:00
Andreas Schneider
019cb77b84 build: Don't test for big endian on Windows.
Visual Studio 2010 has problems running the test.
2010-08-03 18:13:59 +02:00
Andreas Schneider
296f6a9217 build: Fixed the Windows preprocessor macros and defines. 2010-08-03 18:13:59 +02:00
Aris Adamantiadis
d688ed2553 Begining of zlib@openssh.org implementation 2010-07-23 16:49:28 +02:00
Aris Adamantiadis
b4c0b03694 Added the client unit testing information 2010-07-23 11:04:09 +02:00
Aris Adamantiadis
e721c122d3 Continue removing old flushing code 2010-07-23 11:01:06 +02:00
Aris Adamantiadis
8cd0d0040e Removed obsolete socket functions 2010-07-23 08:27:05 +02:00
Aris Adamantiadis
e5542b027b State error in server.c 2010-07-23 08:18:37 +02:00
Aris Adamantiadis
5aa9cf2fcf Add consistency check to ssh_set_callbacks 2010-07-23 08:09:57 +02:00
Aris Adamantiadis
a924869096 Receive and send SSH_MSG_UNIMPLEMENTED 2010-07-18 00:39:51 +02:00
Aris Adamantiadis
8c08b062d0 Fixed channel opening failures (infinite loop) 2010-07-17 23:51:15 +02:00
Aris Adamantiadis
96b06e8bb4 Fixed keepalive problem on older openssh servers
Conflicts:

	libssh/channels.c
2010-07-16 23:16:04 +02:00
Aris Adamantiadis
a8efffa969 New example for port forwarding
Conflicts:

	examples/CMakeLists.txt
2010-07-16 23:14:47 +02:00
Andreas Schneider
ef0215fcf2 poll: Added poll constants for Windows.
WSAPoll uses different constanst values as the POSIX implementation,
what else ...
2010-07-09 09:49:21 +02:00
Andreas Schneider
82beeea619 options: Added option to bind a client to an ip address.
Thanks to Donatello Boccaforno <donatello.boccaforno@gmail.com>.
2010-07-07 12:43:50 +02:00
Aris Adamantiadis
a18a3813fb Removed dead code in socket.c 2010-07-07 10:19:47 +02:00
Andreas Schneider
b8180f4069 poll: FD_SETSIZE is only for the count value of FD_SET on Windows. 2010-07-06 00:41:00 +02:00
Aris Adamantiadis
94b00cc762 Add ssh_callbacks_exists internal macro + unittest
(first commit with eclipse helios, crossing fingers ...)
2010-06-25 16:19:19 +02:00
Andreas Schneider
e4701e7c86 poll: Another attempt to get bsd_poll() working correctly. 2010-06-24 09:19:34 +02:00
Andreas Schneider
fc625b8a8e poll: Fixed building with poll-emulation on UNIX. 2010-06-24 09:19:26 +02:00
Andreas Schneider
703f125882 agent: Use the our poll typedef. 2010-06-24 09:19:10 +02:00
Andreas Schneider
4581b24b48 poll: Added a comment to the bsd_poll() implementation. 2010-06-22 14:44:35 +02:00
Andreas Schneider
1d84821d93 poll: Handle FD_SETSIZE in bsd_poll(). 2010-06-22 14:44:24 +02:00
Andreas Schneider
07f607ec4c poll: Fixed a comparsion. 2010-06-22 14:43:48 +02:00
Aris Adamantiadis
c3833c6c03 Fix threadsafety issue in zlib code 2010-06-22 12:42:13 +02:00
Aris Adamantiadis
65008e2d3c Fixes leak reports in valgrind 2010-06-21 15:47:34 +02:00
Andreas Schneider
d33a97b663 poll: Fixed a typo. 2010-06-21 15:41:18 +02:00
Andreas Schneider
6f9fea7fd5 poll: Check if maxfd has been set. 2010-06-20 21:18:46 +02:00
Andreas Schneider
c8d978f4e9 ctest: Update config file for new cdash board. 2010-06-20 10:29:25 +02:00
Andreas Schneider
558f889aae Fixed more fd checks. 2010-06-17 13:47:29 +02:00
Andreas Schneider
937268eb3e torture: Fixed fd check. 2010-06-17 13:38:13 +02:00
Andreas Schneider
8be7ece1f5 client: Fixed fd checks. 2010-06-17 13:37:42 +02:00
Andreas Schneider
6127da58f2 server: Fixed types and checks of fd's. 2010-06-17 13:29:14 +02:00
Andreas Schneider
15e4e7e9da poll: Fixed type of the fd variables and use SSH_INVALID_SOCKET. 2010-06-17 13:25:45 +02:00
Andreas Schneider
d484d4e129 channel: Fixed the type of the max fd variable in ssh_channel_select(). 2010-06-17 13:23:03 +02:00
Andreas Schneider
985019ab64 agent: Use ssh_poll in agent code. 2010-06-17 13:21:22 +02:00
Andreas Schneider
870c9a7a08 socket: Rename INVALID_SOCKET_T to SSH_INVALID_SOCKET. 2010-06-17 13:19:24 +02:00