Commit Graph

1119 Commits

Author SHA1 Message Date
Aris Adamantiadis
714edcb8d9 Moved content from deprecated.c to legacy.c 2010-08-09 22:05:33 +02:00
Andreas Schneider
a6b6a61775 server: Make ssh_accept a depreacted function to not break the API. 2010-08-09 21:39:32 +02:00
Andreas Schneider
39c9a6dfed server: Merge ssh_bind_accept. 2010-08-09 21:28:47 +02:00
Andreas Schneider
561df8d9a2 server: Rename ssh_accept to ssh_bind_accept. 2010-08-09 20:54:43 +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
Aris Adamantiadis
d688ed2553 Begining of zlib@openssh.org implementation 2010-07-23 16:49:28 +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
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
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
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
558f889aae Fixed more fd checks. 2010-06-17 13:47:29 +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
Andreas Schneider
2a6341c08c socket: Fixed checks for max fd. 2010-06-17 13:13:35 +02:00
Andreas Schneider
7ecec3eb94 poll: Fixed brackets. 2010-06-17 12:01:27 +02:00
Andreas Schneider
f4facc4e10 poll: Fixed another wrong invalid fd check in bsd_poll. 2010-06-17 11:47:39 +02:00
Andreas Schneider
edffc2a291 poll: Some code cleanup for easier debugging. 2010-06-17 11:19:05 +02:00
Andreas Schneider
c30a25e64c poll: Fixed a malfunction with wrong max fd value check. 2010-06-17 11:16:24 +02:00
Andreas Schneider
b9a9f54c45 string: Added a function to delete a char basesd stirng object. 2010-06-11 11:05:37 +02:00
Andreas Schneider
cd1129b9b8 config: Use ssh log and error functions for problems. 2010-06-03 16:45:23 +02:00
Andreas Schneider
f3697a0d5c keyfiles: Move the auth callback inside the HAVE_LIBGCRYPT ifdef. 2010-06-03 12:29:31 +02:00
Andreas Schneider
a138a52021 doc: Fixed ssh_path_expand_tilde documentation. 2010-06-01 23:11:00 +02:00
Andreas Schneider
518a9b8d8c doc: Group the poll functions and add a description. 2010-06-01 23:10:01 +02:00